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

Posted August 22, 2014 in Tutorials+Tips


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.

Comments

What do you think? Do you have any questions, thoughts, or related links to share? Did I make a mistake in my post?

  • says

    Hey Lara,

    Just wanted to drop by and say thanks for the link back!

    • says

      No, thank you! Always appreciate people sharing little tips like that - keep it up!

Submit a Comment

Pssst...developer note: This is the most basic comment implentation you can possibly imagine, and it's on my list to flesh it out. But...I'm not using Disqus anymore, so that's cool! 👍