提交 07951823 编写于 作者: R Rob Lourens

Search provider - wait for all * activations before searching with provider

上级 0401bcb1
......@@ -125,6 +125,7 @@ export class SearchService extends Disposable implements ISearchService {
const providerActivations: TPromise<any>[] = [TPromise.wrap(null)];
schemesInQuery.forEach(scheme => providerActivations.push(this.extensionService.activateByEvent(`onSearch:${scheme}`)));
providerActivations.push(this.extensionService.activateByEvent('*'));
const providerPromise = TPromise.join(providerActivations)
.then(() => this.extensionService.whenInstalledExtensionsRegistered())
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册