monaco-editor-core 0.56.0-dev-20260628 → 0.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/esm/nls.keys.json +1 -1
  2. package/esm/nls.messages.cs.js +2 -2
  3. package/esm/nls.messages.de.js +2 -2
  4. package/esm/nls.messages.es.js +2 -2
  5. package/esm/nls.messages.fr.js +2 -2
  6. package/esm/nls.messages.it.js +2 -2
  7. package/esm/nls.messages.ja.js +2 -2
  8. package/esm/nls.messages.js +1 -1
  9. package/esm/nls.messages.json +1 -1
  10. package/esm/nls.messages.ko.js +2 -2
  11. package/esm/nls.messages.pl.js +2 -2
  12. package/esm/nls.messages.pt-br.js +2 -2
  13. package/esm/nls.messages.ru.js +2 -2
  14. package/esm/nls.messages.tr.js +2 -2
  15. package/esm/nls.messages.zh-cn.js +2 -2
  16. package/esm/nls.messages.zh-tw.js +2 -2
  17. package/esm/nls.metadata.json +0 -4
  18. package/esm/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +10 -23
  19. package/esm/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js.map +1 -1
  20. package/esm/vs/editor/contrib/colorPicker/browser/colorDetector.js +0 -1
  21. package/esm/vs/editor/contrib/colorPicker/browser/colorDetector.js.map +1 -1
  22. package/esm/vs/editor/contrib/hover/browser/contentHoverRendered.js +2 -2
  23. package/esm/vs/editor/contrib/hover/browser/contentHoverRendered.js.map +1 -1
  24. package/esm/vs/platform/actionWidget/browser/actionList.js +8 -48
  25. package/esm/vs/platform/actionWidget/browser/actionList.js.map +1 -1
  26. package/esm/vs/platform/actionWidget/browser/actionWidget.css +2 -87
  27. package/esm/vs/platform/actionWidget/browser/actionWidget.js +12 -12
  28. package/esm/vs/platform/configuration/common/configurationRegistry.js +11 -11
  29. package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
  30. package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
  31. package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
  32. package/esm/vs/platform/contextkey/common/scanner.js +5 -5
  33. package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  34. package/esm/vs/platform/hover/browser/hoverWidget.js +1 -1
  35. package/esm/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
  36. package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +5 -5
  37. package/esm/vs/platform/list/browser/listService.js +27 -27
  38. package/esm/vs/platform/markers/common/markerService.js +2 -2
  39. package/esm/vs/platform/markers/common/markers.js +6 -6
  40. package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +8 -8
  41. package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
  42. package/esm/vs/platform/quickinput/browser/quickInput.js +10 -10
  43. package/esm/vs/platform/quickinput/browser/quickInputActions.js +5 -5
  44. package/esm/vs/platform/quickinput/browser/quickInputController.js +6 -6
  45. package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
  46. package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  47. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
  48. package/esm/vs/platform/quickinput/browser/tree/quickTree.js +1 -1
  49. package/esm/vs/platform/theme/common/colorUtils.js +2 -2
  50. package/esm/vs/platform/theme/common/colors/baseColors.js +19 -19
  51. package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
  52. package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
  53. package/esm/vs/platform/theme/common/colors/inputColors.js +48 -48
  54. package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
  55. package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
  56. package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
  57. package/esm/vs/platform/theme/common/colors/miscColors.js +16 -16
  58. package/esm/vs/platform/theme/common/colors/quickpickColors.js +10 -10
  59. package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
  60. package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
  61. package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  62. package/esm/vs/platform/workspace/common/workspace.js +1 -1
  63. package/package.json +2 -2
  64. package/version.txt +1 -1
@@ -83,8 +83,8 @@
83
83
  border-top: 1px solid var(--vscode-editorHoverWidget-border);
84
84
  color: var(--vscode-descriptionForeground);
85
85
  font-size: 12px;
86
- margin: 4px 6px;
87
- width: calc(100% - 12px);
86
+ margin: 4px 0px;
87
+ width: 100%;
88
88
  cursor: default;
89
89
  -webkit-user-select: none;
90
90
  user-select: none;
@@ -283,91 +283,6 @@
283
283
  }
284
284
  }
285
285
 
286
- /* Items with an inline toggle — wrap so the toggle sits on its own row */
287
- .action-widget .monaco-list-row.action.has-inline-toggle {
288
- flex-wrap: wrap;
289
- align-content: center;
290
- padding-right: 6px;
291
-
292
- .title {
293
- line-height: 14px;
294
- }
295
- }
296
-
297
- .action-widget .monaco-list-row.action .action-list-item-inline-toggle {
298
- order: 100;
299
- width: 100%;
300
- display: flex;
301
- align-items: center;
302
- gap: 8px;
303
- padding-left: 18px;
304
- padding-top: 6px;
305
- line-height: 16px;
306
- }
307
-
308
- .action-widget .monaco-list-row.action .action-list-item-inline-toggle .action-list-item-inline-toggle-label {
309
- flex: 1;
310
- min-width: 0;
311
- overflow: hidden;
312
- text-overflow: ellipsis;
313
- white-space: nowrap;
314
- font-size: 12px;
315
- line-height: 16px;
316
- color: var(--vscode-foreground);
317
- }
318
-
319
- /* Inline pill switch (restyles the base Toggle as an iOS-style switch) */
320
- .action-widget .action-list-item-inline-toggle .monaco-custom-toggle.action-list-inline-switch {
321
- position: relative;
322
- flex-shrink: 0;
323
- float: none;
324
- margin: 0;
325
- padding: 0;
326
- width: 26px;
327
- height: 16px;
328
- border-radius: var(--vscode-cornerRadius-circle);
329
- border: var(--vscode-strokeThickness) solid var(--vscode-checkbox-border);
330
- background-color: var(--vscode-checkbox-background);
331
- overflow: visible;
332
- transition: background-color 0.1s ease, border-color 0.1s ease;
333
- }
334
-
335
- .action-widget .action-list-item-inline-toggle .monaco-custom-toggle.action-list-inline-switch:hover {
336
- background-color: var(--vscode-checkbox-background);
337
- }
338
-
339
- .action-widget .action-list-item-inline-toggle .monaco-custom-toggle.action-list-inline-switch::before {
340
- content: "";
341
- position: absolute;
342
- top: 1px;
343
- left: 1px;
344
- width: 12px;
345
- height: 12px;
346
- border-radius: 50%;
347
- background-color: var(--vscode-checkbox-foreground);
348
- transition: left 0.1s ease, background-color 0.1s ease;
349
- }
350
-
351
- .action-widget .action-list-item-inline-toggle .monaco-custom-toggle.action-list-inline-switch.checked {
352
- background-color: var(--vscode-button-background);
353
- border-color: var(--vscode-button-background);
354
- }
355
-
356
- .action-widget .action-list-item-inline-toggle .monaco-custom-toggle.action-list-inline-switch.checked:hover {
357
- background-color: var(--vscode-button-hoverBackground, var(--vscode-button-background));
358
- }
359
-
360
- .action-widget .action-list-item-inline-toggle .monaco-custom-toggle.action-list-inline-switch.checked::before {
361
- left: 11px;
362
- background-color: var(--vscode-button-foreground);
363
- }
364
-
365
- .hc-black .action-widget .action-list-item-inline-toggle .monaco-custom-toggle.action-list-inline-switch,
366
- .hc-light .action-widget .action-list-item-inline-toggle .monaco-custom-toggle.action-list-inline-switch {
367
- border-color: var(--vscode-contrastBorder);
368
- }
369
-
370
-
371
286
  /* Inline description mode — description rendered right after the label */
372
287
  .action-widget .inline-description .monaco-list-row.action {
373
288
  /* Override the row gap so group-title and toolbar sit flush */
@@ -23,10 +23,10 @@ import { IContextViewService } from '../../contextview/browser/contextView.js';
23
23
  import { registerSingleton } from '../../instantiation/common/extensions.js';
24
24
  import { createDecorator, IInstantiationService } from '../../instantiation/common/instantiation.js';
25
25
  import { inputActiveOptionBackground, registerColor } from '../../theme/common/colorRegistry.js';
26
- registerColor('actionBar.toggledBackground', inputActiveOptionBackground, localize(1715, 'Background color for toggled action items in action bar.'));
26
+ registerColor('actionBar.toggledBackground', inputActiveOptionBackground, localize(1713, 'Background color for toggled action items in action bar.'));
27
27
  const ActionWidgetContextKeys = {
28
- Visible: new RawContextKey('codeActionMenuVisible', false, localize(1716, "Whether the action widget list is visible")),
29
- FilterFocused: new RawContextKey('codeActionMenuFilterFocused', false, localize(1717, "Whether the action widget filter input is focused")),
28
+ Visible: new RawContextKey('codeActionMenuVisible', false, localize(1714, "Whether the action widget list is visible")),
29
+ FilterFocused: new RawContextKey('codeActionMenuFilterFocused', false, localize(1715, "Whether the action widget filter input is focused")),
30
30
  };
31
31
  export const IActionWidgetService = createDecorator('actionWidgetService');
32
32
  let ActionWidgetService = class ActionWidgetService extends Disposable {
@@ -176,7 +176,7 @@ registerAction2(class extends Action2 {
176
176
  constructor() {
177
177
  super({
178
178
  id: 'hideCodeActionWidget',
179
- title: localize2(1718, "Hide action widget"),
179
+ title: localize2(1716, "Hide action widget"),
180
180
  precondition: ActionWidgetContextKeys.Visible,
181
181
  keybinding: {
182
182
  weight,
@@ -193,7 +193,7 @@ registerAction2(class extends Action2 {
193
193
  constructor() {
194
194
  super({
195
195
  id: 'clearFilterCodeActionWidget',
196
- title: localize2(1719, "Clear action widget filter"),
196
+ title: localize2(1717, "Clear action widget filter"),
197
197
  precondition: ContextKeyExpr.and(ActionWidgetContextKeys.Visible, ActionWidgetContextKeys.FilterFocused),
198
198
  keybinding: {
199
199
  weight: weight + 1,
@@ -214,7 +214,7 @@ registerAction2(class extends Action2 {
214
214
  constructor() {
215
215
  super({
216
216
  id: 'selectPrevCodeAction',
217
- title: localize2(1720, "Select previous action"),
217
+ title: localize2(1718, "Select previous action"),
218
218
  precondition: ActionWidgetContextKeys.Visible,
219
219
  keybinding: {
220
220
  weight,
@@ -235,7 +235,7 @@ registerAction2(class extends Action2 {
235
235
  constructor() {
236
236
  super({
237
237
  id: 'selectNextCodeAction',
238
- title: localize2(1721, "Select next action"),
238
+ title: localize2(1719, "Select next action"),
239
239
  precondition: ActionWidgetContextKeys.Visible,
240
240
  keybinding: {
241
241
  weight,
@@ -256,7 +256,7 @@ registerAction2(class extends Action2 {
256
256
  constructor() {
257
257
  super({
258
258
  id: 'collapseSectionCodeAction',
259
- title: localize2(1722, "Collapse section"),
259
+ title: localize2(1720, "Collapse section"),
260
260
  precondition: ContextKeyExpr.and(ActionWidgetContextKeys.Visible, ActionWidgetContextKeys.FilterFocused.negate()),
261
261
  keybinding: {
262
262
  weight,
@@ -275,7 +275,7 @@ registerAction2(class extends Action2 {
275
275
  constructor() {
276
276
  super({
277
277
  id: 'expandSectionCodeAction',
278
- title: localize2(1723, "Expand section"),
278
+ title: localize2(1721, "Expand section"),
279
279
  precondition: ContextKeyExpr.and(ActionWidgetContextKeys.Visible, ActionWidgetContextKeys.FilterFocused.negate()),
280
280
  keybinding: {
281
281
  weight,
@@ -294,7 +294,7 @@ registerAction2(class extends Action2 {
294
294
  constructor() {
295
295
  super({
296
296
  id: 'toggleSectionCodeAction',
297
- title: localize2(1724, "Toggle section"),
297
+ title: localize2(1722, "Toggle section"),
298
298
  precondition: ContextKeyExpr.and(ActionWidgetContextKeys.Visible, ActionWidgetContextKeys.FilterFocused.negate()),
299
299
  keybinding: {
300
300
  weight,
@@ -315,7 +315,7 @@ registerAction2(class extends Action2 {
315
315
  constructor() {
316
316
  super({
317
317
  id: acceptSelectedActionCommand,
318
- title: localize2(1725, "Accept selected action"),
318
+ title: localize2(1723, "Accept selected action"),
319
319
  precondition: ActionWidgetContextKeys.Visible,
320
320
  keybinding: {
321
321
  weight,
@@ -335,7 +335,7 @@ registerAction2(class extends Action2 {
335
335
  constructor() {
336
336
  super({
337
337
  id: previewSelectedActionCommand,
338
- title: localize2(1726, "Preview selected action"),
338
+ title: localize2(1724, "Preview selected action"),
339
339
  precondition: ActionWidgetContextKeys.Visible,
340
340
  keybinding: {
341
341
  weight,
@@ -33,7 +33,7 @@ class ConfigurationRegistry extends Disposable {
33
33
  this.configurationDefaultsOverrides = new Map();
34
34
  this.defaultLanguageConfigurationOverridesNode = {
35
35
  id: 'defaultOverrides',
36
- title: nls.localize(1727, "Default Language Configuration Overrides"),
36
+ title: nls.localize(1725, "Default Language Configuration Overrides"),
37
37
  properties: {}
38
38
  };
39
39
  this.configurationContributors = [this.defaultLanguageConfigurationOverridesNode];
@@ -115,7 +115,7 @@ class ConfigurationRegistry extends Disposable {
115
115
  },
116
116
  type: 'object',
117
117
  default: newDefaultOverride.value,
118
- description: nls.localize(1728, "Configure settings to be overridden for {0}.", getLanguageTagSettingPlainKey(key)),
118
+ description: nls.localize(1726, "Configure settings to be overridden for {0}.", getLanguageTagSettingPlainKey(key)),
119
119
  $ref: resourceLanguageSettingsSchemaId,
120
120
  defaultDefaultValue: newDefaultOverride.value,
121
121
  source,
@@ -338,8 +338,8 @@ class ConfigurationRegistry extends Disposable {
338
338
  const overrideIdentifierProperty = `[${overrideIdentifier}]`;
339
339
  const resourceLanguagePropertiesSchema = {
340
340
  type: 'object',
341
- description: nls.localize(1729, "Configure editor settings to be overridden for a language."),
342
- errorMessage: nls.localize(1730, "This setting does not support per-language configuration."),
341
+ description: nls.localize(1727, "Configure editor settings to be overridden for a language."),
342
+ errorMessage: nls.localize(1728, "This setting does not support per-language configuration."),
343
343
  $ref: resourceLanguageSettingsSchemaId,
344
344
  };
345
345
  this.updatePropertyDefaultValue(overrideIdentifierProperty, resourceLanguagePropertiesSchema);
@@ -355,8 +355,8 @@ class ConfigurationRegistry extends Disposable {
355
355
  registerOverridePropertyPatternKey() {
356
356
  const resourceLanguagePropertiesSchema = {
357
357
  type: 'object',
358
- description: nls.localize(1731, "Configure editor settings to be overridden for a language."),
359
- errorMessage: nls.localize(1732, "This setting does not support per-language configuration."),
358
+ description: nls.localize(1729, "Configure editor settings to be overridden for a language."),
359
+ errorMessage: nls.localize(1730, "This setting does not support per-language configuration."),
360
360
  $ref: resourceLanguageSettingsSchemaId,
361
361
  };
362
362
  allSettings.patternProperties[OVERRIDE_PROPERTY_PATTERN] = resourceLanguagePropertiesSchema;
@@ -429,19 +429,19 @@ const configurationRegistry = new ConfigurationRegistry();
429
429
  Registry.add(Extensions.Configuration, configurationRegistry);
430
430
  export function validateProperty(property, schema, extensionId) {
431
431
  if (!property.trim()) {
432
- return nls.localize(1733, "Cannot register an empty property");
432
+ return nls.localize(1731, "Cannot register an empty property");
433
433
  }
434
434
  if (OVERRIDE_PROPERTY_REGEX.test(property)) {
435
- return nls.localize(1734, "Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.", property);
435
+ return nls.localize(1732, "Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.", property);
436
436
  }
437
437
  if (configurationRegistry.getConfigurationProperties()[property] !== undefined && (!extensionId || !EXTENSION_UNIFICATION_EXTENSION_IDS.has(extensionId.toLowerCase()))) {
438
- return nls.localize(1735, "Cannot register '{0}'. This property is already registered.", property);
438
+ return nls.localize(1733, "Cannot register '{0}'. This property is already registered.", property);
439
439
  }
440
440
  if (schema.policy && schema.policyReference) {
441
- return nls.localize(1736, "Cannot register '{0}'. A setting must not declare both 'policy' and 'policyReference'.", property);
441
+ return nls.localize(1734, "Cannot register '{0}'. A setting must not declare both 'policy' and 'policyReference'.", property);
442
442
  }
443
443
  if (schema.policy?.name && configurationRegistry.getPolicyConfigurations().get(schema.policy?.name) !== undefined) {
444
- return nls.localize(1737, "Cannot register '{0}'. The associated policy {1} is already registered with {2}. To attach another setting to the same policy, use 'policyReference'.", property, schema.policy?.name, configurationRegistry.getPolicyConfigurations().get(schema.policy?.name));
444
+ return nls.localize(1735, "Cannot register '{0}'. The associated policy {1} is already registered with {2}. To attach another setting to the same policy, use 'policyReference'.", property, schema.policy?.name, configurationRegistry.getPolicyConfigurations().get(schema.policy?.name));
445
445
  }
446
446
  return null;
447
447
  }
@@ -451,7 +451,7 @@ CommandsRegistry.registerCommand({
451
451
  return [...RawContextKey.all()].sort((a, b) => a.key.localeCompare(b.key));
452
452
  },
453
453
  metadata: {
454
- description: localize(1738, "A command that returns information about context keys"),
454
+ description: localize(1736, "A command that returns information about context keys"),
455
455
  args: []
456
456
  }
457
457
  });
@@ -23,14 +23,14 @@ const hasOwnProperty = Object.prototype.hasOwnProperty;
23
23
  const defaultConfig = {
24
24
  regexParsingWithErrorRecovery: true
25
25
  };
26
- const errorEmptyString = localize(1739, "Empty context key expression");
27
- const hintEmptyString = localize(1740, "Did you forget to write an expression? You can also put 'false' or 'true' to always evaluate to false or true, respectively.");
28
- const errorNoInAfterNot = localize(1741, "'in' after 'not'.");
29
- const errorClosingParenthesis = localize(1742, "closing parenthesis ')'");
30
- const errorUnexpectedToken = localize(1743, "Unexpected token");
31
- const hintUnexpectedToken = localize(1744, "Did you forget to put && or || before the token?");
32
- const errorUnexpectedEOF = localize(1745, "Unexpected end of expression");
33
- const hintUnexpectedEOF = localize(1746, "Did you forget to put a context key?");
26
+ const errorEmptyString = localize(1737, "Empty context key expression");
27
+ const hintEmptyString = localize(1738, "Did you forget to write an expression? You can also put 'false' or 'true' to always evaluate to false or true, respectively.");
28
+ const errorNoInAfterNot = localize(1739, "'in' after 'not'.");
29
+ const errorClosingParenthesis = localize(1740, "closing parenthesis ')'");
30
+ const errorUnexpectedToken = localize(1741, "Unexpected token");
31
+ const hintUnexpectedToken = localize(1742, "Did you forget to put && or || before the token?");
32
+ const errorUnexpectedEOF = localize(1743, "Unexpected end of expression");
33
+ const hintUnexpectedEOF = localize(1744, "Did you forget to put a context key?");
34
34
  /**
35
35
  * A parser for context key expressions.
36
36
  *
@@ -375,7 +375,7 @@ export class Parser {
375
375
  throw this._errExpectedButGot(message, this._peek());
376
376
  }
377
377
  _errExpectedButGot(expected, got, additionalInfo) {
378
- const message = localize(1747, "Expected: {0}\nReceived: '{1}'.", expected, Scanner.getLexeme(got));
378
+ const message = localize(1745, "Expected: {0}\nReceived: '{1}'.", expected, Scanner.getLexeme(got));
379
379
  const offset = got.offset;
380
380
  const lexeme = Scanner.getLexeme(got);
381
381
  this._parsingErrors.push({ message, offset, lexeme, additionalInfo });
@@ -5,15 +5,15 @@
5
5
  import { isIOS, isLinux, isMacintosh, isMobile, isWeb, isWindows } from '../../../base/common/platform.js';
6
6
  import { localize } from '../../../nls.js';
7
7
  import { RawContextKey } from './contextkey.js';
8
- export const IsMacContext = new RawContextKey('isMac', isMacintosh, localize(1748, "Whether the operating system is macOS"));
9
- export const IsLinuxContext = new RawContextKey('isLinux', isLinux, localize(1749, "Whether the operating system is Linux"));
10
- export const IsWindowsContext = new RawContextKey('isWindows', isWindows, localize(1750, "Whether the operating system is Windows"));
11
- export const IsWebContext = new RawContextKey('isWeb', isWeb, localize(1751, "Whether the platform is a web browser"));
12
- export const IsMacNativeContext = new RawContextKey('isMacNative', isMacintosh && !isWeb, localize(1752, "Whether the operating system is macOS on a non-browser platform"));
13
- export const IsIOSContext = new RawContextKey('isIOS', isIOS, localize(1753, "Whether the operating system is iOS"));
14
- export const IsMobileContext = new RawContextKey('isMobile', isMobile, localize(1754, "Whether the platform is a mobile web browser"));
8
+ export const IsMacContext = new RawContextKey('isMac', isMacintosh, localize(1746, "Whether the operating system is macOS"));
9
+ export const IsLinuxContext = new RawContextKey('isLinux', isLinux, localize(1747, "Whether the operating system is Linux"));
10
+ export const IsWindowsContext = new RawContextKey('isWindows', isWindows, localize(1748, "Whether the operating system is Windows"));
11
+ export const IsWebContext = new RawContextKey('isWeb', isWeb, localize(1749, "Whether the platform is a web browser"));
12
+ export const IsMacNativeContext = new RawContextKey('isMacNative', isMacintosh && !isWeb, localize(1750, "Whether the operating system is macOS on a non-browser platform"));
13
+ export const IsIOSContext = new RawContextKey('isIOS', isIOS, localize(1751, "Whether the operating system is iOS"));
14
+ export const IsMobileContext = new RawContextKey('isMobile', isMobile, localize(1752, "Whether the platform is a mobile web browser"));
15
15
  export const IsDevelopmentContext = new RawContextKey('isDevelopment', false, true);
16
- export const ProductQualityContext = new RawContextKey('productQualityType', '', localize(1755, "Quality type of VS Code"));
16
+ export const ProductQualityContext = new RawContextKey('productQualityType', '', localize(1753, "Quality type of VS Code"));
17
17
  export const InputFocusedContextKey = 'inputFocus';
18
- export const InputFocusedContext = new RawContextKey(InputFocusedContextKey, false, localize(1756, "Whether keyboard focus is inside an input box"));
18
+ export const InputFocusedContext = new RawContextKey(InputFocusedContextKey, false, localize(1754, "Whether keyboard focus is inside an input box"));
19
19
  //# sourceMappingURL=contextkeys.js.map
@@ -7,17 +7,17 @@ import { localize } from '../../../nls.js';
7
7
  function hintDidYouMean(...meant) {
8
8
  switch (meant.length) {
9
9
  case 1:
10
- return localize(1757, "Did you mean {0}?", meant[0]);
10
+ return localize(1755, "Did you mean {0}?", meant[0]);
11
11
  case 2:
12
- return localize(1758, "Did you mean {0} or {1}?", meant[0], meant[1]);
12
+ return localize(1756, "Did you mean {0} or {1}?", meant[0], meant[1]);
13
13
  case 3:
14
- return localize(1759, "Did you mean {0}, {1} or {2}?", meant[0], meant[1], meant[2]);
14
+ return localize(1757, "Did you mean {0}, {1} or {2}?", meant[0], meant[1], meant[2]);
15
15
  default: // we just don't expect that many
16
16
  return undefined;
17
17
  }
18
18
  }
19
- const hintDidYouForgetToOpenOrCloseQuote = localize(1760, "Did you forget to open or close the quote?");
20
- const hintDidYouForgetToEscapeSlash = localize(1761, "Did you forget to escape the '/' (slash) character? Put two backslashes before it to escape, e.g., '\\\\/\'.");
19
+ const hintDidYouForgetToOpenOrCloseQuote = localize(1758, "Did you forget to open or close the quote?");
20
+ const hintDidYouForgetToEscapeSlash = localize(1759, "Did you forget to escape the '/' (slash) character? Put two backslashes before it to escape, e.g., '\\\\/\'.");
21
21
  /**
22
22
  * A simple scanner for context keys.
23
23
  *
@@ -18,7 +18,7 @@ import { KeybindingsRegistry } from '../../keybinding/common/keybindingsRegistry
18
18
  import { localize } from '../../../nls.js';
19
19
  import { DisposableStore, toDisposable } from '../../../base/common/lifecycle.js';
20
20
  import { isActiveElement } from '../../../base/browser/dom.js';
21
- export const historyNavigationVisible = new RawContextKey('suggestWidgetVisible', false, localize(1762, "Whether suggestion are visible"));
21
+ export const historyNavigationVisible = new RawContextKey('suggestWidgetVisible', false, localize(1760, "Whether suggestion are visible"));
22
22
  const HistoryNavigationWidgetFocusContext = 'historyNavigationWidgetFocus';
23
23
  const HistoryNavigationForwardsEnablementContext = 'historyNavigationForwardsEnabled';
24
24
  const HistoryNavigationBackwardsEnablementContext = 'historyNavigationBackwardsEnabled';
@@ -215,7 +215,7 @@ let HoverWidget = class HoverWidget extends Widget {
215
215
  if (options.appearance?.showHoverHint) {
216
216
  const statusBarElement = $('div.hover-row.status-bar');
217
217
  const infoElement = $('div.info');
218
- infoElement.textContent = localize(1763, 'Hold {0} key to mouse over', isMacintosh ? 'Option' : 'Alt');
218
+ infoElement.textContent = localize(1761, 'Hold {0} key to mouse over', isMacintosh ? 'Option' : 'Alt');
219
219
  statusBarElement.appendChild(infoElement);
220
220
  this._hover.containerDomNode.appendChild(statusBarElement);
221
221
  }
@@ -47,7 +47,7 @@ export class ManagedHoverWidget {
47
47
  if (managedContent instanceof Promise) {
48
48
  // show 'Loading' if no hover is up yet
49
49
  if (!this._hoverWidget) {
50
- this.show(localize(1764, "Loading..."), focus, options);
50
+ this.show(localize(1762, "Loading..."), focus, options);
51
51
  }
52
52
  resolvedContent = await managedContent;
53
53
  }
@@ -92,11 +92,11 @@ export class AbstractKeybindingService extends Disposable {
92
92
  throw illegalState('impossible');
93
93
  case 1:
94
94
  // TODO@ulugbekna: revise this message and the one below (at least, fix terminology)
95
- this._currentChordStatusMessage = this._notificationService.status(nls.localize(1765, "({0}) was pressed. Waiting for second key of chord...", keypressLabel));
95
+ this._currentChordStatusMessage = this._notificationService.status(nls.localize(1763, "({0}) was pressed. Waiting for second key of chord...", keypressLabel));
96
96
  break;
97
97
  default: {
98
98
  const fullKeypressLabel = this._currentChords.map(({ label }) => label).join(', ');
99
- this._currentChordStatusMessage = this._notificationService.status(nls.localize(1766, "({0}) was pressed. Waiting for next key of chord...", fullKeypressLabel));
99
+ this._currentChordStatusMessage = this._notificationService.status(nls.localize(1764, "({0}) was pressed. Waiting for next key of chord...", fullKeypressLabel));
100
100
  }
101
101
  }
102
102
  this._scheduleLeaveChordMode();
@@ -195,7 +195,7 @@ export class AbstractKeybindingService extends Disposable {
195
195
  if (this.inChordMode) {
196
196
  const currentChordsLabel = this._currentChords.map(({ label }) => label).join(', ');
197
197
  this._log(`+ Leaving multi-chord mode: Nothing bound to "${currentChordsLabel}, ${keypressLabel}".`);
198
- this._notificationService.status(nls.localize(1767, "The key combination ({0}, {1}) is not a command.", currentChordsLabel, keypressLabel), { hideAfter: 10 * 1000 /* 10s */ });
198
+ this._notificationService.status(nls.localize(1765, "The key combination ({0}, {1}) is not a command.", currentChordsLabel, keypressLabel), { hideAfter: 10 * 1000 /* 10s */ });
199
199
  this._leaveChordMode();
200
200
  shouldPreventDefault = true;
201
201
  }
@@ -214,7 +214,7 @@ export class AbstractKeybindingService extends Disposable {
214
214
  if (this.inChordMode) {
215
215
  const currentChordsLabel = this._currentChords.map(({ label }) => label).join(', ');
216
216
  this._log(`+ Leaving chord mode: Nothing bound to "${currentChordsLabel}, ${keypressLabel}".`);
217
- this._notificationService.status(nls.localize(1768, "The key combination ({0}, {1}) is not a command.", currentChordsLabel, keypressLabel), { hideAfter: 10 * 1000 /* 10s */ });
217
+ this._notificationService.status(nls.localize(1766, "The key combination ({0}, {1}) is not a command.", currentChordsLabel, keypressLabel), { hideAfter: 10 * 1000 /* 10s */ });
218
218
  this._leaveChordMode();
219
219
  shouldPreventDefault = true;
220
220
  }
@@ -264,7 +264,7 @@ export class AbstractKeybindingService extends Disposable {
264
264
  if (commandId) {
265
265
  const keybindingLabel = this.lookupKeybinding(commandId, context, enforceContextCheck)?.getLabel();
266
266
  if (keybindingLabel) {
267
- return nls.localize(1769, "{0} ({1})", label, keybindingLabel);
267
+ return nls.localize(1767, "{0} ({1})", label, keybindingLabel);
268
268
  }
269
269
  }
270
270
  return label;
@@ -907,18 +907,18 @@ const configurationRegistry = Registry.as(ConfigurationExtensions.Configuration)
907
907
  configurationRegistry.registerConfiguration({
908
908
  id: 'workbench',
909
909
  order: 7,
910
- title: localize(1770, "Workbench"),
910
+ title: localize(1768, "Workbench"),
911
911
  type: 'object',
912
912
  properties: {
913
913
  [multiSelectModifierSettingKey]: {
914
914
  type: 'string',
915
915
  enum: ['ctrlCmd', 'alt'],
916
916
  markdownEnumDescriptions: [
917
- localize(1771, "Maps to `Control` on Windows and Linux and to `Command` on macOS."),
918
- localize(1772, "Maps to `Alt` on Windows and Linux and to `Option` on macOS.")
917
+ localize(1769, "Maps to `Control` on Windows and Linux and to `Command` on macOS."),
918
+ localize(1770, "Maps to `Alt` on Windows and Linux and to `Option` on macOS.")
919
919
  ],
920
920
  default: 'ctrlCmd',
921
- description: localize(1773, "The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")
921
+ description: localize(1771, "The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")
922
922
 
923
923
 
924
924
 
@@ -930,7 +930,7 @@ configurationRegistry.registerConfiguration({
930
930
  type: 'string',
931
931
  enum: ['singleClick', 'doubleClick'],
932
932
  default: 'singleClick',
933
- description: localize(1774, "Controls how to open items in trees and lists using the mouse (if supported). Note that some trees and lists might choose to ignore this setting if it is not applicable.")
933
+ description: localize(1772, "Controls how to open items in trees and lists using the mouse (if supported). Note that some trees and lists might choose to ignore this setting if it is not applicable.")
934
934
 
935
935
 
936
936
 
@@ -938,96 +938,96 @@ configurationRegistry.registerConfiguration({
938
938
  [horizontalScrollingKey]: {
939
939
  type: 'boolean',
940
940
  default: false,
941
- description: localize(1775, "Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")
941
+ description: localize(1773, "Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")
942
942
  },
943
943
  [scrollByPageKey]: {
944
944
  type: 'boolean',
945
945
  default: false,
946
- description: localize(1776, "Controls whether clicks in the scrollbar scroll page by page.")
946
+ description: localize(1774, "Controls whether clicks in the scrollbar scroll page by page.")
947
947
  },
948
948
  [treeIndentKey]: {
949
949
  type: 'number',
950
950
  default: 8,
951
951
  minimum: 4,
952
952
  maximum: 40,
953
- description: localize(1777, "Controls tree indentation in pixels.")
953
+ description: localize(1775, "Controls tree indentation in pixels.")
954
954
  },
955
955
  [treeRenderIndentGuidesKey]: {
956
956
  type: 'string',
957
957
  enum: ['none', 'onHover', 'always'],
958
958
  default: 'onHover',
959
- description: localize(1778, "Controls whether the tree should render indent guides.")
959
+ description: localize(1776, "Controls whether the tree should render indent guides.")
960
960
  },
961
961
  [listSmoothScrolling]: {
962
962
  type: 'boolean',
963
963
  default: false,
964
- description: localize(1779, "Controls whether lists and trees have smooth scrolling."),
964
+ description: localize(1777, "Controls whether lists and trees have smooth scrolling."),
965
965
  },
966
966
  [mouseWheelScrollSensitivityKey]: {
967
967
  type: 'number',
968
968
  default: 1,
969
- markdownDescription: localize(1780, "A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")
969
+ markdownDescription: localize(1778, "A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")
970
970
  },
971
971
  [fastScrollSensitivityKey]: {
972
972
  type: 'number',
973
973
  default: 5,
974
- markdownDescription: localize(1781, "Scrolling speed multiplier when pressing `Alt`.")
974
+ markdownDescription: localize(1779, "Scrolling speed multiplier when pressing `Alt`.")
975
975
  },
976
976
  [defaultFindModeSettingKey]: {
977
977
  type: 'string',
978
978
  enum: ['highlight', 'filter'],
979
979
  enumDescriptions: [
980
- localize(1782, "Highlight elements when searching. Further up and down navigation will traverse only the highlighted elements."),
981
- localize(1783, "Filter elements when searching.")
980
+ localize(1780, "Highlight elements when searching. Further up and down navigation will traverse only the highlighted elements."),
981
+ localize(1781, "Filter elements when searching.")
982
982
  ],
983
983
  default: 'highlight',
984
- description: localize(1784, "Controls the default find mode for lists and trees in the workbench.")
984
+ description: localize(1782, "Controls the default find mode for lists and trees in the workbench.")
985
985
  },
986
986
  [keyboardNavigationSettingKey]: {
987
987
  type: 'string',
988
988
  enum: ['simple', 'highlight', 'filter'],
989
989
  enumDescriptions: [
990
- localize(1785, "Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),
991
- localize(1786, "Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),
992
- localize(1787, "Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")
990
+ localize(1783, "Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),
991
+ localize(1784, "Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),
992
+ localize(1785, "Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")
993
993
  ],
994
994
  default: 'highlight',
995
- description: localize(1788, "Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter."),
995
+ description: localize(1786, "Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter."),
996
996
  deprecated: true,
997
- deprecationMessage: localize(1789, "Please use 'workbench.list.defaultFindMode' and 'workbench.list.typeNavigationMode' instead.")
997
+ deprecationMessage: localize(1787, "Please use 'workbench.list.defaultFindMode' and 'workbench.list.typeNavigationMode' instead.")
998
998
  },
999
999
  [defaultFindMatchTypeSettingKey]: {
1000
1000
  type: 'string',
1001
1001
  enum: ['fuzzy', 'contiguous'],
1002
1002
  enumDescriptions: [
1003
- localize(1790, "Use fuzzy matching when searching."),
1004
- localize(1791, "Use contiguous matching when searching.")
1003
+ localize(1788, "Use fuzzy matching when searching."),
1004
+ localize(1789, "Use contiguous matching when searching.")
1005
1005
  ],
1006
1006
  default: 'fuzzy',
1007
- description: localize(1792, "Controls the type of matching used when searching lists and trees in the workbench.")
1007
+ description: localize(1790, "Controls the type of matching used when searching lists and trees in the workbench.")
1008
1008
  },
1009
1009
  [treeExpandMode]: {
1010
1010
  type: 'string',
1011
1011
  enum: ['singleClick', 'doubleClick'],
1012
1012
  default: 'singleClick',
1013
- description: localize(1793, "Controls how tree folders are expanded when clicking the folder names. Note that some trees and lists might choose to ignore this setting if it is not applicable."),
1013
+ description: localize(1791, "Controls how tree folders are expanded when clicking the folder names. Note that some trees and lists might choose to ignore this setting if it is not applicable."),
1014
1014
  },
1015
1015
  [treeStickyScroll]: {
1016
1016
  type: 'boolean',
1017
1017
  default: true,
1018
- description: localize(1794, "Controls whether sticky scrolling is enabled in trees."),
1018
+ description: localize(1792, "Controls whether sticky scrolling is enabled in trees."),
1019
1019
  },
1020
1020
  [treeStickyScrollMaxElements]: {
1021
1021
  type: 'number',
1022
1022
  minimum: 1,
1023
1023
  default: 7,
1024
- markdownDescription: localize(1795, "Controls the number of sticky elements displayed in the tree when {0} is enabled.", '`#workbench.tree.enableStickyScroll#`'),
1024
+ markdownDescription: localize(1793, "Controls the number of sticky elements displayed in the tree when {0} is enabled.", '`#workbench.tree.enableStickyScroll#`'),
1025
1025
  },
1026
1026
  [typeNavigationModeSettingKey]: {
1027
1027
  type: 'string',
1028
1028
  enum: ['automatic', 'trigger'],
1029
1029
  default: 'automatic',
1030
- markdownDescription: localize(1796, "Controls how type navigation works in lists and trees in the workbench. When set to `trigger`, type navigation begins once the `list.triggerTypeNavigation` command is run."),
1030
+ markdownDescription: localize(1794, "Controls how type navigation works in lists and trees in the workbench. When set to `trigger`, type navigation begins once the `list.triggerTypeNavigation` command is run."),
1031
1031
  }
1032
1032
  }
1033
1033
  });
@@ -239,8 +239,8 @@ export class MarkerService {
239
239
  */
240
240
  _createFilteredMarker(resource, reasons) {
241
241
  const message = reasons.length === 1
242
- ? localize(1803, "Problems are paused because: \"{0}\"", reasons[0])
243
- : localize(1804, "Problems are paused because: \"{0}\" and {1} more", reasons[0], reasons.length - 1);
242
+ ? localize(1801, "Problems are paused because: \"{0}\"", reasons[0])
243
+ : localize(1802, "Problems are paused because: \"{0}\" and {1} more", reasons[0], reasons.length - 1);
244
244
  return {
245
245
  owner: 'markersFilter',
246
246
  resource,
@@ -18,17 +18,17 @@ export var MarkerSeverity;
18
18
  }
19
19
  MarkerSeverity.compare = compare;
20
20
  const _displayStrings = Object.create(null);
21
- _displayStrings[MarkerSeverity.Error] = localize(1797, "Error");
22
- _displayStrings[MarkerSeverity.Warning] = localize(1798, "Warning");
23
- _displayStrings[MarkerSeverity.Info] = localize(1799, "Info");
21
+ _displayStrings[MarkerSeverity.Error] = localize(1795, "Error");
22
+ _displayStrings[MarkerSeverity.Warning] = localize(1796, "Warning");
23
+ _displayStrings[MarkerSeverity.Info] = localize(1797, "Info");
24
24
  function toString(a) {
25
25
  return _displayStrings[a] || '';
26
26
  }
27
27
  MarkerSeverity.toString = toString;
28
28
  const _displayStringsPlural = Object.create(null);
29
- _displayStringsPlural[MarkerSeverity.Error] = localize(1800, "Errors");
30
- _displayStringsPlural[MarkerSeverity.Warning] = localize(1801, "Warnings");
31
- _displayStringsPlural[MarkerSeverity.Info] = localize(1802, "Infos");
29
+ _displayStringsPlural[MarkerSeverity.Error] = localize(1798, "Errors");
30
+ _displayStringsPlural[MarkerSeverity.Warning] = localize(1799, "Warnings");
31
+ _displayStringsPlural[MarkerSeverity.Info] = localize(1800, "Infos");
32
32
  function toStringPlural(a) {
33
33
  return _displayStringsPlural[a] || '';
34
34
  }