Skip to content

Commit eebf74e

Browse files
committed
Tweak jsdoc completion to allow it to be disabled by disabling snippets and so that it does not match words in the suggestion list
1 parent de593dd commit eebf74e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/typescript/src/features/jsDocCompletionProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const tryCompleteJsDocCommand = '_typeScript.tryCompleteJsDoc';
1818

1919
class JsDocCompletionItem extends CompletionItem {
2020
constructor(file: Uri, position: Position) {
21-
super('/** @param */', CompletionItemKind.Text);
21+
super('/** */', CompletionItemKind.Snippet);
2222
this.detail = localize('typescript.jsDocCompletionItem.documentation', 'JSDoc comment');
2323
this.insertText = '';
2424
this.sortText = '\0';

0 commit comments

Comments
 (0)