Last Updated: February 25, 2016
·
1.276K
· rebagliatte

Scope search results on Sublime Text 2

When searching on sublime text 2, sometimes the output is full of noise.
I used git grep on the console to avoid them, however, it's nice to have that capability of jumping quickly across files that sublimes gives us.

In order to scope those search results first you need to save a sublime a project.
Then edit that project and add folder_exclude_patterns and file_exclude patterns in its JSON like this:

Picture

Those folders/files won't show up on the sidebar or on the go to commands.

If in addition to that, you want them not to be searched on when using the search you can do the following:

Picture

Hope you find this useful as well <3