提交 4f9983bd 编写于 作者: R Ramya Achutha Rao

Track source of extension install for dependencies

上级 d6e9f1e7
......@@ -528,7 +528,7 @@ export class ExtensionGalleryService implements IExtensionGalleryService {
for (let index = 0; index < result.galleryExtensions.length; index++) {
const rawExtension = result.galleryExtensions[index];
if (ids.indexOf(rawExtension.extensionId) === -1) {
dependencies.push(toExtension(rawExtension, this.extensionsGalleryUrl, index, query));
dependencies.push(toExtension(rawExtension, this.extensionsGalleryUrl, index, query, 'dependencies'));
ids.push(rawExtension.extensionId);
}
}
......
......@@ -253,13 +253,15 @@ export class ExtensionsListView extends ViewsViewletPanel {
});
if (names.length) {
const namesOptions = assign({}, options, { names });
const namesOptions = assign({}, options, { names, source: 'extRegex' });
pagerPromises.push(this.extensionsWorkbenchService.queryGallery(namesOptions));
}
}
if (text) {
options = assign(options, { text: text.substr(0, 350) });
} else {
options.source = 'viewlet';
}
pagerPromises.push(this.extensionsWorkbenchService.queryGallery(options));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册