mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-08 23:04:49 +01:00
[json] set filter text for all property proposals
This commit is contained in:
@@ -74,6 +74,7 @@ export class PackageJSONContribution implements IJSONContribution {
|
||||
let proposal = new CompletionItem(name);
|
||||
proposal.kind = CompletionItemKind.Property;
|
||||
proposal.insertText = insertText;
|
||||
proposal.filterText = JSON.stringify(name);
|
||||
proposal.documentation = '';
|
||||
collector.add(proposal);
|
||||
}
|
||||
@@ -105,6 +106,7 @@ export class PackageJSONContribution implements IJSONContribution {
|
||||
let proposal = new CompletionItem(name);
|
||||
proposal.kind = CompletionItemKind.Property;
|
||||
proposal.insertText = insertText;
|
||||
proposal.filterText = JSON.stringify(name);
|
||||
proposal.documentation = '';
|
||||
collector.add(proposal);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user