+8
Færdig
Ignore file types and directories in project when using "Goto Anything"
When working with my Scala projects, I would like the "target" folder, where all the outputs of a build go, so that files in that folder do not appear when I use the "Goto Anything" feature (CTRL+P). Or, at the very least, have them visibly deprioritised in the search results.
It would also be good to be able to do this with certain patterns of files, such as *.class files. A generalised regular expression based approach like that employed by Mercurial in it's .hgignore file would perhaps be a good all-round solution.
Svar
0
Svar
Færdig
Jon Skinner 13 år siden
You can use the file_exclude_patterns global preference for this
Svar
Færdig
You can use the file_exclude_patterns global preference for this
+1
In the case of the "target" folder though, this is not necessarily something I would like to set as a global preference, but something attached to the particular project I'm working on. Anyway, adding it to the global preferences isn't going to cause many problems for me personally so I'll go with this for now.
+1
The documentation here includes examples of how to use file_exclude_patterns and as part of your project settings (and folder_exclude_patterns can work the same way): http://www.sublimetext.com/docs/2/projects.html
Kundesupport af UserEcho