GithubHelp home page GithubHelp logo

alexxnica / exclude-folders Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gruehle/exclude-folders

0.0 1.0 0.0 119 KB

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

JavaScript 100.00%

exclude-folders's Introduction

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);

exclude-folders's People

Contributors

gruehle avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.