Sublime Forum

Sublime-project: exclude some files but all

#1

Hello,

I want to exclude all files within a folder but one exception. Currently I have the following:

"file_include_patterns":
[
  "build/Debug/build.log"
],
"folder_exclude_patterns":
[
  "build"
],

The above will exclude all files that do not match the include pattern. I want to add this rule only for the folder “build”.
If I use file_exclude_patterns instead it’s going to be a long list and might not be complete.

Since file_include_patterns is checked before file_exclude_patterns I cannot create a rule such as exclude all but include this.

0 Likes