We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2a82fa commit 64b01a8Copy full SHA for 64b01a8
1 file changed
src/vs/platform/theme/common/iconRegistry.ts
@@ -166,7 +166,9 @@ class IconRegistry implements IIconRegistry {
166
let reference = [];
167
let docCss = [];
168
169
- for (const i of Object.values(this.iconsById).sort(sorter)) {
+ const contributions = Object.keys(this.iconsById).map(key => this.iconsById[key]);
170
+
171
+ for (const i of contributions.sort(sorter)) {
172
reference.push(`|<i class="${classNames(i)}"></i>|${i.id}|${ThemeIcon.isThemeIcon(i.defaults) ? i.defaults.id : ''}|`);
173
174
if (!ThemeIcon.isThemeIcon((i.defaults))) {
0 commit comments