mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
Use CompletionItem for JsDoc Comment auto fill (#21025)
Fixes #20990 Switches back to using a completion item provider for jsdoc auto complete. The completion list will be automatically shown when you are in a potentially valid jsdoc completion context
This commit is contained in:
@@ -36,7 +36,6 @@
|
||||
"onCommand:typescript.selectTypeScriptVersion",
|
||||
"onCommand:javascript.goToProjectConfig",
|
||||
"onCommand:typescript.goToProjectConfig",
|
||||
"onCommand:_typescript.tryCompleteJsDoc",
|
||||
"workspaceContains:jsconfig.json",
|
||||
"workspaceContains:tsconfig.json"
|
||||
],
|
||||
@@ -84,28 +83,6 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"keybindings": [
|
||||
{
|
||||
"key": "enter",
|
||||
"command": "_typescript.tryCompleteJsDoc",
|
||||
"when": "editorTextFocus && !suggestWidgetVisible && editorLangId == 'typescript'"
|
||||
},
|
||||
{
|
||||
"key": "enter",
|
||||
"command": "_typescript.tryCompleteJsDoc",
|
||||
"when": "editorTextFocus && !suggestWidgetVisible && editorLangId == 'typescriptreact'"
|
||||
},
|
||||
{
|
||||
"key": "enter",
|
||||
"command": "_typescript.tryCompleteJsDoc",
|
||||
"when": "editorTextFocus && !suggestWidgetVisible && editorLangId == 'javascript'"
|
||||
},
|
||||
{
|
||||
"key": "enter",
|
||||
"command": "_typescript.tryCompleteJsDoc",
|
||||
"when": "editorTextFocus && !suggestWidgetVisible && editorLangId == 'javascriptreact'"
|
||||
}
|
||||
],
|
||||
"configuration": {
|
||||
"type": "object",
|
||||
"title": "%configuration.typescript%",
|
||||
|
||||
Reference in New Issue
Block a user