monaco-editor-core 0.55.0-dev-20251022 → 0.55.0-dev-20251024

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 (157) 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 +6 -0
  18. package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  19. package/esm/vs/base/browser/ui/iconLabel/iconlabel.css +2 -0
  20. package/esm/vs/base/browser/ui/list/listPaging.js +5 -1
  21. package/esm/vs/base/browser/ui/list/listPaging.js.map +1 -1
  22. package/esm/vs/base/browser/ui/list/listView.js +4 -3
  23. package/esm/vs/base/browser/ui/list/listView.js.map +1 -1
  24. package/esm/vs/base/browser/ui/toggle/toggle.js +2 -2
  25. package/esm/vs/base/browser/ui/toggle/toggle.js.map +1 -1
  26. package/esm/vs/base/browser/ui/tree/compressedObjectTreeModel.js +7 -0
  27. package/esm/vs/base/browser/ui/tree/compressedObjectTreeModel.js.map +1 -1
  28. package/esm/vs/base/browser/ui/tree/objectTree.js +3 -0
  29. package/esm/vs/base/browser/ui/tree/objectTree.js.map +1 -1
  30. package/esm/vs/base/browser/ui/tree/objectTreeModel.js +20 -0
  31. package/esm/vs/base/browser/ui/tree/objectTreeModel.js.map +1 -1
  32. package/esm/vs/base/common/arrays.js +10 -0
  33. package/esm/vs/base/common/arrays.js.map +1 -1
  34. package/esm/vs/base/common/codiconsLibrary.js +2 -0
  35. package/esm/vs/base/common/codiconsLibrary.js.map +1 -1
  36. package/esm/vs/base/common/network.js +5 -1
  37. package/esm/vs/base/common/network.js.map +1 -1
  38. package/esm/vs/base/common/paging.js.map +1 -1
  39. package/esm/vs/base/common/validation.js +157 -0
  40. package/esm/vs/base/common/validation.js.map +1 -0
  41. package/esm/vs/editor/common/languages.js +10 -0
  42. package/esm/vs/editor/common/languages.js.map +1 -1
  43. package/esm/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase.js.map +1 -1
  44. package/esm/vs/editor/common/model/tokens/treeSitter/treeSitterSyntaxTokenBackend.js +1 -1
  45. package/esm/vs/editor/common/model/tokens/treeSitter/treeSitterSyntaxTokenBackend.js.map +1 -1
  46. package/esm/vs/editor/common/services/treeSitter/treeSitterLibraryService.js.map +1 -1
  47. package/esm/vs/editor/common/viewModel/viewModelLines.js.map +1 -1
  48. package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  49. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +64 -20
  50. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js.map +1 -1
  51. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
  52. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
  53. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +1 -1
  54. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
  55. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +11 -12
  56. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js.map +1 -1
  57. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +4 -4
  58. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js.map +1 -1
  59. package/esm/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.js.map +1 -1
  60. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
  61. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.js +3 -0
  62. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.js.map +1 -1
  63. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
  64. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +5 -5
  65. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js.map +1 -1
  66. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
  67. package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  68. package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  69. package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -31
  70. package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
  71. package/esm/vs/editor/contrib/links/browser/links.js +10 -10
  72. package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
  73. package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  74. package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  75. package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  76. package/esm/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  77. package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  78. package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +8 -8
  79. package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
  80. package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
  81. package/esm/vs/editor/contrib/rename/browser/rename.js +11 -11
  82. package/esm/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
  83. package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
  84. package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
  85. package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  86. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  87. package/esm/vs/editor/contrib/suggest/browser/suggest.js +8 -8
  88. package/esm/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
  89. package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
  90. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
  91. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  92. package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
  93. package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  94. package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  95. package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  96. package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  97. package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
  98. package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  99. package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  100. package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
  101. package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
  102. package/esm/vs/editor/standalone/browser/standaloneTreeSitterLibraryService.js +2 -12
  103. package/esm/vs/editor/standalone/browser/standaloneTreeSitterLibraryService.js.map +1 -1
  104. package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
  105. package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
  106. package/esm/vs/platform/actionWidget/browser/actionList.js +4 -4
  107. package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
  108. package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
  109. package/esm/vs/platform/actions/browser/toolbar.js +2 -2
  110. package/esm/vs/platform/actions/common/actions.js +1 -0
  111. package/esm/vs/platform/actions/common/actions.js.map +1 -1
  112. package/esm/vs/platform/actions/common/menuService.js +2 -2
  113. package/esm/vs/platform/configuration/common/configurationRegistry.js +22 -10
  114. package/esm/vs/platform/configuration/common/configurationRegistry.js.map +1 -1
  115. package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
  116. package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
  117. package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
  118. package/esm/vs/platform/contextkey/common/scanner.js +5 -5
  119. package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  120. package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  121. package/esm/vs/platform/list/browser/listService.js +27 -27
  122. package/esm/vs/platform/markers/common/markerService.js +2 -2
  123. package/esm/vs/platform/markers/common/markers.js +6 -6
  124. package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +19 -9
  125. package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js.map +1 -1
  126. package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
  127. package/esm/vs/platform/quickinput/browser/quickInput.js +12 -10
  128. package/esm/vs/platform/quickinput/browser/quickInput.js.map +1 -1
  129. package/esm/vs/platform/quickinput/browser/quickInputActions.js +5 -5
  130. package/esm/vs/platform/quickinput/browser/quickInputController.js +12 -6
  131. package/esm/vs/platform/quickinput/browser/quickInputController.js.map +1 -1
  132. package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
  133. package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  134. package/esm/vs/platform/quickinput/browser/tree/quickInputTree.js +9 -9
  135. package/esm/vs/platform/quickinput/browser/tree/quickInputTree.js.map +1 -1
  136. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +2 -2
  137. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js.map +1 -1
  138. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeController.js +19 -26
  139. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeController.js.map +1 -1
  140. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeSorter.js +46 -0
  141. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeSorter.js.map +1 -0
  142. package/esm/vs/platform/quickinput/common/quickInput.js.map +1 -1
  143. package/esm/vs/platform/theme/common/colorUtils.js +2 -2
  144. package/esm/vs/platform/theme/common/colors/baseColors.js +17 -17
  145. package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
  146. package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
  147. package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
  148. package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
  149. package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
  150. package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
  151. package/esm/vs/platform/theme/common/colors/miscColors.js +15 -15
  152. package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  153. package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
  154. package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
  155. package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  156. package/esm/vs/platform/workspace/common/workspace.js +1 -1
  157. package/package.json +2 -2
@@ -30,8 +30,8 @@ import { listHighlightForeground, registerColor } from '../../../../platform/the
30
30
  import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
31
31
  import { ThemeIcon } from '../../../../base/common/themables.js';
32
32
  const $ = dom.$;
33
- const parameterHintsNextIcon = registerIcon('parameter-hints-next', Codicon.chevronDown, nls.localize(1307, 'Icon for show next parameter hint.'));
34
- const parameterHintsPreviousIcon = registerIcon('parameter-hints-previous', Codicon.chevronUp, nls.localize(1308, 'Icon for show previous parameter hint.'));
33
+ const parameterHintsNextIcon = registerIcon('parameter-hints-next', Codicon.chevronDown, nls.localize(1310, 'Icon for show next parameter hint.'));
34
+ const parameterHintsPreviousIcon = registerIcon('parameter-hints-previous', Codicon.chevronUp, nls.localize(1311, 'Icon for show previous parameter hint.'));
35
35
  let ParameterHintsWidget = class ParameterHintsWidget extends Disposable {
36
36
  static { ParameterHintsWidget_1 = this; }
37
37
  static { this.ID = 'editor.widget.parameterHintsWidget'; }
@@ -206,7 +206,7 @@ let ParameterHintsWidget = class ParameterHintsWidget extends Disposable {
206
206
  // Select method gets called on every user type while parameter hints are visible.
207
207
  // We do not want to spam the user with same announcements, so we only announce if the current parameter changed.
208
208
  if (this.announcedLabel !== labelToAnnounce) {
209
- aria.alert(nls.localize(1309, "{0}, hint", labelToAnnounce));
209
+ aria.alert(nls.localize(1312, "{0}, hint", labelToAnnounce));
210
210
  this.announcedLabel = labelToAnnounce;
211
211
  }
212
212
  }
@@ -304,5 +304,5 @@ ParameterHintsWidget = ParameterHintsWidget_1 = __decorate([
304
304
  __param(3, IMarkdownRendererService)
305
305
  ], ParameterHintsWidget);
306
306
  export { ParameterHintsWidget };
307
- registerColor('editorHoverWidget.highlightForeground', listHighlightForeground, nls.localize(1310, 'Foreground color of the active item in the parameter hint.'));
307
+ registerColor('editorHoverWidget.highlightForeground', listHighlightForeground, nls.localize(1313, 'Foreground color of the active item in the parameter hint.'));
308
308
  //# sourceMappingURL=parameterHintsWidget.js.map
@@ -53,7 +53,7 @@ registerSingleton(IPeekViewService, class {
53
53
  }, 1 /* InstantiationType.Delayed */);
54
54
  export var PeekContext;
55
55
  (function (PeekContext) {
56
- PeekContext.inPeekEditor = new RawContextKey('inReferenceSearchEditor', true, nls.localize(1311, "Whether the current code editor is embedded inside peek"));
56
+ PeekContext.inPeekEditor = new RawContextKey('inReferenceSearchEditor', true, nls.localize(1314, "Whether the current code editor is embedded inside peek"));
57
57
  PeekContext.notInPeekEditor = PeekContext.inPeekEditor.toNegated();
58
58
  })(PeekContext || (PeekContext = {}));
59
59
  let PeekContextController = class PeekContextController {
@@ -149,7 +149,7 @@ let PeekViewWidget = class PeekViewWidget extends ZoneWidget {
149
149
  this._actionbarWidget = new ActionBar(actionsContainer, actionBarOptions);
150
150
  this._disposables.add(this._actionbarWidget);
151
151
  if (!noCloseAction) {
152
- this._actionbarWidget.push(this._disposables.add(new Action('peekview.close', nls.localize(1312, "Close"), ThemeIcon.asClassName(Codicon.close), true, () => {
152
+ this._actionbarWidget.push(this._disposables.add(new Action('peekview.close', nls.localize(1315, "Close"), ThemeIcon.asClassName(Codicon.close), true, () => {
153
153
  this.dispose();
154
154
  return Promise.resolve();
155
155
  })), { label: false, icon: true });
@@ -216,20 +216,20 @@ PeekViewWidget = __decorate([
216
216
  __param(2, IInstantiationService)
217
217
  ], PeekViewWidget);
218
218
  export { PeekViewWidget };
219
- export const peekViewTitleBackground = registerColor('peekViewTitle.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, nls.localize(1313, 'Background color of the peek view title area.'));
220
- export const peekViewTitleForeground = registerColor('peekViewTitleLabel.foreground', { dark: Color.white, light: Color.black, hcDark: Color.white, hcLight: editorForeground }, nls.localize(1314, 'Color of the peek view title.'));
221
- export const peekViewTitleInfoForeground = registerColor('peekViewTitleDescription.foreground', { dark: '#ccccccb3', light: '#616161', hcDark: '#FFFFFF99', hcLight: '#292929' }, nls.localize(1315, 'Color of the peek view title info.'));
222
- export const peekViewBorder = registerColor('peekView.border', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: contrastBorder, hcLight: contrastBorder }, nls.localize(1316, 'Color of the peek view borders and arrow.'));
223
- export const peekViewResultsBackground = registerColor('peekViewResult.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, nls.localize(1317, 'Background color of the peek view result list.'));
224
- export const peekViewResultsMatchForeground = registerColor('peekViewResult.lineForeground', { dark: '#bbbbbb', light: '#646465', hcDark: Color.white, hcLight: editorForeground }, nls.localize(1318, 'Foreground color for line nodes in the peek view result list.'));
225
- export const peekViewResultsFileForeground = registerColor('peekViewResult.fileForeground', { dark: Color.white, light: '#1E1E1E', hcDark: Color.white, hcLight: editorForeground }, nls.localize(1319, 'Foreground color for file nodes in the peek view result list.'));
226
- export const peekViewResultsSelectionBackground = registerColor('peekViewResult.selectionBackground', { dark: '#3399ff33', light: '#3399ff33', hcDark: null, hcLight: null }, nls.localize(1320, 'Background color of the selected entry in the peek view result list.'));
227
- export const peekViewResultsSelectionForeground = registerColor('peekViewResult.selectionForeground', { dark: Color.white, light: '#6C6C6C', hcDark: Color.white, hcLight: editorForeground }, nls.localize(1321, 'Foreground color of the selected entry in the peek view result list.'));
228
- export const peekViewEditorBackground = registerColor('peekViewEditor.background', { dark: '#001F33', light: '#F2F8FC', hcDark: Color.black, hcLight: Color.white }, nls.localize(1322, 'Background color of the peek view editor.'));
229
- export const peekViewEditorGutterBackground = registerColor('peekViewEditorGutter.background', peekViewEditorBackground, nls.localize(1323, 'Background color of the gutter in the peek view editor.'));
230
- export const peekViewEditorStickyScrollBackground = registerColor('peekViewEditorStickyScroll.background', peekViewEditorBackground, nls.localize(1324, 'Background color of sticky scroll in the peek view editor.'));
231
- export const peekViewEditorStickyScrollGutterBackground = registerColor('peekViewEditorStickyScrollGutter.background', peekViewEditorBackground, nls.localize(1325, 'Background color of the gutter part of sticky scroll in the peek view editor.'));
232
- export const peekViewResultsMatchHighlight = registerColor('peekViewResult.matchHighlightBackground', { dark: '#ea5c004d', light: '#ea5c004d', hcDark: null, hcLight: null }, nls.localize(1326, 'Match highlight color in the peek view result list.'));
233
- export const peekViewEditorMatchHighlight = registerColor('peekViewEditor.matchHighlightBackground', { dark: '#ff8f0099', light: '#f5d802de', hcDark: null, hcLight: null }, nls.localize(1327, 'Match highlight color in the peek view editor.'));
234
- export const peekViewEditorMatchHighlightBorder = registerColor('peekViewEditor.matchHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize(1328, 'Match highlight border in the peek view editor.'));
219
+ export const peekViewTitleBackground = registerColor('peekViewTitle.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, nls.localize(1316, 'Background color of the peek view title area.'));
220
+ export const peekViewTitleForeground = registerColor('peekViewTitleLabel.foreground', { dark: Color.white, light: Color.black, hcDark: Color.white, hcLight: editorForeground }, nls.localize(1317, 'Color of the peek view title.'));
221
+ export const peekViewTitleInfoForeground = registerColor('peekViewTitleDescription.foreground', { dark: '#ccccccb3', light: '#616161', hcDark: '#FFFFFF99', hcLight: '#292929' }, nls.localize(1318, 'Color of the peek view title info.'));
222
+ export const peekViewBorder = registerColor('peekView.border', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: contrastBorder, hcLight: contrastBorder }, nls.localize(1319, 'Color of the peek view borders and arrow.'));
223
+ export const peekViewResultsBackground = registerColor('peekViewResult.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, nls.localize(1320, 'Background color of the peek view result list.'));
224
+ export const peekViewResultsMatchForeground = registerColor('peekViewResult.lineForeground', { dark: '#bbbbbb', light: '#646465', hcDark: Color.white, hcLight: editorForeground }, nls.localize(1321, 'Foreground color for line nodes in the peek view result list.'));
225
+ export const peekViewResultsFileForeground = registerColor('peekViewResult.fileForeground', { dark: Color.white, light: '#1E1E1E', hcDark: Color.white, hcLight: editorForeground }, nls.localize(1322, 'Foreground color for file nodes in the peek view result list.'));
226
+ export const peekViewResultsSelectionBackground = registerColor('peekViewResult.selectionBackground', { dark: '#3399ff33', light: '#3399ff33', hcDark: null, hcLight: null }, nls.localize(1323, 'Background color of the selected entry in the peek view result list.'));
227
+ export const peekViewResultsSelectionForeground = registerColor('peekViewResult.selectionForeground', { dark: Color.white, light: '#6C6C6C', hcDark: Color.white, hcLight: editorForeground }, nls.localize(1324, 'Foreground color of the selected entry in the peek view result list.'));
228
+ export const peekViewEditorBackground = registerColor('peekViewEditor.background', { dark: '#001F33', light: '#F2F8FC', hcDark: Color.black, hcLight: Color.white }, nls.localize(1325, 'Background color of the peek view editor.'));
229
+ export const peekViewEditorGutterBackground = registerColor('peekViewEditorGutter.background', peekViewEditorBackground, nls.localize(1326, 'Background color of the gutter in the peek view editor.'));
230
+ export const peekViewEditorStickyScrollBackground = registerColor('peekViewEditorStickyScroll.background', peekViewEditorBackground, nls.localize(1327, 'Background color of sticky scroll in the peek view editor.'));
231
+ export const peekViewEditorStickyScrollGutterBackground = registerColor('peekViewEditorStickyScrollGutter.background', peekViewEditorBackground, nls.localize(1328, 'Background color of the gutter part of sticky scroll in the peek view editor.'));
232
+ export const peekViewResultsMatchHighlight = registerColor('peekViewResult.matchHighlightBackground', { dark: '#ea5c004d', light: '#ea5c004d', hcDark: null, hcLight: null }, nls.localize(1329, 'Match highlight color in the peek view result list.'));
233
+ export const peekViewEditorMatchHighlight = registerColor('peekViewEditor.matchHighlightBackground', { dark: '#ff8f0099', light: '#f5d802de', hcDark: null, hcLight: null }, nls.localize(1330, 'Match highlight color in the peek view editor.'));
234
+ export const peekViewEditorMatchHighlightBorder = registerColor('peekViewEditor.matchHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize(1331, 'Match highlight border in the peek view editor.'));
235
235
  //# sourceMappingURL=peekView.js.map
@@ -10,5 +10,5 @@ import { registerColor } from '../../../../platform/theme/common/colorUtils.js';
10
10
  import { PlaceholderTextContribution } from './placeholderTextContribution.js';
11
11
  import { wrapInReloadableClass1 } from '../../../../platform/observable/common/wrapInReloadableClass.js';
12
12
  registerEditorContribution(PlaceholderTextContribution.ID, wrapInReloadableClass1(() => PlaceholderTextContribution), 0 /* EditorContributionInstantiation.Eager */);
13
- registerColor('editor.placeholder.foreground', ghostTextForeground, localize(1329, 'Foreground color of the placeholder text in the editor.'));
13
+ registerColor('editor.placeholder.foreground', ghostTextForeground, localize(1332, 'Foreground color of the placeholder text in the editor.'));
14
14
  //# sourceMappingURL=placeholderText.contribution.js.map
@@ -17,7 +17,7 @@ export class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigatio
17
17
  this.useZeroBasedOffset = useZeroBasedOffset;
18
18
  }
19
19
  provideWithoutTextEditor(picker) {
20
- const label = localize(1330, "Open a text editor first to go to a line.");
20
+ const label = localize(1333, "Open a text editor first to go to a line.");
21
21
  picker.items = [{ label }];
22
22
  picker.ariaLabel = label;
23
23
  return Disposable.None;
@@ -53,7 +53,7 @@ export class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigatio
53
53
  label,
54
54
  detail: inputText.length ?
55
55
  undefined : // Don't show hint once the user has started typing.
56
- localize(1331, "Use :line[:column] or ::offset to go to a position. Negative values are counted from the end.")
56
+ localize(1334, "Use :line[:column] or ::offset to go to a position. Negative values are counted from the end.")
57
57
  }];
58
58
  // ARIA Label
59
59
  picker.ariaLabel = label;
@@ -70,7 +70,7 @@ export class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigatio
70
70
  };
71
71
  // Add a toggle to switch between 1- and 0-based offsets.
72
72
  const toggle = new Toggle({
73
- title: localize(1332, "Use zero-based offset"),
73
+ title: localize(1335, "Use zero-based offset"),
74
74
  icon: Codicon.indexZero,
75
75
  isChecked: this.useZeroBasedOffset.value,
76
76
  inputActiveOptionBorder: asCssVariable(inputActiveOptionBorder),
@@ -140,21 +140,21 @@ export class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigatio
140
140
  // Location valid: indicate this as picker label
141
141
  if (this.isValidLineNumber(editor, lineNumber)) {
142
142
  if (this.isValidColumn(editor, lineNumber, column)) {
143
- return localize(1333, "Go to line {0} and character {1}.", lineNumber, column);
143
+ return localize(1336, "Go to line {0} and character {1}.", lineNumber, column);
144
144
  }
145
- return localize(1334, "Go to line {0}.", lineNumber);
145
+ return localize(1337, "Go to line {0}.", lineNumber);
146
146
  }
147
147
  // Location invalid: show generic label
148
148
  const position = editor.getPosition() || { lineNumber: 1, column: 1 };
149
149
  // When in offset mode, prompt for an offset.
150
150
  if (inOffsetMode) {
151
- return localize(1335, "Current Line: {0}, Character: {1}. Type a character offset to navigate to.", position.lineNumber, position.column);
151
+ return localize(1338, "Current Line: {0}, Character: {1}. Type a character offset to navigate to.", position.lineNumber, position.column);
152
152
  }
153
153
  const lineCount = this.lineCount(editor);
154
154
  if (lineCount > 1) {
155
- return localize(1336, "Current Line: {0}, Character: {1}. Type a line number between 1 and {2} to navigate to.", position.lineNumber, position.column, lineCount);
155
+ return localize(1339, "Current Line: {0}, Character: {1}. Type a line number between 1 and {2} to navigate to.", position.lineNumber, position.column, lineCount);
156
156
  }
157
- return localize(1337, "Current Line: {0}, Character: {1}. Type a line number to navigate to.", position.lineNumber, position.column);
157
+ return localize(1340, "Current Line: {0}, Character: {1}. Type a line number to navigate to.", position.lineNumber, position.column);
158
158
  }
159
159
  isValidLineNumber(editor, lineNumber) {
160
160
  if (!lineNumber || typeof lineNumber !== 'number') {
@@ -39,7 +39,7 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
39
39
  this.options.canAcceptInBackground = true;
40
40
  }
41
41
  provideWithoutTextEditor(picker) {
42
- this.provideLabelPick(picker, localize(1338, "To go to a symbol, first open a text editor with symbol information."));
42
+ this.provideLabelPick(picker, localize(1341, "To go to a symbol, first open a text editor with symbol information."));
43
43
  return Disposable.None;
44
44
  }
45
45
  provideWithTextEditor(context, picker, token, runOptions) {
@@ -60,7 +60,7 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
60
60
  doProvideWithoutEditorSymbols(context, model, picker, token) {
61
61
  const disposables = new DisposableStore();
62
62
  // Generic pick for not having any symbol information
63
- this.provideLabelPick(picker, localize(1339, "The active text editor does not provide symbol information."));
63
+ this.provideLabelPick(picker, localize(1342, "The active text editor does not provide symbol information."));
64
64
  // Wait for changes to the registry and see if eventually
65
65
  // we do get symbols. This can happen if the picker is opened
66
66
  // very early after the model has loaded but before the
@@ -146,10 +146,10 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
146
146
  }
147
147
  else {
148
148
  if (query.original.length > 0) {
149
- this.provideLabelPick(picker, localize(1340, "No matching editor symbols"));
149
+ this.provideLabelPick(picker, localize(1343, "No matching editor symbols"));
150
150
  }
151
151
  else {
152
- this.provideLabelPick(picker, localize(1341, "No editor symbols"));
152
+ this.provideLabelPick(picker, localize(1344, "No editor symbols"));
153
153
  }
154
154
  }
155
155
  }
@@ -196,7 +196,7 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
196
196
  if (openSideBySideDirection) {
197
197
  buttons = [{
198
198
  iconClass: openSideBySideDirection === 'right' ? ThemeIcon.asClassName(Codicon.splitHorizontal) : ThemeIcon.asClassName(Codicon.splitVertical),
199
- tooltip: openSideBySideDirection === 'right' ? localize(1342, "Open to the Side") : localize(1343, "Open to the Bottom")
199
+ tooltip: openSideBySideDirection === 'right' ? localize(1345, "Open to the Side") : localize(1346, "Open to the Bottom")
200
200
  }];
201
201
  }
202
202
  const filteredSymbolPicks = [];
@@ -312,7 +312,7 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
312
312
  }
313
313
  else if (sortedFilteredSymbolPicks.length > 0) {
314
314
  symbolPicks = [
315
- { label: localize(1344, "symbols ({0})", filteredSymbolPicks.length), type: 'separator' },
315
+ { label: localize(1347, "symbols ({0})", filteredSymbolPicks.length), type: 'separator' },
316
316
  ...sortedFilteredSymbolPicks
317
317
  ];
318
318
  }
@@ -362,33 +362,33 @@ AbstractGotoSymbolQuickAccessProvider = AbstractGotoSymbolQuickAccessProvider_1
362
362
  ], AbstractGotoSymbolQuickAccessProvider);
363
363
  export { AbstractGotoSymbolQuickAccessProvider };
364
364
  // #region NLS Helpers
365
- const FALLBACK_NLS_SYMBOL_KIND = localize(1345, "properties ({0})");
365
+ const FALLBACK_NLS_SYMBOL_KIND = localize(1348, "properties ({0})");
366
366
  const NLS_SYMBOL_KIND_CACHE = {
367
- [5 /* SymbolKind.Method */]: localize(1346, "methods ({0})"),
368
- [11 /* SymbolKind.Function */]: localize(1347, "functions ({0})"),
369
- [8 /* SymbolKind.Constructor */]: localize(1348, "constructors ({0})"),
370
- [12 /* SymbolKind.Variable */]: localize(1349, "variables ({0})"),
371
- [4 /* SymbolKind.Class */]: localize(1350, "classes ({0})"),
372
- [22 /* SymbolKind.Struct */]: localize(1351, "structs ({0})"),
373
- [23 /* SymbolKind.Event */]: localize(1352, "events ({0})"),
374
- [24 /* SymbolKind.Operator */]: localize(1353, "operators ({0})"),
375
- [10 /* SymbolKind.Interface */]: localize(1354, "interfaces ({0})"),
376
- [2 /* SymbolKind.Namespace */]: localize(1355, "namespaces ({0})"),
377
- [3 /* SymbolKind.Package */]: localize(1356, "packages ({0})"),
378
- [25 /* SymbolKind.TypeParameter */]: localize(1357, "type parameters ({0})"),
379
- [1 /* SymbolKind.Module */]: localize(1358, "modules ({0})"),
380
- [6 /* SymbolKind.Property */]: localize(1359, "properties ({0})"),
381
- [9 /* SymbolKind.Enum */]: localize(1360, "enumerations ({0})"),
382
- [21 /* SymbolKind.EnumMember */]: localize(1361, "enumeration members ({0})"),
383
- [14 /* SymbolKind.String */]: localize(1362, "strings ({0})"),
384
- [0 /* SymbolKind.File */]: localize(1363, "files ({0})"),
385
- [17 /* SymbolKind.Array */]: localize(1364, "arrays ({0})"),
386
- [15 /* SymbolKind.Number */]: localize(1365, "numbers ({0})"),
387
- [16 /* SymbolKind.Boolean */]: localize(1366, "booleans ({0})"),
388
- [18 /* SymbolKind.Object */]: localize(1367, "objects ({0})"),
389
- [19 /* SymbolKind.Key */]: localize(1368, "keys ({0})"),
390
- [7 /* SymbolKind.Field */]: localize(1369, "fields ({0})"),
391
- [13 /* SymbolKind.Constant */]: localize(1370, "constants ({0})")
367
+ [5 /* SymbolKind.Method */]: localize(1349, "methods ({0})"),
368
+ [11 /* SymbolKind.Function */]: localize(1350, "functions ({0})"),
369
+ [8 /* SymbolKind.Constructor */]: localize(1351, "constructors ({0})"),
370
+ [12 /* SymbolKind.Variable */]: localize(1352, "variables ({0})"),
371
+ [4 /* SymbolKind.Class */]: localize(1353, "classes ({0})"),
372
+ [22 /* SymbolKind.Struct */]: localize(1354, "structs ({0})"),
373
+ [23 /* SymbolKind.Event */]: localize(1355, "events ({0})"),
374
+ [24 /* SymbolKind.Operator */]: localize(1356, "operators ({0})"),
375
+ [10 /* SymbolKind.Interface */]: localize(1357, "interfaces ({0})"),
376
+ [2 /* SymbolKind.Namespace */]: localize(1358, "namespaces ({0})"),
377
+ [3 /* SymbolKind.Package */]: localize(1359, "packages ({0})"),
378
+ [25 /* SymbolKind.TypeParameter */]: localize(1360, "type parameters ({0})"),
379
+ [1 /* SymbolKind.Module */]: localize(1361, "modules ({0})"),
380
+ [6 /* SymbolKind.Property */]: localize(1362, "properties ({0})"),
381
+ [9 /* SymbolKind.Enum */]: localize(1363, "enumerations ({0})"),
382
+ [21 /* SymbolKind.EnumMember */]: localize(1364, "enumeration members ({0})"),
383
+ [14 /* SymbolKind.String */]: localize(1365, "strings ({0})"),
384
+ [0 /* SymbolKind.File */]: localize(1366, "files ({0})"),
385
+ [17 /* SymbolKind.Array */]: localize(1367, "arrays ({0})"),
386
+ [15 /* SymbolKind.Number */]: localize(1368, "numbers ({0})"),
387
+ [16 /* SymbolKind.Boolean */]: localize(1369, "booleans ({0})"),
388
+ [18 /* SymbolKind.Object */]: localize(1370, "objects ({0})"),
389
+ [19 /* SymbolKind.Key */]: localize(1371, "keys ({0})"),
390
+ [7 /* SymbolKind.Field */]: localize(1372, "fields ({0})"),
391
+ [13 /* SymbolKind.Constant */]: localize(1373, "constants ({0})")
392
392
  };
393
393
  //#endregion
394
394
  //# sourceMappingURL=gotoSymbolQuickAccess.js.map
@@ -20,10 +20,10 @@ export class ReadOnlyMessageController extends Disposable {
20
20
  let message = this.editor.getOptions().get(105 /* EditorOption.readOnlyMessage */);
21
21
  if (!message) {
22
22
  if (this.editor.isSimpleWidget) {
23
- message = new MarkdownString(nls.localize(1371, "Cannot edit in read-only input"));
23
+ message = new MarkdownString(nls.localize(1374, "Cannot edit in read-only input"));
24
24
  }
25
25
  else {
26
- message = new MarkdownString(nls.localize(1372, "Cannot edit in read-only editor"));
26
+ message = new MarkdownString(nls.localize(1375, "Cannot edit in read-only editor"));
27
27
  }
28
28
  }
29
29
  messageController.showMessage(message, this.editor.getPosition());
@@ -99,7 +99,7 @@ class RenameSkeleton {
99
99
  }
100
100
  const result = await provider.provideRenameEdits(this.model, this.position, newName, token);
101
101
  if (!result) {
102
- return this._provideRenameEdits(newName, i + 1, rejects.concat(nls.localize(1373, "No result.")), token);
102
+ return this._provideRenameEdits(newName, i + 1, rejects.concat(nls.localize(1376, "No result.")), token);
103
103
  }
104
104
  else if (result.rejectReason) {
105
105
  return this._provideRenameEdits(newName, i + 1, rejects.concat(result.rejectReason), token);
@@ -172,7 +172,7 @@ let RenameController = class RenameController {
172
172
  else {
173
173
  trace('resolve rename location failed', e instanceof Error ? e : JSON.stringify(e, null, '\t'));
174
174
  if (typeof e === 'string' || isMarkdownString(e)) {
175
- MessageController.get(this.editor)?.showMessage(e || nls.localize(1374, "An unknown error occurred while resolving rename location"), position);
175
+ MessageController.get(this.editor)?.showMessage(e || nls.localize(1377, "An unknown error occurred while resolving rename location"), position);
176
176
  }
177
177
  }
178
178
  return undefined;
@@ -240,24 +240,24 @@ let RenameController = class RenameController {
240
240
  this._bulkEditService.apply(renameResult, {
241
241
  editor: this.editor,
242
242
  showPreview: inputFieldResult.wantsPreview,
243
- label: nls.localize(1375, "Renaming '{0}' to '{1}'", loc?.text, inputFieldResult.newName),
243
+ label: nls.localize(1378, "Renaming '{0}' to '{1}'", loc?.text, inputFieldResult.newName),
244
244
  code: 'undoredo.rename',
245
- quotableLabel: nls.localize(1376, "Renaming {0} to {1}", loc?.text, inputFieldResult.newName),
245
+ quotableLabel: nls.localize(1379, "Renaming {0} to {1}", loc?.text, inputFieldResult.newName),
246
246
  respectAutoSaveConfig: true,
247
247
  reason: EditSources.rename(),
248
248
  }).then(result => {
249
249
  trace('edits applied');
250
250
  if (result.ariaSummary) {
251
- alert(nls.localize(1377, "Successfully renamed '{0}' to '{1}'. Summary: {2}", loc.text, inputFieldResult.newName, result.ariaSummary));
251
+ alert(nls.localize(1380, "Successfully renamed '{0}' to '{1}'. Summary: {2}", loc.text, inputFieldResult.newName, result.ariaSummary));
252
252
  }
253
253
  }).catch(err => {
254
254
  trace(`error when applying edits ${JSON.stringify(err, null, '\t')}`);
255
- this._notificationService.error(nls.localize(1378, "Rename failed to apply edits"));
255
+ this._notificationService.error(nls.localize(1381, "Rename failed to apply edits"));
256
256
  this._logService.error(err);
257
257
  });
258
258
  }, err => {
259
259
  trace('error when providing rename edits', JSON.stringify(err, null, '\t'));
260
- this._notificationService.error(nls.localize(1379, "Rename failed to compute edits"));
260
+ this._notificationService.error(nls.localize(1382, "Rename failed to compute edits"));
261
261
  this._logService.error(err);
262
262
  }).finally(() => {
263
263
  cts2.dispose();
@@ -293,7 +293,7 @@ export class RenameAction extends EditorAction {
293
293
  constructor() {
294
294
  super({
295
295
  id: 'editor.action.rename',
296
- label: nls.localize2(1381, "Rename Symbol"),
296
+ label: nls.localize2(1384, "Rename Symbol"),
297
297
  precondition: ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.hasRenameProvider),
298
298
  kbOpts: {
299
299
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -373,7 +373,7 @@ registerAction2(class FocusNextRenameSuggestion extends Action2 {
373
373
  super({
374
374
  id: 'focusNextRenameSuggestion',
375
375
  title: {
376
- ...nls.localize2(1382, "Focus Next Rename Suggestion"),
376
+ ...nls.localize2(1385, "Focus Next Rename Suggestion"),
377
377
  },
378
378
  precondition: CONTEXT_RENAME_INPUT_VISIBLE,
379
379
  keybinding: [
@@ -401,7 +401,7 @@ registerAction2(class FocusPreviousRenameSuggestion extends Action2 {
401
401
  super({
402
402
  id: 'focusPreviousRenameSuggestion',
403
403
  title: {
404
- ...nls.localize2(1383, "Focus Previous Rename Suggestion"),
404
+ ...nls.localize2(1386, "Focus Previous Rename Suggestion"),
405
405
  },
406
406
  precondition: CONTEXT_RENAME_INPUT_VISIBLE,
407
407
  keybinding: [
@@ -446,7 +446,7 @@ Registry.as(Extensions.Configuration).registerConfiguration({
446
446
  properties: {
447
447
  'editor.rename.enablePreview': {
448
448
  scope: 6 /* ConfigurationScope.LANGUAGE_OVERRIDABLE */,
449
- description: nls.localize(1380, "Enable/disable the ability to preview changes before renaming"),
449
+ description: nls.localize(1383, "Enable/disable the ability to preview changes before renaming"),
450
450
  default: true,
451
451
  type: 'boolean'
452
452
  }
@@ -39,8 +39,8 @@ import { editorWidgetBackground, inputBackground, inputBorder, inputForeground,
39
39
  import { IThemeService } from '../../../../platform/theme/common/themeService.js';
40
40
  /** for debugging */
41
41
  const _sticky = false;
42
- export const CONTEXT_RENAME_INPUT_VISIBLE = new RawContextKey('renameInputVisible', false, nls.localize(1384, "Whether the rename input widget is visible"));
43
- export const CONTEXT_RENAME_INPUT_FOCUSED = new RawContextKey('renameInputFocused', false, nls.localize(1385, "Whether the rename input widget is focused"));
42
+ export const CONTEXT_RENAME_INPUT_VISIBLE = new RawContextKey('renameInputVisible', false, nls.localize(1387, "Whether the rename input widget is visible"));
43
+ export const CONTEXT_RENAME_INPUT_FOCUSED = new RawContextKey('renameInputFocused', false, nls.localize(1388, "Whether the rename input widget is focused"));
44
44
  let RenameWidget = class RenameWidget {
45
45
  constructor(_editor, _acceptKeybindings, _themeService, _keybindingService, contextKeyService, _logService) {
46
46
  this._editor = _editor;
@@ -163,7 +163,7 @@ let RenameWidget = class RenameWidget {
163
163
  }
164
164
  beforeRender() {
165
165
  const [accept, preview] = this._acceptKeybindings;
166
- this._label.innerText = nls.localize(1386, "{0} to Rename, {1} to Preview", this._keybindingService.lookupKeybinding(accept)?.getLabel(), this._keybindingService.lookupKeybinding(preview)?.getLabel());
166
+ this._label.innerText = nls.localize(1389, "{0} to Rename, {1} to Preview", this._keybindingService.lookupKeybinding(accept)?.getLabel(), this._keybindingService.lookupKeybinding(preview)?.getLabel());
167
167
  this._domNode.style.minWidth = `200px`; // to prevent from widening when candidates come in
168
168
  return null;
169
169
  }
@@ -477,7 +477,7 @@ class RenameCandidateListView {
477
477
  // adjust list container layout
478
478
  this._listContainer.style.height = `${height}px`;
479
479
  this._listContainer.style.width = `${width}px`;
480
- aria.status(nls.localize(1387, "Received {0} rename suggestions", candidates.length));
480
+ aria.status(nls.localize(1390, "Received {0} rename suggestions", candidates.length));
481
481
  }
482
482
  clearCandidates() {
483
483
  this._listContainer.style.height = '0px';
@@ -619,13 +619,13 @@ class InputWithButton {
619
619
  this._inputNode.className = 'rename-input';
620
620
  this._inputNode.type = 'text';
621
621
  this._inputNode.style.border = 'none';
622
- this._inputNode.setAttribute('aria-label', nls.localize(1388, "Rename input. Type new name and press Enter to commit."));
622
+ this._inputNode.setAttribute('aria-label', nls.localize(1391, "Rename input. Type new name and press Enter to commit."));
623
623
  this._domNode.appendChild(this._inputNode);
624
624
  this._buttonNode = document.createElement('div');
625
625
  this._buttonNode.className = 'rename-suggestions-button';
626
626
  this._buttonNode.setAttribute('tabindex', '0');
627
- this._buttonGenHoverText = nls.localize(1389, "Generate New Name Suggestions");
628
- this._buttonCancelHoverText = nls.localize(1390, "Cancel");
627
+ this._buttonGenHoverText = nls.localize(1392, "Generate New Name Suggestions");
628
+ this._buttonCancelHoverText = nls.localize(1393, "Cancel");
629
629
  this._buttonHoverContent = this._buttonGenHoverText;
630
630
  this._disposables.add(getBaseLayerHoverDelegate().setupDelayedHover(this._buttonNode, () => ({
631
631
  content: this._buttonHoverContent,
@@ -131,7 +131,7 @@ class GrowSelectionAction extends AbstractSmartSelect {
131
131
  constructor() {
132
132
  super(true, {
133
133
  id: 'editor.action.smartSelect.expand',
134
- label: nls.localize2(1393, "Expand Selection"),
134
+ label: nls.localize2(1396, "Expand Selection"),
135
135
  precondition: undefined,
136
136
  kbOpts: {
137
137
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -145,7 +145,7 @@ class GrowSelectionAction extends AbstractSmartSelect {
145
145
  menuOpts: {
146
146
  menuId: MenuId.MenubarSelectionMenu,
147
147
  group: '1_basic',
148
- title: nls.localize(1391, "&&Expand Selection"),
148
+ title: nls.localize(1394, "&&Expand Selection"),
149
149
  order: 2
150
150
  }
151
151
  });
@@ -157,7 +157,7 @@ class ShrinkSelectionAction extends AbstractSmartSelect {
157
157
  constructor() {
158
158
  super(false, {
159
159
  id: 'editor.action.smartSelect.shrink',
160
- label: nls.localize2(1394, "Shrink Selection"),
160
+ label: nls.localize2(1397, "Shrink Selection"),
161
161
  precondition: undefined,
162
162
  kbOpts: {
163
163
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -171,7 +171,7 @@ class ShrinkSelectionAction extends AbstractSmartSelect {
171
171
  menuOpts: {
172
172
  menuId: MenuId.MenubarSelectionMenu,
173
173
  group: '1_basic',
174
- title: nls.localize(1392, "&&Shrink Selection"),
174
+ title: nls.localize(1395, "&&Shrink Selection"),
175
175
  order: 3
176
176
  }
177
177
  });
@@ -40,9 +40,9 @@ let SnippetController2 = class SnippetController2 {
40
40
  static get(editor) {
41
41
  return editor.getContribution(SnippetController2_1.ID);
42
42
  }
43
- static { this.InSnippetMode = new RawContextKey('inSnippetMode', false, localize(1395, "Whether the editor in current in snippet mode")); }
44
- static { this.HasNextTabstop = new RawContextKey('hasNextTabstop', false, localize(1396, "Whether there is a next tab stop when in snippet mode")); }
45
- static { this.HasPrevTabstop = new RawContextKey('hasPrevTabstop', false, localize(1397, "Whether there is a previous tab stop when in snippet mode")); }
43
+ static { this.InSnippetMode = new RawContextKey('inSnippetMode', false, localize(1398, "Whether the editor in current in snippet mode")); }
44
+ static { this.HasNextTabstop = new RawContextKey('hasNextTabstop', false, localize(1399, "Whether there is a next tab stop when in snippet mode")); }
45
+ static { this.HasPrevTabstop = new RawContextKey('hasPrevTabstop', false, localize(1400, "Whether there is a previous tab stop when in snippet mode")); }
46
46
  constructor(_editor, _logService, _languageFeaturesService, contextKeyService, _languageConfigurationService) {
47
47
  this._editor = _editor;
48
48
  this._logService = _logService;
@@ -128,7 +128,7 @@ let SnippetController2 = class SnippetController2 {
128
128
  sortText: 'a'.repeat(i + 1),
129
129
  range: activeChoice.range,
130
130
  filterText: isAnyOfOptions ? `${word}_${option.value}` : undefined,
131
- command: { id: 'jumpToNextSnippetPlaceholder', title: localize(1398, 'Go to next placeholder...') }
131
+ command: { id: 'jumpToNextSnippetPlaceholder', title: localize(1401, 'Go to next placeholder...') }
132
132
  });
133
133
  }
134
134
  return { suggestions };
@@ -245,10 +245,10 @@ export class TimeBasedVariableResolver {
245
245
  constructor() {
246
246
  this._date = new Date();
247
247
  }
248
- static { this.dayNames = [nls.localize(1399, "Sunday"), nls.localize(1400, "Monday"), nls.localize(1401, "Tuesday"), nls.localize(1402, "Wednesday"), nls.localize(1403, "Thursday"), nls.localize(1404, "Friday"), nls.localize(1405, "Saturday")]; }
249
- static { this.dayNamesShort = [nls.localize(1406, "Sun"), nls.localize(1407, "Mon"), nls.localize(1408, "Tue"), nls.localize(1409, "Wed"), nls.localize(1410, "Thu"), nls.localize(1411, "Fri"), nls.localize(1412, "Sat")]; }
250
- static { this.monthNames = [nls.localize(1413, "January"), nls.localize(1414, "February"), nls.localize(1415, "March"), nls.localize(1416, "April"), nls.localize(1417, "May"), nls.localize(1418, "June"), nls.localize(1419, "July"), nls.localize(1420, "August"), nls.localize(1421, "September"), nls.localize(1422, "October"), nls.localize(1423, "November"), nls.localize(1424, "December")]; }
251
- static { this.monthNamesShort = [nls.localize(1425, "Jan"), nls.localize(1426, "Feb"), nls.localize(1427, "Mar"), nls.localize(1428, "Apr"), nls.localize(1429, "May"), nls.localize(1430, "Jun"), nls.localize(1431, "Jul"), nls.localize(1432, "Aug"), nls.localize(1433, "Sep"), nls.localize(1434, "Oct"), nls.localize(1435, "Nov"), nls.localize(1436, "Dec")]; }
248
+ static { this.dayNames = [nls.localize(1402, "Sunday"), nls.localize(1403, "Monday"), nls.localize(1404, "Tuesday"), nls.localize(1405, "Wednesday"), nls.localize(1406, "Thursday"), nls.localize(1407, "Friday"), nls.localize(1408, "Saturday")]; }
249
+ static { this.dayNamesShort = [nls.localize(1409, "Sun"), nls.localize(1410, "Mon"), nls.localize(1411, "Tue"), nls.localize(1412, "Wed"), nls.localize(1413, "Thu"), nls.localize(1414, "Fri"), nls.localize(1415, "Sat")]; }
250
+ static { this.monthNames = [nls.localize(1416, "January"), nls.localize(1417, "February"), nls.localize(1418, "March"), nls.localize(1419, "April"), nls.localize(1420, "May"), nls.localize(1421, "June"), nls.localize(1422, "July"), nls.localize(1423, "August"), nls.localize(1424, "September"), nls.localize(1425, "October"), nls.localize(1426, "November"), nls.localize(1427, "December")]; }
251
+ static { this.monthNamesShort = [nls.localize(1428, "Jan"), nls.localize(1429, "Feb"), nls.localize(1430, "Mar"), nls.localize(1431, "Apr"), nls.localize(1432, "May"), nls.localize(1433, "Jun"), nls.localize(1434, "Jul"), nls.localize(1435, "Aug"), nls.localize(1436, "Sep"), nls.localize(1437, "Oct"), nls.localize(1438, "Nov"), nls.localize(1439, "Dec")]; }
252
252
  resolve(variable) {
253
253
  const { name } = variable;
254
254
  if (name === 'CURRENT_YEAR') {
@@ -15,17 +15,17 @@ export class ToggleStickyScroll extends EditorAction2 {
15
15
  super({
16
16
  id: 'editor.action.toggleStickyScroll',
17
17
  title: {
18
- ...localize2(1441, "Toggle Editor Sticky Scroll"),
19
- mnemonicTitle: localize(1437, "&&Toggle Editor Sticky Scroll"),
18
+ ...localize2(1444, "Toggle Editor Sticky Scroll"),
19
+ mnemonicTitle: localize(1440, "&&Toggle Editor Sticky Scroll"),
20
20
  },
21
21
  metadata: {
22
- description: localize2(1442, "Toggle/enable the editor sticky scroll which shows the nested scopes at the top of the viewport"),
22
+ description: localize2(1445, "Toggle/enable the editor sticky scroll which shows the nested scopes at the top of the viewport"),
23
23
  },
24
24
  category: Categories.View,
25
25
  toggled: {
26
26
  condition: ContextKeyExpr.equals('config.editor.stickyScroll.enabled', true),
27
- title: localize(1438, "Sticky Scroll"),
28
- mnemonicTitle: localize(1439, "&&Sticky Scroll"),
27
+ title: localize(1441, "Sticky Scroll"),
28
+ mnemonicTitle: localize(1442, "&&Sticky Scroll"),
29
29
  },
30
30
  menu: [
31
31
  { id: MenuId.CommandPalette },
@@ -50,8 +50,8 @@ export class FocusStickyScroll extends EditorAction2 {
50
50
  super({
51
51
  id: 'editor.action.focusStickyScroll',
52
52
  title: {
53
- ...localize2(1443, "Focus Editor Sticky Scroll"),
54
- mnemonicTitle: localize(1440, "&&Focus Editor Sticky Scroll"),
53
+ ...localize2(1446, "Focus Editor Sticky Scroll"),
54
+ mnemonicTitle: localize(1443, "&&Focus Editor Sticky Scroll"),
55
55
  },
56
56
  precondition: ContextKeyExpr.and(ContextKeyExpr.has('config.editor.stickyScroll.enabled'), EditorContextKeys.stickyScrollVisible),
57
57
  menu: [
@@ -67,7 +67,7 @@ export class SelectNextStickyScrollLine extends EditorAction2 {
67
67
  constructor() {
68
68
  super({
69
69
  id: 'editor.action.selectNextStickyScrollLine',
70
- title: localize2(1444, "Select the next editor sticky scroll line"),
70
+ title: localize2(1447, "Select the next editor sticky scroll line"),
71
71
  precondition: EditorContextKeys.stickyScrollFocused.isEqualTo(true),
72
72
  keybinding: {
73
73
  weight,
@@ -83,7 +83,7 @@ export class SelectPreviousStickyScrollLine extends EditorAction2 {
83
83
  constructor() {
84
84
  super({
85
85
  id: 'editor.action.selectPreviousStickyScrollLine',
86
- title: localize2(1445, "Select the previous sticky scroll line"),
86
+ title: localize2(1448, "Select the previous sticky scroll line"),
87
87
  precondition: EditorContextKeys.stickyScrollFocused.isEqualTo(true),
88
88
  keybinding: {
89
89
  weight,
@@ -99,7 +99,7 @@ export class GoToStickyScrollLine extends EditorAction2 {
99
99
  constructor() {
100
100
  super({
101
101
  id: 'editor.action.goToFocusedStickyScrollLine',
102
- title: localize2(1446, "Go to the focused sticky scroll line"),
102
+ title: localize2(1449, "Go to the focused sticky scroll line"),
103
103
  precondition: EditorContextKeys.stickyScrollFocused.isEqualTo(true),
104
104
  keybinding: {
105
105
  weight,
@@ -115,7 +115,7 @@ export class SelectEditor extends EditorAction2 {
115
115
  constructor() {
116
116
  super({
117
117
  id: 'editor.action.selectEditor',
118
- title: localize2(1447, "Select Editor"),
118
+ title: localize2(1450, "Select Editor"),
119
119
  precondition: EditorContextKeys.stickyScrollFocused.isEqualTo(true),
120
120
  keybinding: {
121
121
  weight,
@@ -21,14 +21,14 @@ import { ILanguageFeaturesService } from '../../../common/services/languageFeatu
21
21
  import { historyNavigationVisible } from '../../../../platform/history/browser/contextScopedHistoryWidget.js';
22
22
  export const Context = {
23
23
  Visible: historyNavigationVisible,
24
- HasFocusedSuggestion: new RawContextKey('suggestWidgetHasFocusedSuggestion', false, localize(1448, "Whether any suggestion is focused")),
25
- DetailsVisible: new RawContextKey('suggestWidgetDetailsVisible', false, localize(1449, "Whether suggestion details are visible")),
26
- MultipleSuggestions: new RawContextKey('suggestWidgetMultipleSuggestions', false, localize(1450, "Whether there are multiple suggestions to pick from")),
27
- MakesTextEdit: new RawContextKey('suggestionMakesTextEdit', true, localize(1451, "Whether inserting the current suggestion yields in a change or has everything already been typed")),
28
- AcceptSuggestionsOnEnter: new RawContextKey('acceptSuggestionOnEnter', true, localize(1452, "Whether suggestions are inserted when pressing Enter")),
29
- HasInsertAndReplaceRange: new RawContextKey('suggestionHasInsertAndReplaceRange', false, localize(1453, "Whether the current suggestion has insert and replace behaviour")),
30
- InsertMode: new RawContextKey('suggestionInsertMode', undefined, { type: 'string', description: localize(1454, "Whether the default behaviour is to insert or replace") }),
31
- CanResolve: new RawContextKey('suggestionCanResolve', false, localize(1455, "Whether the current suggestion supports to resolve further details")),
24
+ HasFocusedSuggestion: new RawContextKey('suggestWidgetHasFocusedSuggestion', false, localize(1451, "Whether any suggestion is focused")),
25
+ DetailsVisible: new RawContextKey('suggestWidgetDetailsVisible', false, localize(1452, "Whether suggestion details are visible")),
26
+ MultipleSuggestions: new RawContextKey('suggestWidgetMultipleSuggestions', false, localize(1453, "Whether there are multiple suggestions to pick from")),
27
+ MakesTextEdit: new RawContextKey('suggestionMakesTextEdit', true, localize(1454, "Whether inserting the current suggestion yields in a change or has everything already been typed")),
28
+ AcceptSuggestionsOnEnter: new RawContextKey('acceptSuggestionOnEnter', true, localize(1455, "Whether suggestions are inserted when pressing Enter")),
29
+ HasInsertAndReplaceRange: new RawContextKey('suggestionHasInsertAndReplaceRange', false, localize(1456, "Whether the current suggestion has insert and replace behaviour")),
30
+ InsertMode: new RawContextKey('suggestionInsertMode', undefined, { type: 'string', description: localize(1457, "Whether the default behaviour is to insert or replace") }),
31
+ CanResolve: new RawContextKey('suggestionCanResolve', false, localize(1458, "Whether the current suggestion supports to resolve further details")),
32
32
  };
33
33
  export const suggestWidgetStatusbarMenu = new MenuId('suggestWidgetStatusBar');
34
34
  export class CompletionItem {