[TxMt] Re: excluding binary files in search/replace

Allan Odgaard mailinglist at textmate.org
Sat Apr 21 04:29:37 UTC 2012

On 21/04/2012, at 11.05, Leo Brewin wrote:

> I'm not sure if I am missing something about the new ways to include/exclude files via entries in the .tm_properties file.


> I would like a subset of all my files to appear in the file browser. I first exclude all files then selectively include just those files […]

The exclude pattern should only be used for stuff you actually want to exclude.

> I want. My problem is that when I do a search/replace in project the search returns matches in pure binary files

Which files to search is mainly guided by the glob in the Find dialog — you should probably edit that to *.{txt,text,…} or similar (it is kept per project folder).

> [ $myBinaryFiles ] 
> binary           = true 

This has been changed to a glob, so it should be:

    binary = "${myBinaryFiles}"

Though I think you should leave this at its default value.

More information about the textmate mailing list