提交 350efab2 编写于 作者: R Rob Lourens

Settings editor - enable settings in new extensions #49474

上级 b538f1e8
......@@ -854,7 +854,12 @@ export class SettingsEditor2 extends BaseEditor {
private remoteSearchPreferences(query: string, token?: CancellationToken): TPromise<void> {
const remoteSearchProvider = this.preferencesSearchService.getRemoteSearchProvider(query);
return this.filterOrSearchPreferences(query, SearchResultIdx.Remote, remoteSearchProvider, token);
const newExtSearchProvider = this.preferencesSearchService.getRemoteSearchProvider(query, true);
return TPromise.join([
this.filterOrSearchPreferences(query, SearchResultIdx.Remote, remoteSearchProvider, token),
this.filterOrSearchPreferences(query, SearchResultIdx.NewExtensions, newExtSearchProvider, token)
]).then(() => { });
}
private filterOrSearchPreferences(query: string, type: SearchResultIdx, searchProvider: ISearchProvider, token?: CancellationToken): TPromise<void> {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册