Ingore specific folder or file from Sublime Text

While working with Node.js environment or working with SASS CSS pre-processor or with GIT, sometimes it becomes annoying when the Sublime Text Editor starts showing you unwanted files in File Navigation Prompt (“Ctrl + P” in Windows) or (“CMD + P” inside Mac).

Well, Sublime Text allows you to configure the user settings to exclude such files or folders from getting indexed or showing up in your Navigation search during work. All you need to do is enter below configurations inside the User Settings option from Preference Menu.


Path: Preferences > Settings

A new window will open up with tabs split in two, find the User Settings Tab (named as Preferences.sublime-settings - User)

There may be some custom settings already written, so just after the end of last configuration, add new rule to ignore the desired folder/file by adding below code (you may add new file/folder name below).

".sass-cache","node_modules", ".svn", ".git", ".hg", "CVS"

Don’t forget to add a , before appending the above settings.

I am attaching a snapshot of my Sublime Text settings for ease.

Comment for any doubts.

Setup SASS/SCSS compiler on a Windows machine

SASS/SCSS is well-known CSS preprocessor used to write your traditional CSS in a very fast and efficient way. It’s almost same with some extra features like Variables, Mixins, Inheritance(extend), Import and many more features. Basically, SASS helps you manage the CSS part on larger projects very easily.

1) Ruby Installation:

To get it working on your Windows machine – you would require one thing:

-> Ruby Installer

You can find the latest Ruby installer from it’s Official website.

Download Page:

Once Ruby is installed, run below mentioned commands to install SCSS and Compass gems.

2) SASS/SCSS Installation:

Go to Command Prompt (Start > Run > CMD) (You may require to start it with Administrator rights)

enter: gem install sass

This would initiate the SASS installation, you need to have a working internet connection during this process. Once SASS installation is done, install Compass.

enter: gem install compass

This should install Compass on your system.


If something goes wrong during this installation and you see an error related to Certificate and saying “unable to download…” as shown below:

Run these two commands in the Command prompt:

enter: gem sources -a

If the terminal asks for confirmation, type y to say “yes”

then enter: gem install sass


If you faced the similar error while installing Compass, write the compass installation command again in here and let it finish.

If the error is different than above mentioned scenario, checkout other common errors shared by users on Stack Overflow:

Once installed properly, create config.rb file in your project directory and you are ready to work with SASS/SCSS on your windows machine.