[TxMt] Re: (TM2) Excluding directories from searches with "excludeDirectories"?

Trevor Harmon trevor at vocaro.com
Fri Dec 16 04:26:24 UTC 2011


I encountered the same issue. I think "excludeDirectories" simply means "excludeFromFileBrowser". Perhaps it should be renamed as such, and "excludeDirectories" should have the semantics of "excludeFromFileBrowser" + "excludeInFileChooser" + "excludeInFolderSearch".

Anyway, I ended up specifying "excludeInFileChooser" and "excludeInFolderSearch" but leaving out "excludeDirectories". I like being able to hide a directory from the file chooser and folder search but show it in the file browser so I can browse through it when I need to.

Trevor

On Dec 15, 2011, at 6:11 PM, Tyson Tate wrote:

> In TextMate 2 I'd like to exclude the contents of a number of folders from my project-wide searches. I'm using the following in my project's ".tm_properties" file:
> 
>    excludeDirectories = "{$excludeDirectories,log,vendor,tmp}"
> 
> However, it doesn't seem to be excluding files from those directories in my project-wide searches. What am I missing?
> 
> -Tyson
> 
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate



More information about the textmate mailing list