Sublime Forum

How to include some file patterns matched by "folder_exclude_patterns"

#1

My project settings look as follows:

{
  "folders":
  [
    {
      "folder_exclude_patterns":
      [
        "worker/subprojects/",
      ],
      "path": "~/src/my-project"
    }
  ]
}

I want to exclude all files and folders in my-project/worker/subprojects/ folder. However I want to include *.wrap files in that exact folder.

I was not able to achieve it by any means (I tried different combinations of folder/file_include/exclude_patters without success. I’d expect something like:

"folder_exclude_patterns":
[
  "worker/subprojects/",
  "!worker/subprojects/*.wrap"
]

Is there something like this? Thanks a lot.

SublimeText Stable Channel, Build 4126

0 Likes