views:

582

answers:

1

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.

+3  A: 

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 vender/bundler_gems only.

Aleksandr Koss
You can do this at the Project level too
RyanWilcox