Reorder go to source definition (#226212)

Fixes #225419
This commit is contained in:
Matt Bierner
2024-08-23 13:15:37 -07:00
committed by GitHub
parent 34b5026049
commit 47fb559c6d

View File

@@ -1606,23 +1606,8 @@
"editor/context": [
{
"command": "typescript.goToSourceDefinition",
"when": "tsSupportsSourceDefinition && resourceLangId == typescript",
"group": "navigation@9"
},
{
"command": "typescript.goToSourceDefinition",
"when": "tsSupportsSourceDefinition && resourceLangId == typescriptreact",
"group": "navigation@9"
},
{
"command": "typescript.goToSourceDefinition",
"when": "tsSupportsSourceDefinition && resourceLangId == javascript",
"group": "navigation@9"
},
{
"command": "typescript.goToSourceDefinition",
"when": "tsSupportsSourceDefinition && resourceLangId == javascriptreact",
"group": "navigation@9"
"when": "tsSupportsSourceDefinition && (resourceLangId == typescript || resourceLangId == typescriptreact || resourceLangId == javascript || resourceLangId == javascriptreact)",
"group": "navigation@1.41"
}
],
"explorer/context": [