76

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

3
  • 6
    Why the heck does this have a vote to be closed? I want to know how to view hidden folders (something every developer in the world wants to do) using the biggest open source text editor in the world. Yeah, that's really closed, isn't it?
    – Starkers
    Commented May 19, 2013 at 23:35
  • The close vote is most likely because this question would be a better fit on a different SE site (probably ask different or superuser). But it does concern a programmer tool, so I don't personally think it needs to be closed here. Commented May 19, 2013 at 23:43
  • 3
    ST2 isn't open source
    – AGS
    Commented May 19, 2013 at 23:46

3 Answers 3

85

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

1
  • If you are like me, you have never changed a sublime text setting before. make sure "folder_exclude_patterns": [".svn", ".hg", "CVS"] is in {curly braces} Commented Jul 6, 2017 at 16:09
80

Press "Command" + "Shift" + "." (dot) to show hidden files in the Mac OSX file chooser dialog.

2
  • 1
    @djKianoosh Open Terminal and type defaults write com.apple.finder AppleShowAllFiles YES, then hit Enter and relaunch Finder to take effect.
    – Bugs Bunny
    Commented Feb 20, 2019 at 19:06
  • 1
    I feel this answers the question better and it's more succint
    – sdbol
    Commented Sep 15, 2020 at 3:07
7

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.

Not the answer you're looking for? Browse other questions tagged or ask your own question.