I use Katz's Bundler to manage gem dependencies.
Who know, how to tell to TextMate ignore my "vendor/bundler_gems" folder in "Go to File"?
Image demonstrate my little problem.
You can see, what I want to find my application.sass, instead "Go to File" find lots of trash from bundler folder.
I find solution:
In dialog "Preferences → Advanced → Folder References", "Folder Pattern" input:
Original pattern:
!.*/(\.[^/]*|CVS|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$
I change it to:
!.*/(\.[^/]*|CVS|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle)|vendor)$
...to ignore vendor folder.
Or:
!.*/(\.[^/]*|CVS|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle)|vendor/bundler_gems)$
...to ignore vendor/bundler_gems only.
TextMate keeps folder references setting per project basis in .tmproj file.
Changing the regular expression in TextMate preferences dialog doesn't update project file. This means that first answer to this question didn't solve similar problem I had. Outside plugins might have something to do with it (Project+ for example).
In first answer doesn't work:
Open up your project file with other editor than TextMate and edit the "regexFolderFilter" key by hand.
Sidenote: Normally forward slashes should be escaped. Don't know how TextMate actually runs the regular expression since outcome is the same with or without escaping.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With