@codingame/monaco-vscode-theme-service-override 27.0.0 → 28.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": "27.0.0",
3
+ "version": "28.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": "27.0.0",
19
- "@codingame/monaco-vscode-files-service-override": "27.0.0"
18
+ "@codingame/monaco-vscode-api": "28.0.1",
19
+ "@codingame/monaco-vscode-files-service-override": "28.0.1"
20
20
  },
21
21
  "main": "index.js",
22
22
  "module": "index.js",
@@ -52,7 +52,7 @@ import { IPreferencesService } from '@codingame/monaco-vscode-api/vscode/vs/work
52
52
  import { DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
53
53
  import Severity from '@codingame/monaco-vscode-api/vscode/vs/base/common/severity';
54
54
 
55
- const manageExtensionIcon = registerIcon("theme-selection-manage-extension", Codicon.gear, ( localize(14172, "Icon for the 'Manage' action in the theme selection quick pick.")));
55
+ const manageExtensionIcon = registerIcon("theme-selection-manage-extension", Codicon.gear, ( localize(14369, "Icon for the 'Manage' action in the theme selection quick pick.")));
56
56
  var ConfigureItem;
57
57
  (function(ConfigureItem) {
58
58
  ConfigureItem["BROWSE_GALLERY"] = "marketplace";
@@ -178,7 +178,7 @@ let MarketplaceThemesPicker = class MarketplaceThemesPicker {
178
178
  quickpick.matchOnDescription = true;
179
179
  quickpick.buttons = [this.quickInputService.backButton];
180
180
  quickpick.title = "Marketplace Themes";
181
- quickpick.placeholder = ( localize(14173, "Type to Search More. Select to Install. Up/Down Keys to Preview"));
181
+ quickpick.placeholder = ( localize(14370, "Type to Search More. Select to Install. Up/Down Keys to Preview"));
182
182
  quickpick.canSelectMany = false;
183
183
  disposables.add(quickpick.onDidChangeValue(() => this.trigger(quickpick.value)));
184
184
  disposables.add(quickpick.onDidAccept(async _ => {
@@ -232,7 +232,7 @@ let MarketplaceThemesPicker = class MarketplaceThemesPicker {
232
232
  });
233
233
  } else if (items.length === 0 && this._searchError) {
234
234
  items = [{
235
- label: `$(error) ${( localize(14174, "Error while searching for themes: {0}", this._searchError))}`,
235
+ label: `$(error) ${( localize(14371, "Error while searching for themes: {0}", this._searchError))}`,
236
236
  id: undefined,
237
237
  alwaysShow: true
238
238
  }];
@@ -254,12 +254,12 @@ let MarketplaceThemesPicker = class MarketplaceThemesPicker {
254
254
  this.extensionsWorkbenchService.openSearch(`@id:${galleryExtension.identifier.id}`);
255
255
  const result = await this.dialogService.confirm({
256
256
  message: ( localize(
257
- 14175,
257
+ 14372,
258
258
  "This will install extension '{0}' published by '{1}'. Do you want to continue?",
259
259
  galleryExtension.displayName,
260
260
  galleryExtension.publisherDisplayName
261
261
  )),
262
- primaryButton: ( localize(14176, "OK"))
262
+ primaryButton: ( localize(14373, "OK"))
263
263
  });
264
264
  if (!result.confirmed) {
265
265
  return false;
@@ -267,7 +267,7 @@ let MarketplaceThemesPicker = class MarketplaceThemesPicker {
267
267
  try {
268
268
  await this.progressService.withProgress({
269
269
  location: ProgressLocation.Notification,
270
- title: ( localize(14177, "Installing Extension {0}...", galleryExtension.displayName))
270
+ title: ( localize(14374, "Installing Extension {0}...", galleryExtension.displayName))
271
271
  }, async () => {
272
272
  await this.extensionManagementService.installFromGallery(galleryExtension, {
273
273
  isMachineScoped: false
@@ -418,7 +418,7 @@ registerAction2(class extends Action2 {
418
418
  constructor() {
419
419
  super({
420
420
  id: SelectColorThemeCommandId,
421
- title: ( localize2(14178, "Color Theme")),
421
+ title: ( localize2(14375, "Color Theme")),
422
422
  category: Categories.Preferences,
423
423
  f1: true,
424
424
  keybinding: {
@@ -430,15 +430,15 @@ registerAction2(class extends Action2 {
430
430
  getTitle(colorScheme) {
431
431
  switch (colorScheme) {
432
432
  case ColorScheme.DARK:
433
- return localize(14179, "Select Color Theme for System Dark Mode");
433
+ return localize(14376, "Select Color Theme for System Dark Mode");
434
434
  case ColorScheme.LIGHT:
435
- return localize(14180, "Select Color Theme for System Light Mode");
435
+ return localize(14377, "Select Color Theme for System Light Mode");
436
436
  case ColorScheme.HIGH_CONTRAST_DARK:
437
- return localize(14181, "Select Color Theme for High Contrast Dark Mode");
437
+ return localize(14378, "Select Color Theme for High Contrast Dark Mode");
438
438
  case ColorScheme.HIGH_CONTRAST_LIGHT:
439
- return localize(14182, "Select Color Theme for High Contrast Light Mode");
439
+ return localize(14379, "Select Color Theme for High Contrast Light Mode");
440
440
  default:
441
- return localize(14183, "Select Color Theme (detect system color mode disabled)");
441
+ return localize(14380, "Select Color Theme (detect system color mode disabled)");
442
442
  }
443
443
  }
444
444
  async run(accessor) {
@@ -446,13 +446,13 @@ registerAction2(class extends Action2 {
446
446
  const preferencesService = accessor.get(IPreferencesService);
447
447
  const preferredColorScheme = themeService.getPreferredColorScheme();
448
448
  const modeConfigureButton = {
449
- tooltip: preferredColorScheme ? ( localize(14184, "Detect system color mode enabled. Click to configure.")) : ( localize(14185, "Detect system color mode disabled. Click to configure.")),
449
+ tooltip: preferredColorScheme ? ( localize(14381, "Detect system color mode enabled. Click to configure.")) : ( localize(14382, "Detect system color mode disabled. Click to configure.")),
450
450
  iconClass: ThemeIcon.asClassName(Codicon.colorMode),
451
451
  location: QuickInputButtonLocation.Inline
452
452
  };
453
453
  const options = {
454
- installMessage: ( localize(14186, "Install Additional Color Themes...")),
455
- browseMessage: "$(plus) " + ( localize(14187, "Browse Additional Color Themes...")),
454
+ installMessage: ( localize(14383, "Install Additional Color Themes...")),
455
+ browseMessage: "$(plus) " + ( localize(14384, "Browse Additional Color Themes...")),
456
456
  placeholderMessage: this.getTitle(preferredColorScheme),
457
457
  marketplaceTag: "category:themes",
458
458
  buttons: [modeConfigureButton],
@@ -469,9 +469,9 @@ registerAction2(class extends Action2 {
469
469
  const picker = instantiationService.createInstance(InstalledThemesPicker, options, setTheme, getMarketplaceColorThemes);
470
470
  const themes = await themeService.getColorThemes();
471
471
  const currentTheme = themeService.getColorTheme();
472
- const lightEntries = toEntries(themes.filter(t => t.type === ColorScheme.LIGHT), ( localize(14188, "light themes")));
473
- const darkEntries = toEntries(themes.filter(t => t.type === ColorScheme.DARK), ( localize(14189, "dark themes")));
474
- const hcEntries = toEntries(themes.filter(t => isHighContrast(t.type)), ( localize(14190, "high contrast themes")));
472
+ const lightEntries = toEntries(themes.filter(t => t.type === ColorScheme.LIGHT), ( localize(14385, "light themes")));
473
+ const darkEntries = toEntries(themes.filter(t => t.type === ColorScheme.DARK), ( localize(14386, "dark themes")));
474
+ const hcEntries = toEntries(themes.filter(t => isHighContrast(t.type)), ( localize(14387, "high contrast themes")));
475
475
  let picks;
476
476
  switch (preferredColorScheme) {
477
477
  case ColorScheme.DARK:
@@ -494,7 +494,7 @@ registerAction2(class extends Action2 {
494
494
  constructor() {
495
495
  super({
496
496
  id: SelectFileIconThemeCommandId,
497
- title: ( localize2(14191, "File Icon Theme")),
497
+ title: ( localize2(14388, "File Icon Theme")),
498
498
  category: Categories.Preferences,
499
499
  f1: true
500
500
  });
@@ -502,8 +502,8 @@ registerAction2(class extends Action2 {
502
502
  async run(accessor) {
503
503
  const themeService = accessor.get(IWorkbenchThemeService);
504
504
  const options = {
505
- installMessage: ( localize(14192, "Install Additional File Icon Themes...")),
506
- placeholderMessage: ( localize(14193, "Select File Icon Theme (Up/Down Keys to Preview)")),
505
+ installMessage: ( localize(14389, "Install Additional File Icon Themes...")),
506
+ placeholderMessage: ( localize(14390, "Select File Icon Theme (Up/Down Keys to Preview)")),
507
507
  marketplaceTag: "tag:icon-theme"
508
508
  };
509
509
  const setTheme = (theme, settingsTarget) => themeService.setFileIconTheme(theme, settingsTarget);
@@ -512,12 +512,12 @@ registerAction2(class extends Action2 {
512
512
  const picker = instantiationService.createInstance(InstalledThemesPicker, options, setTheme, getMarketplaceColorThemes);
513
513
  const picks = [{
514
514
  type: "separator",
515
- label: ( localize(14194, "file icon themes"))
515
+ label: ( localize(14391, "file icon themes"))
516
516
  }, {
517
517
  id: "",
518
518
  theme: FileIconThemeData.noIconTheme,
519
- label: ( localize(14195, "None")),
520
- description: ( localize(14196, "Disable File Icons"))
519
+ label: ( localize(14392, "None")),
520
+ description: ( localize(14393, "Disable File Icons"))
521
521
  }, ...toEntries(await themeService.getFileIconThemes())];
522
522
  await picker.openQuickPick(picks, themeService.getFileIconTheme());
523
523
  }
@@ -527,7 +527,7 @@ registerAction2(class extends Action2 {
527
527
  constructor() {
528
528
  super({
529
529
  id: SelectProductIconThemeCommandId,
530
- title: ( localize2(14197, "Product Icon Theme")),
530
+ title: ( localize2(14394, "Product Icon Theme")),
531
531
  category: Categories.Preferences,
532
532
  f1: true
533
533
  });
@@ -535,9 +535,9 @@ registerAction2(class extends Action2 {
535
535
  async run(accessor) {
536
536
  const themeService = accessor.get(IWorkbenchThemeService);
537
537
  const options = {
538
- installMessage: ( localize(14198, "Install Additional Product Icon Themes...")),
539
- browseMessage: "$(plus) " + ( localize(14199, "Browse Additional Product Icon Themes...")),
540
- placeholderMessage: ( localize(14200, "Select Product Icon Theme (Up/Down Keys to Preview)")),
538
+ installMessage: ( localize(14395, "Install Additional Product Icon Themes...")),
539
+ browseMessage: "$(plus) " + ( localize(14396, "Browse Additional Product Icon Themes...")),
540
+ placeholderMessage: ( localize(14397, "Select Product Icon Theme (Up/Down Keys to Preview)")),
541
541
  marketplaceTag: "tag:product-icon-theme"
542
542
  };
543
543
  const setTheme = (theme, settingsTarget) => themeService.setProductIconTheme(theme, settingsTarget);
@@ -546,11 +546,11 @@ registerAction2(class extends Action2 {
546
546
  const picker = instantiationService.createInstance(InstalledThemesPicker, options, setTheme, getMarketplaceColorThemes);
547
547
  const picks = [{
548
548
  type: "separator",
549
- label: ( localize(14201, "product icon themes"))
549
+ label: ( localize(14398, "product icon themes"))
550
550
  }, {
551
551
  id: DEFAULT_PRODUCT_ICON_THEME_ID,
552
552
  theme: ProductIconThemeData.defaultTheme,
553
- label: ( localize(14202, "Default"))
553
+ label: ( localize(14399, "Default"))
554
554
  }, ...toEntries(await themeService.getProductIconThemes())];
555
555
  await picker.openQuickPick(picks, themeService.getProductIconTheme());
556
556
  }
@@ -617,13 +617,13 @@ function toEntries(themes, label) {
617
617
  }
618
618
  const configureButton = {
619
619
  iconClass: ThemeIcon.asClassName(manageExtensionIcon),
620
- tooltip: ( localize(14203, "Manage Extension"))
620
+ tooltip: ( localize(14400, "Manage Extension"))
621
621
  };
622
622
  registerAction2(class extends Action2 {
623
623
  constructor() {
624
624
  super({
625
625
  id: "workbench.action.generateColorTheme",
626
- title: ( localize2(14204, "Generate Color Theme From Current Settings")),
626
+ title: ( localize2(14401, "Generate Color Theme From Current Settings")),
627
627
  category: Categories.Developer,
628
628
  f1: true
629
629
  });
@@ -678,7 +678,7 @@ registerAction2(class extends Action2 {
678
678
  constructor() {
679
679
  super({
680
680
  id: toggleLightDarkThemesCommandId,
681
- title: ( localize2(14205, "Toggle between Light/Dark Themes")),
681
+ title: ( localize2(14402, "Toggle between Light/Dark Themes")),
682
682
  category: Categories.Preferences,
683
683
  f1: true
684
684
  });
@@ -690,12 +690,12 @@ registerAction2(class extends Action2 {
690
690
  const preferencesService = accessor.get(IPreferencesService);
691
691
  if (configurationService.getValue(ThemeSettings.DETECT_COLOR_SCHEME)) {
692
692
  const message = ( localize(
693
- 14206,
693
+ 14403,
694
694
  "Cannot toggle between light and dark themes when `{0}` is enabled in settings.",
695
695
  ThemeSettings.DETECT_COLOR_SCHEME
696
696
  ));
697
697
  notificationService.prompt(Severity.Info, message, [{
698
- label: ( localize(14207, "Open Settings")),
698
+ label: ( localize(14404, "Open Settings")),
699
699
  run: () => {
700
700
  return preferencesService.openUserSettings({
701
701
  query: ThemeSettings.DETECT_COLOR_SCHEME
@@ -734,7 +734,7 @@ registerAction2(class extends Action2 {
734
734
  constructor() {
735
735
  super({
736
736
  id: browseColorThemesInMarketplaceCommandId,
737
- title: ( localize2(14208, "Browse Color Themes in Marketplace")),
737
+ title: ( localize2(14405, "Browse Color Themes in Marketplace")),
738
738
  category: Categories.Preferences,
739
739
  f1: true
740
740
  });
@@ -775,13 +775,13 @@ registerAction2(class extends Action2 {
775
775
  });
776
776
  const ThemesSubMenu = ( new MenuId("ThemesSubMenu"));
777
777
  MenuRegistry.appendMenuItem(MenuId.GlobalActivity, {
778
- title: ( localize(14209, "Themes")),
778
+ title: ( localize(14406, "Themes")),
779
779
  submenu: ThemesSubMenu,
780
780
  group: "2_configuration",
781
781
  order: 7
782
782
  });
783
783
  MenuRegistry.appendMenuItem(MenuId.MenubarPreferencesMenu, {
784
- title: ( localize(14210, "&&Themes")),
784
+ title: ( localize(14407, "&&Themes")),
785
785
  submenu: ThemesSubMenu,
786
786
  group: "2_configuration",
787
787
  order: 7
@@ -789,21 +789,21 @@ MenuRegistry.appendMenuItem(MenuId.MenubarPreferencesMenu, {
789
789
  MenuRegistry.appendMenuItem(ThemesSubMenu, {
790
790
  command: {
791
791
  id: SelectColorThemeCommandId,
792
- title: ( localize(14178, "Color Theme"))
792
+ title: ( localize(14375, "Color Theme"))
793
793
  },
794
794
  order: 1
795
795
  });
796
796
  MenuRegistry.appendMenuItem(ThemesSubMenu, {
797
797
  command: {
798
798
  id: SelectFileIconThemeCommandId,
799
- title: ( localize(14211, "File Icon Theme"))
799
+ title: ( localize(14408, "File Icon Theme"))
800
800
  },
801
801
  order: 2
802
802
  });
803
803
  MenuRegistry.appendMenuItem(ThemesSubMenu, {
804
804
  command: {
805
805
  id: SelectProductIconThemeCommandId,
806
- title: ( localize(14212, "Product Icon Theme"))
806
+ title: ( localize(14409, "Product Icon Theme"))
807
807
  },
808
808
  order: 3
809
809
  });
@@ -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
- 15831,
152
+ 16029,
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(15832, "Invalid format for file icons theme file: Object expected.")))));
157
+ return Promise.reject(( new Error(( localize(16030, "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
- 15833,
46
+ 16031,
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(15834, "Default")), ThemeSettingDefaults.PRODUCT_ICON_THEME));
79
+ themeData = ProductIconThemeData._defaultProductIconTheme = ( new ProductIconThemeData(DEFAULT_PRODUCT_ICON_THEME_ID, ( localize(16032, "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
- 15835,
190
+ 16033,
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(15836, "Invalid format for product icons theme file: Object expected.")))));
195
+ return Promise.reject(( new Error(( localize(16034, "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
- 15837,
198
+ 16035,
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(15838, "Invalid font weight in font '{0}'. Ignoring setting.", font.id)));
211
+ warnings.push(( localize(16036, "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(15839, "Invalid font style in font '{0}'. Ignoring setting.", font.id)));
217
+ warnings.push(( localize(16037, "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(15840, "Invalid font source in font '{0}'. Ignoring source.", font.id)));
229
+ warnings.push(( localize(16038, "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
- 15841,
241
+ 16039,
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
- 15842,
248
+ 16040,
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(15843, "Skipping icon definition '{0}'. Unknown font.", iconId)));
271
+ warnings.push(( localize(16041, "Skipping icon definition '{0}'. Unknown font.", iconId)));
272
272
  }
273
273
  } else {
274
- warnings.push(( localize(15844, "Skipping icon definition '{0}': Needs to be defined", iconId)));
274
+ warnings.push(( localize(16042, "Skipping icon definition '{0}': Needs to be defined", iconId)));
275
275
  }
276
276
  }
277
277
  return {
@@ -393,7 +393,7 @@ let WorkbenchThemeService = class WorkbenchThemeService extends Disposable {
393
393
  return this.applyTheme(themeData, settingsTarget);
394
394
  } catch (error) {
395
395
  throw ( new Error(( localize(
396
- 15845,
396
+ 16043,
397
397
  "Unable to load {0}: {1}",
398
398
  themeData.location?.toString(),
399
399
  error.message
@@ -471,7 +471,7 @@ let WorkbenchThemeService = class WorkbenchThemeService extends Disposable {
471
471
  if (themeData) {
472
472
  const key = themeType + themeData.extensionId;
473
473
  if (!this.themeExtensionsActivated.get(key)) {
474
- this.telemetryService.publicLog2("activatePlugin", {
474
+ this.telemetryService.publicLog2("activateThemeExtension", {
475
475
  id: themeData.extensionId,
476
476
  name: themeData.extensionName,
477
477
  isBuiltin: themeData.extensionIsBuiltin,
@@ -133,31 +133,31 @@ const textmateColorSchema = {
133
133
  },
134
134
  settings: {
135
135
  type: "object",
136
- description: ( localize(15876, "Colors and styles for the token.")),
136
+ description: ( localize(16074, "Colors and styles for the token.")),
137
137
  properties: {
138
138
  foreground: {
139
139
  type: "string",
140
- description: ( localize(15877, "Foreground color for the token.")),
140
+ description: ( localize(16075, "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(15878, "Token background colors are currently not supported."))
146
+ deprecationMessage: ( localize(16076, "Token background colors are currently not supported."))
147
147
  },
148
148
  fontStyle: {
149
149
  type: "string",
150
150
  description: ( localize(
151
- 15879,
151
+ 16077,
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
- 15880,
156
+ 16078,
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(15881, "None (clear inherited style)")),
160
+ label: ( localize(16079, "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
- 15882,
197
+ 16080,
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
- 15883,
204
+ 16081,
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
- 15884,
211
+ 16082,
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(15885, "Description of the rule."))
238
+ description: ( localize(16083, "Description of the rule."))
239
239
  },
240
240
  scope: {
241
- description: ( localize(15886, "Scope selector against which this rule matches.")),
241
+ description: ( localize(16084, "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(15887, "Colors in the workbench")),
273
+ description: ( localize(16085, "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(15888, "Path to a tmTheme file (relative to the current file)."))
280
+ description: ( localize(16086, "Path to a tmTheme file (relative to the current file)."))
281
281
  }, {
282
- description: ( localize(15889, "Colors for syntax highlighting")),
282
+ description: ( localize(16087, "Colors for syntax highlighting")),
283
283
  $ref: textmateColorsSchemaId
284
284
  }]
285
285
  },
286
286
  semanticHighlighting: {
287
287
  type: "boolean",
288
- description: ( localize(15890, "Whether semantic highlighting should be enabled for this theme."))
288
+ description: ( localize(16088, "Whether semantic highlighting should be enabled for this theme."))
289
289
  },
290
290
  semanticTokenColors: {
291
291
  type: "object",
292
- description: ( localize(15891, "Colors for semantic tokens")),
292
+ description: ( localize(16089, "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
- 15892,
16
+ 16090,
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
- 15893,
23
+ 16091,
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
- 15894,
30
+ 16092,
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
- 15895,
37
+ 16093,
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
- 15896,
44
+ 16094,
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
- 15897,
51
+ 16095,
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(15898, "The ID of the icon definition for the association."))
56
+ description: ( localize(16096, "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
- 15899,
62
+ 16097,
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(15900, "The ID of the icon definition for the association."))
67
+ description: ( localize(16098, "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
- 15901,
73
+ 16099,
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(15898, "The ID of the icon definition for the association."))
78
+ description: ( localize(16096, "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
- 15902,
84
+ 16100,
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(15903, "The ID of the icon definition for the association."))
89
+ description: ( localize(16101, "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
- 15904,
95
+ 16102,
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(15905, "The ID of the icon definition for the association."))
100
+ description: ( localize(16103, "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
- 15906,
106
+ 16104,
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(15907, "The ID of the icon definition for the association."))
111
+ description: ( localize(16105, "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
- 15908,
117
+ 16106,
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(15909, "The ID of the icon definition for the association."))
122
+ description: ( localize(16107, "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(15910, "Fonts that are used in the icon definitions.")),
170
+ description: ( localize(16108, "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(15911, "The ID of the font.")),
176
+ description: ( localize(16109, "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(15912, "The location of the font.")),
182
+ description: ( localize(16110, "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(15913, "The font path, relative to the current file icon theme file."))
188
+ description: ( localize(16111, "The font path, relative to the current file icon theme file."))
189
189
  },
190
190
  format: {
191
191
  type: "string",
192
- description: ( localize(15914, "The format of the font.")),
192
+ description: ( localize(16112, "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
- 15915,
202
+ 16113,
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
- 15916,
210
+ 16114,
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
- 15917,
218
+ 16115,
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
- 15918,
230
+ 16116,
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(15919, "An icon definition. The object key is the ID of the definition.")),
235
+ description: ( localize(16117, "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
- 15920,
240
+ 16118,
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(15921, "When using a glyph font: The character in the font to use."))
246
+ description: ( localize(16119, "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(15922, "When using a glyph font: The color to use.")),
251
+ description: ( localize(16120, "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
- 15923,
257
+ 16121,
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
- 15924,
265
+ 16122,
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(15925, "Optional associations for file icons in light color themes."))
312
+ description: ( localize(16123, "Optional associations for file icons in light color themes."))
313
313
  },
314
314
  highContrast: {
315
315
  $ref: "#/definitions/associations",
316
316
  description: ( localize(
317
- 15926,
317
+ 16124,
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
- 15927,
324
+ 16125,
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
- 15928,
331
+ 16126,
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(15942, "The ID of the font.")),
20
+ description: ( localize(16140, "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(15943, "The location of the font.")),
26
+ description: ( localize(16141, "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(15944, "The font path, relative to the current product icon theme file."))
32
+ description: ( localize(16142, "The font path, relative to the current product icon theme file."))
33
33
  },
34
34
  format: {
35
35
  type: "string",
36
- description: ( localize(15945, "The format of the font.")),
36
+ description: ( localize(16143, "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
- 15946,
46
+ 16144,
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
- 15947,
59
+ 16145,
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(15948, "Association of icon name to a font character.")),
74
+ description: ( localize(16146, "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
- 15949,
35
+ 16147,
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(15950, "Theme is unknown or not installed."))
44
+ errorMessage: ( localize(16148, "Theme is unknown or not installed."))
45
45
  };
46
46
  const preferredDarkThemeSettingSchema = {
47
47
  type: "string",
48
48
  markdownDescription: ( localize(
49
- 15951,
49
+ 16149,
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(15950, "Theme is unknown or not installed."))
58
+ errorMessage: ( localize(16148, "Theme is unknown or not installed."))
59
59
  };
60
60
  const preferredLightThemeSettingSchema = {
61
61
  type: "string",
62
62
  markdownDescription: ( localize(
63
- 15952,
63
+ 16150,
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(15950, "Theme is unknown or not installed."))
72
+ errorMessage: ( localize(16148, "Theme is unknown or not installed."))
73
73
  };
74
74
  const preferredHCDarkThemeSettingSchema = {
75
75
  type: "string",
76
76
  markdownDescription: ( localize(
77
- 15953,
77
+ 16151,
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(15950, "Theme is unknown or not installed."))
86
+ errorMessage: ( localize(16148, "Theme is unknown or not installed."))
87
87
  };
88
88
  const preferredHCLightThemeSettingSchema = {
89
89
  type: "string",
90
90
  markdownDescription: ( localize(
91
- 15954,
91
+ 16152,
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(15950, "Theme is unknown or not installed."))
100
+ errorMessage: ( localize(16148, "Theme is unknown or not installed."))
101
101
  };
102
102
  const detectColorSchemeSettingSchema = {
103
103
  type: "boolean",
104
104
  markdownDescription: ( localize(
105
- 15955,
105
+ 16153,
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(15956, "Overrides colors from the currently selected color theme.")),
115
+ description: ( localize(16154, "Overrides colors from the currently selected color theme.")),
116
116
  allOf: [{
117
117
  $ref: workbenchColorsSchemaId
118
118
  }],
@@ -125,28 +125,28 @@ const fileIconThemeSettingSchema = {
125
125
  type: ["string", "null"],
126
126
  default: ThemeSettingDefaults.FILE_ICON_THEME,
127
127
  description: ( localize(
128
- 15957,
128
+ 16155,
129
129
  "Specifies the file icon theme used in the workbench or 'null' to not show any file icons."
130
130
  )),
131
131
  enum: [null],
132
- enumItemLabels: [( localize(15958, "None"))],
133
- enumDescriptions: [( localize(15959, "No file icons"))],
134
- errorMessage: ( localize(15960, "File icon theme is unknown or not installed."))
132
+ enumItemLabels: [( localize(16156, "None"))],
133
+ enumDescriptions: [( localize(16157, "No file icons"))],
134
+ errorMessage: ( localize(16158, "File icon theme is unknown or not installed."))
135
135
  };
136
136
  const productIconThemeSettingSchema = {
137
137
  type: ["string", "null"],
138
138
  default: ThemeSettingDefaults.PRODUCT_ICON_THEME,
139
- description: ( localize(15961, "Specifies the product icon theme used.")),
139
+ description: ( localize(16159, "Specifies the product icon theme used.")),
140
140
  enum: [ThemeSettingDefaults.PRODUCT_ICON_THEME],
141
- enumItemLabels: [( localize(15962, "Default"))],
142
- enumDescriptions: [( localize(15963, "Default"))],
143
- errorMessage: ( localize(15964, "Product icon theme is unknown or not installed."))
141
+ enumItemLabels: [( localize(16160, "Default"))],
142
+ enumDescriptions: [( localize(16161, "Default"))],
143
+ errorMessage: ( localize(16162, "Product icon theme is unknown or not installed."))
144
144
  };
145
145
  const detectHCSchemeSettingSchema = {
146
146
  type: "boolean",
147
147
  default: true,
148
148
  markdownDescription: ( localize(
149
- 15965,
149
+ 16163,
150
150
  "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}.",
151
151
  formatSettingAsLink(ThemeSettings.PREFERRED_HC_DARK_THEME),
152
152
  formatSettingAsLink(ThemeSettings.PREFERRED_HC_LIGHT_THEME)
@@ -190,31 +190,31 @@ const themeSpecificSettingKey = "^\\[[^\\]]*(\\]\\s*\\[[^\\]]*)*\\]$";
190
190
  const tokenColorSchema = {
191
191
  type: "object",
192
192
  properties: {
193
- comments: tokenGroupSettings(( localize(15966, "Sets the colors and styles for comments"))),
194
- strings: tokenGroupSettings(( localize(15967, "Sets the colors and styles for strings literals."))),
195
- keywords: tokenGroupSettings(( localize(15968, "Sets the colors and styles for keywords."))),
196
- numbers: tokenGroupSettings(( localize(15969, "Sets the colors and styles for number literals."))),
197
- types: tokenGroupSettings(( localize(15970, "Sets the colors and styles for type declarations and references."))),
193
+ comments: tokenGroupSettings(( localize(16164, "Sets the colors and styles for comments"))),
194
+ strings: tokenGroupSettings(( localize(16165, "Sets the colors and styles for strings literals."))),
195
+ keywords: tokenGroupSettings(( localize(16166, "Sets the colors and styles for keywords."))),
196
+ numbers: tokenGroupSettings(( localize(16167, "Sets the colors and styles for number literals."))),
197
+ types: tokenGroupSettings(( localize(16168, "Sets the colors and styles for type declarations and references."))),
198
198
  functions: tokenGroupSettings(( localize(
199
- 15971,
199
+ 16169,
200
200
  "Sets the colors and styles for functions declarations and references."
201
201
  ))),
202
202
  variables: tokenGroupSettings(( localize(
203
- 15972,
203
+ 16170,
204
204
  "Sets the colors and styles for variables declarations and references."
205
205
  ))),
206
206
  textMateRules: {
207
- description: ( localize(15973, "Sets colors and styles using textmate theming rules (advanced).")),
207
+ description: ( localize(16171, "Sets colors and styles using textmate theming rules (advanced).")),
208
208
  $ref: textmateColorsSchemaId
209
209
  },
210
210
  semanticHighlighting: {
211
- description: ( localize(15974, "Whether semantic highlighting should be enabled for this theme.")),
211
+ description: ( localize(16172, "Whether semantic highlighting should be enabled for this theme.")),
212
212
  deprecationMessage: ( localize(
213
- 15975,
213
+ 16173,
214
214
  "Use `enabled` in `editor.semanticTokenColorCustomizations` setting instead."
215
215
  )),
216
216
  markdownDeprecationMessage: ( localize(
217
- 15976,
217
+ 16174,
218
218
  "Use `enabled` in {0} setting instead.",
219
219
  formatSettingAsLink("editor.semanticTokenColorCustomizations")
220
220
  )),
@@ -225,7 +225,7 @@ const tokenColorSchema = {
225
225
  };
226
226
  const tokenColorCustomizationSchema = {
227
227
  description: ( localize(
228
- 15977,
228
+ 16175,
229
229
  "Overrides editor syntax colors and font style from the currently selected color theme."
230
230
  )),
231
231
  default: {},
@@ -242,14 +242,14 @@ const semanticTokenColorSchema = {
242
242
  enabled: {
243
243
  type: "boolean",
244
244
  description: ( localize(
245
- 15978,
245
+ 16176,
246
246
  "Whether semantic highlighting is enabled or disabled for this theme"
247
247
  )),
248
248
  suggestSortText: "0_enabled"
249
249
  },
250
250
  rules: {
251
251
  $ref: tokenStylingSchemaId,
252
- description: ( localize(15979, "Semantic token styling rules for this theme.")),
252
+ description: ( localize(16177, "Semantic token styling rules for this theme.")),
253
253
  suggestSortText: "0_rules"
254
254
  }
255
255
  },
@@ -257,7 +257,7 @@ const semanticTokenColorSchema = {
257
257
  };
258
258
  const semanticTokenColorCustomizationSchema = {
259
259
  description: ( localize(
260
- 15980,
260
+ 16178,
261
261
  "Overrides editor semantic token color and styles from the currently selected color theme."
262
262
  )),
263
263
  default: {},
@@ -16,7 +16,7 @@ function registerColorThemeExtensionPoint() {
16
16
  return ExtensionsRegistry.registerExtensionPoint({
17
17
  extensionPoint: "themes",
18
18
  jsonSchema: {
19
- description: ( localize(15981, "Contributes textmate color themes.")),
19
+ description: ( localize(16179, "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(15982, "Id of the color theme as used in the user settings.")),
33
+ description: ( localize(16180, "Id of the color theme as used in the user settings.")),
34
34
  type: "string"
35
35
  },
36
36
  label: {
37
- description: ( localize(15983, "Label of the color theme as shown in the UI.")),
37
+ description: ( localize(16181, "Label of the color theme as shown in the UI.")),
38
38
  type: "string"
39
39
  },
40
40
  uiTheme: {
41
41
  description: ( localize(
42
- 15984,
42
+ 16182,
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
  description: ( localize(
54
- 15985,
54
+ 16183,
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(15986, "Contributes file icon themes.")),
69
+ description: ( localize(16184, "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(15987, "Id of the file icon theme as used in the user settings.")),
82
+ description: ( localize(16185, "Id of the file icon theme as used in the user settings.")),
83
83
  type: "string"
84
84
  },
85
85
  label: {
86
- description: ( localize(15988, "Label of the file icon theme as shown in the UI.")),
86
+ description: ( localize(16186, "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
- 15989,
91
+ 16187,
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(15990, "Contributes product icon themes.")),
106
+ description: ( localize(16188, "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(15991, "Id of the product icon theme as used in the user settings.")),
119
+ description: ( localize(16189, "Id of the product icon theme as used in the user settings.")),
120
120
  type: "string"
121
121
  },
122
122
  label: {
123
- description: ( localize(15992, "Label of the product icon theme as shown in the UI.")),
123
+ description: ( localize(16190, "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
- 15993,
128
+ 16191,
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(15994, "Color Themes"))}\n\n`);
150
+ markdown.appendMarkdown(`### ${( localize(16192, "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(15995, "File Icon Themes"))}\n\n`);
156
+ markdown.appendMarkdown(`### ${( localize(16193, "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(15996, "Product Icon Themes"))}\n\n`);
162
+ markdown.appendMarkdown(`### ${( localize(16194, "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(15997, "Themes")),
175
+ label: ( localize(16195, "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(15998, "Extension point `{0}` must be an array.", this.themesExtPoint.name)));
237
+ log?.error(( localize(16196, "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
- 15999,
243
+ 16197,
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
- 16000,
252
+ 16198,
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
- 16001,
262
+ 16199,
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,