[TxMt] Re: Excluding a directory from TM recursion

Allan Odgaard mailinglist at textmate.org
Sun Feb 24 20:56:51 UTC 2013

On Feb 24, 2013, at 1:47 PM, Ken Snyder <ken+textmate at 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).

More information about the textmate mailing list