Is there a way to prevent project death and open file from looking into certain large but meaningless directory under the project tree?
You can add the file(s) or extension(s) to be ignored to "Preferences" -> "Projects" -> "Exclude Files Matching" to apply the setting globally, or in a .tm_projects file in your project directory, something like:
myExtraExcludes = "log,bin"
excludeInFileChooser = "{$excludeInFileChooser,$myExtraExcludes}" excludeInFolderSearch = "{$excludeInFolderSearch,$myExtraExcludes}"
Graham Heath graham.p.heath@gmail.com
On Nov 1, 2013, at 3:53 PM, Yi Lin yi@ylin.co wrote:
Is there a way to prevent project death and open file from looking into certain large but meaningless directory under the project tree?
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
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
Graham Heath graham.p.heath@gmail.com
On Nov 1, 2013, at 3:57 PM, Graham Heath graham.p.heath@gmail.com wrote:
You can add the file(s) or extension(s) to be ignored to "Preferences" -> "Projects" -> "Exclude Files Matching" to apply the setting globally, or in a .tm_projects file in your project directory, something like:
myExtraExcludes = "log,bin"
excludeInFileChooser = "{$excludeInFileChooser,$myExtraExcludes}" excludeInFolderSearch = "{$excludeInFolderSearch,$myExtraExcludes}"
Graham Heath graham.p.heath@gmail.com
On Nov 1, 2013, at 3:53 PM, Yi Lin yi@ylin.co wrote:
Is there a way to prevent project death and open file from looking into certain large but meaningless directory under the project tree?
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 01 Nov 2013, at 21:58, Graham Heath graham.p.heath@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.
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@textmate.org wrote:
On 01 Nov 2013, at 21:58, Graham Heath graham.p.heath@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@lists.macromates.com http://lists.macromates.com/listinfo/textmate
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@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@textmate.org wrote:
On 01 Nov 2013, at 21:58, Graham Heath graham.p.heath@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@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Awesome! Thanks.
On Nov 20, 2013, at 11:23 AM, Charles Stuart charles.stuart@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@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@textmate.org wrote:
On 01 Nov 2013, at 21:58, Graham Heath graham.p.heath@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@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate