Categories
Web Development

Exclude .sass-cache files from Sublime Search [Snippet]

How to hide .sass-cache from your Sublime so that it doesn’t show up in search.

Ah, this morning has been one of those “refine your build process and not actually work on anything” mornings. One important improvement, however, was excluding those .sass-cache files from the Sublime search.

Isn’t it the worst when you Cmd+T to search for _base.scss and get a million .sass-cache/12783uqhwlkaksjd/_base.scssc‘s? Yes, it is!

Add this to Sublime > Preferences > Settings – User to get rid of those and some others:


"folder_exclude_patterns": [".svn", ".git", ".hg", "CVS", ".sass-cache", "node_modules"]

Done! Don’t your eyes feel better now?

Thanks to Eric Binnion for the tip.

2 replies on “Exclude .sass-cache files from Sublime Search [Snippet]”

Comments are closed.