You will need to add the following to your user settings (Preferences -> Settings - User) with any other directories or file types that you want to ignore.
Example:
"folder_exclude_patterns": [".svn", ".git", ".hg", "CVS"],
"file_exclude_patterns": ["*.pyc", "*.pyo", "*.exe", "*.dll", "*.obj","*.o", "*.a", "*.lib", "*.so", "*.dylib", "*.ncb", "*.sdf", "*.suo", "*.pdb", "*.idb", ".DS_Store", "*.class", "*.psd", "*.db"],
"binary_file_patterns": ["*.jpg", "*.jpeg", "*.png", "*.gif", "*.ttf", "*.tga", "*.dds", "*.ico", "*.eot", "*.pdf", "*.swf", "*.jar", "*.zip"],
source: https://forum.sublimetext.com/t/exclude-directory-from-go-to-anything/5767/3
There is still an alternative way where, by creating the project through Sublime Text, you add these settings above in your project file projeto.sublime-project
.
For example:
{
"folders":
[
{
"path": ".",
"folder_exclude_patterns" : [
"app/storage"
],
"file_exclude_patterns" : [
"*.jpg",
"*.png",
".gif",
"*.min.css",
"*.min.js",
"composer.lock"
]
}
],
"settings" : {
"tab_size" : 4,
"translate_tabs_to_spaces" : true
}
}
This file is for you to set your project’s default settings.