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

Posted August 22, 2014 in Web Development


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?

  • Hey Lara,

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

    Compose a Reply

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

      Compose a Reply

Submit a Comment