Adding documentation.refactor proposed contribution point

For #86788
This commit is contained in:
Matt Bierner
2020-01-07 15:40:20 -08:00
parent 74c8922d31
commit f0336455ed
11 changed files with 220 additions and 14 deletions

View File

@@ -45,10 +45,20 @@
"onCommand:typescript.openTsServerLog",
"onCommand:workbench.action.tasks.runTask",
"onCommand:_typescript.configurePlugin",
"onCommand:_typescript.learnMoreAboutRefactorings",
"onLanguage:jsonc"
],
"main": "./out/extension",
"contributes": {
"documentation": {
"refactoring": [
{
"title": "%documentation.refactoring.title%",
"when": "typescript.isManagedFile",
"command": "_typescript.learnMoreAboutRefactorings"
}
]
},
"jsonValidation": [
{
"fileMatch": "package.json",