[TxMt] Re: settings_for_path and the file chooser :: I want to ignore directories when finding files

Koen Punt koen at koenpunt.nl
Fri Mar 29 14:43:09 UTC 2019


That would be a `.tm_properties` file;
https://macromates.com/blog/2011/git-style-configuration/

On Fri, 29 Mar 2019 at 15:40, Kyle Kirbatski <kyle.kirby at me.com> wrote:

> Hello,
>
> My end goal is that I want to tell textmate to ignore some directories (or
> include) when finding files using “Open Quickly”
>
> I skimmed the source code and saw that I might be able to use some kind of
> settings:
>
> static std::map<std::string, NSString*> const map = {
>         { kSettingsExcludeDirectoriesInFileChooserKey,
> kSearchExcludeDirectoryGlobsKey },
>         { kSettingsExcludeDirectoriesKey,
> kSearchExcludeDirectoryGlobsKey },
>         { kSettingsExcludeFilesInFileChooserKey,
>  kSearchExcludeFileGlobsKey      },
>         { kSettingsExcludeFilesKey,
> kSearchExcludeFileGlobsKey      },
>         { kSettingsExcludeInFileChooserKey,
> kSearchExcludeGlobsKey          },
>         { kSettingsExcludeKey,
>  kSearchExcludeGlobsKey          },
>         { kSettingsBinaryKey,
> kSearchExcludeGlobsKey          },
>         { kSettingsIncludeDirectoriesKey,
> kSearchDirectoryGlobsKey        },
>         { kSettingsIncludeFilesInFileChooserKey,
>  kSearchFileGlobsKey             },
>         { kSettingsIncludeFilesKey,
> kSearchFileGlobsKey             },
>         { kSettingsIncludeInFileChooserKey,            kSearchGlobsKey
>              },
>         { kSettingsIncludeKey,                         kSearchGlobsKey
>              },
> };
>
> However, I don’t know where I would set these. I believe there may me some
> kind of file I can place at my project root to define these, but I’m unable
> to determine what the name of this file should be or the format of the file.
>
> Any help would be appreciated.
>
> Thanks!
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> https://lists.macromates.com/listinfo/textmate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20190329/acc2c61d/attachment.html>


More information about the textmate mailing list