mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-17 15:24:40 +01:00
Support old settings too for now
This commit is contained in:
@@ -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"
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user