I'm sure there's an easy answer to this but I'd like to be able to specify a particular directory under one of my favourites to be *ignored *by textmate. The reason for this is that this directory has a bunch of compiled template files and shows up as "noise" when I use the CMD-T/Goto File operation.
Is there a command I can put in a .tm_properties files, etc.?
On Feb 24, 2013, at 1:47 PM, Ken Snyder ken+textmate@ken.net wrote:
I'm sure there's an easy answer to this but I'd like to be able to specify a particular directory under one of my favourites to be ignored by textmate. The reason for this is that this directory has a bunch of compiled template files and shows up as "noise" when I use the CMD-T/Goto File operation.
Is there a command I can put in a .tm_properties files, etc.?
You can set any of these to a glob matching what you wish to exclude (for the relevant item type and/or component):
* excludeDirectoriesInBrowser * excludeDirectoriesInFileChooser * excludeDirectoriesInFolderSearch * excludeDirectories * excludeFilesInBrowser * excludeFilesInFileChooser * excludeFilesInFolderSearch * excludeFiles * excludeInBrowser * excludeInFileChooser * excludeInFolderSearch * exclude
In Preferences you can set a global exclude glob (which is the last of the above keys).
Ok. Sorry for the rookie question but can you you be more explicit? Does this mean that in the root folder of a "favorites folder" could/should put something like:
excludeDirectoriesInFolderSearch="templates/compiled"
in the .tm_properties file?
On 24 February 2013 20:56, Allan Odgaard mailinglist@textmate.org wrote:
On Feb 24, 2013, at 1:47 PM, Ken Snyder ken+textmate@ken.net wrote:
I'm sure there's an easy answer to this but I'd like to be able to
specify a particular directory under one of my favourites to be ignored by textmate. The reason for this is that this directory has a bunch of compiled template files and shows up as "noise" when I use the CMD-T/Goto File operation.
Is there a command I can put in a .tm_properties files, etc.?
You can set any of these to a glob matching what you wish to exclude (for the relevant item type and/or component):
- excludeDirectoriesInBrowser
- excludeDirectoriesInFileChooser
- excludeDirectoriesInFolderSearch
- excludeDirectories
- excludeFilesInBrowser
- excludeFilesInFileChooser
- excludeFilesInFolderSearch
- excludeFiles
- excludeInBrowser
- excludeInFileChooser
- excludeInFolderSearch
- exclude
In Preferences you can set a global exclude glob (which is the last of the above keys).
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate