mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
Setup basic typescript.isManagedFile context
This commit is contained in:
@@ -483,23 +483,23 @@
|
||||
"commandPalette": [
|
||||
{
|
||||
"command": "typescript.reloadProjects",
|
||||
"when": "editorLangId == 'typescript'"
|
||||
"when": "editorLangId == typescript && typescript.isManagedFile"
|
||||
},
|
||||
{
|
||||
"command": "typescript.reloadProjects",
|
||||
"when": "editorLangId == typescriptreact"
|
||||
"when": "editorLangId == typescriptreact && typescript.isManagedFile"
|
||||
},
|
||||
{
|
||||
"command": "javascript.reloadProjects",
|
||||
"when": "editorLangId == 'javascript'"
|
||||
"when": "editorLangId == javascript && typescript.isManagedFile"
|
||||
},
|
||||
{
|
||||
"command": "javascript.reloadProjects",
|
||||
"when": "editorLangId == javascriptreact"
|
||||
"when": "editorLangId == javascriptreact && typescript.isManagedFile"
|
||||
},
|
||||
{
|
||||
"command": "typescript.goToProjectConfig",
|
||||
"when": "editorLangId == 'typescript'"
|
||||
"when": "editorLangId == typescript && typescript.isManagedFile"
|
||||
},
|
||||
{
|
||||
"command": "typescript.goToProjectConfig",
|
||||
@@ -507,11 +507,11 @@
|
||||
},
|
||||
{
|
||||
"command": "javascript.goToProjectConfig",
|
||||
"when": "editorLangId == 'javascript'"
|
||||
"when": "editorLangId == javascript && typescript.isManagedFile"
|
||||
},
|
||||
{
|
||||
"command": "javascript.goToProjectConfig",
|
||||
"when": "editorLangId == javascriptreact"
|
||||
"when": "editorLangId == javascriptreact && typescript.isManagedFile"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user