@codingame/monaco-vscode-theme-service-override 32.0.0 → 32.0.1

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": "32.0.0",
3
+ "version": "32.0.1",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - theme service-override",
6
6
  "keywords": [],
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "32.0.0",
19
- "@codingame/monaco-vscode-files-service-override": "32.0.0"
18
+ "@codingame/monaco-vscode-api": "32.0.1",
19
+ "@codingame/monaco-vscode-files-service-override": "32.0.1"
20
20
  },
21
21
  "main": "index.js",
22
22
  "module": "index.js",
@@ -53,7 +53,7 @@ import { DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/com
53
53
  import { IWorkbenchEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service';
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(15178, "Icon for the 'Manage' action in the theme selection quick pick.")));
56
+ const manageExtensionIcon = registerIcon("theme-selection-manage-extension", Codicon.gear, ( localize(15203, "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";
@@ -184,7 +184,7 @@ let MarketplaceThemesPicker = class MarketplaceThemesPicker {
184
184
  quickpick.matchOnDescription = true;
185
185
  quickpick.buttons = [this.quickInputService.backButton];
186
186
  quickpick.title = "Marketplace Themes";
187
- quickpick.placeholder = ( localize(15179, "Type to Search More. Select to Install. Up/Down Keys to Preview"));
187
+ quickpick.placeholder = ( localize(15204, "Type to Search More. Select to Install. Up/Down Keys to Preview"));
188
188
  quickpick.canSelectMany = false;
189
189
  disposables.add(quickpick.onDidChangeValue(() => this.trigger(quickpick.value)));
190
190
  disposables.add(quickpick.onDidAccept(async _ => {
@@ -238,7 +238,7 @@ let MarketplaceThemesPicker = class MarketplaceThemesPicker {
238
238
  });
239
239
  } else if (items.length === 0 && this._searchError) {
240
240
  items = [{
241
- label: `$(error) ${( localize(15180, "Error while searching for themes: {0}", this._searchError))}`,
241
+ label: `$(error) ${( localize(15205, "Error while searching for themes: {0}", this._searchError))}`,
242
242
  id: undefined,
243
243
  alwaysShow: true
244
244
  }];
@@ -260,12 +260,12 @@ let MarketplaceThemesPicker = class MarketplaceThemesPicker {
260
260
  this.extensionsWorkbenchService.openSearch(`@id:${galleryExtension.identifier.id}`);
261
261
  const result = await this.dialogService.confirm({
262
262
  message: ( localize(
263
- 15181,
263
+ 15206,
264
264
  "This will install extension '{0}' published by '{1}'. Do you want to continue?",
265
265
  galleryExtension.displayName,
266
266
  galleryExtension.publisherDisplayName
267
267
  )),
268
- primaryButton: ( localize(15182, "OK"))
268
+ primaryButton: ( localize(15207, "OK"))
269
269
  });
270
270
  if (!result.confirmed) {
271
271
  return false;
@@ -273,7 +273,7 @@ let MarketplaceThemesPicker = class MarketplaceThemesPicker {
273
273
  try {
274
274
  await this.progressService.withProgress({
275
275
  location: ProgressLocation.Notification,
276
- title: ( localize(15183, "Installing Extension {0}...", galleryExtension.displayName))
276
+ title: ( localize(15208, "Installing Extension {0}...", galleryExtension.displayName))
277
277
  }, async () => {
278
278
  await this.extensionManagementService.installFromGallery(galleryExtension, {
279
279
  isMachineScoped: false
@@ -424,7 +424,7 @@ registerAction2(class extends Action2 {
424
424
  constructor() {
425
425
  super({
426
426
  id: SelectColorThemeCommandId,
427
- title: ( localize2(15184, "Color Theme")),
427
+ title: ( localize2(15209, "Color Theme")),
428
428
  category: Categories.Preferences,
429
429
  f1: true,
430
430
  keybinding: {
@@ -436,15 +436,15 @@ registerAction2(class extends Action2 {
436
436
  getTitle(colorScheme) {
437
437
  switch (colorScheme) {
438
438
  case ColorScheme.DARK:
439
- return localize(15185, "Select Color Theme for System Dark Mode");
439
+ return localize(15210, "Select Color Theme for System Dark Mode");
440
440
  case ColorScheme.LIGHT:
441
- return localize(15186, "Select Color Theme for System Light Mode");
441
+ return localize(15211, "Select Color Theme for System Light Mode");
442
442
  case ColorScheme.HIGH_CONTRAST_DARK:
443
- return localize(15187, "Select Color Theme for High Contrast Dark Mode");
443
+ return localize(15212, "Select Color Theme for High Contrast Dark Mode");
444
444
  case ColorScheme.HIGH_CONTRAST_LIGHT:
445
- return localize(15188, "Select Color Theme for High Contrast Light Mode");
445
+ return localize(15213, "Select Color Theme for High Contrast Light Mode");
446
446
  default:
447
- return localize(15189, "Select Color Theme (detect system color mode disabled)");
447
+ return localize(15214, "Select Color Theme (detect system color mode disabled)");
448
448
  }
449
449
  }
450
450
  async run(accessor) {
@@ -452,13 +452,13 @@ registerAction2(class extends Action2 {
452
452
  const preferencesService = accessor.get(IPreferencesService);
453
453
  const preferredColorScheme = themeService.getPreferredColorScheme();
454
454
  const modeConfigureButton = {
455
- tooltip: preferredColorScheme ? ( localize(15190, "Detect system color mode enabled. Click to configure.")) : ( localize(15191, "Detect system color mode disabled. Click to configure.")),
455
+ tooltip: preferredColorScheme ? ( localize(15215, "Detect system color mode enabled. Click to configure.")) : ( localize(15216, "Detect system color mode disabled. Click to configure.")),
456
456
  iconClass: ThemeIcon.asClassName(Codicon.colorMode),
457
457
  location: QuickInputButtonLocation.Inline
458
458
  };
459
459
  const options = {
460
- installMessage: ( localize(15192, "Install Additional Color Themes...")),
461
- browseMessage: "$(plus) " + ( localize(15193, "Browse Additional Color Themes...")),
460
+ installMessage: ( localize(15217, "Install Additional Color Themes...")),
461
+ browseMessage: "$(plus) " + ( localize(15218, "Browse Additional Color Themes...")),
462
462
  placeholderMessage: this.getTitle(preferredColorScheme),
463
463
  marketplaceTag: "category:themes",
464
464
  buttons: [modeConfigureButton],
@@ -475,9 +475,9 @@ registerAction2(class extends Action2 {
475
475
  const picker = instantiationService.createInstance(InstalledThemesPicker, options, setTheme, getMarketplaceColorThemes);
476
476
  const themes = await themeService.getColorThemes();
477
477
  const currentTheme = themeService.getColorTheme();
478
- const lightEntries = toEntries(themes.filter(t => t.type === ColorScheme.LIGHT), ( localize(15194, "light themes")));
479
- const darkEntries = toEntries(themes.filter(t => t.type === ColorScheme.DARK), ( localize(15195, "dark themes")));
480
- const hcEntries = toEntries(themes.filter(t => isHighContrast(t.type)), ( localize(15196, "high contrast themes")));
478
+ const lightEntries = toEntries(themes.filter(t => t.type === ColorScheme.LIGHT), ( localize(15219, "light themes")));
479
+ const darkEntries = toEntries(themes.filter(t => t.type === ColorScheme.DARK), ( localize(15220, "dark themes")));
480
+ const hcEntries = toEntries(themes.filter(t => isHighContrast(t.type)), ( localize(15221, "high contrast themes")));
481
481
  let picks;
482
482
  switch (preferredColorScheme) {
483
483
  case ColorScheme.DARK:
@@ -500,7 +500,7 @@ registerAction2(class extends Action2 {
500
500
  constructor() {
501
501
  super({
502
502
  id: SelectFileIconThemeCommandId,
503
- title: ( localize2(15197, "File Icon Theme")),
503
+ title: ( localize2(15222, "File Icon Theme")),
504
504
  category: Categories.Preferences,
505
505
  f1: true
506
506
  });
@@ -508,8 +508,8 @@ registerAction2(class extends Action2 {
508
508
  async run(accessor) {
509
509
  const themeService = accessor.get(IWorkbenchThemeService);
510
510
  const options = {
511
- installMessage: ( localize(15198, "Install Additional File Icon Themes...")),
512
- placeholderMessage: ( localize(15199, "Select File Icon Theme (Up/Down Keys to Preview)")),
511
+ installMessage: ( localize(15223, "Install Additional File Icon Themes...")),
512
+ placeholderMessage: ( localize(15224, "Select File Icon Theme (Up/Down Keys to Preview)")),
513
513
  marketplaceTag: "tag:icon-theme"
514
514
  };
515
515
  const setTheme = (theme, settingsTarget) => themeService.setFileIconTheme(theme, settingsTarget);
@@ -518,12 +518,12 @@ registerAction2(class extends Action2 {
518
518
  const picker = instantiationService.createInstance(InstalledThemesPicker, options, setTheme, getMarketplaceColorThemes);
519
519
  const picks = [{
520
520
  type: "separator",
521
- label: ( localize(15200, "file icon themes"))
521
+ label: ( localize(15225, "file icon themes"))
522
522
  }, {
523
523
  id: "",
524
524
  theme: FileIconThemeData.noIconTheme,
525
- label: ( localize(15201, "None")),
526
- description: ( localize(15202, "Disable File Icons"))
525
+ label: ( localize(15226, "None")),
526
+ description: ( localize(15227, "Disable File Icons"))
527
527
  }, ...toEntries(await themeService.getFileIconThemes())];
528
528
  await picker.openQuickPick(picks, themeService.getFileIconTheme());
529
529
  }
@@ -533,7 +533,7 @@ registerAction2(class extends Action2 {
533
533
  constructor() {
534
534
  super({
535
535
  id: SelectProductIconThemeCommandId,
536
- title: ( localize2(15203, "Product Icon Theme")),
536
+ title: ( localize2(15228, "Product Icon Theme")),
537
537
  category: Categories.Preferences,
538
538
  f1: true
539
539
  });
@@ -541,9 +541,9 @@ registerAction2(class extends Action2 {
541
541
  async run(accessor) {
542
542
  const themeService = accessor.get(IWorkbenchThemeService);
543
543
  const options = {
544
- installMessage: ( localize(15204, "Install Additional Product Icon Themes...")),
545
- browseMessage: "$(plus) " + ( localize(15205, "Browse Additional Product Icon Themes...")),
546
- placeholderMessage: ( localize(15206, "Select Product Icon Theme (Up/Down Keys to Preview)")),
544
+ installMessage: ( localize(15229, "Install Additional Product Icon Themes...")),
545
+ browseMessage: "$(plus) " + ( localize(15230, "Browse Additional Product Icon Themes...")),
546
+ placeholderMessage: ( localize(15231, "Select Product Icon Theme (Up/Down Keys to Preview)")),
547
547
  marketplaceTag: "tag:product-icon-theme"
548
548
  };
549
549
  const setTheme = (theme, settingsTarget) => themeService.setProductIconTheme(theme, settingsTarget);
@@ -552,11 +552,11 @@ registerAction2(class extends Action2 {
552
552
  const picker = instantiationService.createInstance(InstalledThemesPicker, options, setTheme, getMarketplaceColorThemes);
553
553
  const picks = [{
554
554
  type: "separator",
555
- label: ( localize(15207, "product icon themes"))
555
+ label: ( localize(15232, "product icon themes"))
556
556
  }, {
557
557
  id: DEFAULT_PRODUCT_ICON_THEME_ID,
558
558
  theme: ProductIconThemeData.defaultTheme,
559
- label: ( localize(15208, "Default"))
559
+ label: ( localize(15233, "Default"))
560
560
  }, ...toEntries(await themeService.getProductIconThemes())];
561
561
  await picker.openQuickPick(picks, themeService.getProductIconTheme());
562
562
  }
@@ -565,7 +565,7 @@ registerAction2(class extends Action2 {
565
565
  constructor() {
566
566
  super({
567
567
  id: "workbench.action.tryNewDefaultThemes",
568
- title: ( localize2(15209, "Try New Default Themes")),
568
+ title: ( localize2(15234, "Try New Default Themes")),
569
569
  category: Categories.Preferences,
570
570
  f1: true
571
571
  });
@@ -589,7 +589,7 @@ registerAction2(class extends Action2 {
589
589
  const disposables = ( new DisposableStore());
590
590
  const picker = disposables.add(quickInputService.createQuickPick());
591
591
  picker.items = items;
592
- picker.placeholder = ( localize(15210, "Pick a new default theme"));
592
+ picker.placeholder = ( localize(15235, "Pick a new default theme"));
593
593
  picker.canSelectMany = false;
594
594
  const preferredId = (previousTheme.type === ColorScheme.LIGHT || previousTheme.type === ColorScheme.HIGH_CONTRAST_LIGHT) ? ThemeSettingDefaults.COLOR_THEME_LIGHT : ThemeSettingDefaults.COLOR_THEME_DARK;
595
595
  const activeItem = items.find(i => themes.find(t => t.id === i.id)?.settingsId === preferredId);
@@ -675,8 +675,8 @@ function isItem(i) {
675
675
  return i["type"] !== "separator";
676
676
  }
677
677
  const defaultThemeDescriptions = {
678
- [ThemeSettingDefaults.COLOR_THEME_LIGHT]: ( localize(15211, "Default Light")),
679
- [ThemeSettingDefaults.COLOR_THEME_DARK]: ( localize(15212, "Default Dark"))
678
+ [ThemeSettingDefaults.COLOR_THEME_LIGHT]: ( localize(15236, "Default Light")),
679
+ [ThemeSettingDefaults.COLOR_THEME_DARK]: ( localize(15237, "Default Dark"))
680
680
  };
681
681
  function toEntry(theme) {
682
682
  const settingId = theme.settingsId ?? undefined;
@@ -715,13 +715,13 @@ function toEntries(themes, label) {
715
715
  }
716
716
  const configureButton = {
717
717
  iconClass: ThemeIcon.asClassName(manageExtensionIcon),
718
- tooltip: ( localize(15213, "Manage Extension"))
718
+ tooltip: ( localize(15238, "Manage Extension"))
719
719
  };
720
720
  registerAction2(class extends Action2 {
721
721
  constructor() {
722
722
  super({
723
723
  id: "workbench.action.generateColorTheme",
724
- title: ( localize2(15214, "Generate Color Theme From Current Settings")),
724
+ title: ( localize2(15239, "Generate Color Theme From Current Settings")),
725
725
  category: Categories.Developer,
726
726
  f1: true
727
727
  });
@@ -776,7 +776,7 @@ registerAction2(class extends Action2 {
776
776
  constructor() {
777
777
  super({
778
778
  id: toggleLightDarkThemesCommandId,
779
- title: ( localize2(15215, "Toggle between Light/Dark Themes")),
779
+ title: ( localize2(15240, "Toggle between Light/Dark Themes")),
780
780
  category: Categories.Preferences,
781
781
  f1: true
782
782
  });
@@ -788,12 +788,12 @@ registerAction2(class extends Action2 {
788
788
  const preferencesService = accessor.get(IPreferencesService);
789
789
  if (configurationService.getValue(ThemeSettings.DETECT_COLOR_SCHEME)) {
790
790
  const message = ( localize(
791
- 15216,
791
+ 15241,
792
792
  "Cannot toggle between light and dark themes when `{0}` is enabled in settings.",
793
793
  ThemeSettings.DETECT_COLOR_SCHEME
794
794
  ));
795
795
  notificationService.prompt(Severity.Info, message, [{
796
- label: ( localize(15217, "Open Settings")),
796
+ label: ( localize(15242, "Open Settings")),
797
797
  run: () => {
798
798
  return preferencesService.openUserSettings({
799
799
  query: ThemeSettings.DETECT_COLOR_SCHEME
@@ -832,7 +832,7 @@ registerAction2(class extends Action2 {
832
832
  constructor() {
833
833
  super({
834
834
  id: browseColorThemesInMarketplaceCommandId,
835
- title: ( localize2(15218, "Browse Color Themes in Marketplace")),
835
+ title: ( localize2(15243, "Browse Color Themes in Marketplace")),
836
836
  category: Categories.Preferences,
837
837
  f1: true
838
838
  });
@@ -873,13 +873,13 @@ registerAction2(class extends Action2 {
873
873
  });
874
874
  const ThemesSubMenu = ( new MenuId("ThemesSubMenu"));
875
875
  MenuRegistry.appendMenuItem(MenuId.GlobalActivity, {
876
- title: ( localize(15219, "Themes")),
876
+ title: ( localize(15244, "Themes")),
877
877
  submenu: ThemesSubMenu,
878
878
  group: "2_configuration",
879
879
  order: 7
880
880
  });
881
881
  MenuRegistry.appendMenuItem(MenuId.MenubarPreferencesMenu, {
882
- title: ( localize(15220, "&&Themes")),
882
+ title: ( localize(15245, "&&Themes")),
883
883
  submenu: ThemesSubMenu,
884
884
  group: "2_configuration",
885
885
  order: 7
@@ -887,21 +887,21 @@ MenuRegistry.appendMenuItem(MenuId.MenubarPreferencesMenu, {
887
887
  MenuRegistry.appendMenuItem(ThemesSubMenu, {
888
888
  command: {
889
889
  id: SelectColorThemeCommandId,
890
- title: ( localize(15184, "Color Theme"))
890
+ title: ( localize(15209, "Color Theme"))
891
891
  },
892
892
  order: 1
893
893
  });
894
894
  MenuRegistry.appendMenuItem(ThemesSubMenu, {
895
895
  command: {
896
896
  id: SelectFileIconThemeCommandId,
897
- title: ( localize(15221, "File Icon Theme"))
897
+ title: ( localize(15246, "File Icon Theme"))
898
898
  },
899
899
  order: 2
900
900
  });
901
901
  MenuRegistry.appendMenuItem(ThemesSubMenu, {
902
902
  command: {
903
903
  id: SelectProductIconThemeCommandId,
904
- title: ( localize(15222, "Product Icon Theme"))
904
+ title: ( localize(15247, "Product Icon Theme"))
905
905
  },
906
906
  order: 3
907
907
  });
@@ -149,12 +149,12 @@ class FileIconThemeLoader {
149
149
  const contentValue = parse(content, errors);
150
150
  if (errors.length > 0) {
151
151
  return Promise.reject(( new Error(( localize(
152
- 16937,
152
+ 16962,
153
153
  "Problems parsing file icons file: {0}",
154
154
  ( errors.map(e => getParseErrorMessage(e.error))).join(", ")
155
155
  )))));
156
156
  } else if (getNodeType(contentValue) !== "object") {
157
- return Promise.reject(( new Error(( localize(16938, "Invalid format for file icons theme file: Object expected.")))));
157
+ return Promise.reject(( new Error(( localize(16963, "Invalid format for file icons theme file: Object expected.")))));
158
158
  }
159
159
  return Promise.resolve(contentValue);
160
160
  });
@@ -43,7 +43,7 @@ class ProductIconThemeData {
43
43
  this.isLoaded = true;
44
44
  if (warnings.length) {
45
45
  logService.error(( localize(
46
- 16939,
46
+ 16964,
47
47
  "Problems processing product icons definitions in {0}:\n{1}",
48
48
  (location.toString()),
49
49
  warnings.join("\n")
@@ -76,7 +76,7 @@ class ProductIconThemeData {
76
76
  static get defaultTheme() {
77
77
  let themeData = ProductIconThemeData._defaultProductIconTheme;
78
78
  if (!themeData) {
79
- themeData = ProductIconThemeData._defaultProductIconTheme = ( new ProductIconThemeData(DEFAULT_PRODUCT_ICON_THEME_ID, ( localize(16940, "Default")), ThemeSettingDefaults.PRODUCT_ICON_THEME));
79
+ themeData = ProductIconThemeData._defaultProductIconTheme = ( new ProductIconThemeData(DEFAULT_PRODUCT_ICON_THEME_ID, ( localize(16965, "Default")), ThemeSettingDefaults.PRODUCT_ICON_THEME));
80
80
  themeData.isLoaded = true;
81
81
  themeData.extensionData = undefined;
82
82
  themeData.watch = false;
@@ -187,15 +187,15 @@ function _loadProductIconThemeDocument(fileService, location, warnings) {
187
187
  const contentValue = parse(content, parseErrors);
188
188
  if (parseErrors.length > 0) {
189
189
  return Promise.reject(( new Error(( localize(
190
- 16941,
190
+ 16966,
191
191
  "Problems parsing product icons file: {0}",
192
192
  ( parseErrors.map(e => getParseErrorMessage(e.error))).join(", ")
193
193
  )))));
194
194
  } else if (getNodeType(contentValue) !== "object") {
195
- return Promise.reject(( new Error(( localize(16942, "Invalid format for product icons theme file: Object expected.")))));
195
+ return Promise.reject(( new Error(( localize(16967, "Invalid format for product icons theme file: Object expected.")))));
196
196
  } else if (!contentValue.iconDefinitions || !Array.isArray(contentValue.fonts) || !contentValue.fonts.length) {
197
197
  return Promise.reject(( new Error(( localize(
198
- 16943,
198
+ 16968,
199
199
  "Invalid format for product icons theme file: Must contain iconDefinitions and fonts."
200
200
  )))));
201
201
  }
@@ -208,13 +208,13 @@ function _loadProductIconThemeDocument(fileService, location, warnings) {
208
208
  if (isString(font.weight) && font.weight.match(fontWeightRegex)) {
209
209
  fontWeight = font.weight;
210
210
  } else {
211
- warnings.push(( localize(16944, "Invalid font weight in font '{0}'. Ignoring setting.", font.id)));
211
+ warnings.push(( localize(16969, "Invalid font weight in font '{0}'. Ignoring setting.", font.id)));
212
212
  }
213
213
  let fontStyle = undefined;
214
214
  if (isString(font.style) && font.style.match(fontStyleRegex)) {
215
215
  fontStyle = font.style;
216
216
  } else {
217
- warnings.push(( localize(16945, "Invalid font style in font '{0}'. Ignoring setting.", font.id)));
217
+ warnings.push(( localize(16970, "Invalid font style in font '{0}'. Ignoring setting.", font.id)));
218
218
  }
219
219
  const sanitizedSrc = [];
220
220
  if (Array.isArray(font.src)) {
@@ -226,7 +226,7 @@ function _loadProductIconThemeDocument(fileService, location, warnings) {
226
226
  format: s.format
227
227
  });
228
228
  } else {
229
- warnings.push(( localize(16946, "Invalid font source in font '{0}'. Ignoring source.", font.id)));
229
+ warnings.push(( localize(16971, "Invalid font source in font '{0}'. Ignoring source.", font.id)));
230
230
  }
231
231
  }
232
232
  }
@@ -238,14 +238,14 @@ function _loadProductIconThemeDocument(fileService, location, warnings) {
238
238
  });
239
239
  } else {
240
240
  warnings.push(( localize(
241
- 16947,
241
+ 16972,
242
242
  "No valid font source in font '{0}'. Ignoring font definition.",
243
243
  font.id
244
244
  )));
245
245
  }
246
246
  } else {
247
247
  warnings.push(( localize(
248
- 16948,
248
+ 16973,
249
249
  "Missing or invalid font id '{0}'. Skipping font definition.",
250
250
  font.id
251
251
  )));
@@ -268,10 +268,10 @@ function _loadProductIconThemeDocument(fileService, location, warnings) {
268
268
  font
269
269
  });
270
270
  } else {
271
- warnings.push(( localize(16949, "Skipping icon definition '{0}'. Unknown font.", iconId)));
271
+ warnings.push(( localize(16974, "Skipping icon definition '{0}'. Unknown font.", iconId)));
272
272
  }
273
273
  } else {
274
- warnings.push(( localize(16950, "Skipping icon definition '{0}': Needs to be defined", iconId)));
274
+ warnings.push(( localize(16975, "Skipping icon definition '{0}': Needs to be defined", iconId)));
275
275
  }
276
276
  }
277
277
  return {
@@ -291,16 +291,16 @@ let WorkbenchThemeService = class WorkbenchThemeService extends Disposable {
291
291
  }
292
292
  const keepTheme = await ( new Promise(resolve => {
293
293
  this.notificationService.prompt(Severity.Info, ( localize(
294
- 16951,
294
+ 16976,
295
295
  "VS Code has a new default theme: '{0}'.",
296
296
  this.getColorTheme().label
297
297
  )), [toAction({
298
298
  id: "themeUpdated.tryItOut",
299
- label: ( localize(16952, "Keep It")),
299
+ label: ( localize(16977, "Keep It")),
300
300
  run: () => resolve(true)
301
301
  }), toAction({
302
302
  id: "themeUpdated.noThanks",
303
- label: ( localize(16953, "No Thanks")),
303
+ label: ( localize(16978, "No Thanks")),
304
304
  run: () => resolve(false)
305
305
  })], {
306
306
  onCancel: () => resolve(false)
@@ -496,7 +496,7 @@ let WorkbenchThemeService = class WorkbenchThemeService extends Disposable {
496
496
  return this.applyTheme(themeData, settingsTarget);
497
497
  } catch (error) {
498
498
  throw ( new Error(( localize(
499
- 16954,
499
+ 16979,
500
500
  "Unable to load {0}: {1}",
501
501
  themeData.location?.toString(),
502
502
  error.message
@@ -133,31 +133,31 @@ const textmateColorSchema = {
133
133
  },
134
134
  settings: {
135
135
  type: "object",
136
- description: ( localize(16985, "Colors and styles for the token.")),
136
+ description: ( localize(17010, "Colors and styles for the token.")),
137
137
  properties: {
138
138
  foreground: {
139
139
  type: "string",
140
- description: ( localize(16986, "Foreground color for the token.")),
140
+ description: ( localize(17011, "Foreground color for the token.")),
141
141
  format: "color-hex",
142
142
  default: "#ff0000"
143
143
  },
144
144
  background: {
145
145
  type: "string",
146
- deprecationMessage: ( localize(16987, "Token background colors are currently not supported."))
146
+ deprecationMessage: ( localize(17012, "Token background colors are currently not supported."))
147
147
  },
148
148
  fontStyle: {
149
149
  type: "string",
150
150
  description: ( localize(
151
- 16988,
151
+ 17013,
152
152
  "Font style of the rule: 'italic', 'bold', 'underline', 'strikethrough' or a combination. The empty string unsets inherited settings."
153
153
  )),
154
154
  pattern: "^(\\s*\\b(italic|bold|underline|strikethrough))*\\s*$",
155
155
  patternErrorMessage: ( localize(
156
- 16989,
156
+ 17014,
157
157
  "Font style must be 'italic', 'bold', 'underline', 'strikethrough' or a combination or the empty string."
158
158
  )),
159
159
  defaultSnippets: [{
160
- label: ( localize(16990, "None (clear inherited style)")),
160
+ label: ( localize(17015, "None (clear inherited style)")),
161
161
  bodyText: "\"\""
162
162
  }, {
163
163
  body: "italic"
@@ -194,21 +194,21 @@ const textmateColorSchema = {
194
194
  fontFamily: {
195
195
  type: "string",
196
196
  description: ( localize(
197
- 16991,
197
+ 17016,
198
198
  "Font family for the token (e.g., \"Fira Code\", \"JetBrains Mono\")."
199
199
  ))
200
200
  },
201
201
  fontSize: {
202
202
  type: "number",
203
203
  description: ( localize(
204
- 16992,
204
+ 17017,
205
205
  "Font size multiplier for the token (e.g., 1.2 will use 1.2 times the default font size)."
206
206
  ))
207
207
  },
208
208
  lineHeight: {
209
209
  type: "number",
210
210
  description: ( localize(
211
- 16993,
211
+ 17018,
212
212
  "Line height multiplier for the token (e.g., 1.2 will use 1.2 times the default height). If the font size is set and the line height is not explicitly set, the line height will be computed based on the font size."
213
213
  ))
214
214
  }
@@ -235,10 +235,10 @@ const textmateColorSchema = {
235
235
  properties: {
236
236
  name: {
237
237
  type: "string",
238
- description: ( localize(16994, "Description of the rule."))
238
+ description: ( localize(17019, "Description of the rule."))
239
239
  },
240
240
  scope: {
241
- description: ( localize(16995, "Scope selector against which this rule matches.")),
241
+ description: ( localize(17020, "Scope selector against which this rule matches.")),
242
242
  anyOf: [{
243
243
  enum: textMateScopes
244
244
  }, {
@@ -270,26 +270,26 @@ const colorThemeSchema = {
270
270
  allowTrailingCommas: true,
271
271
  properties: {
272
272
  colors: {
273
- description: ( localize(16996, "Colors in the workbench")),
273
+ description: ( localize(17021, "Colors in the workbench")),
274
274
  $ref: workbenchColorsSchemaId,
275
275
  additionalProperties: false
276
276
  },
277
277
  tokenColors: {
278
278
  anyOf: [{
279
279
  type: "string",
280
- description: ( localize(16997, "Path to a tmTheme file (relative to the current file)."))
280
+ description: ( localize(17022, "Path to a tmTheme file (relative to the current file)."))
281
281
  }, {
282
- description: ( localize(16998, "Colors for syntax highlighting")),
282
+ description: ( localize(17023, "Colors for syntax highlighting")),
283
283
  $ref: textmateColorsSchemaId
284
284
  }]
285
285
  },
286
286
  semanticHighlighting: {
287
287
  type: "boolean",
288
- description: ( localize(16999, "Whether semantic highlighting should be enabled for this theme."))
288
+ description: ( localize(17024, "Whether semantic highlighting should be enabled for this theme."))
289
289
  },
290
290
  semanticTokenColors: {
291
291
  type: "object",
292
- description: ( localize(17000, "Colors for semantic tokens")),
292
+ description: ( localize(17025, "Colors for semantic tokens")),
293
293
  $ref: tokenStylingSchemaId
294
294
  }
295
295
  }
@@ -13,113 +13,113 @@ const schema = {
13
13
  folderExpanded: {
14
14
  type: "string",
15
15
  description: ( localize(
16
- 17001,
16
+ 17026,
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
- 17002,
23
+ 17027,
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
- 17003,
30
+ 17028,
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
- 17004,
37
+ 17029,
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
- 17005,
44
+ 17030,
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
- 17006,
51
+ 17031,
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(17007, "The ID of the icon definition for the association."))
56
+ description: ( localize(17032, "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
- 17008,
62
+ 17033,
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(17009, "The ID of the icon definition for the association."))
67
+ description: ( localize(17034, "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
- 17010,
73
+ 17035,
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(17007, "The ID of the icon definition for the association."))
78
+ description: ( localize(17032, "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
- 17011,
84
+ 17036,
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(17012, "The ID of the icon definition for the association."))
89
+ description: ( localize(17037, "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
- 17013,
95
+ 17038,
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(17014, "The ID of the icon definition for the association."))
100
+ description: ( localize(17039, "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
- 17015,
106
+ 17040,
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(17016, "The ID of the icon definition for the association."))
111
+ description: ( localize(17041, "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
- 17017,
117
+ 17042,
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(17018, "The ID of the icon definition for the association."))
122
+ description: ( localize(17043, "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(17019, "Fonts that are used in the icon definitions.")),
170
+ description: ( localize(17044, "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(17020, "The ID of the font.")),
176
+ description: ( localize(17045, "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(17021, "The location of the font.")),
182
+ description: ( localize(17046, "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(17022, "The font path, relative to the current file icon theme file."))
188
+ description: ( localize(17047, "The font path, relative to the current file icon theme file."))
189
189
  },
190
190
  format: {
191
191
  type: "string",
192
- description: ( localize(17023, "The format of the font.")),
192
+ description: ( localize(17048, "The format of the font.")),
193
193
  enum: ["woff", "woff2", "truetype", "opentype", "embedded-opentype", "svg"]
194
194
  }
195
195
  },
@@ -199,7 +199,7 @@ const schema = {
199
199
  weight: {
200
200
  type: "string",
201
201
  description: ( localize(
202
- 17024,
202
+ 17049,
203
203
  "The weight of the font. See https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight for valid values."
204
204
  )),
205
205
  pattern: fontWeightRegex.source
@@ -207,7 +207,7 @@ const schema = {
207
207
  style: {
208
208
  type: "string",
209
209
  description: ( localize(
210
- 17025,
210
+ 17050,
211
211
  "The style of the font. See https://developer.mozilla.org/en-US/docs/Web/CSS/font-style for valid values."
212
212
  )),
213
213
  pattern: fontStyleRegex.source
@@ -215,7 +215,7 @@ const schema = {
215
215
  size: {
216
216
  type: "string",
217
217
  description: ( localize(
218
- 17026,
218
+ 17051,
219
219
  "The default size of the font. We strongly recommend using a percentage value, for example: 125%."
220
220
  )),
221
221
  pattern: fontSizeRegex.source
@@ -227,34 +227,34 @@ const schema = {
227
227
  iconDefinitions: {
228
228
  type: "object",
229
229
  description: ( localize(
230
- 17027,
230
+ 17052,
231
231
  "Description of all icons that can be used when associating files to icons."
232
232
  )),
233
233
  additionalProperties: {
234
234
  type: "object",
235
- description: ( localize(17028, "An icon definition. The object key is the ID of the definition.")),
235
+ description: ( localize(17053, "An icon definition. The object key is the ID of the definition.")),
236
236
  properties: {
237
237
  iconPath: {
238
238
  type: "string",
239
239
  description: ( localize(
240
- 17029,
240
+ 17054,
241
241
  "When using a SVG or PNG: The path to the image. The path is relative to the icon set file."
242
242
  ))
243
243
  },
244
244
  fontCharacter: {
245
245
  type: "string",
246
- description: ( localize(17030, "When using a glyph font: The character in the font to use."))
246
+ description: ( localize(17055, "When using a glyph font: The character in the font to use."))
247
247
  },
248
248
  fontColor: {
249
249
  type: "string",
250
250
  format: "color-hex",
251
- description: ( localize(17031, "When using a glyph font: The color to use.")),
251
+ description: ( localize(17056, "When using a glyph font: The color to use.")),
252
252
  pattern: fontColorRegex.source
253
253
  },
254
254
  fontSize: {
255
255
  type: "string",
256
256
  description: ( localize(
257
- 17032,
257
+ 17057,
258
258
  "When using a font: The font size in percentage to the text font. If not set, defaults to the size in the font definition."
259
259
  )),
260
260
  pattern: fontSizeRegex.source
@@ -262,7 +262,7 @@ const schema = {
262
262
  fontId: {
263
263
  type: "string",
264
264
  description: ( localize(
265
- 17033,
265
+ 17058,
266
266
  "When using a font: The id of the font. If not set, defaults to the first font definition."
267
267
  )),
268
268
  pattern: fontIdRegex.source,
@@ -309,26 +309,26 @@ const schema = {
309
309
  },
310
310
  light: {
311
311
  $ref: "#/definitions/associations",
312
- description: ( localize(17034, "Optional associations for file icons in light color themes."))
312
+ description: ( localize(17059, "Optional associations for file icons in light color themes."))
313
313
  },
314
314
  highContrast: {
315
315
  $ref: "#/definitions/associations",
316
316
  description: ( localize(
317
- 17035,
317
+ 17060,
318
318
  "Optional associations for file icons in high contrast color themes."
319
319
  ))
320
320
  },
321
321
  hidesExplorerArrows: {
322
322
  type: "boolean",
323
323
  description: ( localize(
324
- 17036,
324
+ 17061,
325
325
  "Configures whether the file explorer's arrows should be hidden when this theme is active."
326
326
  ))
327
327
  },
328
328
  showLanguageModeIcons: {
329
329
  type: "boolean",
330
330
  description: ( localize(
331
- 17037,
331
+ 17062,
332
332
  "Configures whether the default language icons should be used if the theme does not define an icon for a language."
333
333
  ))
334
334
  }
@@ -17,23 +17,23 @@ const schema = {
17
17
  properties: {
18
18
  id: {
19
19
  type: "string",
20
- description: ( localize(17051, "The ID of the font.")),
20
+ description: ( localize(17076, "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(17052, "The location of the font.")),
26
+ description: ( localize(17077, "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(17053, "The font path, relative to the current product icon theme file."))
32
+ description: ( localize(17078, "The font path, relative to the current product icon theme file."))
33
33
  },
34
34
  format: {
35
35
  type: "string",
36
- description: ( localize(17054, "The format of the font.")),
36
+ description: ( localize(17079, "The format of the font.")),
37
37
  enum: ["woff", "woff2", "truetype", "opentype", "embedded-opentype", "svg"]
38
38
  }
39
39
  },
@@ -43,7 +43,7 @@ const schema = {
43
43
  weight: {
44
44
  type: "string",
45
45
  description: ( localize(
46
- 17055,
46
+ 17080,
47
47
  "The weight of the font. See https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight for valid values."
48
48
  )),
49
49
  anyOf: [{
@@ -56,7 +56,7 @@ const schema = {
56
56
  style: {
57
57
  type: "string",
58
58
  description: ( localize(
59
- 17056,
59
+ 17081,
60
60
  "The style of the font. See https://developer.mozilla.org/en-US/docs/Web/CSS/font-style for valid values."
61
61
  )),
62
62
  anyOf: [{
@@ -71,7 +71,7 @@ const schema = {
71
71
  }
72
72
  },
73
73
  iconDefinitions: {
74
- description: ( localize(17057, "Association of icon name to a font character.")),
74
+ description: ( localize(17082, "Association of icon name to a font character.")),
75
75
  $ref: iconsSchemaId
76
76
  }
77
77
  }
@@ -32,7 +32,7 @@ const COLOR_THEME_CONFIGURATION_SETTINGS_TAG = "colorThemeConfiguration";
32
32
  const colorThemeSettingSchema = {
33
33
  type: "string",
34
34
  markdownDescription: ( localize(
35
- 17058,
35
+ 17083,
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(17059, "Theme is unknown or not installed."))
44
+ errorMessage: ( localize(17084, "Theme is unknown or not installed."))
45
45
  };
46
46
  const preferredDarkThemeSettingSchema = {
47
47
  type: "string",
48
48
  markdownDescription: ( localize(
49
- 17060,
49
+ 17085,
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(17059, "Theme is unknown or not installed."))
58
+ errorMessage: ( localize(17084, "Theme is unknown or not installed."))
59
59
  };
60
60
  const preferredLightThemeSettingSchema = {
61
61
  type: "string",
62
62
  markdownDescription: ( localize(
63
- 17061,
63
+ 17086,
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(17059, "Theme is unknown or not installed."))
72
+ errorMessage: ( localize(17084, "Theme is unknown or not installed."))
73
73
  };
74
74
  const preferredHCDarkThemeSettingSchema = {
75
75
  type: "string",
76
76
  markdownDescription: ( localize(
77
- 17062,
77
+ 17087,
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(17059, "Theme is unknown or not installed."))
86
+ errorMessage: ( localize(17084, "Theme is unknown or not installed."))
87
87
  };
88
88
  const preferredHCLightThemeSettingSchema = {
89
89
  type: "string",
90
90
  markdownDescription: ( localize(
91
- 17063,
91
+ 17088,
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(17059, "Theme is unknown or not installed."))
100
+ errorMessage: ( localize(17084, "Theme is unknown or not installed."))
101
101
  };
102
102
  const detectColorSchemeSettingSchema = {
103
103
  type: "boolean",
104
104
  markdownDescription: ( localize(
105
- 17064,
105
+ 17089,
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)
@@ -117,7 +117,7 @@ const detectColorSchemeSettingSchema = {
117
117
  };
118
118
  const colorCustomizationsSchema = {
119
119
  type: "object",
120
- description: ( localize(17065, "Overrides colors from the currently selected color theme.")),
120
+ description: ( localize(17090, "Overrides colors from the currently selected color theme.")),
121
121
  allOf: [{
122
122
  $ref: workbenchColorsSchemaId
123
123
  }],
@@ -130,28 +130,28 @@ const fileIconThemeSettingSchema = {
130
130
  type: ["string", "null"],
131
131
  default: ThemeSettingDefaults.FILE_ICON_THEME,
132
132
  description: ( localize(
133
- 17066,
133
+ 17091,
134
134
  "Specifies the file icon theme used in the workbench or 'null' to not show any file icons."
135
135
  )),
136
136
  enum: [null],
137
- enumItemLabels: [( localize(17067, "None"))],
138
- enumDescriptions: [( localize(17068, "No file icons"))],
139
- errorMessage: ( localize(17069, "File icon theme is unknown or not installed."))
137
+ enumItemLabels: [( localize(17092, "None"))],
138
+ enumDescriptions: [( localize(17093, "No file icons"))],
139
+ errorMessage: ( localize(17094, "File icon theme is unknown or not installed."))
140
140
  };
141
141
  const productIconThemeSettingSchema = {
142
142
  type: ["string", "null"],
143
143
  default: ThemeSettingDefaults.PRODUCT_ICON_THEME,
144
- description: ( localize(17070, "Specifies the product icon theme used.")),
144
+ description: ( localize(17095, "Specifies the product icon theme used.")),
145
145
  enum: [ThemeSettingDefaults.PRODUCT_ICON_THEME],
146
- enumItemLabels: [( localize(17071, "Default"))],
147
- enumDescriptions: [( localize(17072, "Default"))],
148
- errorMessage: ( localize(17073, "Product icon theme is unknown or not installed."))
146
+ enumItemLabels: [( localize(17096, "Default"))],
147
+ enumDescriptions: [( localize(17097, "Default"))],
148
+ errorMessage: ( localize(17098, "Product icon theme is unknown or not installed."))
149
149
  };
150
150
  const detectHCSchemeSettingSchema = {
151
151
  type: "boolean",
152
152
  default: true,
153
153
  markdownDescription: ( localize(
154
- 17074,
154
+ 17099,
155
155
  "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}.",
156
156
  formatSettingAsLink(ThemeSettings.PREFERRED_HC_DARK_THEME),
157
157
  formatSettingAsLink(ThemeSettings.PREFERRED_HC_LIGHT_THEME)
@@ -195,31 +195,31 @@ const themeSpecificSettingKey = "^\\[[^\\]]*(\\]\\s*\\[[^\\]]*)*\\]$";
195
195
  const tokenColorSchema = {
196
196
  type: "object",
197
197
  properties: {
198
- comments: tokenGroupSettings(( localize(17075, "Sets the colors and styles for comments"))),
199
- strings: tokenGroupSettings(( localize(17076, "Sets the colors and styles for strings literals."))),
200
- keywords: tokenGroupSettings(( localize(17077, "Sets the colors and styles for keywords."))),
201
- numbers: tokenGroupSettings(( localize(17078, "Sets the colors and styles for number literals."))),
202
- types: tokenGroupSettings(( localize(17079, "Sets the colors and styles for type declarations and references."))),
198
+ comments: tokenGroupSettings(( localize(17100, "Sets the colors and styles for comments"))),
199
+ strings: tokenGroupSettings(( localize(17101, "Sets the colors and styles for strings literals."))),
200
+ keywords: tokenGroupSettings(( localize(17102, "Sets the colors and styles for keywords."))),
201
+ numbers: tokenGroupSettings(( localize(17103, "Sets the colors and styles for number literals."))),
202
+ types: tokenGroupSettings(( localize(17104, "Sets the colors and styles for type declarations and references."))),
203
203
  functions: tokenGroupSettings(( localize(
204
- 17080,
204
+ 17105,
205
205
  "Sets the colors and styles for functions declarations and references."
206
206
  ))),
207
207
  variables: tokenGroupSettings(( localize(
208
- 17081,
208
+ 17106,
209
209
  "Sets the colors and styles for variables declarations and references."
210
210
  ))),
211
211
  textMateRules: {
212
- description: ( localize(17082, "Sets colors and styles using textmate theming rules (advanced).")),
212
+ description: ( localize(17107, "Sets colors and styles using textmate theming rules (advanced).")),
213
213
  $ref: textmateColorsSchemaId
214
214
  },
215
215
  semanticHighlighting: {
216
- description: ( localize(17083, "Whether semantic highlighting should be enabled for this theme.")),
216
+ description: ( localize(17108, "Whether semantic highlighting should be enabled for this theme.")),
217
217
  deprecationMessage: ( localize(
218
- 17084,
218
+ 17109,
219
219
  "Use `enabled` in `editor.semanticTokenColorCustomizations` setting instead."
220
220
  )),
221
221
  markdownDeprecationMessage: ( localize(
222
- 17085,
222
+ 17110,
223
223
  "Use `enabled` in {0} setting instead.",
224
224
  formatSettingAsLink("editor.semanticTokenColorCustomizations")
225
225
  )),
@@ -230,7 +230,7 @@ const tokenColorSchema = {
230
230
  };
231
231
  const tokenColorCustomizationSchema = {
232
232
  description: ( localize(
233
- 17086,
233
+ 17111,
234
234
  "Overrides editor syntax colors and font style from the currently selected color theme."
235
235
  )),
236
236
  default: {},
@@ -247,14 +247,14 @@ const semanticTokenColorSchema = {
247
247
  enabled: {
248
248
  type: "boolean",
249
249
  description: ( localize(
250
- 17087,
250
+ 17112,
251
251
  "Whether semantic highlighting is enabled or disabled for this theme"
252
252
  )),
253
253
  suggestSortText: "0_enabled"
254
254
  },
255
255
  rules: {
256
256
  $ref: tokenStylingSchemaId,
257
- description: ( localize(17088, "Semantic token styling rules for this theme.")),
257
+ description: ( localize(17113, "Semantic token styling rules for this theme.")),
258
258
  suggestSortText: "0_rules"
259
259
  }
260
260
  },
@@ -262,7 +262,7 @@ const semanticTokenColorSchema = {
262
262
  };
263
263
  const semanticTokenColorCustomizationSchema = {
264
264
  description: ( localize(
265
- 17089,
265
+ 17114,
266
266
  "Overrides editor semantic token color and styles from the currently selected color theme."
267
267
  )),
268
268
  default: {},
@@ -16,7 +16,7 @@ function registerColorThemeExtensionPoint() {
16
16
  return ExtensionsRegistry.registerExtensionPoint({
17
17
  extensionPoint: "themes",
18
18
  jsonSchema: {
19
- description: ( localize(17090, "Contributes textmate color themes.")),
19
+ description: ( localize(17115, "Contributes textmate color themes.")),
20
20
  type: "array",
21
21
  items: {
22
22
  type: "object",
@@ -30,16 +30,16 @@ function registerColorThemeExtensionPoint() {
30
30
  }],
31
31
  properties: {
32
32
  id: {
33
- description: ( localize(17091, "Id of the color theme as used in the user settings.")),
33
+ description: ( localize(17116, "Id of the color theme as used in the user settings.")),
34
34
  type: "string"
35
35
  },
36
36
  label: {
37
- description: ( localize(17092, "Label of the color theme as shown in the UI.")),
37
+ description: ( localize(17117, "Label of the color theme as shown in the UI.")),
38
38
  type: "string"
39
39
  },
40
40
  uiTheme: {
41
41
  markdownDescription: ( localize(
42
- 17093,
42
+ 17118,
43
43
  "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."
44
44
  )),
45
45
  enum: [
@@ -51,7 +51,7 @@ function registerColorThemeExtensionPoint() {
51
51
  },
52
52
  path: {
53
53
  markdownDescription: ( localize(
54
- 17094,
54
+ 17119,
55
55
  "Path of the tmTheme file. The path is relative to the extension folder and is typically `./colorthemes/awesome-color-theme.json`."
56
56
  )),
57
57
  type: "string"
@@ -66,7 +66,7 @@ function registerFileIconThemeExtensionPoint() {
66
66
  return ExtensionsRegistry.registerExtensionPoint({
67
67
  extensionPoint: "iconThemes",
68
68
  jsonSchema: {
69
- description: ( localize(17095, "Contributes file icon themes.")),
69
+ description: ( localize(17120, "Contributes file icon themes.")),
70
70
  type: "array",
71
71
  items: {
72
72
  type: "object",
@@ -79,16 +79,16 @@ function registerFileIconThemeExtensionPoint() {
79
79
  }],
80
80
  properties: {
81
81
  id: {
82
- description: ( localize(17096, "Id of the file icon theme as used in the user settings.")),
82
+ description: ( localize(17121, "Id of the file icon theme as used in the user settings.")),
83
83
  type: "string"
84
84
  },
85
85
  label: {
86
- description: ( localize(17097, "Label of the file icon theme as shown in the UI.")),
86
+ description: ( localize(17122, "Label of the file icon theme as shown in the UI.")),
87
87
  type: "string"
88
88
  },
89
89
  path: {
90
90
  description: ( localize(
91
- 17098,
91
+ 17123,
92
92
  "Path of the file icon theme definition file. The path is relative to the extension folder and is typically './fileicons/awesome-icon-theme.json'."
93
93
  )),
94
94
  type: "string"
@@ -103,7 +103,7 @@ function registerProductIconThemeExtensionPoint() {
103
103
  return ExtensionsRegistry.registerExtensionPoint({
104
104
  extensionPoint: "productIconThemes",
105
105
  jsonSchema: {
106
- description: ( localize(17099, "Contributes product icon themes.")),
106
+ description: ( localize(17124, "Contributes product icon themes.")),
107
107
  type: "array",
108
108
  items: {
109
109
  type: "object",
@@ -116,16 +116,16 @@ function registerProductIconThemeExtensionPoint() {
116
116
  }],
117
117
  properties: {
118
118
  id: {
119
- description: ( localize(17100, "Id of the product icon theme as used in the user settings.")),
119
+ description: ( localize(17125, "Id of the product icon theme as used in the user settings.")),
120
120
  type: "string"
121
121
  },
122
122
  label: {
123
- description: ( localize(17101, "Label of the product icon theme as shown in the UI.")),
123
+ description: ( localize(17126, "Label of the product icon theme as shown in the UI.")),
124
124
  type: "string"
125
125
  },
126
126
  path: {
127
127
  description: ( localize(
128
- 17102,
128
+ 17127,
129
129
  "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'."
130
130
  )),
131
131
  type: "string"
@@ -147,19 +147,19 @@ class ThemeDataRenderer extends Disposable {
147
147
  render(manifest) {
148
148
  const markdown = ( new MarkdownString());
149
149
  if (manifest.contributes?.themes) {
150
- markdown.appendMarkdown(`### ${( localize(17103, "Color Themes"))}\n\n`);
150
+ markdown.appendMarkdown(`### ${( localize(17128, "Color Themes"))}\n\n`);
151
151
  for (const theme of manifest.contributes.themes) {
152
152
  markdown.appendMarkdown(`- ${theme.label}\n`);
153
153
  }
154
154
  }
155
155
  if (manifest.contributes?.iconThemes) {
156
- markdown.appendMarkdown(`### ${( localize(17104, "File Icon Themes"))}\n\n`);
156
+ markdown.appendMarkdown(`### ${( localize(17129, "File Icon Themes"))}\n\n`);
157
157
  for (const theme of manifest.contributes.iconThemes) {
158
158
  markdown.appendMarkdown(`- ${theme.label}\n`);
159
159
  }
160
160
  }
161
161
  if (manifest.contributes?.productIconThemes) {
162
- markdown.appendMarkdown(`### ${( localize(17105, "Product Icon Themes"))}\n\n`);
162
+ markdown.appendMarkdown(`### ${( localize(17130, "Product Icon Themes"))}\n\n`);
163
163
  for (const theme of manifest.contributes.productIconThemes) {
164
164
  markdown.appendMarkdown(`- ${theme.label}\n`);
165
165
  }
@@ -172,7 +172,7 @@ class ThemeDataRenderer extends Disposable {
172
172
  }
173
173
  ( Registry.as(Extensions.ExtensionFeaturesRegistry)).registerExtensionFeature({
174
174
  id: "themes",
175
- label: ( localize(17106, "Themes")),
175
+ label: ( localize(17131, "Themes")),
176
176
  access: {
177
177
  canToggle: false
178
178
  },
@@ -234,13 +234,13 @@ class ThemeRegistry {
234
234
  log
235
235
  ) {
236
236
  if (!Array.isArray(themeContributions)) {
237
- log?.error(( localize(17107, "Extension point `{0}` must be an array.", this.themesExtPoint.name)));
237
+ log?.error(( localize(17132, "Extension point `{0}` must be an array.", this.themesExtPoint.name)));
238
238
  return resultingThemes;
239
239
  }
240
240
  themeContributions.forEach(theme => {
241
241
  if (!theme.path || !isString(theme.path)) {
242
242
  log?.error(( localize(
243
- 17108,
243
+ 17133,
244
244
  "Expected string in `contributes.{0}.path`. Provided value: {1}",
245
245
  this.themesExtPoint.name,
246
246
  String(theme.path)
@@ -249,7 +249,7 @@ class ThemeRegistry {
249
249
  }
250
250
  if (this.idRequired && (!theme.id || !isString(theme.id))) {
251
251
  log?.error(( localize(
252
- 17109,
252
+ 17134,
253
253
  "Expected string in `contributes.{0}.id`. Provided value: {1}",
254
254
  this.themesExtPoint.name,
255
255
  String(theme.id)
@@ -259,7 +259,7 @@ class ThemeRegistry {
259
259
  const themeLocation = joinPath(extensionLocation, theme.path);
260
260
  if (!isEqualOrParent(themeLocation, extensionLocation)) {
261
261
  log?.warn(( localize(
262
- 17110,
262
+ 17135,
263
263
  "Expected `contributes.{0}.path` ({1}) to be included inside extension's folder ({2}). This might make the extension non-portable.",
264
264
  this.themesExtPoint.name,
265
265
  themeLocation.path,