Q:

Hiding specific files in TextMate

I do a lot of JRuby on Rails apps, and we have a fair amount of Java .jar dependencies.  These become quite annoying in textmate as it really muddies up my lib directory, and I never (obviously) need to actually open these files.
Can someone tell me how I might hide .jar files from my file listing in Textmate??

A:

You need to modify File Pattern regex in :  
TextMate-->Preferences-->Advanced-->FolderReferences

You just have to add |\.(jar) to your regex:
!(/\.(?!htaccess)[^/]*|\.(tmproj|o|pyc)|\.(jar)|/Icon\r|/svn-commit(\.[2-9])?\.tmp)$

Have a look at this.

