leftstick / vscode-favorites

An extension helps developer marking resources as favorite. Therefor, those resources can be easily found at a special view
https://leftstick.gitbooks.io/vscode-favorites/
GNU General Public License v3.0
48 stars 22 forks source link

[Bug] Excluding files does not work with "when" clause #20

Open johnhamm opened 6 years ago

johnhamm commented 6 years ago

I use the following "files.exclude" setting to hide generated JS and map files:

"files.exclude": {
  "**/*.js": { "when": "$(basename).ts"},
  "**/*.map": { "when": "$(basename).map"}
}

This works in the normal Explorer panel, but it doesn't work in the Favorites panel. It works in both, however, if I change the setting to this:

"files.exclude": {
  "**/*.js": true,
  "**/*.map": true
}