Last Updated: February 25, 2016
·
1.323K
· Marko Klemetti

Folder excludes for modern JavaScript in Sublime Text

Are you developing using Grunt, Bower and node / npm?

You might want to exclude the default package folders from your Sublime workspace. This way the precompiled or massive library files will not be shown in the navigation or search of your own development.

Edit your user settings by either going to Sublime Text > Preferences > Settings - User or pressing Cmd-, (in OSX).

Add the folder exclusions to the settings:

"folder_exclude_patterns": [".sass-cache", ".tmp", "node_modules", "bower_components"]

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

JavaScript on a page runs with the privileges of that origin. One altered library, tag manager, or snippet can read inputs, change what people see, and call your APIs as the user.

Security insights from Cside