Skip to content

Commit 7e26f84

Browse files
committed
1 parent 8a483f1 commit 7e26f84

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

src/vs/workbench/parts/extensions/electron-browser/extensionTipsService.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,17 @@ export class ExtensionTipsService implements IExtensionTipsService {
107107
}
108108
});
109109

110+
forEach(product.extensionImportantTips, entry => {
111+
let {key: id, value} = entry;
112+
const {pattern} = value;
113+
let ids = this._availableRecommendations[pattern];
114+
if (!ids) {
115+
this._availableRecommendations[pattern] = [id];
116+
} else {
117+
ids.push(id);
118+
}
119+
});
120+
110121
this._modelService.onModelAdded(this._suggest, this, this._disposables);
111122
this._modelService.getModels().forEach(model => this._suggest(model));
112123
}

0 commit comments

Comments
 (0)