Switch back to repeated contribution

Fixes #125652

When clause using `||` doesn't seem to work here
This commit is contained in:
Matt Bierner
2021-06-15 15:57:15 -07:00
parent 9d626f12e8
commit 57d5c9dd0f

View File

@@ -1069,7 +1069,22 @@
"explorer/context": [ "explorer/context": [
{ {
"command": "typescript.findAllFileReferences", "command": "typescript.findAllFileReferences",
"when": "tsSupportsFileReferences && (resourceLangId == javascript || resourceLangId == javascriptreact || resourceLangId == typescript || resourceLangId == typescriptreact)", "when": "tsSupportsFileReferences && resourceLangId == typescript",
"group": "4_search"
},
{
"command": "typescript.findAllFileReferences",
"when": "tsSupportsFileReferences && resourceLangId == typescriptreact",
"group": "4_search"
},
{
"command": "typescript.findAllFileReferences",
"when": "tsSupportsFileReferences && resourceLangId == javascript",
"group": "4_search"
},
{
"command": "typescript.findAllFileReferences",
"when": "tsSupportsFileReferences && resourceLangId == javascriptreact",
"group": "4_search" "group": "4_search"
} }
], ],