At Montreal On Rails #7 one presenter had to use Marc-AndrĂ©’s computer to do his presentation and was surprised by the fact Textmate wasn’t showing the vendor/ folder.
If you freeze all your gems in vendor/ as we do, search becomes so slow as to be unusable. Here’s the pattern to use to avoid the vendor folder:
!.*/(\.[^/]*|CVS|vendor|log|_darcs|_MTN|\{arch\}|blib|.*~\.nib|
.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$
Plug that in Preferences-> Advanced -> Folder References -> Folder Pattern
The downside is that if you want to search for a file in vendor you have to open a new instance of textmate
2 comments ↓
I’m totally trying that
It also makes it easier to find the file you’re looking for when using cmd-t .
Leave a Comment