Last Updated: May 26, 2017
·
2.873K
· realchaseadams

SublimeText Exclude Directories In Go To Anything From Preferences

When you work on a lot of projects that have the same frameworks and there are directories you want to ignore in "Go To Anything", you can do so by adding the following to your Preferences.sublime-settings:

"folder_exclude_patterns": ["dist", "node_modules", ".git", ".sass-cache"]

I don't want to find any files in these directories (dist especially, as it's possible if you're not careful to edit files in your target instead of your source), and it helps to remove any potential cruft.