mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
Tweak jsdoc completion to allow it to be disabled by disabling snippets and so that it does not match words in the suggestion list
This commit is contained in:
@@ -18,7 +18,7 @@ const tryCompleteJsDocCommand = '_typeScript.tryCompleteJsDoc';
|
||||
|
||||
class JsDocCompletionItem extends CompletionItem {
|
||||
constructor(file: Uri, position: Position) {
|
||||
super('/** @param */', CompletionItemKind.Text);
|
||||
super('/** */', CompletionItemKind.Snippet);
|
||||
this.detail = localize('typescript.jsDocCompletionItem.documentation', 'JSDoc comment');
|
||||
this.insertText = '';
|
||||
this.sortText = '\0';
|
||||
|
||||
Reference in New Issue
Block a user