vscode icon indicating copy to clipboard operation
vscode copied to clipboard

js files are not excluded from explorer view in Mac OS X 10.9

Open tarurar opened this issue 10 years ago • 6 comments

  • VSCode Version: 1.0.0
  • OS Version: Mac OS X 10.9

Steps to Reproduce:

  1. open settings.json
  2. add following settings
{
    "files.exclude": {       
        "**/*.js": {"when": "$(basename).ts"}
    }
}

*.js files still apears in Explorer.

tarurar avatar Apr 17 '16 12:04 tarurar

@tarurar this will only hide *.js files if there are *.ts files with the same name. Otherwise just say "true" instead of using the when condition.

bpasero avatar Apr 17 '16 15:04 bpasero

Ok, @bpasero, please have a look at the screenshot attached. *.js and *.map files didn't dissapear from the explorer. screen shot 2016-04-17 at 20 06 14

tarurar avatar Apr 17 '16 16:04 tarurar

@tarurar you missed the "" in ".js"?

bpasero avatar Apr 17 '16 16:04 bpasero

Haven't got it. What is the question, actually?

tarurar avatar Apr 17 '16 17:04 tarurar

@tarurar somehow github escaped my comment in a weird way. I said, you seem to have missed the * in *.js in your settings. I only see .js

bpasero avatar Apr 17 '16 22:04 bpasero

Yes, you are right. Sorry.

tarurar avatar Apr 19 '16 16:04 tarurar