mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
Allow disabling built-in TS/JS extension in favor of tsgo
This commit is contained in:
@@ -202,6 +202,12 @@
|
||||
"description": "%typescript.implementationsCodeLens.enabled%",
|
||||
"scope": "window"
|
||||
},
|
||||
"typescript.unstable.useTsgo": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"markdownDescription": "%typescript.useTsgo%",
|
||||
"scope": "window"
|
||||
},
|
||||
"typescript.implementationsCodeLens.showOnInterfaceMethods": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
@@ -1626,6 +1632,18 @@
|
||||
"command": "javascript.removeUnusedImports",
|
||||
"title": "%typescript.removeUnusedImports%",
|
||||
"category": "JavaScript"
|
||||
},
|
||||
{
|
||||
"command": "typescript.enableTsgo",
|
||||
"title": "Use TypeScript Go",
|
||||
"category": "TypeScript",
|
||||
"enablement": "!config.typescript.unstable.useTsgo && config.typescript-go.executablePath"
|
||||
},
|
||||
{
|
||||
"command": "typescript.disableTsgo",
|
||||
"title": "Stop using TypeScript Go",
|
||||
"category": "TypeScript",
|
||||
"enablement": "config.typescript.unstable.useTsgo"
|
||||
}
|
||||
],
|
||||
"menus": {
|
||||
|
||||
Reference in New Issue
Block a user