75

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

congusbongus
  • 13,359
  • 7
  • 71
  • 99
Starkers
  • 10,273
  • 21
  • 95
  • 158
  • 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 May 19 '13 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. – Ben McCormick May 19 '13 at 23:43
  • 2
    ST2 isn't open source – AGS May 19 '13 at 23:46

3 Answers3

84

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

skuroda
  • 19,514
  • 4
  • 50
  • 34
  • 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} – Daniel L. VanDenBosch Jul 06 '17 at 16:09
78

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

Jan aka uptech
  • 1,097
  • 9
  • 12
  • 1
    @djKianoosh Open Terminal and type `defaults write com.apple.finder AppleShowAllFiles YES`, then hit Enter and relaunch Finder to take effect. – Bugs Bunny Feb 20 '19 at 19:06
  • 1
    I feel this answers the question better and it's more succint – sdbol Sep 15 '20 at 03:07
8

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.

Giacomo1968
  • 25,759
  • 11
  • 71
  • 103
yoonghm
  • 4,198
  • 1
  • 32
  • 48