Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

show hidden files and folders in project drawer in textmate

Tags:

textmate

By default, textmate does not show all files and folders in the project drawer.

how do I make textmate project drawer show hidden files, in particular all files and directories beginning with a dot?

like image 251
Viktor Trón Avatar asked Oct 31 '12 17:10

Viktor Trón


1 Answers

Click Preferences > Advanced > Folder References,

Edit File Pattern (minimal change to original default):

!(/\.(?!\W*)[^/]*|\.(tmproj|o|pyc)|/Icon\r|/svn-commit(\.[2-9])?\.tmp)$

as well as Folder pattern (minimal change to original default):

!.*/(\.(?!\W*)[^/]*|CVS|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$

This only applies to new project folders. For an existing one, you need to edit the pattern after right-clicking on folder reference and choose Show Information.

like image 174
Viktor Trón Avatar answered Sep 29 '22 13:09

Viktor Trón