mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 07:15:54 +01:00
package.json completion: fetch on every key (always incomplete)
This commit is contained in:
@@ -136,7 +136,7 @@ export class JSONCompletionItemProvider implements CompletionItemProvider {
|
||||
}
|
||||
if (collectPromise) {
|
||||
return collectPromise.then(() => {
|
||||
if (items.length > 0) {
|
||||
if (items.length > 0 || isIncomplete) {
|
||||
return new CompletionList(items, isIncomplete);
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user