Localize and use .experimental

This commit is contained in:
Andrew Branch
2025-04-28 10:05:11 -07:00
parent 428dd9f8d0
commit 5732011d9a
3 changed files with 16 additions and 15 deletions

View File

@@ -202,11 +202,12 @@
"description": "%typescript.implementationsCodeLens.enabled%",
"scope": "window"
},
"typescript.useTsgo": {
"typescript.experimental.useTsgo": {
"type": "boolean",
"default": false,
"markdownDescription": "%typescript.useTsgo%",
"scope": "window"
"scope": "window",
"tags": ["experimental"]
},
"typescript.implementationsCodeLens.showOnInterfaceMethods": {
"type": "boolean",
@@ -1634,16 +1635,16 @@
"category": "JavaScript"
},
{
"command": "typescript.enableTsgo",
"title": "Use TypeScript Go",
"command": "typescript.experimental.enableTsgo",
"title": "Use TypeScript Go (Experimental)",
"category": "TypeScript",
"enablement": "!config.typescript.useTsgo && config.typescript-go.executablePath"
"enablement": "!config.typescript.experimental.useTsgo && config.typescript-go.executablePath"
},
{
"command": "typescript.disableTsgo",
"title": "Stop using TypeScript Go",
"command": "typescript.experimental.disableTsgo",
"title": "Stop using TypeScript Go (Experimental)",
"category": "TypeScript",
"enablement": "config.typescript.useTsgo"
"enablement": "config.typescript.experimental.useTsgo"
}
],
"menus": {