Sublime Forum

Folder exclude patterns with directory separators

#1

I’d like to request for something like this:

"folder_exclude_patterns": "lib/vendor", "library/Zend"]

Doing so would allow me to hide certain folders from my projects automatically.

As of build 2080, this is not supported.

Even better if regex can be supported in the exclude patterns. Thank you.

0 Likes

#2

Something like this would be fantastic, if it prevented files in those directories from showing up in the “Goto FIle” box.

A common use case: If you’re working with Node.js, the preferred style is to include your project’s libraries in a directory called node_modules. That directory winds up including files with names like README, .gitignore, and so on—names that almost certainly overlap with the project the libraries are contained in. That dramatically lowers the signal-noise ratio of “Goto File”.

0 Likes

#3

Related feature request: sublimetext.userecho.com/topic/1 … ject-root/

It sounds like the new binary_file_patterns feature may be sufficient for my purposes, but I can’t find documentation on it…

As a workaround for my problem, I’ve added node_modules to the folder_exclude_patterns in my User Global settings.

0 Likes

#4

I’d love folder_exclude_patterns and file_exclude_patterns optionally act accordingly to the .gitignore :smile:

0 Likes

#5
0 Likes