mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
@@ -65,6 +65,7 @@
|
||||
"onCommand:_typescript.configurePlugin",
|
||||
"onCommand:_typescript.learnMoreAboutRefactorings",
|
||||
"onCommand:typescript.fileReferences",
|
||||
"onCommand:typescript.goToSourceDefinition",
|
||||
"onTaskType:typescript",
|
||||
"onLanguage:jsonc"
|
||||
],
|
||||
@@ -1229,6 +1230,11 @@
|
||||
"command": "typescript.findAllFileReferences",
|
||||
"title": "%typescript.findAllFileReferences%",
|
||||
"category": "TypeScript"
|
||||
},
|
||||
{
|
||||
"command": "typescript.goToSourceDefinition",
|
||||
"title": "%typescript.goToSourceDefinition%",
|
||||
"category": "TypeScript"
|
||||
}
|
||||
],
|
||||
"menus": {
|
||||
@@ -1280,6 +1286,32 @@
|
||||
{
|
||||
"command": "typescript.findAllFileReferences",
|
||||
"when": "tsSupportsFileReferences && typescript.isManagedFile"
|
||||
},
|
||||
{
|
||||
"command": "typescript.goToSourceDefinition",
|
||||
"when": "tsSupportsSourceDefinition && typescript.isManagedFile"
|
||||
}
|
||||
],
|
||||
"editor/context": [
|
||||
{
|
||||
"command": "typescript.goToSourceDefinition",
|
||||
"when": "tsSupportsSourceDefinition && resourceLangId == typescript",
|
||||
"group": "navigation@9"
|
||||
},
|
||||
{
|
||||
"command": "typescript.goToSourceDefinition",
|
||||
"when": "tsSupportsSourceDefinition && resourceLangId == typescriptreact",
|
||||
"group": "navigation@9"
|
||||
},
|
||||
{
|
||||
"command": "typescript.goToSourceDefinition",
|
||||
"when": "tsSupportsSourceDefinition && resourceLangId == javascript",
|
||||
"group": "navigation@9"
|
||||
},
|
||||
{
|
||||
"command": "typescript.goToSourceDefinition",
|
||||
"when": "tsSupportsSourceDefinition && resourceLangId == javascriptreact",
|
||||
"group": "navigation@9"
|
||||
}
|
||||
],
|
||||
"explorer/context": [
|
||||
|
||||
Reference in New Issue
Block a user