Skip to content

Brackets extension for excluding folders from the file tree, find in files, and quick open.

Notifications You must be signed in to change notification settings

janoszab/exclude-folders

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

exclude-folders

Brackets extension for excluding folders from the file tree, find in files, and quick open.

To install:

  1. Launch Brackets
  2. Select File > Extension Manager... or click the Lego icon in the toolbar
  3. Click the "Install from URL..." button
  4. Paste (or enter) https://github.com/gruehle/exclude-folders and click "Install"

By default, this extension excludes all node_modules folders. If you want to exclude additional folders, edit the regular expression on line 41 of main.js. For example, if you want to exclude all items that contain the words node_modules, bin, and componenets, use:

    return !name.match(/node_modules|bin|components/);

Note that this will match these words anywhere in the folder or file name. For example, if you have a folder named "my-components", it will also be excluded. You can use the ^ and $ anchors to ensure that the name must be a complete match:

    return !name.match(/^(node_modules|bin|components)$/);

Matching is case sensitive by default. Add i to the end to make it case-insensitive:

    return !name.match(/^(node_modules|bin|components)$/i);

About

Brackets extension for excluding folders from the file tree, find in files, and quick open.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%