mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 14:01:38 +01:00
[json] set filter text for all property proposals
This commit is contained in:
@@ -155,7 +155,7 @@ export class ProjectJSONContribution implements JSONWorkerContribution {
|
||||
insertText += ',';
|
||||
}
|
||||
}
|
||||
let item : CompletionItem = { kind: CompletionItemKind.Property, label: name, insertText: insertText };
|
||||
let item : CompletionItem = { kind: CompletionItemKind.Property, label: name, insertText: insertText, filterText: JSON.stringify(name)};
|
||||
if (!this.completeWithCache(name, item)) {
|
||||
item.data = RESOLVE_ID + name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user