mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 12:40:19 -05:00
Hide TS commands when not in js/ts file
This commit is contained in:
@@ -512,6 +512,18 @@
|
||||
{
|
||||
"command": "javascript.goToProjectConfig",
|
||||
"when": "editorLangId == javascriptreact && typescript.isManagedFile"
|
||||
},
|
||||
{
|
||||
"command": "typescript.selectTypeScriptVersion",
|
||||
"when": "typescript.isManagedFile"
|
||||
},
|
||||
{
|
||||
"command": "typescript.openTsServerLog",
|
||||
"when": "typescript.isManagedFile"
|
||||
},
|
||||
{
|
||||
"command": "typescript.restartTsServer",
|
||||
"when": "typescript.isManagedFile"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user