mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 22:12:26 +01:00
Add an option to enable/disable JSDoc autocomplete (#23704)
* Add new option to disable/enable jsdoc autocompletion * Refactor JsDocCompletionItem - remove internal command - move TS service call and template generation to CompletionItem - only call TS service if JSDoc completion is enabled in settings - add local config and config update method to CompletionProvider * Change how and when JsDocCompletionHelper is registered Register JsDocCompletionHelper and update configuration in registerProviders instead of activate. Also react to configuration change. * Rename JsDocCompletionHelper to JsDocCompletionProvider * Add missing newline at the eof * Restore completion prompt for JSDoc autocomplete Restores internal command but but as a separate class. Registers command on extension activation.
This commit is contained in:
committed by
Matt Bierner
parent
45ab972e3d
commit
70e074ac2f
@@ -280,6 +280,11 @@
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%format.placeOpenBraceOnNewLineForControlBlocks%"
|
||||
},
|
||||
"jsDocCompletion.enabled": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%jsDocCompletion.enabled%"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user