Support old settings too for now

This commit is contained in:
Matt Bierner
2026-02-24 12:55:16 -08:00
parent 679854a7c5
commit 6c446ea94e

View File

@@ -2856,13 +2856,13 @@
"command": "typescript.experimental.enableTsgo",
"title": "Use TypeScript Go (Experimental)",
"category": "TypeScript",
"enablement": "!config.js/ts.experimental.useTsgo && config.typescript-go.executablePath"
"enablement": "!config.js/ts.experimental.useTsgo && !config.typescript.experimental.useTsgo && config.typescript-go.executablePath"
},
{
"command": "typescript.experimental.disableTsgo",
"title": "Stop using TypeScript Go (Experimental)",
"category": "TypeScript",
"enablement": "config.js/ts.experimental.useTsgo"
"enablement": "config.js/ts.experimental.useTsgo || config.typescript.experimental.useTsgo"
}
],
"menus": {
@@ -2939,7 +2939,7 @@
"editor/context": [
{
"command": "typescript.goToSourceDefinition",
"when": "!config.js/ts.experimental.useTsgo && tsSupportsSourceDefinition && (resourceLangId == typescript || resourceLangId == typescriptreact || resourceLangId == javascript || resourceLangId == javascriptreact)",
"when": "!config.js/ts.experimental.useTsgo && !config.typescript.experimental.useTsgo && tsSupportsSourceDefinition && (resourceLangId == typescript || resourceLangId == typescriptreact || resourceLangId == javascript || resourceLangId == javascriptreact)",
"group": "navigation@1.41"
}
],