No commit characters for string completions (#148597)
parent
a763e90731
commit
076bb03cb4
|
@ -505,7 +505,7 @@ class MyCompletionItem extends vscode.CompletionItem {
|
|||
}
|
||||
|
||||
private static getCommitCharacters(context: CompletionContext, entry: Proto.CompletionEntry): string[] | undefined {
|
||||
if (entry.kind === PConst.Kind.warning) { // Ambient JS word based suggestion
|
||||
if (entry.kind === PConst.Kind.warning || entry.kind === PConst.Kind.string) { // Ambient JS word based suggestion, strings
|
||||
return undefined;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue