[TxMt] Re: Search ignore

Yi Lin yi at ylin.co
Wed Nov 20 19:54:54 UTC 2013


Awesome! Thanks.

On Nov 20, 2013, at 11:23 AM, Charles Stuart <charles.stuart at gmail.com> wrote:

> In your project .tm_properties file include the following:
> 
> exclude = "{$exclude,log/*,tmp/*}"
> 
> This will exclude everywhere. If you want to exclude only these files from only some TM features, the following exclude* rules are available:
> 
> exclude
> excludeFiles
> excludeDirectories
> excludeInBrowser
> excludeInFolderSearch
> excludeInFileChooser
> excludeFilesInBrowser
> excludeDirectoriesInBrowser
> 
> Read more here:
>  https://gist.github.com/dvessel/1478685
> 
> Hope this helps,
> Charles
> 
> 
> 
> 
> On Wed, Nov 20, 2013 at 12:13 PM, Yi Lin <yi at ylin.co> wrote:
> What if instead of ignoring certain file type, I would like to, on a per-project basis, have "Go to File" and "Find in Project" ignore certain subdirectories within the project?
> 
> For example, in my Rails app, I want to ignore everything under the log/ and tmp/ directories.
> 
> On Nov 2, 2013, at 5:28 AM, Allan Odgaard <mailinglist at textmate.org> wrote:
> 
> > On 01 Nov 2013, at 21:58, Graham Heath <graham.p.heath at gmail.com> wrote:
> >
> >> Sorry for the double email, but it just occurred to me that you could use
> >>
> >>    [ *.{icns,ico,jpg,jpeg,m4v,nib,pdf,png,psd,pyc,rtf,tif,tiff,xib} ]
> >>    binary = true
> >>
> >> to add the binary file to the list of file types textmate treats as a binary
> >
> > This is no longer how TM identifies binary files, instead it has a glob that can be edited in Preferences → Projects → Non-text files.
> >
> >
> > _______________________________________________
> > textmate mailing list
> > textmate at lists.macromates.com
> > http://lists.macromates.com/listinfo/textmate
> 
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
> 
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20131120/e779ea42/attachment.html>


More information about the textmate mailing list