@codingame/monaco-vscode-theme-service-override 18.1.2 → 18.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-theme-service-override",
3
- "version": "18.1.2",
3
+ "version": "18.2.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - theme service-override",
6
6
  "keywords": [],
@@ -15,11 +15,11 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-34a0ffd3-b9f5-5699-b43b-38af5732f38a-common": "18.1.2",
19
- "@codingame/monaco-vscode-93784a59-b4cf-520c-8339-f8104d3a4f3e-common": "18.1.2",
20
- "@codingame/monaco-vscode-9d0168a3-519b-57f3-9bcc-89efc41f951a-common": "18.1.2",
21
- "@codingame/monaco-vscode-api": "18.1.2",
22
- "@codingame/monaco-vscode-files-service-override": "18.1.2"
18
+ "@codingame/monaco-vscode-34a0ffd3-b9f5-5699-b43b-38af5732f38a-common": "18.2.0",
19
+ "@codingame/monaco-vscode-93784a59-b4cf-520c-8339-f8104d3a4f3e-common": "18.2.0",
20
+ "@codingame/monaco-vscode-9d0168a3-519b-57f3-9bcc-89efc41f951a-common": "18.2.0",
21
+ "@codingame/monaco-vscode-api": "18.2.0",
22
+ "@codingame/monaco-vscode-files-service-override": "18.2.0"
23
23
  },
24
24
  "main": "index.js",
25
25
  "module": "index.js",
@@ -53,7 +53,7 @@ import { defaultToggleStyles } from '@codingame/monaco-vscode-api/vscode/vs/plat
53
53
  import { DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
54
54
  import Severity from '@codingame/monaco-vscode-api/vscode/vs/base/common/severity';
55
55
 
56
- const manageExtensionIcon = registerIcon('theme-selection-manage-extension', Codicon.gear, ( localize(11359, 'Icon for the \'Manage\' action in the theme selection quick pick.')));
56
+ const manageExtensionIcon = registerIcon('theme-selection-manage-extension', Codicon.gear, ( localize(11375, 'Icon for the \'Manage\' action in the theme selection quick pick.')));
57
57
  var ConfigureItem;
58
58
  (function (ConfigureItem) {
59
59
  ConfigureItem["BROWSE_GALLERY"] = "marketplace";
@@ -161,7 +161,7 @@ let MarketplaceThemesPicker = class MarketplaceThemesPicker {
161
161
  quickpick.matchOnDescription = true;
162
162
  quickpick.buttons = [this.quickInputService.backButton];
163
163
  quickpick.title = 'Marketplace Themes';
164
- quickpick.placeholder = ( localize(11360, "Type to Search More. Select to Install. Up/Down Keys to Preview"));
164
+ quickpick.placeholder = ( localize(11376, "Type to Search More. Select to Install. Up/Down Keys to Preview"));
165
165
  quickpick.canSelectMany = false;
166
166
  disposables.add(quickpick.onDidChangeValue(() => this.trigger(quickpick.value)));
167
167
  disposables.add(quickpick.onDidAccept(async (_) => {
@@ -213,7 +213,7 @@ let MarketplaceThemesPicker = class MarketplaceThemesPicker {
213
213
  items = items.concat({ label: '$(loading~spin) Searching for themes...', id: undefined, alwaysShow: true });
214
214
  }
215
215
  else if (items.length === 0 && this._searchError) {
216
- items = [{ label: `$(error) ${( localize(11361, 'Error while searching for themes: {0}', this._searchError))}`, id: undefined, alwaysShow: true }];
216
+ items = [{ label: `$(error) ${( localize(11377, 'Error while searching for themes: {0}', this._searchError))}`, id: undefined, alwaysShow: true }];
217
217
  }
218
218
  const activeItemId = quickpick.activeItems[0]?.id;
219
219
  const newActiveItem = activeItemId ? items.find(i => isItem(i) && i.id === activeItemId) : undefined;
@@ -232,12 +232,12 @@ let MarketplaceThemesPicker = class MarketplaceThemesPicker {
232
232
  this.extensionsWorkbenchService.openSearch(`@id:${galleryExtension.identifier.id}`);
233
233
  const result = await this.dialogService.confirm({
234
234
  message: ( localize(
235
- 11362,
235
+ 11378,
236
236
  "This will install extension '{0}' published by '{1}'. Do you want to continue?",
237
237
  galleryExtension.displayName,
238
238
  galleryExtension.publisherDisplayName
239
239
  )),
240
- primaryButton: ( localize(11363, "OK"))
240
+ primaryButton: ( localize(11379, "OK"))
241
241
  });
242
242
  if (!result.confirmed) {
243
243
  return false;
@@ -245,7 +245,7 @@ let MarketplaceThemesPicker = class MarketplaceThemesPicker {
245
245
  try {
246
246
  await this.progressService.withProgress({
247
247
  location: ProgressLocation.Notification,
248
- title: ( localize(11364, "Installing Extension {0}...", galleryExtension.displayName))
248
+ title: ( localize(11380, "Installing Extension {0}...", galleryExtension.displayName))
249
249
  }, async () => {
250
250
  await this.extensionManagementService.installFromGallery(galleryExtension, {
251
251
  isMachineScoped: false,
@@ -393,7 +393,7 @@ registerAction2(class extends Action2 {
393
393
  constructor() {
394
394
  super({
395
395
  id: SelectColorThemeCommandId,
396
- title: ( localize2(11365, 'Color Theme')),
396
+ title: ( localize2(11381, 'Color Theme')),
397
397
  category: Categories.Preferences,
398
398
  f1: true,
399
399
  keybinding: {
@@ -404,12 +404,12 @@ registerAction2(class extends Action2 {
404
404
  }
405
405
  getTitle(colorScheme) {
406
406
  switch (colorScheme) {
407
- case ColorScheme.DARK: return localize(11366, "Select Color Theme for System Dark Mode");
408
- case ColorScheme.LIGHT: return localize(11367, "Select Color Theme for System Light Mode");
409
- case ColorScheme.HIGH_CONTRAST_DARK: return localize(11368, "Select Color Theme for High Contrast Dark Mode");
410
- case ColorScheme.HIGH_CONTRAST_LIGHT: return localize(11369, "Select Color Theme for High Contrast Light Mode");
407
+ case ColorScheme.DARK: return localize(11382, "Select Color Theme for System Dark Mode");
408
+ case ColorScheme.LIGHT: return localize(11383, "Select Color Theme for System Light Mode");
409
+ case ColorScheme.HIGH_CONTRAST_DARK: return localize(11384, "Select Color Theme for High Contrast Dark Mode");
410
+ case ColorScheme.HIGH_CONTRAST_LIGHT: return localize(11385, "Select Color Theme for High Contrast Light Mode");
411
411
  default:
412
- return localize(11370, "Select Color Theme (detect system color mode disabled)");
412
+ return localize(11386, "Select Color Theme (detect system color mode disabled)");
413
413
  }
414
414
  }
415
415
  async run(accessor) {
@@ -419,7 +419,7 @@ registerAction2(class extends Action2 {
419
419
  let modeConfigureToggle;
420
420
  if (preferredColorScheme) {
421
421
  modeConfigureToggle = ( new Toggle({
422
- title: ( localize(11371, 'Detect system color mode enabled. Click to configure.')),
422
+ title: ( localize(11387, 'Detect system color mode enabled. Click to configure.')),
423
423
  icon: Codicon.colorMode,
424
424
  isChecked: false,
425
425
  ...defaultToggleStyles
@@ -427,15 +427,15 @@ registerAction2(class extends Action2 {
427
427
  }
428
428
  else {
429
429
  modeConfigureToggle = ( new Toggle({
430
- title: ( localize(11372, 'Detect system color mode disabled. Click to configure.')),
430
+ title: ( localize(11388, 'Detect system color mode disabled. Click to configure.')),
431
431
  icon: Codicon.colorMode,
432
432
  isChecked: false,
433
433
  ...defaultToggleStyles
434
434
  }));
435
435
  }
436
436
  const options = {
437
- installMessage: ( localize(11373, "Install Additional Color Themes...")),
438
- browseMessage: '$(plus) ' + ( localize(11374, "Browse Additional Color Themes...")),
437
+ installMessage: ( localize(11389, "Install Additional Color Themes...")),
438
+ browseMessage: '$(plus) ' + ( localize(11390, "Browse Additional Color Themes...")),
439
439
  placeholderMessage: this.getTitle(preferredColorScheme),
440
440
  marketplaceTag: 'category:themes',
441
441
  toggles: [modeConfigureToggle],
@@ -450,9 +450,9 @@ registerAction2(class extends Action2 {
450
450
  const picker = instantiationService.createInstance(InstalledThemesPicker, options, setTheme, getMarketplaceColorThemes);
451
451
  const themes = await themeService.getColorThemes();
452
452
  const currentTheme = themeService.getColorTheme();
453
- const lightEntries = toEntries(themes.filter(t => t.type === ColorScheme.LIGHT), ( localize(11375, "light themes")));
454
- const darkEntries = toEntries(themes.filter(t => t.type === ColorScheme.DARK), ( localize(11376, "dark themes")));
455
- const hcEntries = toEntries(themes.filter(t => isHighContrast(t.type)), ( localize(11377, "high contrast themes")));
453
+ const lightEntries = toEntries(themes.filter(t => t.type === ColorScheme.LIGHT), ( localize(11391, "light themes")));
454
+ const darkEntries = toEntries(themes.filter(t => t.type === ColorScheme.DARK), ( localize(11392, "dark themes")));
455
+ const hcEntries = toEntries(themes.filter(t => isHighContrast(t.type)), ( localize(11393, "high contrast themes")));
456
456
  let picks;
457
457
  switch (preferredColorScheme) {
458
458
  case ColorScheme.DARK:
@@ -475,7 +475,7 @@ registerAction2(class extends Action2 {
475
475
  constructor() {
476
476
  super({
477
477
  id: SelectFileIconThemeCommandId,
478
- title: ( localize2(11378, 'File Icon Theme')),
478
+ title: ( localize2(11394, 'File Icon Theme')),
479
479
  category: Categories.Preferences,
480
480
  f1: true
481
481
  });
@@ -483,8 +483,8 @@ registerAction2(class extends Action2 {
483
483
  async run(accessor) {
484
484
  const themeService = accessor.get(IWorkbenchThemeService);
485
485
  const options = {
486
- installMessage: ( localize(11379, "Install Additional File Icon Themes...")),
487
- placeholderMessage: ( localize(11380, "Select File Icon Theme (Up/Down Keys to Preview)")),
486
+ installMessage: ( localize(11395, "Install Additional File Icon Themes...")),
487
+ placeholderMessage: ( localize(11396, "Select File Icon Theme (Up/Down Keys to Preview)")),
488
488
  marketplaceTag: 'tag:icon-theme'
489
489
  };
490
490
  const setTheme = (theme, settingsTarget) => themeService.setFileIconTheme(theme, settingsTarget);
@@ -492,8 +492,8 @@ registerAction2(class extends Action2 {
492
492
  const instantiationService = accessor.get(IInstantiationService);
493
493
  const picker = instantiationService.createInstance(InstalledThemesPicker, options, setTheme, getMarketplaceColorThemes);
494
494
  const picks = [
495
- { type: 'separator', label: ( localize(11381, 'file icon themes')) },
496
- { id: '', theme: FileIconThemeData.noIconTheme, label: ( localize(11382, 'None')), description: ( localize(11383, 'Disable File Icons')) },
495
+ { type: 'separator', label: ( localize(11397, 'file icon themes')) },
496
+ { id: '', theme: FileIconThemeData.noIconTheme, label: ( localize(11398, 'None')), description: ( localize(11399, 'Disable File Icons')) },
497
497
  ...toEntries(await themeService.getFileIconThemes()),
498
498
  ];
499
499
  await picker.openQuickPick(picks, themeService.getFileIconTheme());
@@ -504,7 +504,7 @@ registerAction2(class extends Action2 {
504
504
  constructor() {
505
505
  super({
506
506
  id: SelectProductIconThemeCommandId,
507
- title: ( localize2(11384, 'Product Icon Theme')),
507
+ title: ( localize2(11400, 'Product Icon Theme')),
508
508
  category: Categories.Preferences,
509
509
  f1: true
510
510
  });
@@ -512,9 +512,9 @@ registerAction2(class extends Action2 {
512
512
  async run(accessor) {
513
513
  const themeService = accessor.get(IWorkbenchThemeService);
514
514
  const options = {
515
- installMessage: ( localize(11385, "Install Additional Product Icon Themes...")),
516
- browseMessage: '$(plus) ' + ( localize(11386, "Browse Additional Product Icon Themes...")),
517
- placeholderMessage: ( localize(11387, "Select Product Icon Theme (Up/Down Keys to Preview)")),
515
+ installMessage: ( localize(11401, "Install Additional Product Icon Themes...")),
516
+ browseMessage: '$(plus) ' + ( localize(11402, "Browse Additional Product Icon Themes...")),
517
+ placeholderMessage: ( localize(11403, "Select Product Icon Theme (Up/Down Keys to Preview)")),
518
518
  marketplaceTag: 'tag:product-icon-theme'
519
519
  };
520
520
  const setTheme = (theme, settingsTarget) => themeService.setProductIconTheme(theme, settingsTarget);
@@ -522,8 +522,8 @@ registerAction2(class extends Action2 {
522
522
  const instantiationService = accessor.get(IInstantiationService);
523
523
  const picker = instantiationService.createInstance(InstalledThemesPicker, options, setTheme, getMarketplaceColorThemes);
524
524
  const picks = [
525
- { type: 'separator', label: ( localize(11388, 'product icon themes')) },
526
- { id: DEFAULT_PRODUCT_ICON_THEME_ID, theme: ProductIconThemeData.defaultTheme, label: ( localize(11389, 'Default')) },
525
+ { type: 'separator', label: ( localize(11404, 'product icon themes')) },
526
+ { id: DEFAULT_PRODUCT_ICON_THEME_ID, theme: ProductIconThemeData.defaultTheme, label: ( localize(11405, 'Default')) },
527
527
  ...toEntries(await themeService.getProductIconThemes()),
528
528
  ];
529
529
  await picker.openQuickPick(picks, themeService.getProductIconTheme());
@@ -581,13 +581,13 @@ function toEntries(themes, label) {
581
581
  }
582
582
  const configureButton = {
583
583
  iconClass: ThemeIcon.asClassName(manageExtensionIcon),
584
- tooltip: ( localize(11390, "Manage Extension")),
584
+ tooltip: ( localize(11406, "Manage Extension")),
585
585
  };
586
586
  registerAction2(class extends Action2 {
587
587
  constructor() {
588
588
  super({
589
589
  id: 'workbench.action.generateColorTheme',
590
- title: ( localize2(11391, 'Generate Color Theme From Current Settings')),
590
+ title: ( localize2(11407, 'Generate Color Theme From Current Settings')),
591
591
  category: Categories.Developer,
592
592
  f1: true
593
593
  });
@@ -637,7 +637,7 @@ registerAction2(class extends Action2 {
637
637
  constructor() {
638
638
  super({
639
639
  id: toggleLightDarkThemesCommandId,
640
- title: ( localize2(11392, 'Toggle between Light/Dark Themes')),
640
+ title: ( localize2(11408, 'Toggle between Light/Dark Themes')),
641
641
  category: Categories.Preferences,
642
642
  f1: true,
643
643
  });
@@ -649,13 +649,13 @@ registerAction2(class extends Action2 {
649
649
  const preferencesService = accessor.get(IPreferencesService);
650
650
  if (configurationService.getValue(ThemeSettings.DETECT_COLOR_SCHEME)) {
651
651
  const message = ( localize(
652
- 11393,
652
+ 11409,
653
653
  "Cannot toggle between light and dark themes when `{0}` is enabled in settings.",
654
654
  ThemeSettings.DETECT_COLOR_SCHEME
655
655
  ));
656
656
  notificationService.prompt(Severity.Info, message, [
657
657
  {
658
- label: ( localize(11394, "Open Settings")),
658
+ label: ( localize(11410, "Open Settings")),
659
659
  run: () => {
660
660
  return preferencesService.openUserSettings({ query: ThemeSettings.DETECT_COLOR_SCHEME });
661
661
  }
@@ -693,7 +693,7 @@ registerAction2(class extends Action2 {
693
693
  constructor() {
694
694
  super({
695
695
  id: browseColorThemesInMarketplaceCommandId,
696
- title: ( localize2(11395, 'Browse Color Themes in Marketplace')),
696
+ title: ( localize2(11411, 'Browse Color Themes in Marketplace')),
697
697
  category: Categories.Preferences,
698
698
  f1: true,
699
699
  });
@@ -734,13 +734,13 @@ registerAction2(class extends Action2 {
734
734
  });
735
735
  const ThemesSubMenu = ( new MenuId('ThemesSubMenu'));
736
736
  MenuRegistry.appendMenuItem(MenuId.GlobalActivity, {
737
- title: ( localize(11396, "Themes")),
737
+ title: ( localize(11412, "Themes")),
738
738
  submenu: ThemesSubMenu,
739
739
  group: '2_configuration',
740
740
  order: 7
741
741
  });
742
742
  MenuRegistry.appendMenuItem(MenuId.MenubarPreferencesMenu, {
743
- title: ( localize(11397, "&&Themes")),
743
+ title: ( localize(11413, "&&Themes")),
744
744
  submenu: ThemesSubMenu,
745
745
  group: '2_configuration',
746
746
  order: 7
@@ -748,21 +748,21 @@ MenuRegistry.appendMenuItem(MenuId.MenubarPreferencesMenu, {
748
748
  MenuRegistry.appendMenuItem(ThemesSubMenu, {
749
749
  command: {
750
750
  id: SelectColorThemeCommandId,
751
- title: ( localize(11365, 'Color Theme'))
751
+ title: ( localize(11381, 'Color Theme'))
752
752
  },
753
753
  order: 1
754
754
  });
755
755
  MenuRegistry.appendMenuItem(ThemesSubMenu, {
756
756
  command: {
757
757
  id: SelectFileIconThemeCommandId,
758
- title: ( localize(11398, "File Icon Theme"))
758
+ title: ( localize(11414, "File Icon Theme"))
759
759
  },
760
760
  order: 2
761
761
  });
762
762
  MenuRegistry.appendMenuItem(ThemesSubMenu, {
763
763
  command: {
764
764
  id: SelectProductIconThemeCommandId,
765
- title: ( localize(11399, "Product Icon Theme"))
765
+ title: ( localize(11415, "Product Icon Theme"))
766
766
  },
767
767
  order: 3
768
768
  });
@@ -141,13 +141,13 @@ class FileIconThemeLoader {
141
141
  const contentValue = parse(content, errors);
142
142
  if (errors.length > 0) {
143
143
  return Promise.reject(( new Error(( localize(
144
- 12891,
144
+ 12907,
145
145
  "Problems parsing file icons file: {0}",
146
146
  ( errors.map(e => getParseErrorMessage(e.error))).join(', ')
147
147
  )))));
148
148
  }
149
149
  else if (getNodeType(contentValue) !== 'object') {
150
- return Promise.reject(( new Error(( localize(12892, "Invalid format for file icons theme file: Object expected.")))));
150
+ return Promise.reject(( new Error(( localize(12908, "Invalid format for file icons theme file: Object expected.")))));
151
151
  }
152
152
  return Promise.resolve(contentValue);
153
153
  });
@@ -39,7 +39,7 @@ class ProductIconThemeData {
39
39
  this.isLoaded = true;
40
40
  if (warnings.length) {
41
41
  logService.error(( localize(
42
- 12893,
42
+ 12909,
43
43
  "Problems processing product icons definitions in {0}:\n{1}",
44
44
  (location.toString()),
45
45
  warnings.join('\n')
@@ -70,7 +70,7 @@ class ProductIconThemeData {
70
70
  static get defaultTheme() {
71
71
  let themeData = ProductIconThemeData._defaultProductIconTheme;
72
72
  if (!themeData) {
73
- themeData = ProductIconThemeData._defaultProductIconTheme = ( new ProductIconThemeData(DEFAULT_PRODUCT_ICON_THEME_ID, ( localize(12894, 'Default')), ThemeSettingDefaults.PRODUCT_ICON_THEME));
73
+ themeData = ProductIconThemeData._defaultProductIconTheme = ( new ProductIconThemeData(DEFAULT_PRODUCT_ICON_THEME_ID, ( localize(12910, 'Default')), ThemeSettingDefaults.PRODUCT_ICON_THEME));
74
74
  themeData.isLoaded = true;
75
75
  themeData.extensionData = undefined;
76
76
  themeData.watch = false;
@@ -157,17 +157,17 @@ function _loadProductIconThemeDocument(fileService, location, warnings) {
157
157
  const contentValue = parse(content, parseErrors);
158
158
  if (parseErrors.length > 0) {
159
159
  return Promise.reject(( new Error(( localize(
160
- 12895,
160
+ 12911,
161
161
  "Problems parsing product icons file: {0}",
162
162
  ( parseErrors.map(e => getParseErrorMessage(e.error))).join(', ')
163
163
  )))));
164
164
  }
165
165
  else if (getNodeType(contentValue) !== 'object') {
166
- return Promise.reject(( new Error(( localize(12896, "Invalid format for product icons theme file: Object expected.")))));
166
+ return Promise.reject(( new Error(( localize(12912, "Invalid format for product icons theme file: Object expected.")))));
167
167
  }
168
168
  else if (!contentValue.iconDefinitions || !Array.isArray(contentValue.fonts) || !contentValue.fonts.length) {
169
169
  return Promise.reject(( new Error(( localize(
170
- 12897,
170
+ 12913,
171
171
  "Invalid format for product icons theme file: Must contain iconDefinitions and fonts."
172
172
  )))));
173
173
  }
@@ -181,14 +181,14 @@ function _loadProductIconThemeDocument(fileService, location, warnings) {
181
181
  fontWeight = font.weight;
182
182
  }
183
183
  else {
184
- warnings.push(( localize(12898, 'Invalid font weight in font \'{0}\'. Ignoring setting.', font.id)));
184
+ warnings.push(( localize(12914, 'Invalid font weight in font \'{0}\'. Ignoring setting.', font.id)));
185
185
  }
186
186
  let fontStyle = undefined;
187
187
  if (isString(font.style) && font.style.match(fontStyleRegex)) {
188
188
  fontStyle = font.style;
189
189
  }
190
190
  else {
191
- warnings.push(( localize(12899, 'Invalid font style in font \'{0}\'. Ignoring setting.', font.id)));
191
+ warnings.push(( localize(12915, 'Invalid font style in font \'{0}\'. Ignoring setting.', font.id)));
192
192
  }
193
193
  const sanitizedSrc = [];
194
194
  if (Array.isArray(font.src)) {
@@ -198,7 +198,7 @@ function _loadProductIconThemeDocument(fileService, location, warnings) {
198
198
  sanitizedSrc.push({ location: iconFontLocation, format: s.format });
199
199
  }
200
200
  else {
201
- warnings.push(( localize(12900, 'Invalid font source in font \'{0}\'. Ignoring source.', font.id)));
201
+ warnings.push(( localize(12916, 'Invalid font source in font \'{0}\'. Ignoring source.', font.id)));
202
202
  }
203
203
  }
204
204
  }
@@ -207,7 +207,7 @@ function _loadProductIconThemeDocument(fileService, location, warnings) {
207
207
  }
208
208
  else {
209
209
  warnings.push(( localize(
210
- 12901,
210
+ 12917,
211
211
  'No valid font source in font \'{0}\'. Ignoring font definition.',
212
212
  font.id
213
213
  )));
@@ -215,7 +215,7 @@ function _loadProductIconThemeDocument(fileService, location, warnings) {
215
215
  }
216
216
  else {
217
217
  warnings.push(( localize(
218
- 12902,
218
+ 12918,
219
219
  'Missing or invalid font id \'{0}\'. Skipping font definition.',
220
220
  font.id
221
221
  )));
@@ -233,11 +233,11 @@ function _loadProductIconThemeDocument(fileService, location, warnings) {
233
233
  iconDefinitions.set(iconId, { fontCharacter: definition.fontCharacter, font });
234
234
  }
235
235
  else {
236
- warnings.push(( localize(12903, 'Skipping icon definition \'{0}\'. Unknown font.', iconId)));
236
+ warnings.push(( localize(12919, 'Skipping icon definition \'{0}\'. Unknown font.', iconId)));
237
237
  }
238
238
  }
239
239
  else {
240
- warnings.push(( localize(12904, 'Skipping icon definition \'{0}\': Needs to be defined', iconId)));
240
+ warnings.push(( localize(12920, 'Skipping icon definition \'{0}\': Needs to be defined', iconId)));
241
241
  }
242
242
  }
243
243
  return { iconDefinitions };
@@ -369,7 +369,7 @@ let WorkbenchThemeService = class WorkbenchThemeService extends Disposable {
369
369
  }
370
370
  catch (error) {
371
371
  throw ( new Error(( localize(
372
- 12905,
372
+ 12921,
373
373
  "Unable to load {0}: {1}",
374
374
  themeData.location?.toString(),
375
375
  error.message
@@ -136,31 +136,31 @@ const textmateColorSchema = {
136
136
  },
137
137
  settings: {
138
138
  type: 'object',
139
- description: ( localize(12936, 'Colors and styles for the token.')),
139
+ description: ( localize(12952, 'Colors and styles for the token.')),
140
140
  properties: {
141
141
  foreground: {
142
142
  type: 'string',
143
- description: ( localize(12937, 'Foreground color for the token.')),
143
+ description: ( localize(12953, 'Foreground color for the token.')),
144
144
  format: 'color-hex',
145
145
  default: '#ff0000'
146
146
  },
147
147
  background: {
148
148
  type: 'string',
149
- deprecationMessage: ( localize(12938, 'Token background colors are currently not supported.'))
149
+ deprecationMessage: ( localize(12954, 'Token background colors are currently not supported.'))
150
150
  },
151
151
  fontStyle: {
152
152
  type: 'string',
153
153
  description: ( localize(
154
- 12939,
154
+ 12955,
155
155
  'Font style of the rule: \'italic\', \'bold\', \'underline\', \'strikethrough\' or a combination. The empty string unsets inherited settings.'
156
156
  )),
157
157
  pattern: '^(\\s*\\b(italic|bold|underline|strikethrough))*\\s*$',
158
158
  patternErrorMessage: ( localize(
159
- 12940,
159
+ 12956,
160
160
  'Font style must be \'italic\', \'bold\', \'underline\', \'strikethrough\' or a combination or the empty string.'
161
161
  )),
162
162
  defaultSnippets: [
163
- { label: ( localize(12941, 'None (clear inherited style)')), bodyText: '""' },
163
+ { label: ( localize(12957, 'None (clear inherited style)')), bodyText: '""' },
164
164
  { body: 'italic' },
165
165
  { body: 'bold' },
166
166
  { body: 'underline' },
@@ -189,10 +189,10 @@ const textmateColorSchema = {
189
189
  properties: {
190
190
  name: {
191
191
  type: 'string',
192
- description: ( localize(12942, 'Description of the rule.'))
192
+ description: ( localize(12958, 'Description of the rule.'))
193
193
  },
194
194
  scope: {
195
- description: ( localize(12943, 'Scope selector against which this rule matches.')),
195
+ description: ( localize(12959, 'Scope selector against which this rule matches.')),
196
196
  anyOf: [
197
197
  {
198
198
  enum: textMateScopes
@@ -231,28 +231,28 @@ const colorThemeSchema = {
231
231
  allowTrailingCommas: true,
232
232
  properties: {
233
233
  colors: {
234
- description: ( localize(12944, 'Colors in the workbench')),
234
+ description: ( localize(12960, 'Colors in the workbench')),
235
235
  $ref: workbenchColorsSchemaId,
236
236
  additionalProperties: false
237
237
  },
238
238
  tokenColors: {
239
239
  anyOf: [{
240
240
  type: 'string',
241
- description: ( localize(12945, 'Path to a tmTheme file (relative to the current file).'))
241
+ description: ( localize(12961, 'Path to a tmTheme file (relative to the current file).'))
242
242
  },
243
243
  {
244
- description: ( localize(12946, 'Colors for syntax highlighting')),
244
+ description: ( localize(12962, 'Colors for syntax highlighting')),
245
245
  $ref: textmateColorsSchemaId
246
246
  }
247
247
  ]
248
248
  },
249
249
  semanticHighlighting: {
250
250
  type: 'boolean',
251
- description: ( localize(12947, 'Whether semantic highlighting should be enabled for this theme.'))
251
+ description: ( localize(12963, 'Whether semantic highlighting should be enabled for this theme.'))
252
252
  },
253
253
  semanticTokenColors: {
254
254
  type: 'object',
255
- description: ( localize(12948, 'Colors for semantic tokens')),
255
+ description: ( localize(12964, 'Colors for semantic tokens')),
256
256
  $ref: tokenStylingSchemaId
257
257
  }
258
258
  }
@@ -13,113 +13,113 @@ const schema = {
13
13
  folderExpanded: {
14
14
  type: 'string',
15
15
  description: ( localize(
16
- 12949,
16
+ 12965,
17
17
  'The folder icon for expanded folders. The expanded folder icon is optional. If not set, the icon defined for folder will be shown.'
18
18
  ))
19
19
  },
20
20
  folder: {
21
21
  type: 'string',
22
22
  description: ( localize(
23
- 12950,
23
+ 12966,
24
24
  'The folder icon for collapsed folders, and if folderExpanded is not set, also for expanded folders.'
25
25
  ))
26
26
  },
27
27
  file: {
28
28
  type: 'string',
29
29
  description: ( localize(
30
- 12951,
30
+ 12967,
31
31
  'The default file icon, shown for all files that don\'t match any extension, filename or language id.'
32
32
  ))
33
33
  },
34
34
  rootFolder: {
35
35
  type: 'string',
36
36
  description: ( localize(
37
- 12952,
37
+ 12968,
38
38
  'The folder icon for collapsed root folders, and if rootFolderExpanded is not set, also for expanded root folders.'
39
39
  ))
40
40
  },
41
41
  rootFolderExpanded: {
42
42
  type: 'string',
43
43
  description: ( localize(
44
- 12953,
44
+ 12969,
45
45
  'The folder icon for expanded root folders. The expanded root folder icon is optional. If not set, the icon defined for root folder will be shown.'
46
46
  ))
47
47
  },
48
48
  rootFolderNames: {
49
49
  type: 'object',
50
50
  description: ( localize(
51
- 12954,
51
+ 12970,
52
52
  'Associates root folder names to icons. The object key is the root folder name. No patterns or wildcards are allowed. Root folder name matching is case insensitive.'
53
53
  )),
54
54
  additionalProperties: {
55
55
  type: 'string',
56
- description: ( localize(12955, 'The ID of the icon definition for the association.'))
56
+ description: ( localize(12971, 'The ID of the icon definition for the association.'))
57
57
  }
58
58
  },
59
59
  rootFolderNamesExpanded: {
60
60
  type: 'object',
61
61
  description: ( localize(
62
- 12956,
62
+ 12972,
63
63
  'Associates root folder names to icons for expanded root folders. The object key is the root folder name. No patterns or wildcards are allowed. Root folder name matching is case insensitive.'
64
64
  )),
65
65
  additionalProperties: {
66
66
  type: 'string',
67
- description: ( localize(12957, 'The ID of the icon definition for the association.'))
67
+ description: ( localize(12973, 'The ID of the icon definition for the association.'))
68
68
  }
69
69
  },
70
70
  folderNames: {
71
71
  type: 'object',
72
72
  description: ( localize(
73
- 12958,
73
+ 12974,
74
74
  'Associates folder names to icons. The object key is the folder name, not including any path segments. No patterns or wildcards are allowed. Folder name matching is case insensitive.'
75
75
  )),
76
76
  additionalProperties: {
77
77
  type: 'string',
78
- description: ( localize(12955, 'The ID of the icon definition for the association.'))
78
+ description: ( localize(12971, 'The ID of the icon definition for the association.'))
79
79
  }
80
80
  },
81
81
  folderNamesExpanded: {
82
82
  type: 'object',
83
83
  description: ( localize(
84
- 12959,
84
+ 12975,
85
85
  'Associates folder names to icons for expanded folders. The object key is the folder name, not including any path segments. No patterns or wildcards are allowed. Folder name matching is case insensitive.'
86
86
  )),
87
87
  additionalProperties: {
88
88
  type: 'string',
89
- description: ( localize(12960, 'The ID of the icon definition for the association.'))
89
+ description: ( localize(12976, 'The ID of the icon definition for the association.'))
90
90
  }
91
91
  },
92
92
  fileExtensions: {
93
93
  type: 'object',
94
94
  description: ( localize(
95
- 12961,
95
+ 12977,
96
96
  'Associates file extensions to icons. The object key is the file extension name. The extension name is the last segment of a file name after the last dot (not including the dot). Extensions are compared case insensitive.'
97
97
  )),
98
98
  additionalProperties: {
99
99
  type: 'string',
100
- description: ( localize(12962, 'The ID of the icon definition for the association.'))
100
+ description: ( localize(12978, 'The ID of the icon definition for the association.'))
101
101
  }
102
102
  },
103
103
  fileNames: {
104
104
  type: 'object',
105
105
  description: ( localize(
106
- 12963,
106
+ 12979,
107
107
  'Associates file names to icons. The object key is the full file name, but not including any path segments. File name can include dots and a possible file extension. No patterns or wildcards are allowed. File name matching is case insensitive.'
108
108
  )),
109
109
  additionalProperties: {
110
110
  type: 'string',
111
- description: ( localize(12964, 'The ID of the icon definition for the association.'))
111
+ description: ( localize(12980, 'The ID of the icon definition for the association.'))
112
112
  }
113
113
  },
114
114
  languageIds: {
115
115
  type: 'object',
116
116
  description: ( localize(
117
- 12965,
117
+ 12981,
118
118
  'Associates languages to icons. The object key is the language id as defined in the language contribution point.'
119
119
  )),
120
120
  additionalProperties: {
121
121
  type: 'string',
122
- description: ( localize(12966, 'The ID of the icon definition for the association.'))
122
+ description: ( localize(12982, 'The ID of the icon definition for the association.'))
123
123
  }
124
124
  },
125
125
  associations: {
@@ -167,29 +167,29 @@ const schema = {
167
167
  properties: {
168
168
  fonts: {
169
169
  type: 'array',
170
- description: ( localize(12967, 'Fonts that are used in the icon definitions.')),
170
+ description: ( localize(12983, 'Fonts that are used in the icon definitions.')),
171
171
  items: {
172
172
  type: 'object',
173
173
  properties: {
174
174
  id: {
175
175
  type: 'string',
176
- description: ( localize(12968, 'The ID of the font.')),
176
+ description: ( localize(12984, 'The ID of the font.')),
177
177
  pattern: fontIdRegex.source,
178
178
  patternErrorMessage: fontIdErrorMessage
179
179
  },
180
180
  src: {
181
181
  type: 'array',
182
- description: ( localize(12969, 'The location of the font.')),
182
+ description: ( localize(12985, 'The location of the font.')),
183
183
  items: {
184
184
  type: 'object',
185
185
  properties: {
186
186
  path: {
187
187
  type: 'string',
188
- description: ( localize(12970, 'The font path, relative to the current file icon theme file.')),
188
+ description: ( localize(12986, 'The font path, relative to the current file icon theme file.')),
189
189
  },
190
190
  format: {
191
191
  type: 'string',
192
- description: ( localize(12971, 'The format of the font.')),
192
+ description: ( localize(12987, 'The format of the font.')),
193
193
  enum: ['woff', 'woff2', 'truetype', 'opentype', 'embedded-opentype', 'svg']
194
194
  }
195
195
  },
@@ -202,7 +202,7 @@ const schema = {
202
202
  weight: {
203
203
  type: 'string',
204
204
  description: ( localize(
205
- 12972,
205
+ 12988,
206
206
  'The weight of the font. See https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight for valid values.'
207
207
  )),
208
208
  pattern: fontWeightRegex.source
@@ -210,7 +210,7 @@ const schema = {
210
210
  style: {
211
211
  type: 'string',
212
212
  description: ( localize(
213
- 12973,
213
+ 12989,
214
214
  'The style of the font. See https://developer.mozilla.org/en-US/docs/Web/CSS/font-style for valid values.'
215
215
  )),
216
216
  pattern: fontStyleRegex.source
@@ -218,7 +218,7 @@ const schema = {
218
218
  size: {
219
219
  type: 'string',
220
220
  description: ( localize(
221
- 12974,
221
+ 12990,
222
222
  'The default size of the font. We strongly recommend using a percentage value, for example: 125%.'
223
223
  )),
224
224
  pattern: fontSizeRegex.source
@@ -233,34 +233,34 @@ const schema = {
233
233
  iconDefinitions: {
234
234
  type: 'object',
235
235
  description: ( localize(
236
- 12975,
236
+ 12991,
237
237
  'Description of all icons that can be used when associating files to icons.'
238
238
  )),
239
239
  additionalProperties: {
240
240
  type: 'object',
241
- description: ( localize(12976, 'An icon definition. The object key is the ID of the definition.')),
241
+ description: ( localize(12992, 'An icon definition. The object key is the ID of the definition.')),
242
242
  properties: {
243
243
  iconPath: {
244
244
  type: 'string',
245
245
  description: ( localize(
246
- 12977,
246
+ 12993,
247
247
  'When using a SVG or PNG: The path to the image. The path is relative to the icon set file.'
248
248
  ))
249
249
  },
250
250
  fontCharacter: {
251
251
  type: 'string',
252
- description: ( localize(12978, 'When using a glyph font: The character in the font to use.'))
252
+ description: ( localize(12994, 'When using a glyph font: The character in the font to use.'))
253
253
  },
254
254
  fontColor: {
255
255
  type: 'string',
256
256
  format: 'color-hex',
257
- description: ( localize(12979, 'When using a glyph font: The color to use.')),
257
+ description: ( localize(12995, 'When using a glyph font: The color to use.')),
258
258
  pattern: fontColorRegex.source
259
259
  },
260
260
  fontSize: {
261
261
  type: 'string',
262
262
  description: ( localize(
263
- 12980,
263
+ 12996,
264
264
  'When using a font: The font size in percentage to the text font. If not set, defaults to the size in the font definition.'
265
265
  )),
266
266
  pattern: fontSizeRegex.source
@@ -268,7 +268,7 @@ const schema = {
268
268
  fontId: {
269
269
  type: 'string',
270
270
  description: ( localize(
271
- 12981,
271
+ 12997,
272
272
  'When using a font: The id of the font. If not set, defaults to the first font definition.'
273
273
  )),
274
274
  pattern: fontIdRegex.source,
@@ -315,26 +315,26 @@ const schema = {
315
315
  },
316
316
  light: {
317
317
  $ref: '#/definitions/associations',
318
- description: ( localize(12982, 'Optional associations for file icons in light color themes.'))
318
+ description: ( localize(12998, 'Optional associations for file icons in light color themes.'))
319
319
  },
320
320
  highContrast: {
321
321
  $ref: '#/definitions/associations',
322
322
  description: ( localize(
323
- 12983,
323
+ 12999,
324
324
  'Optional associations for file icons in high contrast color themes.'
325
325
  ))
326
326
  },
327
327
  hidesExplorerArrows: {
328
328
  type: 'boolean',
329
329
  description: ( localize(
330
- 12984,
330
+ 13000,
331
331
  'Configures whether the file explorer\'s arrows should be hidden when this theme is active.'
332
332
  ))
333
333
  },
334
334
  showLanguageModeIcons: {
335
335
  type: 'boolean',
336
336
  description: ( localize(
337
- 12985,
337
+ 13001,
338
338
  'Configures whether the default language icons should be used if the theme does not define an icon for a language.'
339
339
  ))
340
340
  }
@@ -17,23 +17,23 @@ const schema = {
17
17
  properties: {
18
18
  id: {
19
19
  type: 'string',
20
- description: ( localize(12999, 'The ID of the font.')),
20
+ description: ( localize(13015, 'The ID of the font.')),
21
21
  pattern: fontIdRegex.source,
22
22
  patternErrorMessage: fontIdErrorMessage
23
23
  },
24
24
  src: {
25
25
  type: 'array',
26
- description: ( localize(13000, 'The location of the font.')),
26
+ description: ( localize(13016, 'The location of the font.')),
27
27
  items: {
28
28
  type: 'object',
29
29
  properties: {
30
30
  path: {
31
31
  type: 'string',
32
- description: ( localize(13001, 'The font path, relative to the current product icon theme file.')),
32
+ description: ( localize(13017, 'The font path, relative to the current product icon theme file.')),
33
33
  },
34
34
  format: {
35
35
  type: 'string',
36
- description: ( localize(13002, 'The format of the font.')),
36
+ description: ( localize(13018, 'The format of the font.')),
37
37
  enum: ['woff', 'woff2', 'truetype', 'opentype', 'embedded-opentype', 'svg']
38
38
  }
39
39
  },
@@ -46,7 +46,7 @@ const schema = {
46
46
  weight: {
47
47
  type: 'string',
48
48
  description: ( localize(
49
- 13003,
49
+ 13019,
50
50
  'The weight of the font. See https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight for valid values.'
51
51
  )),
52
52
  anyOf: [
@@ -57,7 +57,7 @@ const schema = {
57
57
  style: {
58
58
  type: 'string',
59
59
  description: ( localize(
60
- 13004,
60
+ 13020,
61
61
  'The style of the font. See https://developer.mozilla.org/en-US/docs/Web/CSS/font-style for valid values.'
62
62
  )),
63
63
  anyOf: [
@@ -73,7 +73,7 @@ const schema = {
73
73
  }
74
74
  },
75
75
  iconDefinitions: {
76
- description: ( localize(13005, 'Association of icon name to a font character.')),
76
+ description: ( localize(13021, 'Association of icon name to a font character.')),
77
77
  $ref: iconsSchemaId
78
78
  }
79
79
  }
@@ -32,7 +32,7 @@ const COLOR_THEME_CONFIGURATION_SETTINGS_TAG = 'colorThemeConfiguration';
32
32
  const colorThemeSettingSchema = {
33
33
  type: 'string',
34
34
  markdownDescription: ( localize(
35
- 13006,
35
+ 13022,
36
36
  "Specifies the color theme used in the workbench when {0} is not enabled.",
37
37
  formatSettingAsLink(ThemeSettings.DETECT_COLOR_SCHEME)
38
38
  )),
@@ -41,12 +41,12 @@ const colorThemeSettingSchema = {
41
41
  enum: colorThemeSettingEnum,
42
42
  enumDescriptions: colorThemeSettingEnumDescriptions,
43
43
  enumItemLabels: colorThemeSettingEnumItemLabels,
44
- errorMessage: ( localize(13007, "Theme is unknown or not installed.")),
44
+ errorMessage: ( localize(13023, "Theme is unknown or not installed.")),
45
45
  };
46
46
  const preferredDarkThemeSettingSchema = {
47
47
  type: 'string',
48
48
  markdownDescription: ( localize(
49
- 13008,
49
+ 13024,
50
50
  'Specifies the color theme when system color mode is dark and {0} is enabled.',
51
51
  formatSettingAsLink(ThemeSettings.DETECT_COLOR_SCHEME)
52
52
  )),
@@ -55,12 +55,12 @@ const preferredDarkThemeSettingSchema = {
55
55
  enum: colorThemeSettingEnum,
56
56
  enumDescriptions: colorThemeSettingEnumDescriptions,
57
57
  enumItemLabels: colorThemeSettingEnumItemLabels,
58
- errorMessage: ( localize(13007, "Theme is unknown or not installed.")),
58
+ errorMessage: ( localize(13023, "Theme is unknown or not installed.")),
59
59
  };
60
60
  const preferredLightThemeSettingSchema = {
61
61
  type: 'string',
62
62
  markdownDescription: ( localize(
63
- 13009,
63
+ 13025,
64
64
  'Specifies the color theme when system color mode is light and {0} is enabled.',
65
65
  formatSettingAsLink(ThemeSettings.DETECT_COLOR_SCHEME)
66
66
  )),
@@ -69,12 +69,12 @@ const preferredLightThemeSettingSchema = {
69
69
  enum: colorThemeSettingEnum,
70
70
  enumDescriptions: colorThemeSettingEnumDescriptions,
71
71
  enumItemLabels: colorThemeSettingEnumItemLabels,
72
- errorMessage: ( localize(13007, "Theme is unknown or not installed.")),
72
+ errorMessage: ( localize(13023, "Theme is unknown or not installed.")),
73
73
  };
74
74
  const preferredHCDarkThemeSettingSchema = {
75
75
  type: 'string',
76
76
  markdownDescription: ( localize(
77
- 13010,
77
+ 13026,
78
78
  'Specifies the color theme when in high contrast dark mode and {0} is enabled.',
79
79
  formatSettingAsLink(ThemeSettings.DETECT_HC)
80
80
  )),
@@ -83,12 +83,12 @@ const preferredHCDarkThemeSettingSchema = {
83
83
  enum: colorThemeSettingEnum,
84
84
  enumDescriptions: colorThemeSettingEnumDescriptions,
85
85
  enumItemLabels: colorThemeSettingEnumItemLabels,
86
- errorMessage: ( localize(13007, "Theme is unknown or not installed.")),
86
+ errorMessage: ( localize(13023, "Theme is unknown or not installed.")),
87
87
  };
88
88
  const preferredHCLightThemeSettingSchema = {
89
89
  type: 'string',
90
90
  markdownDescription: ( localize(
91
- 13011,
91
+ 13027,
92
92
  'Specifies the color theme when in high contrast light mode and {0} is enabled.',
93
93
  formatSettingAsLink(ThemeSettings.DETECT_HC)
94
94
  )),
@@ -97,12 +97,12 @@ const preferredHCLightThemeSettingSchema = {
97
97
  enum: colorThemeSettingEnum,
98
98
  enumDescriptions: colorThemeSettingEnumDescriptions,
99
99
  enumItemLabels: colorThemeSettingEnumItemLabels,
100
- errorMessage: ( localize(13007, "Theme is unknown or not installed.")),
100
+ errorMessage: ( localize(13023, "Theme is unknown or not installed.")),
101
101
  };
102
102
  const detectColorSchemeSettingSchema = {
103
103
  type: 'boolean',
104
104
  markdownDescription: ( localize(
105
- 13012,
105
+ 13028,
106
106
  'If enabled, will automatically select a color theme based on the system color mode. If the system color mode is dark, {0} is used, else {1}.',
107
107
  formatSettingAsLink(ThemeSettings.PREFERRED_DARK_THEME),
108
108
  formatSettingAsLink(ThemeSettings.PREFERRED_LIGHT_THEME)
@@ -112,7 +112,7 @@ const detectColorSchemeSettingSchema = {
112
112
  };
113
113
  const colorCustomizationsSchema = {
114
114
  type: 'object',
115
- description: ( localize(13013, "Overrides colors from the currently selected color theme.")),
115
+ description: ( localize(13029, "Overrides colors from the currently selected color theme.")),
116
116
  allOf: [{ $ref: workbenchColorsSchemaId }],
117
117
  default: {},
118
118
  defaultSnippets: [{
@@ -123,28 +123,28 @@ const fileIconThemeSettingSchema = {
123
123
  type: ['string', 'null'],
124
124
  default: ThemeSettingDefaults.FILE_ICON_THEME,
125
125
  description: ( localize(
126
- 13014,
126
+ 13030,
127
127
  "Specifies the file icon theme used in the workbench or 'null' to not show any file icons."
128
128
  )),
129
129
  enum: [null],
130
- enumItemLabels: [( localize(13015, 'None'))],
131
- enumDescriptions: [( localize(13016, 'No file icons'))],
132
- errorMessage: ( localize(13017, "File icon theme is unknown or not installed."))
130
+ enumItemLabels: [( localize(13031, 'None'))],
131
+ enumDescriptions: [( localize(13032, 'No file icons'))],
132
+ errorMessage: ( localize(13033, "File icon theme is unknown or not installed."))
133
133
  };
134
134
  const productIconThemeSettingSchema = {
135
135
  type: ['string', 'null'],
136
136
  default: ThemeSettingDefaults.PRODUCT_ICON_THEME,
137
- description: ( localize(13018, "Specifies the product icon theme used.")),
137
+ description: ( localize(13034, "Specifies the product icon theme used.")),
138
138
  enum: [ThemeSettingDefaults.PRODUCT_ICON_THEME],
139
- enumItemLabels: [( localize(13019, 'Default'))],
140
- enumDescriptions: [( localize(13020, 'Default'))],
141
- errorMessage: ( localize(13021, "Product icon theme is unknown or not installed."))
139
+ enumItemLabels: [( localize(13035, 'Default'))],
140
+ enumDescriptions: [( localize(13036, 'Default'))],
141
+ errorMessage: ( localize(13037, "Product icon theme is unknown or not installed."))
142
142
  };
143
143
  const detectHCSchemeSettingSchema = {
144
144
  type: 'boolean',
145
145
  default: true,
146
146
  markdownDescription: ( localize(
147
- 13022,
147
+ 13038,
148
148
  "If enabled, will automatically change to high contrast theme if the OS is using a high contrast theme. The high contrast theme to use is specified by {0} and {1}.",
149
149
  formatSettingAsLink(ThemeSettings.PREFERRED_HC_DARK_THEME),
150
150
  formatSettingAsLink(ThemeSettings.PREFERRED_HC_LIGHT_THEME)
@@ -188,31 +188,31 @@ const themeSpecificSettingKey = '^\\[[^\\]]*(\\]\\s*\\[[^\\]]*)*\\]$';
188
188
  const tokenColorSchema = {
189
189
  type: 'object',
190
190
  properties: {
191
- comments: tokenGroupSettings(( localize(13023, "Sets the colors and styles for comments"))),
192
- strings: tokenGroupSettings(( localize(13024, "Sets the colors and styles for strings literals."))),
193
- keywords: tokenGroupSettings(( localize(13025, "Sets the colors and styles for keywords."))),
194
- numbers: tokenGroupSettings(( localize(13026, "Sets the colors and styles for number literals."))),
195
- types: tokenGroupSettings(( localize(13027, "Sets the colors and styles for type declarations and references."))),
191
+ comments: tokenGroupSettings(( localize(13039, "Sets the colors and styles for comments"))),
192
+ strings: tokenGroupSettings(( localize(13040, "Sets the colors and styles for strings literals."))),
193
+ keywords: tokenGroupSettings(( localize(13041, "Sets the colors and styles for keywords."))),
194
+ numbers: tokenGroupSettings(( localize(13042, "Sets the colors and styles for number literals."))),
195
+ types: tokenGroupSettings(( localize(13043, "Sets the colors and styles for type declarations and references."))),
196
196
  functions: tokenGroupSettings(( localize(
197
- 13028,
197
+ 13044,
198
198
  "Sets the colors and styles for functions declarations and references."
199
199
  ))),
200
200
  variables: tokenGroupSettings(( localize(
201
- 13029,
201
+ 13045,
202
202
  "Sets the colors and styles for variables declarations and references."
203
203
  ))),
204
204
  textMateRules: {
205
- description: ( localize(13030, 'Sets colors and styles using textmate theming rules (advanced).')),
205
+ description: ( localize(13046, 'Sets colors and styles using textmate theming rules (advanced).')),
206
206
  $ref: textmateColorsSchemaId
207
207
  },
208
208
  semanticHighlighting: {
209
- description: ( localize(13031, 'Whether semantic highlighting should be enabled for this theme.')),
209
+ description: ( localize(13047, 'Whether semantic highlighting should be enabled for this theme.')),
210
210
  deprecationMessage: ( localize(
211
- 13032,
211
+ 13048,
212
212
  'Use `enabled` in `editor.semanticTokenColorCustomizations` setting instead.'
213
213
  )),
214
214
  markdownDeprecationMessage: ( localize(
215
- 13033,
215
+ 13049,
216
216
  'Use `enabled` in {0} setting instead.',
217
217
  formatSettingAsLink('editor.semanticTokenColorCustomizations')
218
218
  )),
@@ -223,7 +223,7 @@ const tokenColorSchema = {
223
223
  };
224
224
  const tokenColorCustomizationSchema = {
225
225
  description: ( localize(
226
- 13034,
226
+ 13050,
227
227
  "Overrides editor syntax colors and font style from the currently selected color theme."
228
228
  )),
229
229
  default: {},
@@ -235,14 +235,14 @@ const semanticTokenColorSchema = {
235
235
  enabled: {
236
236
  type: 'boolean',
237
237
  description: ( localize(
238
- 13035,
238
+ 13051,
239
239
  'Whether semantic highlighting is enabled or disabled for this theme'
240
240
  )),
241
241
  suggestSortText: '0_enabled'
242
242
  },
243
243
  rules: {
244
244
  $ref: tokenStylingSchemaId,
245
- description: ( localize(13036, 'Semantic token styling rules for this theme.')),
245
+ description: ( localize(13052, 'Semantic token styling rules for this theme.')),
246
246
  suggestSortText: '0_rules'
247
247
  }
248
248
  },
@@ -250,7 +250,7 @@ const semanticTokenColorSchema = {
250
250
  };
251
251
  const semanticTokenColorCustomizationSchema = {
252
252
  description: ( localize(
253
- 13037,
253
+ 13053,
254
254
  "Overrides editor semantic token color and styles from the currently selected color theme."
255
255
  )),
256
256
  default: {},
@@ -16,30 +16,30 @@ function registerColorThemeExtensionPoint() {
16
16
  return ExtensionsRegistry.registerExtensionPoint({
17
17
  extensionPoint: 'themes',
18
18
  jsonSchema: {
19
- description: ( localize(13038, 'Contributes textmate color themes.')),
19
+ description: ( localize(13054, 'Contributes textmate color themes.')),
20
20
  type: 'array',
21
21
  items: {
22
22
  type: 'object',
23
23
  defaultSnippets: [{ body: { label: '${1:label}', id: '${2:id}', uiTheme: ThemeTypeSelector.VS_DARK, path: './themes/${3:id}.tmTheme.' } }],
24
24
  properties: {
25
25
  id: {
26
- description: ( localize(13039, 'Id of the color theme as used in the user settings.')),
26
+ description: ( localize(13055, 'Id of the color theme as used in the user settings.')),
27
27
  type: 'string'
28
28
  },
29
29
  label: {
30
- description: ( localize(13040, 'Label of the color theme as shown in the UI.')),
30
+ description: ( localize(13056, 'Label of the color theme as shown in the UI.')),
31
31
  type: 'string'
32
32
  },
33
33
  uiTheme: {
34
34
  description: ( localize(
35
- 13041,
35
+ 13057,
36
36
  'Base theme defining the colors around the editor: \'vs\' is the light color theme, \'vs-dark\' is the dark color theme. \'hc-black\' is the dark high contrast theme, \'hc-light\' is the light high contrast theme.'
37
37
  )),
38
38
  enum: [ThemeTypeSelector.VS, ThemeTypeSelector.VS_DARK, ThemeTypeSelector.HC_BLACK, ThemeTypeSelector.HC_LIGHT]
39
39
  },
40
40
  path: {
41
41
  description: ( localize(
42
- 13042,
42
+ 13058,
43
43
  'Path of the tmTheme file. The path is relative to the extension folder and is typically \'./colorthemes/awesome-color-theme.json\'.'
44
44
  )),
45
45
  type: 'string'
@@ -54,23 +54,23 @@ function registerFileIconThemeExtensionPoint() {
54
54
  return ExtensionsRegistry.registerExtensionPoint({
55
55
  extensionPoint: 'iconThemes',
56
56
  jsonSchema: {
57
- description: ( localize(13043, 'Contributes file icon themes.')),
57
+ description: ( localize(13059, 'Contributes file icon themes.')),
58
58
  type: 'array',
59
59
  items: {
60
60
  type: 'object',
61
61
  defaultSnippets: [{ body: { id: '${1:id}', label: '${2:label}', path: './fileicons/${3:id}-icon-theme.json' } }],
62
62
  properties: {
63
63
  id: {
64
- description: ( localize(13044, 'Id of the file icon theme as used in the user settings.')),
64
+ description: ( localize(13060, 'Id of the file icon theme as used in the user settings.')),
65
65
  type: 'string'
66
66
  },
67
67
  label: {
68
- description: ( localize(13045, 'Label of the file icon theme as shown in the UI.')),
68
+ description: ( localize(13061, 'Label of the file icon theme as shown in the UI.')),
69
69
  type: 'string'
70
70
  },
71
71
  path: {
72
72
  description: ( localize(
73
- 13046,
73
+ 13062,
74
74
  'Path of the file icon theme definition file. The path is relative to the extension folder and is typically \'./fileicons/awesome-icon-theme.json\'.'
75
75
  )),
76
76
  type: 'string'
@@ -85,23 +85,23 @@ function registerProductIconThemeExtensionPoint() {
85
85
  return ExtensionsRegistry.registerExtensionPoint({
86
86
  extensionPoint: 'productIconThemes',
87
87
  jsonSchema: {
88
- description: ( localize(13047, 'Contributes product icon themes.')),
88
+ description: ( localize(13063, 'Contributes product icon themes.')),
89
89
  type: 'array',
90
90
  items: {
91
91
  type: 'object',
92
92
  defaultSnippets: [{ body: { id: '${1:id}', label: '${2:label}', path: './producticons/${3:id}-product-icon-theme.json' } }],
93
93
  properties: {
94
94
  id: {
95
- description: ( localize(13048, 'Id of the product icon theme as used in the user settings.')),
95
+ description: ( localize(13064, 'Id of the product icon theme as used in the user settings.')),
96
96
  type: 'string'
97
97
  },
98
98
  label: {
99
- description: ( localize(13049, 'Label of the product icon theme as shown in the UI.')),
99
+ description: ( localize(13065, 'Label of the product icon theme as shown in the UI.')),
100
100
  type: 'string'
101
101
  },
102
102
  path: {
103
103
  description: ( localize(
104
- 13050,
104
+ 13066,
105
105
  'Path of the product icon theme definition file. The path is relative to the extension folder and is typically \'./producticons/awesome-product-icon-theme.json\'.'
106
106
  )),
107
107
  type: 'string'
@@ -123,19 +123,19 @@ class ThemeDataRenderer extends Disposable {
123
123
  render(manifest) {
124
124
  const markdown = ( new MarkdownString());
125
125
  if (manifest.contributes?.themes) {
126
- markdown.appendMarkdown(`### ${( localize(13051, "Color Themes"))}\n\n`);
126
+ markdown.appendMarkdown(`### ${( localize(13067, "Color Themes"))}\n\n`);
127
127
  for (const theme of manifest.contributes.themes) {
128
128
  markdown.appendMarkdown(`- ${theme.label}\n`);
129
129
  }
130
130
  }
131
131
  if (manifest.contributes?.iconThemes) {
132
- markdown.appendMarkdown(`### ${( localize(13052, "File Icon Themes"))}\n\n`);
132
+ markdown.appendMarkdown(`### ${( localize(13068, "File Icon Themes"))}\n\n`);
133
133
  for (const theme of manifest.contributes.iconThemes) {
134
134
  markdown.appendMarkdown(`- ${theme.label}\n`);
135
135
  }
136
136
  }
137
137
  if (manifest.contributes?.productIconThemes) {
138
- markdown.appendMarkdown(`### ${( localize(13053, "Product Icon Themes"))}\n\n`);
138
+ markdown.appendMarkdown(`### ${( localize(13069, "Product Icon Themes"))}\n\n`);
139
139
  for (const theme of manifest.contributes.productIconThemes) {
140
140
  markdown.appendMarkdown(`- ${theme.label}\n`);
141
141
  }
@@ -148,7 +148,7 @@ class ThemeDataRenderer extends Disposable {
148
148
  }
149
149
  ( Registry.as(Extensions.ExtensionFeaturesRegistry)).registerExtensionFeature({
150
150
  id: 'themes',
151
- label: ( localize(13054, "Themes")),
151
+ label: ( localize(13070, "Themes")),
152
152
  access: {
153
153
  canToggle: false
154
154
  },
@@ -194,13 +194,13 @@ class ThemeRegistry {
194
194
  }
195
195
  onThemes(extensionData, extensionLocation, themeContributions, resultingThemes = [], log) {
196
196
  if (!Array.isArray(themeContributions)) {
197
- log?.error(( localize(13055, "Extension point `{0}` must be an array.", this.themesExtPoint.name)));
197
+ log?.error(( localize(13071, "Extension point `{0}` must be an array.", this.themesExtPoint.name)));
198
198
  return resultingThemes;
199
199
  }
200
200
  themeContributions.forEach(theme => {
201
201
  if (!theme.path || !isString(theme.path)) {
202
202
  log?.error(( localize(
203
- 13056,
203
+ 13072,
204
204
  "Expected string in `contributes.{0}.path`. Provided value: {1}",
205
205
  this.themesExtPoint.name,
206
206
  String(theme.path)
@@ -209,7 +209,7 @@ class ThemeRegistry {
209
209
  }
210
210
  if (this.idRequired && (!theme.id || !isString(theme.id))) {
211
211
  log?.error(( localize(
212
- 13057,
212
+ 13073,
213
213
  "Expected string in `contributes.{0}.id`. Provided value: {1}",
214
214
  this.themesExtPoint.name,
215
215
  String(theme.id)
@@ -219,7 +219,7 @@ class ThemeRegistry {
219
219
  const themeLocation = joinPath(extensionLocation, theme.path);
220
220
  if (!isEqualOrParent(themeLocation, extensionLocation)) {
221
221
  log?.warn(( localize(
222
- 13058,
222
+ 13074,
223
223
  "Expected `contributes.{0}.path` ({1}) to be included inside extension's folder ({2}). This might make the extension non-portable.",
224
224
  this.themesExtPoint.name,
225
225
  themeLocation.path,