Skip to content

brackets-userland/brackets-file-tree-exclude

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 12 commits ahead of JonathanWolfe:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Brackets File Tree Exclude

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

This means that the files will be completely invisible to Brackets what will greatly improve overall performance of the editor.

This is great for cache folders, distribution/build folders and files, and package manager folders like node_modules and bower_components.

Based on works of:

JonathanWolfe/file-tree-exclude gruehle/exclude-folders

How to install

Use brackets-npm-registry

Configure

Exclusions are defined globally by default inside the Brackets preferences file (Debug > Open preferences file).

Append or edit your configuration options there. (See below for example of defaults)

Or on a per project basis:

Create a .brackets.json in project root (it may already exist) and add your settings there.

Note

Project config completely redefine exclusion rules from global config.

Configuration defaults

{
	"brackets-file-tree-exclude.excludeList": [
		"/.git/",
        "/dist/",
        "/bower_components/",
        "/node_modules/"
    ]
}

How it Matches

Strings are escaped to regexp's and matched against relative path of the file in the tree. To exclude a directory called node_modules use /node_modules/. Using /dist will exclude all directories and files starting with dist. Using .min.js/ will exclude all files (and directories) ending with .min.js.

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%