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:
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:
Hope you find this useful as well <3
Written by Verónica Rebagliatte
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Sublime
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#