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

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 (210) 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 +17 -5
  18. package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  19. package/esm/vs/base/browser/ui/iconLabel/iconlabel.css +2 -3
  20. package/esm/vs/base/common/actions.js +5 -0
  21. package/esm/vs/base/common/actions.js.map +1 -1
  22. package/esm/vs/base/common/async.js +5 -5
  23. package/esm/vs/base/common/async.js.map +1 -1
  24. package/esm/vs/base/common/codiconsLibrary.js +1 -0
  25. package/esm/vs/base/common/codiconsLibrary.js.map +1 -1
  26. package/esm/vs/base/common/policy.js +40 -1
  27. package/esm/vs/base/common/policy.js.map +1 -1
  28. package/esm/vs/editor/browser/controller/editContext/native/nativeEditContext.js +20 -12
  29. package/esm/vs/editor/browser/controller/editContext/native/nativeEditContext.js.map +1 -1
  30. package/esm/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +1 -1
  31. package/esm/vs/editor/browser/controller/editContext/screenReaderUtils.js +4 -4
  32. package/esm/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
  33. package/esm/vs/editor/browser/coreCommands.js +3 -3
  34. package/esm/vs/editor/browser/editorExtensions.js +9 -9
  35. package/esm/vs/editor/browser/gpu/viewGpuContext.js +1 -1
  36. package/esm/vs/editor/browser/services/hoverService/hoverWidget.js +1 -3
  37. package/esm/vs/editor/browser/services/hoverService/hoverWidget.js.map +1 -1
  38. package/esm/vs/editor/browser/services/hoverService/updatableHoverWidget.js +1 -1
  39. package/esm/vs/editor/browser/services/inlineCompletionsService.js +4 -4
  40. package/esm/vs/editor/browser/services/inlineCompletionsService.js.map +1 -1
  41. package/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
  42. package/esm/vs/editor/browser/widget/diffEditor/commands.js +12 -12
  43. package/esm/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +14 -14
  44. package/esm/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js.map +1 -1
  45. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
  46. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/copySelection.js +1 -1
  47. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
  48. package/esm/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
  49. package/esm/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +6 -0
  50. package/esm/vs/editor/browser/widget/diffEditor/diffEditorWidget.js.map +1 -1
  51. package/esm/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
  52. package/esm/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +2 -2
  53. package/esm/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
  54. package/esm/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
  55. package/esm/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
  56. package/esm/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.js +1 -0
  57. package/esm/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.js.map +1 -1
  58. package/esm/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
  59. package/esm/vs/editor/common/config/editorConfigurationSchema.js +54 -54
  60. package/esm/vs/editor/common/config/editorOptions.js +406 -406
  61. package/esm/vs/editor/common/core/editorColorRegistry.js +68 -68
  62. package/esm/vs/editor/common/editorContextKeys.js +46 -46
  63. package/esm/vs/editor/common/languages/modesRegistry.js +1 -1
  64. package/esm/vs/editor/common/languages.js +56 -56
  65. package/esm/vs/editor/common/model/editStack.js +1 -1
  66. package/esm/vs/editor/common/standaloneStrings.js +10 -10
  67. package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
  68. package/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
  69. package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
  70. package/esm/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
  71. package/esm/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
  72. package/esm/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
  73. package/esm/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
  74. package/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
  75. package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
  76. package/esm/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
  77. package/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
  78. package/esm/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
  79. package/esm/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
  80. package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
  81. package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
  82. package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
  83. package/esm/vs/editor/contrib/comment/browser/comment.js +6 -6
  84. package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
  85. package/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  86. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
  87. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
  88. package/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
  89. package/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
  90. package/esm/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
  91. package/esm/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  92. package/esm/vs/editor/contrib/find/browser/findController.js +16 -16
  93. package/esm/vs/editor/contrib/find/browser/findWidget.js +26 -26
  94. package/esm/vs/editor/contrib/folding/browser/folding.js +20 -20
  95. package/esm/vs/editor/contrib/folding/browser/folding.js.map +1 -1
  96. package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  97. package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js.map +1 -1
  98. package/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  99. package/esm/vs/editor/contrib/format/browser/formatActions.js +2 -2
  100. package/esm/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
  101. package/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
  102. package/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
  103. package/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
  104. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
  105. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  106. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  107. package/esm/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  108. package/esm/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
  109. package/esm/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  110. package/esm/vs/editor/contrib/hover/browser/glyphHoverWidget.js +22 -2
  111. package/esm/vs/editor/contrib/hover/browser/glyphHoverWidget.js.map +1 -1
  112. package/esm/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  113. package/esm/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
  114. package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
  115. package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
  116. package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  117. package/esm/vs/editor/contrib/indentation/browser/indentation.js +20 -20
  118. package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
  119. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +18 -51
  120. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js.map +1 -1
  121. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
  122. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
  123. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +1 -1
  124. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
  125. package/esm/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js +2 -4
  126. package/esm/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js.map +1 -1
  127. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +0 -1
  128. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js.map +1 -1
  129. package/esm/vs/editor/contrib/inlineCompletions/browser/telemetry.js.map +1 -1
  130. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
  131. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
  132. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
  133. package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  134. package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  135. package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -31
  136. package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
  137. package/esm/vs/editor/contrib/links/browser/links.js +10 -10
  138. package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
  139. package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  140. package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  141. package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  142. package/esm/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  143. package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  144. package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +35 -28
  145. package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js.map +1 -1
  146. package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
  147. package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
  148. package/esm/vs/editor/contrib/rename/browser/rename.js +11 -11
  149. package/esm/vs/editor/contrib/rename/browser/renameWidget.js +8 -11
  150. package/esm/vs/editor/contrib/rename/browser/renameWidget.js.map +1 -1
  151. package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
  152. package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
  153. package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  154. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  155. package/esm/vs/editor/contrib/suggest/browser/suggest.js +8 -8
  156. package/esm/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
  157. package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
  158. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
  159. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  160. package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
  161. package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  162. package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  163. package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  164. package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  165. package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
  166. package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  167. package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  168. package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
  169. package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
  170. package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
  171. package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
  172. package/esm/vs/platform/actionWidget/browser/actionList.js +4 -4
  173. package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
  174. package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
  175. package/esm/vs/platform/actions/browser/toolbar.js +2 -2
  176. package/esm/vs/platform/actions/common/menuService.js +2 -2
  177. package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
  178. package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
  179. package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
  180. package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
  181. package/esm/vs/platform/contextkey/common/scanner.js +5 -5
  182. package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  183. package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  184. package/esm/vs/platform/list/browser/listService.js +27 -27
  185. package/esm/vs/platform/markers/common/markerService.js +2 -2
  186. package/esm/vs/platform/markers/common/markers.js +6 -6
  187. package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +7 -7
  188. package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
  189. package/esm/vs/platform/quickinput/browser/quickInput.js +10 -10
  190. package/esm/vs/platform/quickinput/browser/quickInputActions.js +5 -5
  191. package/esm/vs/platform/quickinput/browser/quickInputController.js +6 -6
  192. package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
  193. package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  194. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
  195. package/esm/vs/platform/theme/common/colorUtils.js +2 -2
  196. package/esm/vs/platform/theme/common/colors/baseColors.js +17 -17
  197. package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
  198. package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
  199. package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
  200. package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
  201. package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
  202. package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
  203. package/esm/vs/platform/theme/common/colors/miscColors.js +15 -15
  204. package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  205. package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
  206. package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
  207. package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  208. package/esm/vs/platform/workspace/common/workspace.js +1 -1
  209. package/package.json +2 -2
  210. package/version.txt +1 -1
@@ -42,15 +42,15 @@ import { isWindows } from '../../../../base/common/platform.js';
42
42
  /**
43
43
  * Suggest widget colors
44
44
  */
45
- registerColor('editorSuggestWidget.background', editorWidgetBackground, nls.localize(1462, 'Background color of the suggest widget.'));
46
- registerColor('editorSuggestWidget.border', editorWidgetBorder, nls.localize(1463, 'Border color of the suggest widget.'));
47
- export const editorSuggestWidgetForeground = registerColor('editorSuggestWidget.foreground', editorForeground, nls.localize(1464, 'Foreground color of the suggest widget.'));
48
- registerColor('editorSuggestWidget.selectedForeground', quickInputListFocusForeground, nls.localize(1465, 'Foreground color of the selected entry in the suggest widget.'));
49
- registerColor('editorSuggestWidget.selectedIconForeground', quickInputListFocusIconForeground, nls.localize(1466, 'Icon foreground color of the selected entry in the suggest widget.'));
50
- export const editorSuggestWidgetSelectedBackground = registerColor('editorSuggestWidget.selectedBackground', quickInputListFocusBackground, nls.localize(1467, 'Background color of the selected entry in the suggest widget.'));
51
- registerColor('editorSuggestWidget.highlightForeground', listHighlightForeground, nls.localize(1468, 'Color of the match highlights in the suggest widget.'));
52
- registerColor('editorSuggestWidget.focusHighlightForeground', listFocusHighlightForeground, nls.localize(1469, 'Color of the match highlights in the suggest widget when an item is focused.'));
53
- registerColor('editorSuggestWidgetStatus.foreground', transparent(editorSuggestWidgetForeground, .5), nls.localize(1470, 'Foreground color of the suggest widget status.'));
45
+ registerColor('editorSuggestWidget.background', editorWidgetBackground, nls.localize(1466, 'Background color of the suggest widget.'));
46
+ registerColor('editorSuggestWidget.border', editorWidgetBorder, nls.localize(1467, 'Border color of the suggest widget.'));
47
+ export const editorSuggestWidgetForeground = registerColor('editorSuggestWidget.foreground', editorForeground, nls.localize(1468, 'Foreground color of the suggest widget.'));
48
+ registerColor('editorSuggestWidget.selectedForeground', quickInputListFocusForeground, nls.localize(1469, 'Foreground color of the selected entry in the suggest widget.'));
49
+ registerColor('editorSuggestWidget.selectedIconForeground', quickInputListFocusIconForeground, nls.localize(1470, 'Icon foreground color of the selected entry in the suggest widget.'));
50
+ export const editorSuggestWidgetSelectedBackground = registerColor('editorSuggestWidget.selectedBackground', quickInputListFocusBackground, nls.localize(1471, 'Background color of the selected entry in the suggest widget.'));
51
+ registerColor('editorSuggestWidget.highlightForeground', listHighlightForeground, nls.localize(1472, 'Color of the match highlights in the suggest widget.'));
52
+ registerColor('editorSuggestWidget.focusHighlightForeground', listFocusHighlightForeground, nls.localize(1473, 'Color of the match highlights in the suggest widget when an item is focused.'));
53
+ registerColor('editorSuggestWidgetStatus.foreground', transparent(editorSuggestWidgetForeground, .5), nls.localize(1474, 'Foreground color of the suggest widget status.'));
54
54
  class PersistedWidgetSize {
55
55
  constructor(_service, editor) {
56
56
  this._service = _service;
@@ -78,8 +78,8 @@ class PersistedWidgetSize {
78
78
  }
79
79
  let SuggestWidget = class SuggestWidget {
80
80
  static { SuggestWidget_1 = this; }
81
- static { this.LOADING_MESSAGE = nls.localize(1471, "Loading..."); }
82
- static { this.NO_SUGGESTIONS_MESSAGE = nls.localize(1472, "No suggestions."); }
81
+ static { this.LOADING_MESSAGE = nls.localize(1475, "Loading..."); }
82
+ static { this.NO_SUGGESTIONS_MESSAGE = nls.localize(1476, "No suggestions."); }
83
83
  constructor(editor, _storageService, _contextKeyService, _themeService, instantiationService) {
84
84
  this.editor = editor;
85
85
  this._storageService = _storageService;
@@ -166,7 +166,7 @@ let SuggestWidget = class SuggestWidget {
166
166
  multipleSelectionSupport: false,
167
167
  accessibilityProvider: {
168
168
  getRole: () => isWindows ? 'listitem' : 'option',
169
- getWidgetAriaLabel: () => nls.localize(1473, "Suggest"),
169
+ getWidgetAriaLabel: () => nls.localize(1477, "Suggest"),
170
170
  getWidgetRole: () => 'listbox',
171
171
  getAriaLabel: (item) => {
172
172
  let label = item.textLabel;
@@ -174,24 +174,24 @@ let SuggestWidget = class SuggestWidget {
174
174
  if (typeof item.completion.label !== 'string') {
175
175
  const { detail, description } = item.completion.label;
176
176
  if (detail && description) {
177
- label = nls.localize(1474, '{0} {1}, {2}, {3}', label, detail, description, kindLabel);
177
+ label = nls.localize(1478, '{0} {1}, {2}, {3}', label, detail, description, kindLabel);
178
178
  }
179
179
  else if (detail) {
180
- label = nls.localize(1475, '{0} {1}, {2}', label, detail, kindLabel);
180
+ label = nls.localize(1479, '{0} {1}, {2}', label, detail, kindLabel);
181
181
  }
182
182
  else if (description) {
183
- label = nls.localize(1476, '{0}, {1}, {2}', label, description, kindLabel);
183
+ label = nls.localize(1480, '{0}, {1}, {2}', label, description, kindLabel);
184
184
  }
185
185
  }
186
186
  else {
187
- label = nls.localize(1477, '{0}, {1}', label, kindLabel);
187
+ label = nls.localize(1481, '{0}, {1}', label, kindLabel);
188
188
  }
189
189
  if (!item.isResolved || !this._isDetailsVisible()) {
190
190
  return label;
191
191
  }
192
192
  const { documentation, detail } = item.completion;
193
193
  const docs = strings.format('{0}{1}', detail || '', documentation ? (typeof documentation === 'string' ? documentation : documentation.value) : '');
194
- return nls.localize(1478, "{0}, docs: {1}", label, docs);
194
+ return nls.localize(1482, "{0}, docs: {1}", label, docs);
195
195
  },
196
196
  }
197
197
  });
@@ -48,7 +48,7 @@ let SuggestDetailsWidget = class SuggestDetailsWidget {
48
48
  this._disposables.add(this._scrollbar);
49
49
  this._header = dom.append(this._body, dom.$('.header'));
50
50
  this._close = dom.append(this._header, dom.$('span' + ThemeIcon.asCSSSelector(Codicon.close)));
51
- this._close.title = nls.localize(1479, "Close");
51
+ this._close.title = nls.localize(1483, "Close");
52
52
  this._close.role = 'button';
53
53
  this._close.tabIndex = -1;
54
54
  this._type = dom.append(this._header, dom.$('p.type'));
@@ -94,7 +94,7 @@ let SuggestDetailsWidget = class SuggestDetailsWidget {
94
94
  };
95
95
  }
96
96
  renderLoading() {
97
- this._type.textContent = nls.localize(1480, "Loading...");
97
+ this._type.textContent = nls.localize(1484, "Loading...");
98
98
  this._docs.textContent = '';
99
99
  this.domNode.classList.remove('no-docs', 'no-type');
100
100
  this.layout(this.size.width, this.getLayoutInfo().lineHeight * 2);
@@ -28,7 +28,7 @@ import { FileKind } from '../../../../platform/files/common/files.js';
28
28
  import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
29
29
  import { IThemeService } from '../../../../platform/theme/common/themeService.js';
30
30
  import { canExpandCompletionItem } from './suggestWidgetDetails.js';
31
- const suggestMoreInfoIcon = registerIcon('suggest-more-info', Codicon.chevronRight, nls.localize(1481, 'Icon for more information in the suggest widget.'));
31
+ const suggestMoreInfoIcon = registerIcon('suggest-more-info', Codicon.chevronRight, nls.localize(1485, 'Icon for more information in the suggest widget.'));
32
32
  const _completionItemColor = new class ColorExtractor {
33
33
  static { this._regexRelaxed = /(#([\da-fA-F]{3}){1,2}|(rgb|hsl)a\(\s*(\d{1,3}%?\s*,\s*){3}(1|0?\.\d+)\)|(rgb|hsl)\(\s*\d{1,3}%?(\s*,\s*\d{1,3}%?){2}\s*\))/; }
34
34
  static { this._regexStrict = new RegExp(`^${ColorExtractor._regexRelaxed.source}$`, 'i'); }
@@ -84,7 +84,7 @@ let ItemRenderer = class ItemRenderer {
84
84
  const qualifierLabel = append(left, $('span.qualifier-label'));
85
85
  const detailsLabel = append(right, $('span.details-label'));
86
86
  const readMore = append(right, $('span.readMore' + ThemeIcon.asCSSSelector(suggestMoreInfoIcon)));
87
- readMore.title = nls.localize(1482, "Read More");
87
+ readMore.title = nls.localize(1486, "Read More");
88
88
  const configureFont = () => {
89
89
  const options = this._editor.getOptions();
90
90
  const fontInfo = options.get(59 /* EditorOption.fontInfo */);
@@ -16,7 +16,7 @@ import { IContextKeyService, RawContextKey } from '../../../../platform/contextk
16
16
  import { localize } from '../../../../nls.js';
17
17
  let WordContextKey = class WordContextKey {
18
18
  static { WordContextKey_1 = this; }
19
- static { this.AtEnd = new RawContextKey('atEndOfWord', false, { type: 'boolean', description: localize(1483, "A context key that is true when at the end of a word. Note that this is only defined when tab-completions are enabled") }); }
19
+ static { this.AtEnd = new RawContextKey('atEndOfWord', false, { type: 'boolean', description: localize(1487, "A context key that is true when at the end of a word. Note that this is only defined when tab-completions are enabled") }); }
20
20
  constructor(_editor, contextKeyService) {
21
21
  this._editor = _editor;
22
22
  this._enabled = false;
@@ -5,87 +5,87 @@
5
5
  import './symbolIcons.css';
6
6
  import { localize } from '../../../../nls.js';
7
7
  import { foreground, registerColor } from '../../../../platform/theme/common/colorRegistry.js';
8
- export const SYMBOL_ICON_ARRAY_FOREGROUND = registerColor('symbolIcon.arrayForeground', foreground, localize(1484, 'The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
9
- export const SYMBOL_ICON_BOOLEAN_FOREGROUND = registerColor('symbolIcon.booleanForeground', foreground, localize(1485, 'The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
8
+ export const SYMBOL_ICON_ARRAY_FOREGROUND = registerColor('symbolIcon.arrayForeground', foreground, localize(1488, 'The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
9
+ export const SYMBOL_ICON_BOOLEAN_FOREGROUND = registerColor('symbolIcon.booleanForeground', foreground, localize(1489, 'The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
10
10
  export const SYMBOL_ICON_CLASS_FOREGROUND = registerColor('symbolIcon.classForeground', {
11
11
  dark: '#EE9D28',
12
12
  light: '#D67E00',
13
13
  hcDark: '#EE9D28',
14
14
  hcLight: '#D67E00'
15
- }, localize(1486, 'The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
16
- export const SYMBOL_ICON_COLOR_FOREGROUND = registerColor('symbolIcon.colorForeground', foreground, localize(1487, 'The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
17
- export const SYMBOL_ICON_CONSTANT_FOREGROUND = registerColor('symbolIcon.constantForeground', foreground, localize(1488, 'The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
15
+ }, localize(1490, 'The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
16
+ export const SYMBOL_ICON_COLOR_FOREGROUND = registerColor('symbolIcon.colorForeground', foreground, localize(1491, 'The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
17
+ export const SYMBOL_ICON_CONSTANT_FOREGROUND = registerColor('symbolIcon.constantForeground', foreground, localize(1492, 'The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
18
18
  export const SYMBOL_ICON_CONSTRUCTOR_FOREGROUND = registerColor('symbolIcon.constructorForeground', {
19
19
  dark: '#B180D7',
20
20
  light: '#652D90',
21
21
  hcDark: '#B180D7',
22
22
  hcLight: '#652D90'
23
- }, localize(1489, 'The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
23
+ }, localize(1493, 'The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
24
24
  export const SYMBOL_ICON_ENUMERATOR_FOREGROUND = registerColor('symbolIcon.enumeratorForeground', {
25
25
  dark: '#EE9D28',
26
26
  light: '#D67E00',
27
27
  hcDark: '#EE9D28',
28
28
  hcLight: '#D67E00'
29
- }, localize(1490, 'The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
29
+ }, localize(1494, 'The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
30
30
  export const SYMBOL_ICON_ENUMERATOR_MEMBER_FOREGROUND = registerColor('symbolIcon.enumeratorMemberForeground', {
31
31
  dark: '#75BEFF',
32
32
  light: '#007ACC',
33
33
  hcDark: '#75BEFF',
34
34
  hcLight: '#007ACC'
35
- }, localize(1491, 'The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
35
+ }, localize(1495, 'The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
36
36
  export const SYMBOL_ICON_EVENT_FOREGROUND = registerColor('symbolIcon.eventForeground', {
37
37
  dark: '#EE9D28',
38
38
  light: '#D67E00',
39
39
  hcDark: '#EE9D28',
40
40
  hcLight: '#D67E00'
41
- }, localize(1492, 'The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
41
+ }, localize(1496, 'The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
42
42
  export const SYMBOL_ICON_FIELD_FOREGROUND = registerColor('symbolIcon.fieldForeground', {
43
43
  dark: '#75BEFF',
44
44
  light: '#007ACC',
45
45
  hcDark: '#75BEFF',
46
46
  hcLight: '#007ACC'
47
- }, localize(1493, 'The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
48
- export const SYMBOL_ICON_FILE_FOREGROUND = registerColor('symbolIcon.fileForeground', foreground, localize(1494, 'The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
49
- export const SYMBOL_ICON_FOLDER_FOREGROUND = registerColor('symbolIcon.folderForeground', foreground, localize(1495, 'The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
47
+ }, localize(1497, 'The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
48
+ export const SYMBOL_ICON_FILE_FOREGROUND = registerColor('symbolIcon.fileForeground', foreground, localize(1498, 'The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
49
+ export const SYMBOL_ICON_FOLDER_FOREGROUND = registerColor('symbolIcon.folderForeground', foreground, localize(1499, 'The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
50
50
  export const SYMBOL_ICON_FUNCTION_FOREGROUND = registerColor('symbolIcon.functionForeground', {
51
51
  dark: '#B180D7',
52
52
  light: '#652D90',
53
53
  hcDark: '#B180D7',
54
54
  hcLight: '#652D90'
55
- }, localize(1496, 'The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
55
+ }, localize(1500, 'The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
56
56
  export const SYMBOL_ICON_INTERFACE_FOREGROUND = registerColor('symbolIcon.interfaceForeground', {
57
57
  dark: '#75BEFF',
58
58
  light: '#007ACC',
59
59
  hcDark: '#75BEFF',
60
60
  hcLight: '#007ACC'
61
- }, localize(1497, 'The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
62
- export const SYMBOL_ICON_KEY_FOREGROUND = registerColor('symbolIcon.keyForeground', foreground, localize(1498, 'The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
63
- export const SYMBOL_ICON_KEYWORD_FOREGROUND = registerColor('symbolIcon.keywordForeground', foreground, localize(1499, 'The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
61
+ }, localize(1501, 'The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
62
+ export const SYMBOL_ICON_KEY_FOREGROUND = registerColor('symbolIcon.keyForeground', foreground, localize(1502, 'The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
63
+ export const SYMBOL_ICON_KEYWORD_FOREGROUND = registerColor('symbolIcon.keywordForeground', foreground, localize(1503, 'The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
64
64
  export const SYMBOL_ICON_METHOD_FOREGROUND = registerColor('symbolIcon.methodForeground', {
65
65
  dark: '#B180D7',
66
66
  light: '#652D90',
67
67
  hcDark: '#B180D7',
68
68
  hcLight: '#652D90'
69
- }, localize(1500, 'The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
70
- export const SYMBOL_ICON_MODULE_FOREGROUND = registerColor('symbolIcon.moduleForeground', foreground, localize(1501, 'The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
71
- export const SYMBOL_ICON_NAMESPACE_FOREGROUND = registerColor('symbolIcon.namespaceForeground', foreground, localize(1502, 'The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
72
- export const SYMBOL_ICON_NULL_FOREGROUND = registerColor('symbolIcon.nullForeground', foreground, localize(1503, 'The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
73
- export const SYMBOL_ICON_NUMBER_FOREGROUND = registerColor('symbolIcon.numberForeground', foreground, localize(1504, 'The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
74
- export const SYMBOL_ICON_OBJECT_FOREGROUND = registerColor('symbolIcon.objectForeground', foreground, localize(1505, 'The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
75
- export const SYMBOL_ICON_OPERATOR_FOREGROUND = registerColor('symbolIcon.operatorForeground', foreground, localize(1506, 'The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
76
- export const SYMBOL_ICON_PACKAGE_FOREGROUND = registerColor('symbolIcon.packageForeground', foreground, localize(1507, 'The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
77
- export const SYMBOL_ICON_PROPERTY_FOREGROUND = registerColor('symbolIcon.propertyForeground', foreground, localize(1508, 'The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
78
- export const SYMBOL_ICON_REFERENCE_FOREGROUND = registerColor('symbolIcon.referenceForeground', foreground, localize(1509, 'The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
79
- export const SYMBOL_ICON_SNIPPET_FOREGROUND = registerColor('symbolIcon.snippetForeground', foreground, localize(1510, 'The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
80
- export const SYMBOL_ICON_STRING_FOREGROUND = registerColor('symbolIcon.stringForeground', foreground, localize(1511, 'The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
81
- export const SYMBOL_ICON_STRUCT_FOREGROUND = registerColor('symbolIcon.structForeground', foreground, localize(1512, 'The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
82
- export const SYMBOL_ICON_TEXT_FOREGROUND = registerColor('symbolIcon.textForeground', foreground, localize(1513, 'The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
83
- export const SYMBOL_ICON_TYPEPARAMETER_FOREGROUND = registerColor('symbolIcon.typeParameterForeground', foreground, localize(1514, 'The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
84
- export const SYMBOL_ICON_UNIT_FOREGROUND = registerColor('symbolIcon.unitForeground', foreground, localize(1515, 'The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
69
+ }, localize(1504, 'The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
70
+ export const SYMBOL_ICON_MODULE_FOREGROUND = registerColor('symbolIcon.moduleForeground', foreground, localize(1505, 'The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
71
+ export const SYMBOL_ICON_NAMESPACE_FOREGROUND = registerColor('symbolIcon.namespaceForeground', foreground, localize(1506, 'The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
72
+ export const SYMBOL_ICON_NULL_FOREGROUND = registerColor('symbolIcon.nullForeground', foreground, localize(1507, 'The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
73
+ export const SYMBOL_ICON_NUMBER_FOREGROUND = registerColor('symbolIcon.numberForeground', foreground, localize(1508, 'The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
74
+ export const SYMBOL_ICON_OBJECT_FOREGROUND = registerColor('symbolIcon.objectForeground', foreground, localize(1509, 'The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
75
+ export const SYMBOL_ICON_OPERATOR_FOREGROUND = registerColor('symbolIcon.operatorForeground', foreground, localize(1510, 'The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
76
+ export const SYMBOL_ICON_PACKAGE_FOREGROUND = registerColor('symbolIcon.packageForeground', foreground, localize(1511, 'The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
77
+ export const SYMBOL_ICON_PROPERTY_FOREGROUND = registerColor('symbolIcon.propertyForeground', foreground, localize(1512, 'The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
78
+ export const SYMBOL_ICON_REFERENCE_FOREGROUND = registerColor('symbolIcon.referenceForeground', foreground, localize(1513, 'The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
79
+ export const SYMBOL_ICON_SNIPPET_FOREGROUND = registerColor('symbolIcon.snippetForeground', foreground, localize(1514, 'The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
80
+ export const SYMBOL_ICON_STRING_FOREGROUND = registerColor('symbolIcon.stringForeground', foreground, localize(1515, 'The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
81
+ export const SYMBOL_ICON_STRUCT_FOREGROUND = registerColor('symbolIcon.structForeground', foreground, localize(1516, 'The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
82
+ export const SYMBOL_ICON_TEXT_FOREGROUND = registerColor('symbolIcon.textForeground', foreground, localize(1517, 'The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
83
+ export const SYMBOL_ICON_TYPEPARAMETER_FOREGROUND = registerColor('symbolIcon.typeParameterForeground', foreground, localize(1518, 'The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
84
+ export const SYMBOL_ICON_UNIT_FOREGROUND = registerColor('symbolIcon.unitForeground', foreground, localize(1519, 'The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
85
85
  export const SYMBOL_ICON_VARIABLE_FOREGROUND = registerColor('symbolIcon.variableForeground', {
86
86
  dark: '#75BEFF',
87
87
  light: '#007ACC',
88
88
  hcDark: '#75BEFF',
89
89
  hcLight: '#007ACC',
90
- }, localize(1516, 'The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
90
+ }, localize(1520, 'The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
91
91
  //# sourceMappingURL=symbolIcons.js.map
@@ -11,7 +11,7 @@ export class ToggleTabFocusModeAction extends Action2 {
11
11
  constructor() {
12
12
  super({
13
13
  id: ToggleTabFocusModeAction.ID,
14
- title: nls.localize2(1519, 'Toggle Tab Key Moves Focus'),
14
+ title: nls.localize2(1523, 'Toggle Tab Key Moves Focus'),
15
15
  precondition: undefined,
16
16
  keybinding: {
17
17
  primary: 2048 /* KeyMod.CtrlCmd */ | 43 /* KeyCode.KeyM */,
@@ -19,7 +19,7 @@ export class ToggleTabFocusModeAction extends Action2 {
19
19
  weight: 100 /* KeybindingWeight.EditorContrib */
20
20
  },
21
21
  metadata: {
22
- description: nls.localize2(1520, "Determines whether the tab key moves focus around the workbench or inserts the tab character in the current editor. This is also called tab trapping, tab navigation, or tab focus mode."),
22
+ description: nls.localize2(1524, "Determines whether the tab key moves focus around the workbench or inserts the tab character in the current editor. This is also called tab trapping, tab navigation, or tab focus mode."),
23
23
  },
24
24
  f1: true
25
25
  });
@@ -29,10 +29,10 @@ export class ToggleTabFocusModeAction extends Action2 {
29
29
  const newValue = !oldValue;
30
30
  TabFocus.setTabFocusMode(newValue);
31
31
  if (newValue) {
32
- alert(nls.localize(1517, "Pressing Tab will now move focus to the next focusable element"));
32
+ alert(nls.localize(1521, "Pressing Tab will now move focus to the next focusable element"));
33
33
  }
34
34
  else {
35
- alert(nls.localize(1518, "Pressing Tab will now insert the tab character"));
35
+ alert(nls.localize(1522, "Pressing Tab will now insert the tab character"));
36
36
  }
37
37
  }
38
38
  }
@@ -9,7 +9,7 @@ class ForceRetokenizeAction extends EditorAction {
9
9
  constructor() {
10
10
  super({
11
11
  id: 'editor.action.forceRetokenize',
12
- label: nls.localize2(1521, "Developer: Force Retokenize"),
12
+ label: nls.localize2(1525, "Developer: Force Retokenize"),
13
13
  precondition: undefined
14
14
  });
15
15
  }
@@ -106,7 +106,7 @@ let Banner = class Banner extends Disposable {
106
106
  // Action
107
107
  const actionBarContainer = append(this.element, $('div.action-container'));
108
108
  this.actionBar = this._register(new ActionBar(actionBarContainer));
109
- this.actionBar.push(this._register(new Action('banner.close', localize(1522, "Close Banner"), ThemeIcon.asClassName(widgetClose), true, () => {
109
+ this.actionBar.push(this._register(new Action('banner.close', localize(1526, "Close Banner"), ThemeIcon.asClassName(widgetClose), true, () => {
110
110
  if (typeof item.onClose === 'function') {
111
111
  item.onClose();
112
112
  }
@@ -36,7 +36,7 @@ import { Action2, registerAction2 } from '../../../../platform/actions/common/ac
36
36
  import { safeIntl } from '../../../../base/common/date.js';
37
37
  import { isModelDecorationInComment, isModelDecorationInString, isModelDecorationVisible } from '../../../common/viewModel/viewModelDecoration.js';
38
38
  import { IMarkdownRendererService } from '../../../../platform/markdown/browser/markdownRenderer.js';
39
- export const warningIcon = registerIcon('extensions-warning-message', Codicon.warning, nls.localize(1523, 'Icon shown with a warning message in the extensions editor.'));
39
+ export const warningIcon = registerIcon('extensions-warning-message', Codicon.warning, nls.localize(1527, 'Icon shown with a warning message in the extensions editor.'));
40
40
  let UnicodeHighlighter = class UnicodeHighlighter extends Disposable {
41
41
  static { this.ID = 'editor.contrib.unicodeHighlighter'; }
42
42
  constructor(_editor, _editorWorkerService, _workspaceTrustService, instantiationService) {
@@ -56,19 +56,19 @@ let UnicodeHighlighter = class UnicodeHighlighter extends Disposable {
56
56
  let data;
57
57
  if (state.nonBasicAsciiCharacterCount >= max) {
58
58
  data = {
59
- message: nls.localize(1524, 'This document contains many non-basic ASCII unicode characters'),
59
+ message: nls.localize(1528, 'This document contains many non-basic ASCII unicode characters'),
60
60
  command: new DisableHighlightingOfNonBasicAsciiCharactersAction(),
61
61
  };
62
62
  }
63
63
  else if (state.ambiguousCharacterCount >= max) {
64
64
  data = {
65
- message: nls.localize(1525, 'This document contains many ambiguous unicode characters'),
65
+ message: nls.localize(1529, 'This document contains many ambiguous unicode characters'),
66
66
  command: new DisableHighlightingOfAmbiguousCharactersAction(),
67
67
  };
68
68
  }
69
69
  else if (state.invisibleCharacterCount >= max) {
70
70
  data = {
71
- message: nls.localize(1526, 'This document contains many invisible unicode characters'),
71
+ message: nls.localize(1530, 'This document contains many invisible unicode characters'),
72
72
  command: new DisableHighlightingOfInvisibleCharactersAction(),
73
73
  };
74
74
  }
@@ -337,7 +337,7 @@ class ViewportUnicodeHighlighter extends Disposable {
337
337
  };
338
338
  }
339
339
  }
340
- const configureUnicodeHighlightOptionsStr = nls.localize(1527, 'Configure Unicode Highlight Options');
340
+ const configureUnicodeHighlightOptionsStr = nls.localize(1531, 'Configure Unicode Highlight Options');
341
341
  let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipant {
342
342
  constructor(_editor, _markdownRendererService) {
343
343
  this._editor = _editor;
@@ -369,18 +369,18 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
369
369
  switch (highlightInfo.reason.kind) {
370
370
  case 0 /* UnicodeHighlighterReasonKind.Ambiguous */: {
371
371
  if (isBasicASCII(highlightInfo.reason.confusableWith)) {
372
- reason = nls.localize(1528, 'The character {0} could be confused with the ASCII character {1}, which is more common in source code.', codePointStr, formatCodePointMarkdown(highlightInfo.reason.confusableWith.codePointAt(0)));
372
+ reason = nls.localize(1532, 'The character {0} could be confused with the ASCII character {1}, which is more common in source code.', codePointStr, formatCodePointMarkdown(highlightInfo.reason.confusableWith.codePointAt(0)));
373
373
  }
374
374
  else {
375
- reason = nls.localize(1529, 'The character {0} could be confused with the character {1}, which is more common in source code.', codePointStr, formatCodePointMarkdown(highlightInfo.reason.confusableWith.codePointAt(0)));
375
+ reason = nls.localize(1533, 'The character {0} could be confused with the character {1}, which is more common in source code.', codePointStr, formatCodePointMarkdown(highlightInfo.reason.confusableWith.codePointAt(0)));
376
376
  }
377
377
  break;
378
378
  }
379
379
  case 1 /* UnicodeHighlighterReasonKind.Invisible */:
380
- reason = nls.localize(1530, 'The character {0} is invisible.', codePointStr);
380
+ reason = nls.localize(1534, 'The character {0} is invisible.', codePointStr);
381
381
  break;
382
382
  case 2 /* UnicodeHighlighterReasonKind.NonBasicAscii */:
383
- reason = nls.localize(1531, 'The character {0} is not a basic ASCII character.', codePointStr);
383
+ reason = nls.localize(1535, 'The character {0} is not a basic ASCII character.', codePointStr);
384
384
  break;
385
385
  }
386
386
  if (existedReason.has(reason)) {
@@ -393,7 +393,7 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
393
393
  inComment: highlightInfo.inComment,
394
394
  inString: highlightInfo.inString,
395
395
  };
396
- const adjustSettings = nls.localize(1532, 'Adjust settings');
396
+ const adjustSettings = nls.localize(1536, 'Adjust settings');
397
397
  const uri = createCommandUri(ShowExcludeOptions.ID, adjustSettingsArgs);
398
398
  const markdown = new MarkdownString('', true)
399
399
  .appendMarkdown(reason)
@@ -462,10 +462,10 @@ export class DisableHighlightingInCommentsAction extends EditorAction {
462
462
  constructor() {
463
463
  super({
464
464
  id: DisableHighlightingOfAmbiguousCharactersAction.ID,
465
- label: nls.localize2(1541, "Disable highlighting of characters in comments"),
465
+ label: nls.localize2(1545, "Disable highlighting of characters in comments"),
466
466
  precondition: undefined
467
467
  });
468
- this.shortLabel = nls.localize(1533, 'Disable Highlight In Comments');
468
+ this.shortLabel = nls.localize(1537, 'Disable Highlight In Comments');
469
469
  }
470
470
  async run(accessor, editor, args) {
471
471
  const configurationService = accessor.get(IConfigurationService);
@@ -481,10 +481,10 @@ export class DisableHighlightingInStringsAction extends EditorAction {
481
481
  constructor() {
482
482
  super({
483
483
  id: DisableHighlightingOfAmbiguousCharactersAction.ID,
484
- label: nls.localize2(1542, "Disable highlighting of characters in strings"),
484
+ label: nls.localize2(1546, "Disable highlighting of characters in strings"),
485
485
  precondition: undefined
486
486
  });
487
- this.shortLabel = nls.localize(1534, 'Disable Highlight In Strings');
487
+ this.shortLabel = nls.localize(1538, 'Disable Highlight In Strings');
488
488
  }
489
489
  async run(accessor, editor, args) {
490
490
  const configurationService = accessor.get(IConfigurationService);
@@ -501,11 +501,11 @@ export class DisableHighlightingOfAmbiguousCharactersAction extends Action2 {
501
501
  constructor() {
502
502
  super({
503
503
  id: DisableHighlightingOfAmbiguousCharactersAction.ID,
504
- title: nls.localize2(1543, "Disable highlighting of ambiguous characters"),
504
+ title: nls.localize2(1547, "Disable highlighting of ambiguous characters"),
505
505
  precondition: undefined,
506
506
  f1: false,
507
507
  });
508
- this.shortLabel = nls.localize(1535, 'Disable Ambiguous Highlight');
508
+ this.shortLabel = nls.localize(1539, 'Disable Ambiguous Highlight');
509
509
  }
510
510
  async run(accessor, editor, args) {
511
511
  const configurationService = accessor.get(IConfigurationService);
@@ -522,11 +522,11 @@ export class DisableHighlightingOfInvisibleCharactersAction extends Action2 {
522
522
  constructor() {
523
523
  super({
524
524
  id: DisableHighlightingOfInvisibleCharactersAction.ID,
525
- title: nls.localize2(1544, "Disable highlighting of invisible characters"),
525
+ title: nls.localize2(1548, "Disable highlighting of invisible characters"),
526
526
  precondition: undefined,
527
527
  f1: false,
528
528
  });
529
- this.shortLabel = nls.localize(1536, 'Disable Invisible Highlight');
529
+ this.shortLabel = nls.localize(1540, 'Disable Invisible Highlight');
530
530
  }
531
531
  async run(accessor, editor, args) {
532
532
  const configurationService = accessor.get(IConfigurationService);
@@ -543,11 +543,11 @@ export class DisableHighlightingOfNonBasicAsciiCharactersAction extends Action2
543
543
  constructor() {
544
544
  super({
545
545
  id: DisableHighlightingOfNonBasicAsciiCharactersAction.ID,
546
- title: nls.localize2(1545, "Disable highlighting of non basic ASCII characters"),
546
+ title: nls.localize2(1549, "Disable highlighting of non basic ASCII characters"),
547
547
  precondition: undefined,
548
548
  f1: false,
549
549
  });
550
- this.shortLabel = nls.localize(1537, 'Disable Non ASCII Highlight');
550
+ this.shortLabel = nls.localize(1541, 'Disable Non ASCII Highlight');
551
551
  }
552
552
  async run(accessor, editor, args) {
553
553
  const configurationService = accessor.get(IConfigurationService);
@@ -564,7 +564,7 @@ export class ShowExcludeOptions extends Action2 {
564
564
  constructor() {
565
565
  super({
566
566
  id: ShowExcludeOptions.ID,
567
- title: nls.localize2(1546, "Show Exclude Options"),
567
+ title: nls.localize2(1550, "Show Exclude Options"),
568
568
  precondition: undefined,
569
569
  f1: false,
570
570
  });
@@ -576,15 +576,15 @@ export class ShowExcludeOptions extends Action2 {
576
576
  const configurationService = accessor.get(IConfigurationService);
577
577
  function getExcludeCharFromBeingHighlightedLabel(codePoint) {
578
578
  if (InvisibleCharacters.isInvisibleCharacter(codePoint)) {
579
- return nls.localize(1538, 'Exclude {0} (invisible character) from being highlighted', codePointToHex(codePoint));
579
+ return nls.localize(1542, 'Exclude {0} (invisible character) from being highlighted', codePointToHex(codePoint));
580
580
  }
581
- return nls.localize(1539, 'Exclude {0} from being highlighted', `${codePointToHex(codePoint)} "${char}"`);
581
+ return nls.localize(1543, 'Exclude {0} from being highlighted', `${codePointToHex(codePoint)} "${char}"`);
582
582
  }
583
583
  const options = [];
584
584
  if (reason.kind === 0 /* UnicodeHighlighterReasonKind.Ambiguous */) {
585
585
  for (const locale of reason.notAmbiguousInLocales) {
586
586
  options.push({
587
- label: nls.localize(1540, "Allow unicode characters that are more common in the language \"{0}\".", locale),
587
+ label: nls.localize(1544, "Allow unicode characters that are more common in the language \"{0}\".", locale),
588
588
  run: async () => {
589
589
  excludeLocaleFromBeingHighlighted(configurationService, [locale]);
590
590
  },
@@ -85,11 +85,11 @@ let UnusualLineTerminatorsDetector = class UnusualLineTerminatorsDetector extend
85
85
  try {
86
86
  this._isPresentingDialog = true;
87
87
  result = await this._dialogService.confirm({
88
- title: nls.localize(1547, "Unusual Line Terminators"),
89
- message: nls.localize(1548, "Detected unusual line terminators"),
90
- detail: nls.localize(1549, "The file '{0}' contains one or more unusual line terminator characters, like Line Separator (LS) or Paragraph Separator (PS).\n\nIt is recommended to remove them from the file. This can be configured via `editor.unusualLineTerminators`.", basename(model.uri)),
91
- primaryButton: nls.localize(1550, "&&Remove Unusual Line Terminators"),
92
- cancelButton: nls.localize(1551, "Ignore")
88
+ title: nls.localize(1551, "Unusual Line Terminators"),
89
+ message: nls.localize(1552, "Detected unusual line terminators"),
90
+ detail: nls.localize(1553, "The file '{0}' contains one or more unusual line terminator characters, like Line Separator (LS) or Paragraph Separator (PS).\n\nIt is recommended to remove them from the file. This can be configured via `editor.unusualLineTerminators`.", basename(model.uri)),
91
+ primaryButton: nls.localize(1554, "&&Remove Unusual Line Terminators"),
92
+ cancelButton: nls.localize(1555, "Ignore")
93
93
  });
94
94
  }
95
95
  finally {
@@ -9,15 +9,15 @@ import { DocumentHighlightKind } from '../../../common/languages.js';
9
9
  import * as nls from '../../../../nls.js';
10
10
  import { activeContrastBorder, editorSelectionHighlight, minimapSelectionOccurrenceHighlight, overviewRulerSelectionHighlightForeground, registerColor } from '../../../../platform/theme/common/colorRegistry.js';
11
11
  import { registerThemingParticipant, themeColorFromId } from '../../../../platform/theme/common/themeService.js';
12
- const wordHighlightBackground = registerColor('editor.wordHighlightBackground', { dark: '#575757B8', light: '#57575740', hcDark: null, hcLight: null }, nls.localize(1552, 'Background color of a symbol during read-access, like reading a variable. The color must not be opaque so as not to hide underlying decorations.'), true);
13
- registerColor('editor.wordHighlightStrongBackground', { dark: '#004972B8', light: '#0e639c40', hcDark: null, hcLight: null }, nls.localize(1553, 'Background color of a symbol during write-access, like writing to a variable. The color must not be opaque so as not to hide underlying decorations.'), true);
14
- registerColor('editor.wordHighlightTextBackground', wordHighlightBackground, nls.localize(1554, 'Background color of a textual occurrence for a symbol. The color must not be opaque so as not to hide underlying decorations.'), true);
15
- const wordHighlightBorder = registerColor('editor.wordHighlightBorder', { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize(1555, 'Border color of a symbol during read-access, like reading a variable.'));
16
- registerColor('editor.wordHighlightStrongBorder', { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize(1556, 'Border color of a symbol during write-access, like writing to a variable.'));
17
- registerColor('editor.wordHighlightTextBorder', wordHighlightBorder, nls.localize(1557, "Border color of a textual occurrence for a symbol."));
18
- const overviewRulerWordHighlightForeground = registerColor('editorOverviewRuler.wordHighlightForeground', '#A0A0A0CC', nls.localize(1558, 'Overview ruler marker color for symbol highlights. The color must not be opaque so as not to hide underlying decorations.'), true);
19
- const overviewRulerWordHighlightStrongForeground = registerColor('editorOverviewRuler.wordHighlightStrongForeground', '#C0A0C0CC', nls.localize(1559, 'Overview ruler marker color for write-access symbol highlights. The color must not be opaque so as not to hide underlying decorations.'), true);
20
- const overviewRulerWordHighlightTextForeground = registerColor('editorOverviewRuler.wordHighlightTextForeground', overviewRulerSelectionHighlightForeground, nls.localize(1560, 'Overview ruler marker color of a textual occurrence for a symbol. The color must not be opaque so as not to hide underlying decorations.'), true);
12
+ const wordHighlightBackground = registerColor('editor.wordHighlightBackground', { dark: '#575757B8', light: '#57575740', hcDark: null, hcLight: null }, nls.localize(1556, 'Background color of a symbol during read-access, like reading a variable. The color must not be opaque so as not to hide underlying decorations.'), true);
13
+ registerColor('editor.wordHighlightStrongBackground', { dark: '#004972B8', light: '#0e639c40', hcDark: null, hcLight: null }, nls.localize(1557, 'Background color of a symbol during write-access, like writing to a variable. The color must not be opaque so as not to hide underlying decorations.'), true);
14
+ registerColor('editor.wordHighlightTextBackground', wordHighlightBackground, nls.localize(1558, 'Background color of a textual occurrence for a symbol. The color must not be opaque so as not to hide underlying decorations.'), true);
15
+ const wordHighlightBorder = registerColor('editor.wordHighlightBorder', { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize(1559, 'Border color of a symbol during read-access, like reading a variable.'));
16
+ registerColor('editor.wordHighlightStrongBorder', { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize(1560, 'Border color of a symbol during write-access, like writing to a variable.'));
17
+ registerColor('editor.wordHighlightTextBorder', wordHighlightBorder, nls.localize(1561, "Border color of a textual occurrence for a symbol."));
18
+ const overviewRulerWordHighlightForeground = registerColor('editorOverviewRuler.wordHighlightForeground', '#A0A0A0CC', nls.localize(1562, 'Overview ruler marker color for symbol highlights. The color must not be opaque so as not to hide underlying decorations.'), true);
19
+ const overviewRulerWordHighlightStrongForeground = registerColor('editorOverviewRuler.wordHighlightStrongForeground', '#C0A0C0CC', nls.localize(1563, 'Overview ruler marker color for write-access symbol highlights. The color must not be opaque so as not to hide underlying decorations.'), true);
20
+ const overviewRulerWordHighlightTextForeground = registerColor('editorOverviewRuler.wordHighlightTextForeground', overviewRulerSelectionHighlightForeground, nls.localize(1564, 'Overview ruler marker color of a textual occurrence for a symbol. The color must not be opaque so as not to hide underlying decorations.'), true);
21
21
  const _WRITE_OPTIONS = ModelDecorationOptions.register({
22
22
  description: 'word-highlight-strong',
23
23
  stickiness: 1 /* TrackedRangeStickiness.NeverGrowsWhenTypingAtEdges */,
@@ -742,7 +742,7 @@ class NextWordHighlightAction extends WordHighlightNavigationAction {
742
742
  constructor() {
743
743
  super(true, {
744
744
  id: 'editor.action.wordHighlight.next',
745
- label: nls.localize2(1561, "Go to Next Symbol Highlight"),
745
+ label: nls.localize2(1565, "Go to Next Symbol Highlight"),
746
746
  precondition: ctxHasWordHighlights,
747
747
  kbOpts: {
748
748
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -756,7 +756,7 @@ class PrevWordHighlightAction extends WordHighlightNavigationAction {
756
756
  constructor() {
757
757
  super(false, {
758
758
  id: 'editor.action.wordHighlight.prev',
759
- label: nls.localize2(1562, "Go to Previous Symbol Highlight"),
759
+ label: nls.localize2(1566, "Go to Previous Symbol Highlight"),
760
760
  precondition: ctxHasWordHighlights,
761
761
  kbOpts: {
762
762
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -770,7 +770,7 @@ class TriggerWordHighlightAction extends EditorAction {
770
770
  constructor() {
771
771
  super({
772
772
  id: 'editor.action.wordHighlight.trigger',
773
- label: nls.localize2(1563, "Trigger Symbol Highlight"),
773
+ label: nls.localize2(1567, "Trigger Symbol Highlight"),
774
774
  precondition: undefined,
775
775
  kbOpts: {
776
776
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -395,7 +395,7 @@ export class DeleteInsideWord extends EditorAction {
395
395
  super({
396
396
  id: 'deleteInsideWord',
397
397
  precondition: EditorContextKeys.writable,
398
- label: nls.localize2(1564, "Delete Word"),
398
+ label: nls.localize2(1568, "Delete Word"),
399
399
  });
400
400
  }
401
401
  run(accessor, editor, args) {