Posted in: Opinion

Excluding sass-cache from Sublime Text

19th October 2016

Excluding sass-cache from Sublime Text

Excluding sass-cache from Sublime Text

Excluding sass-cache from Sublime Text

Written by Excluding sass-cache from Sublime Text,

Written by Steven Roberts, Web Designer & Front-End Developer at Better.

Ever wanted to know how to remove sass-cache from Sublime Text? Declutter your project files in the sidebar with this simple solution.

Working in front-end development and the web in general I have used a myriad of text editors over the last 10 years. There’s loads to choose from and many of them are really good (Sublime, Atom, Notepad++ to name a few).

Choosing the right one for you is a whole separate topic, but I use Sublime Text and have done solidly for the last few years.

Excluding sass-cache from Sublime Text

I have a number of plugins and extensions installed to make it function just the way I like but one of the problems I used to have was having hidden files and folders cluttering up my project files in the sidebar.

Using Sublime you can add preferences to the program by navigating to the preferences and finding ‘settings’. From here you can edit an XML file containing configuration for Sublime Text.

I have a few things in that preference file but the main one we’re after here is;

“folder_exclude_patterns”:

[

“.svn”,

“.git”,

“.hg”,

“CVS”,

“.sass-cache”,

“node_modules”

],

Adding this to the preference file will remove these files and folders from the project workspace (sidebar) leaving you with just the files you want to be able to see and edit.

I’m hiding .svn, .git, .hg, CVS, .sass-cache and node_modules (you can tell I’m a front-end developer) but you can change this list to include any files and folders you wish.

Happy editing, in your newly less cluttered working directory.

Share this post


Browse other posts

Better launches new website for best-selling author Philippa Gregory

19th November 2024

Better launches new website for best-selling author Philippa Gregory

Better is excited to launch the brand-new official website for Philippa Gregory, one of the world’s most successful authors, whose books have sold millions of copies in over 40 countries.

Better delivers major rebrand for CPD

13th November 2024

Better delivers major rebrand for CPD

CPD Bodies Limited, one of the fastest-growing companies in the North East, has appointed Better as its brand partner to deliver a full rebrand, including a comprehensive brand strategy and visual identity.

Better unveils Rochdale Creates brand to help drive cultural and economic growth

15th October 2024

Better unveils Rochdale Creates brand to help drive cultural and economic growth

Better is proud to announce the launch of the new brand for Rochdale Creates, an ambitious initiative developed to position Rochdale as a vibrant hub for creativity and cultural expression.

Energising PD Ports for a progressive future

12th August 2024

Energising PD Ports for a progressive future

We’re proud to continue our partnership with one of the UK’s major port groups by completing a brand-led digital overhaul.