Despite having hidden folders turned on, sublime text cannot see invisible folders in the sidebar such as a git repository. How can I fix this?
Mac OSX 10.7.5
Sublime Text 2.0.1
Do you mean in the sidebar? If so, you need to modify the folder_exclude_patterns setting. The default value for this is "folder_exclude_patterns": [".svn", ".git", ".hg", "CVS"]. In your case, you would want to make it "folder_exclude_patterns": [".svn", ".hg", "CVS"] You can access user settings by going to Preferences -> Settings - User. Note that this will be applied across all of your projects. If you only want it for a particular project, you can create project specific settings. http://www.sublimetext.com/docs/2/projects.html
Press "Command" + "Shift" + "." (dot) to show hidden files in the Mac OSX file chooser dialog.
Sublime text makes use of file open dialog from its host computer.
In Ubuntu, just enter Ctrl+H to toggle the setting to view hidden directories and files. The setting is persistent even after the close of the dialog.
In Windows, go to options/settings in Windows Manager, and enable "View hidden files".
I do not have Mac, it could be enabled.
Related
How to change Xcode Theme?
I don't want to use the basic theme anymore.
I'm using imac, and I want the exact way.
First, you have to download the theme. Only '.xccolortheme' format files are possible.
If you search "xcode them download" on Google, you'll find a lot.
You must enter the terminal and enter the command.
cd ~/Library/Developer/Xcode/UserData/FontAndColorThemes/
mkdir FontAndColorThemes
open .
Put the downloaded file in this folder.
Open Xcode and enter Editor -> Theme to see your downloaded theme.
Just go to the preferences from the the Xcode menu (command+,) and use the Themes tab. So you can set any kind of style you like (predefined, downloaded or completly custom)
IntelliJ IDEA 2020 can (finally!) simply open a file to be edited, without a project being involved. This is called LightEdit mode.
At this point in a JetBrains video, we see the host platform's file manager app opening a file via IntelliJ while noting that all such files should be opened using that same tool.
No "IntelliJ" application to choose
The problem for me is that I am a happy user of JetBrains Toolbox app to automatically install, upgrade, and open IntelliJ. So in my "Applications" folder on macOS, I have no "IntelliJ" application to choose in the Mac Finder when trying to open a file.
Is there some other way or trick to getting the Finder to know to open files with IntelliJ? And preferably with the latest version, as I believe Toolbox may keep around the older versions.
Basically, I am asking the same as this Question, How to make available “open this project in IntelliJ IDEA” option in Windows context menu, if IntelliJ IDEA has been installed via JetBrains Toolbox?, but for macOS instead of MS Windows. The Answer on that other Question is Windows-specific.
As a Toolbox user you still have access to the "generated shell scripts" (/usr/local/bin/idea, or things like /usr/local/bin/phpstorm, /usr/local/bin/pycharm, etc for individual applications).
But, these are shell scripts, and cannot be used for this because they lack the application identifiers needed by the OS for launching apps.
What you can do is wrap any of this with an Automator application. By wrapping the shell script directly, it should remain updated (since the shell script is itself a Toolbox generated wrapper that points to the latest installed version).
To do so:
Open Automator and click on the "new document" button.
Select "Application".
Add a "Run shell script" action from the library:
Change the "pass input" dropdown from "to stdin" to "as arguments".
Create a script similar to this this (replace phpstorm with idea or whatever IDE you have installed):
for file in "$#"
do
/usr/local/bin/phpstorm -e "$file"
done
Save the application somwhere, with a descriptive name:
Once that one is saved, you'll be able to use it to launch files from Finder, or even set it as default for a file type:
Use the app's menu: IntelliJ IDEA -> Preferences -> Editor -> File Types
Then press the Associate File Types with IntelliJ IDEA button.
A window will open with file groups you could choose from, and then press the OK button, then Apply and another OK.
After this, a MacOS restart is required.
I have made a simple app and I want to change the version of the app from version 1.0 to version 1.2
An AppleScript applet has quite the same structure as a normal Cocoa application.
Right-click on the applet, select Show Package Contents, open folder Contents
Open file Info.plist with a text editor.
Update the value of the key CFBundleShortVersionString or – if it doesn’t exist – insert
<key>CFBundleShortVersionString</key>
<string>1.2</string>
Save the file.
From my experience (OS X El Capitan), after editing the file suggested above, you then have to rename your app for the version to change. Alternatively, you can change the name of the app before editing the text file, and then name it what you intended it to be after doing so. Only then will it change from Version 1.0 to whatever you want it to show - note: These instructions are only required to change version listed on the preview (when you click the app and press spacebar), the 'Get info' window changes immediately.
In the Script Editor, once you save your app, a sidebar option should pop up allowing you to change the app's version
My Sublime Text 3 ( but also applies to ST2 as I experienced the same issue before I switched to ST3 ) requires restart for any settings changes to take effect. This happens on a Mac Mini in the office but not on my Macbook Pro ( which is pretty much the same setup ).
I do sync settings over Dropbox by symlinking Application Support/Sublime Text 3 folder to Dropbox. However, I can recall it happening even before I did that.
Any ideas how to make it apply settings changes immediately?
First, make sure you're running the latest build of ST3. Remember, this is beta software, and things break/change/get fixed again from version to version, so it may just be an issue with your particular build.
I suspect that this has something to do with Dropbox, as settings changes should be applied as soon as you save the settings file in almost all cases. For example, changing the theme should happen immediately. To test if it's Dropbox-related, unlink your current symlink to ~/Library/Application Support/Sublime Text 3 and make it a regular directory, then copy all your settings over and try to change something. If it applies right away, then it's an issue with Dropbox.
You can install the package called 'Restart' and then just restart from the admin tab.
Check the package to restart sublime text. It is just perfect https://github.com/yedderson/SublimeRestart
In Mac:
"Cmd + Shift + P"
Enter: "Install Packages"
Enter: "Restart"
Now, you should see the "Restart" option under "File" in me main menu.
I am using Xcode 4.3.2 and I am trying to add some SDK references to my project.
I can SEE the files using Finder, as I used the terminal script to view hidden files.
Yet, when I go to my user home directory in Xcode finder, it does not show the "hidden" 'Library' folder under my user profile that stores my SDK files.
Scratching head
Press and hold the ⌘ + shift and . keys at the same time.
Then you can switch to view hidden/non-hidden files.
Answering you 9 months later from OS X 10.8 Mountain Lion...
Press ⌘ShiftG from within Xcode's Open dialog -- this is the Go To Folder command from Finder. This works in XCode's Open dialog as well. You could go to 'Library' or, as I did below, go to the otherwise hidden .config directory by typing '.config'
This screenshot shows both the process & the result of opening the .config folder. Note that I've already 'gone' to the .config folder once, which is why it's displayed on the left, above Applications.
Which command are you Using ?
Use Bellow Command it worked for me.
If the Library folder is not visible in your folder, enter the command "chflags nohidden ~/Library/ " on Terminal(Applications->Utilities->Terminal) application
Had a similar problem (but arrived on this page looking for answers).
I removed a reference to a file in XCode which I actually wanted to keep but the file still existed in finder.
Even though the file is in the correct folder, Xcode won't acknowledge it until you re-add it via File > Add Files To "YourProject"
The point I'm making is that the files in your code project folders vs. those actually included in the XCode project are two different things