@codingame/monaco-vscode-api 6.0.3 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (447) hide show
  1. package/README.md +93 -73
  2. package/api.js +1 -1
  3. package/debugProtocol.d.ts +10 -1
  4. package/extensions.d.ts +2 -0
  5. package/missing-services.js +21 -2
  6. package/package.json +9 -9
  7. package/service-override/extensions.d.ts +1 -2
  8. package/services.js +4 -2
  9. package/vscode/src/vs/base/browser/dnd.js +1 -1
  10. package/vscode/src/vs/base/browser/dom.js +116 -5
  11. package/vscode/src/vs/base/browser/domObservable.js +16 -0
  12. package/vscode/src/vs/base/browser/markdownRenderer.js +5 -3
  13. package/vscode/src/vs/base/browser/trustedTypes.js +1 -2
  14. package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +1 -1
  15. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +1 -1
  16. package/vscode/src/vs/base/browser/ui/button/button.js +2 -2
  17. package/vscode/src/vs/base/browser/ui/contextview/contextview.js +1 -4
  18. package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +1 -1
  19. package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
  20. package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.js +1 -1
  21. package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +32 -16
  22. package/vscode/src/vs/base/browser/ui/hover/hoverDelegate.d.ts +2 -2
  23. package/vscode/src/vs/base/browser/ui/hover/hoverDelegate2.js +2 -2
  24. package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css.js +1 -1
  25. package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -0
  26. package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +1 -1
  27. package/vscode/src/vs/base/browser/ui/iconLabel/simpleIconLabel.js +1 -1
  28. package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +1 -1
  29. package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +1 -1
  30. package/vscode/src/vs/base/browser/ui/list/listView.js +3 -5
  31. package/vscode/src/vs/base/browser/ui/list/rowCache.js +1 -8
  32. package/vscode/src/vs/base/browser/ui/sash/sash.js +1 -1
  33. package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +7 -11
  34. package/vscode/src/vs/base/browser/ui/splitview/paneview.js +1 -1
  35. package/vscode/src/vs/base/browser/ui/splitview/splitview.js +1 -1
  36. package/vscode/src/vs/base/browser/ui/table/tableWidget.js +1 -1
  37. package/vscode/src/vs/base/browser/ui/toggle/toggle.js +1 -1
  38. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +8 -1
  39. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +2 -3
  40. package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +1 -1
  41. package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +0 -3
  42. package/vscode/src/vs/base/common/assert.js +1 -1
  43. package/vscode/src/vs/base/common/collections.js +49 -1
  44. package/vscode/src/vs/base/common/equals.js +55 -5
  45. package/vscode/src/vs/base/common/errors.js +14 -1
  46. package/vscode/src/vs/base/common/event.js +2 -1
  47. package/vscode/src/vs/base/common/history.js +7 -4
  48. package/vscode/src/vs/base/common/iterator.js +9 -1
  49. package/vscode/src/vs/base/common/map.d.ts +41 -0
  50. package/vscode/src/vs/base/common/numbers.js +18 -1
  51. package/vscode/src/vs/base/common/observableInternal/api.js +11 -0
  52. package/vscode/src/vs/base/common/observableInternal/autorun.js +18 -1
  53. package/vscode/src/vs/base/common/observableInternal/base.d.ts +8 -1
  54. package/vscode/src/vs/base/common/observableInternal/base.js +2 -5
  55. package/vscode/src/vs/base/common/observableInternal/derived.js +13 -3
  56. package/vscode/src/vs/base/common/observableInternal/lazyObservableValue.js +109 -0
  57. package/vscode/src/vs/base/common/observableInternal/promise.js +3 -0
  58. package/vscode/src/vs/base/common/observableInternal/utils.d.ts +7 -0
  59. package/vscode/src/vs/base/common/observableInternal/utils.js +64 -12
  60. package/vscode/src/vs/base/common/prefixTree.d.ts +52 -0
  61. package/vscode/src/vs/base/common/product.d.ts +1 -0
  62. package/vscode/src/vs/base/parts/ipc/common/ipc.js +1 -1
  63. package/vscode/src/vs/editor/browser/config/charWidthReader.js +1 -1
  64. package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +1 -1
  65. package/vscode/src/vs/editor/browser/coreCommands.js +2 -1
  66. package/vscode/src/vs/editor/browser/observableCodeEditor.js +230 -0
  67. package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.js +1 -1
  68. package/vscode/src/vs/editor/browser/services/hoverService/hoverService.js +26 -26
  69. package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +2 -2
  70. package/vscode/src/vs/editor/browser/view/domLineBreaksComputer.js +1 -1
  71. package/vscode/src/vs/editor/browser/view/viewLayer.js +4 -12
  72. package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +1 -1
  73. package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +1 -1
  74. package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.js +2 -2
  75. package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +15 -4
  76. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +8 -8
  77. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +4 -4
  78. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +1 -1
  79. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +1 -1
  80. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +14 -2
  81. package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +1 -1
  82. package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +2 -2
  83. package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +2 -2
  84. package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +3 -3
  85. package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +2 -2
  86. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +1 -1
  87. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
  88. package/vscode/src/vs/editor/common/config/editorOptions.d.ts +5 -0
  89. package/vscode/src/vs/editor/common/config/editorOptions.js +83 -65
  90. package/vscode/src/vs/editor/common/core/editorColorRegistry.js +43 -43
  91. package/vscode/src/vs/editor/common/cursor/cursor.js +3 -2
  92. package/vscode/src/vs/editor/common/cursor/cursorTypeEditOperations.js +911 -0
  93. package/vscode/src/vs/editor/common/cursor/cursorTypeOperations.js +36 -799
  94. package/vscode/src/vs/editor/common/cursor/cursorWordOperations.js +6 -5
  95. package/vscode/src/vs/editor/common/languageFeatureRegistry.d.ts +1 -0
  96. package/vscode/src/vs/editor/common/languageFeatureRegistry.js +3 -0
  97. package/vscode/src/vs/editor/common/languages/autoIndent.js +23 -1
  98. package/vscode/src/vs/editor/common/languages.d.ts +20 -3
  99. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.js +6 -6
  100. package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase.js +19 -0
  101. package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.js +3 -0
  102. package/vscode/src/vs/editor/common/model/textModel.js +6 -2
  103. package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +5 -5
  104. package/vscode/src/vs/editor/common/model.d.ts +4 -0
  105. package/vscode/src/vs/editor/common/services/getIconClasses.js +1 -1
  106. package/vscode/src/vs/editor/common/services/semanticTokensProviderStyling.js +2 -15
  107. package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +63 -62
  108. package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +11 -8
  109. package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +1 -1
  110. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +2 -17
  111. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.css.js +1 -1
  112. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +18 -5
  113. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +55 -27
  114. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +7 -4
  115. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerWidget.js +9 -9
  116. package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +1 -1
  117. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +103 -47
  118. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -2
  119. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +18 -10
  120. package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +2 -4
  121. package/vscode/src/vs/editor/contrib/folding/browser/folding.css.js +1 -1
  122. package/vscode/src/vs/editor/contrib/folding/browser/folding.js +33 -13
  123. package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +12 -7
  124. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +1 -1
  125. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +2 -2
  126. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +161 -185
  127. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +321 -0
  128. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverStatusBar.js +4 -1
  129. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverTypes.js +6 -21
  130. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidget.js +39 -40
  131. package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +55 -46
  132. package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +12 -2
  133. package/vscode/src/vs/editor/contrib/hover/browser/hoverController.js +15 -9
  134. package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.js +11 -1
  135. package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +141 -93
  136. package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +24 -7
  137. package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +36 -1
  138. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +5 -3
  139. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/ghostTextWidget.js +1 -1
  140. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +25 -12
  141. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +88 -118
  142. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +1 -1
  143. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.js +34 -33
  144. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsSource.js +2 -2
  145. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/provideInlineCompletions.js +11 -4
  146. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/suggestWidgetInlineCompletionProvider.js +10 -19
  147. package/vscode/src/vs/editor/contrib/inlineEdit/browser/ghostTextWidget.js +1 -1
  148. package/vscode/src/vs/editor/contrib/inlineEdit/browser/hoverParticipant.js +45 -27
  149. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditController.js +4 -4
  150. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditHintsWidget.js +1 -1
  151. package/vscode/src/vs/editor/contrib/inlineEdits/browser/commands.js +126 -0
  152. package/vscode/src/vs/editor/contrib/inlineEdits/browser/consts.js +9 -0
  153. package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEdits.contribution.js +9 -0
  154. package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEditsController.js +82 -0
  155. package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEditsModel.js +240 -0
  156. package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEditsWidget.css.js +4 -0
  157. package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEditsWidget.js +322 -0
  158. package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgress.js +8 -4
  159. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +3 -2
  160. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +1 -1
  161. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +2 -2
  162. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +60 -0
  163. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.css.js +4 -0
  164. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +1 -1
  165. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScroll.css.js +1 -1
  166. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +38 -20
  167. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +3 -0
  168. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +9 -9
  169. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetStatus.js +10 -32
  170. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +23 -138
  171. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +3 -0
  172. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +5 -5
  173. package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +13 -12
  174. package/vscode/src/vs/editor/contrib/wordPartOperations/browser/wordPartOperations.js +3 -3
  175. package/vscode/src/vs/platform/accessibility/browser/accessibilityService.js +21 -0
  176. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +5 -6
  177. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +1 -1
  178. package/vscode/src/vs/platform/actions/browser/buttonbar.js +27 -6
  179. package/vscode/src/vs/platform/actions/browser/floatingMenu.js +1 -1
  180. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.css.js +1 -1
  181. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +33 -3
  182. package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -1
  183. package/vscode/src/vs/platform/actions/common/actions.d.ts +3 -0
  184. package/vscode/src/vs/platform/actions/common/actions.js +3 -0
  185. package/vscode/src/vs/platform/actions/common/menuService.js +3 -2
  186. package/vscode/src/vs/platform/clipboard/browser/clipboardService.js +1 -1
  187. package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +7 -5
  188. package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +109 -13
  189. package/vscode/src/vs/platform/diagnostics/common/diagnostics.d.ts +2 -0
  190. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +12 -6
  191. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -0
  192. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +3 -3
  193. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +20 -10
  194. package/vscode/src/vs/platform/extensions/common/extensionValidator.js +46 -8
  195. package/vscode/src/vs/platform/extensions/common/extensions.d.ts +1 -1
  196. package/vscode/src/vs/platform/extensions/common/extensions.js +12 -3
  197. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +368 -0
  198. package/vscode/src/vs/platform/files/common/watcher.js +21 -24
  199. package/vscode/src/vs/platform/list/browser/listService.js +2 -1
  200. package/vscode/src/vs/platform/observable/common/platformObservableUtils.js +2 -2
  201. package/vscode/src/vs/platform/opener/browser/link.js +1 -1
  202. package/vscode/src/vs/platform/product/common/product.js +1 -1
  203. package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1 -1
  204. package/vscode/src/vs/platform/remote/common/remoteExtensionsScanner.service.d.ts +0 -2
  205. package/vscode/src/vs/platform/request/common/request.js +18 -8
  206. package/vscode/src/vs/platform/terminal/common/capabilities/capabilities.d.ts +2 -6
  207. package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/promptInputModel.d.ts +8 -1
  208. package/vscode/src/vs/platform/theme/common/colorUtils.d.ts +1 -1
  209. package/vscode/src/vs/platform/theme/common/colorUtils.js +25 -5
  210. package/vscode/src/vs/platform/theme/common/colors/baseColors.js +1 -1
  211. package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +6 -6
  212. package/vscode/src/vs/platform/theme/common/colors/editorColors.js +35 -35
  213. package/vscode/src/vs/platform/theme/common/colors/inputColors.js +9 -9
  214. package/vscode/src/vs/platform/theme/common/colors/listColors.js +11 -11
  215. package/vscode/src/vs/platform/theme/common/colors/menuColors.js +4 -4
  216. package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +5 -5
  217. package/vscode/src/vs/platform/theme/common/colors/miscColors.js +1 -1
  218. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +5 -5
  219. package/vscode/src/vs/platform/tunnel/common/tunnel.js +4 -1
  220. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +75 -19
  221. package/vscode/src/vs/platform/window/common/window.d.ts +2 -2
  222. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +32 -25
  223. package/vscode/src/vs/workbench/api/common/extHost.common.services.js +2 -0
  224. package/vscode/src/vs/workbench/api/common/extHost.protocol.js +2 -0
  225. package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +5 -11
  226. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +5 -15
  227. package/vscode/src/vs/workbench/api/common/extHostChatVariables.js +2 -5
  228. package/vscode/src/vs/workbench/api/common/extHostComments.js +9 -3
  229. package/vscode/src/vs/workbench/api/common/extHostDebugService.js +32 -22
  230. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +3 -3
  231. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +109 -40
  232. package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +46 -0
  233. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +84 -35
  234. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
  235. package/vscode/src/vs/workbench/api/common/extHostSCM.js +50 -41
  236. package/vscode/src/vs/workbench/api/common/extHostSearch.js +2 -2
  237. package/vscode/src/vs/workbench/api/common/extHostSecrets.js +11 -8
  238. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +7 -6
  239. package/vscode/src/vs/workbench/api/common/extHostTesting.js +63 -70
  240. package/vscode/src/vs/workbench/api/common/extHostTextEditors.js +5 -3
  241. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +75 -16
  242. package/vscode/src/vs/workbench/api/common/extHostTypes.js +29 -4
  243. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
  244. package/vscode/src/vs/workbench/browser/actions/developerActions.js +1 -1
  245. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +127 -107
  246. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +2 -2
  247. package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +1 -1
  248. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +33 -21
  249. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -1
  250. package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +5 -5
  251. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +1 -1
  252. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +2 -2
  253. package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +2 -2
  254. package/vscode/src/vs/workbench/browser/parts/views/treeView.js +23 -6
  255. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +3 -1
  256. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +3 -3
  257. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +1 -1
  258. package/vscode/src/vs/workbench/browser/web.api.js +8 -0
  259. package/vscode/src/vs/workbench/browser/workbench.contribution.js +199 -194
  260. package/vscode/src/vs/workbench/common/configuration.js +1 -1
  261. package/vscode/src/vs/workbench/common/contributions.js +8 -1
  262. package/vscode/src/vs/workbench/common/editor.js +5 -1
  263. package/vscode/src/vs/workbench/common/theme.js +79 -454
  264. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +221 -239
  265. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +17 -15
  266. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +1 -0
  267. package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +4 -0
  268. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCollections.js +27 -0
  269. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCommandContentPart.js +35 -0
  270. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationContentPart.js +51 -0
  271. package/vscode/src/vs/workbench/contrib/chat/browser/{chatConfirmationWidget.js → chatContentParts/chatConfirmationWidget.js} +9 -9
  272. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownContentPart.js +131 -0
  273. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatProgressContentPart.js +37 -0
  274. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatReferencesContentPart.js +263 -0
  275. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTaskContentPart.js +37 -0
  276. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.js +160 -0
  277. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.js +171 -0
  278. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatWarningContentPart.js +34 -0
  279. package/vscode/src/vs/workbench/contrib/chat/browser/{media → chatContentParts/media}/chatConfirmationWidget.css.js +1 -1
  280. package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +91 -44
  281. package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +292 -1019
  282. package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer.js +2 -2
  283. package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownRenderer.js +1 -1
  284. package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +22 -7
  285. package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.css.js +1 -1
  286. package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +61 -54
  287. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +23 -16
  288. package/vscode/src/vs/workbench/contrib/chat/browser/media/chat.css.js +1 -1
  289. package/vscode/src/vs/workbench/contrib/chat/browser/media/chatAgentHover.css.js +1 -1
  290. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +8 -0
  291. package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +1 -1
  292. package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +3 -3
  293. package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.js +5 -4
  294. package/vscode/src/vs/workbench/contrib/chat/common/codeBlockModelCollection.js +16 -0
  295. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.js +3 -0
  296. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +2 -2
  297. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +43 -16
  298. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +1 -1
  299. package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +1 -3
  300. package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +1 -1
  301. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +7 -5
  302. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +7 -7
  303. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +3 -3
  304. package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +3 -3
  305. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +2 -2
  306. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +1 -1
  307. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +2 -1
  308. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +2 -1
  309. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +1 -1
  310. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +8 -5
  311. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +1 -1
  312. package/vscode/src/vs/workbench/contrib/comments/browser/media/panel.css.js +1 -1
  313. package/vscode/src/vs/workbench/contrib/comments/browser/media/review.css.js +1 -1
  314. package/vscode/src/vs/workbench/contrib/comments/browser/timestamp.js +1 -1
  315. package/vscode/src/vs/workbench/contrib/contextmenu/browser/contextmenu.contribution.js +5 -5
  316. package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +14 -7
  317. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +4 -4
  318. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +8 -7
  319. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +19 -16
  320. package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +13 -12
  321. package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +19 -2
  322. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +9 -4
  323. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +10 -5
  324. package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +4 -4
  325. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +235 -173
  326. package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionActions.css.js +1 -1
  327. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +2 -1
  328. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +17 -5
  329. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +62 -44
  330. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
  331. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +2 -2
  332. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +114 -107
  333. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatContentWidget.js +33 -25
  334. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +71 -101
  335. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +38 -43
  336. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +11 -33
  337. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +3 -4
  338. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +49 -86
  339. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +60 -71
  340. package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChat.css.js +1 -1
  341. package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChatContentWidget.css.js +1 -1
  342. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +116 -113
  343. package/vscode/src/vs/workbench/contrib/markdown/browser/markdownDocumentRenderer.js +6 -10
  344. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +2 -2
  345. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +1 -0
  346. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +2 -2
  347. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findFilters.js +12 -23
  348. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findMatchDecorationModel.js +0 -2
  349. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findModel.js +7 -9
  350. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +88 -61
  351. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +1 -3
  352. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +39 -3
  353. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +2 -1
  354. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +12 -11
  355. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellChat.css.js +1 -1
  356. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +1 -1
  357. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.js +3 -2
  358. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +40 -105
  359. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +27 -26
  360. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.js +14 -5
  361. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.js +1 -1
  362. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +43 -46
  363. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDnd.js +1 -1
  364. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +4 -4
  365. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.js +12 -9
  366. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.js +19 -14
  367. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
  368. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +9 -6
  369. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +1 -1
  370. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +5 -3
  371. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +3 -3
  372. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +1 -1
  373. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +16 -6
  374. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +8 -8
  375. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSourceFactory.service.js +3 -0
  376. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +11 -12
  377. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +12 -13
  378. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.js +1 -1
  379. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookTopCellToolbar.js +5 -3
  380. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +9 -2
  381. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +37 -36
  382. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +18 -8
  383. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +1 -1
  384. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +14 -5
  385. package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +17 -22
  386. package/vscode/src/vs/workbench/contrib/remote/browser/media/tunnelView.css.js +1 -1
  387. package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +7 -10
  388. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +7 -27
  389. package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +3 -4
  390. package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchService.js +2 -2
  391. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +4 -0
  392. package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +3 -3
  393. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +3 -0
  394. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +0 -1
  395. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +13 -37
  396. package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.d.ts +88 -0
  397. package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.js +48 -31
  398. package/vscode/src/vs/workbench/contrib/testing/common/testId.d.ts +115 -0
  399. package/vscode/src/vs/workbench/contrib/testing/common/testResult.d.ts +226 -0
  400. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.d.ts +319 -0
  401. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +2 -3
  402. package/vscode/src/vs/workbench/contrib/testing/common/testingStates.d.ts +10 -0
  403. package/vscode/src/vs/workbench/contrib/webview/browser/webviewWindowDragMonitor.js +21 -2
  404. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewIconManager.js +7 -8
  405. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +3 -3
  406. package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +10 -5
  407. package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.js +54 -21
  408. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.d.ts +1 -0
  409. package/vscode/src/vs/workbench/services/extensions/browser/extensionService.d.ts +1 -2
  410. package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.d.ts +2 -4
  411. package/vscode/src/vs/workbench/services/extensions/common/extensions.js +5 -3
  412. package/vscode/src/vs/workbench/services/extensions/common/extensions.service.d.ts +3 -1
  413. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +59 -41
  414. package/vscode/src/vs/workbench/services/extensions/common/rpcProtocol.js +1 -1
  415. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +3 -2
  416. package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +1 -0
  417. package/vscode/src/vs/workbench/services/language/common/languageService.js +7 -0
  418. package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +1 -1
  419. package/vscode/src/vs/workbench/services/preferences/common/preferences.d.ts +2 -2
  420. package/vscode/src/vs/workbench/services/search/common/search.js +2 -1
  421. package/vscode/src/vs/workbench/services/search/common/textSearchManager.js +2 -2
  422. package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +2 -2
  423. package/vscode/src/vs/workbench/services/textfile/common/encoding.js +69 -26
  424. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +23 -4
  425. package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +5 -1
  426. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
  427. package/vscode/src/vs/workbench/services/views/browser/viewsService.js +12 -5
  428. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +38 -19
  429. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +2 -1
  430. package/vscode-dts/vscode.proposed.aiTextSearchProvider.d.ts +0 -196
  431. package/vscode-dts/vscode.proposed.attributableCoverage.d.ts +28 -10
  432. package/vscode-dts/vscode.proposed.authGetSessions.d.ts +30 -22
  433. package/vscode-dts/vscode.proposed.chatProvider.d.ts +17 -8
  434. package/vscode-dts/vscode.proposed.chatVariableResolver.d.ts +0 -9
  435. package/vscode-dts/vscode.proposed.commentReveal.d.ts +32 -0
  436. package/vscode-dts/vscode.proposed.commentThreadApplicability.d.ts +10 -0
  437. package/vscode-dts/vscode.proposed.createFileSystemWatcher.d.ts +1 -1
  438. package/vscode-dts/vscode.proposed.fileComments.d.ts +12 -53
  439. package/vscode-dts/vscode.proposed.fileSearchProvider.d.ts +6 -0
  440. package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +6 -0
  441. package/vscode-dts/vscode.proposed.lmTools.d.ts +91 -0
  442. package/vscode-dts/vscode.proposed.mappedEditsProvider.d.ts +1 -1
  443. package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +10 -6
  444. package/vscode-dts/vscode.proposed.terminalShellIntegration.d.ts +38 -13
  445. package/vscode/src/vs/editor/browser/observableUtilities.js +0 -58
  446. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineProviderFactory.service.js +0 -3
  447. package/vscode/src/vs/workbench/services/extensions/common/extensionsApiProposals.js +0 -122
@@ -41,31 +41,31 @@ import { getListStyles } from '../../../../platform/theme/browser/defaultStyles.
41
41
  import { status } from '../../../../base/browser/ui/aria/aria.js';
42
42
  var SuggestWidget_1;
43
43
  const _moduleId = "vs/editor/contrib/suggest/browser/suggestWidget";
44
- registerColor('editorSuggestWidget.background', { dark: editorWidgetBackground, light: editorWidgetBackground, hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, ( localizeWithPath(_moduleId, 0, 'Background color of the suggest widget.')));
45
- registerColor('editorSuggestWidget.border', { dark: editorWidgetBorder, light: editorWidgetBorder, hcDark: editorWidgetBorder, hcLight: editorWidgetBorder }, ( localizeWithPath(_moduleId, 1, 'Border color of the suggest widget.')));
46
- const editorSuggestWidgetForeground = registerColor('editorSuggestWidget.foreground', { dark: editorForeground, light: editorForeground, hcDark: editorForeground, hcLight: editorForeground }, ( localizeWithPath(_moduleId, 2, 'Foreground color of the suggest widget.')));
47
- registerColor('editorSuggestWidget.selectedForeground', { dark: quickInputListFocusForeground, light: quickInputListFocusForeground, hcDark: quickInputListFocusForeground, hcLight: quickInputListFocusForeground }, ( localizeWithPath(
44
+ registerColor('editorSuggestWidget.background', editorWidgetBackground, ( localizeWithPath(_moduleId, 0, 'Background color of the suggest widget.')));
45
+ registerColor('editorSuggestWidget.border', editorWidgetBorder, ( localizeWithPath(_moduleId, 1, 'Border color of the suggest widget.')));
46
+ const editorSuggestWidgetForeground = registerColor('editorSuggestWidget.foreground', editorForeground, ( localizeWithPath(_moduleId, 2, 'Foreground color of the suggest widget.')));
47
+ registerColor('editorSuggestWidget.selectedForeground', quickInputListFocusForeground, ( localizeWithPath(
48
48
  _moduleId,
49
49
  3,
50
50
  'Foreground color of the selected entry in the suggest widget.'
51
51
  )));
52
- registerColor('editorSuggestWidget.selectedIconForeground', { dark: quickInputListFocusIconForeground, light: quickInputListFocusIconForeground, hcDark: quickInputListFocusIconForeground, hcLight: quickInputListFocusIconForeground }, ( localizeWithPath(
52
+ registerColor('editorSuggestWidget.selectedIconForeground', quickInputListFocusIconForeground, ( localizeWithPath(
53
53
  _moduleId,
54
54
  4,
55
55
  'Icon foreground color of the selected entry in the suggest widget.'
56
56
  )));
57
- const editorSuggestWidgetSelectedBackground = registerColor('editorSuggestWidget.selectedBackground', { dark: quickInputListFocusBackground, light: quickInputListFocusBackground, hcDark: quickInputListFocusBackground, hcLight: quickInputListFocusBackground }, ( localizeWithPath(
57
+ const editorSuggestWidgetSelectedBackground = registerColor('editorSuggestWidget.selectedBackground', quickInputListFocusBackground, ( localizeWithPath(
58
58
  _moduleId,
59
59
  5,
60
60
  'Background color of the selected entry in the suggest widget.'
61
61
  )));
62
- registerColor('editorSuggestWidget.highlightForeground', { dark: listHighlightForeground, light: listHighlightForeground, hcDark: listHighlightForeground, hcLight: listHighlightForeground }, ( localizeWithPath(_moduleId, 6, 'Color of the match highlights in the suggest widget.')));
63
- registerColor('editorSuggestWidget.focusHighlightForeground', { dark: listFocusHighlightForeground, light: listFocusHighlightForeground, hcDark: listFocusHighlightForeground, hcLight: listFocusHighlightForeground }, ( localizeWithPath(
62
+ registerColor('editorSuggestWidget.highlightForeground', listHighlightForeground, ( localizeWithPath(_moduleId, 6, 'Color of the match highlights in the suggest widget.')));
63
+ registerColor('editorSuggestWidget.focusHighlightForeground', listFocusHighlightForeground, ( localizeWithPath(
64
64
  _moduleId,
65
65
  7,
66
66
  'Color of the match highlights in the suggest widget when an item is focused.'
67
67
  )));
68
- registerColor('editorSuggestWidgetStatus.foreground', { dark: ( (transparent(editorSuggestWidgetForeground, .5))), light: ( (transparent(editorSuggestWidgetForeground, .5))), hcDark: ( (transparent(editorSuggestWidgetForeground, .5))), hcLight: ( (transparent(editorSuggestWidgetForeground, .5))) }, ( localizeWithPath(_moduleId, 8, 'Foreground color of the suggest widget status.')));
68
+ registerColor('editorSuggestWidgetStatus.foreground', ( (transparent(editorSuggestWidgetForeground, .5))), ( localizeWithPath(_moduleId, 8, 'Foreground color of the suggest widget status.')));
69
69
  var State;
70
70
  ( ((function(State) {
71
71
  State[State["Hidden"] = 0] = "Hidden";
@@ -2,45 +2,23 @@ import { __decorate, __param } from '../../../../../../../external/tslib/tslib.e
2
2
  import { append, $ } from '../../../../base/browser/dom.js';
3
3
  import { ActionBar } from '../../../../base/browser/ui/actionbar/actionbar.js';
4
4
  import { DisposableStore } from '../../../../base/common/lifecycle.js';
5
- import { localizeWithPath } from '../../../../nls.js';
6
- import { MenuEntryActionViewItem } from '../../../../platform/actions/browser/menuEntryActionViewItem.js';
5
+ import { TextOnlyMenuEntryActionViewItem } from '../../../../platform/actions/browser/menuEntryActionViewItem.js';
7
6
  import { MenuItemAction } from '../../../../platform/actions/common/actions.js';
8
7
  import { IMenuService } from '../../../../platform/actions/common/actions.service.js';
9
8
  import { IContextKeyService } from '../../../../platform/contextkey/common/contextkey.service.js';
10
9
  import { IInstantiationService } from '../../../../platform/instantiation/common/instantiation.js';
11
- const _moduleId = "vs/editor/contrib/suggest/browser/suggestWidgetStatus";
12
- class StatusBarViewItem extends MenuEntryActionViewItem {
13
- updateLabel() {
14
- const kb = this._keybindingService.lookupKeybinding(this._action.id, this._contextKeyService);
15
- if (!kb) {
16
- return super.updateLabel();
17
- }
18
- if (this.label) {
19
- this.label.textContent = ( localizeWithPath(
20
- _moduleId,
21
- 0,
22
- '{0} ({1})',
23
- this._action.label,
24
- StatusBarViewItem.symbolPrintEnter(kb)
25
- ));
26
- }
27
- }
28
- static symbolPrintEnter(kb) {
29
- return kb.getLabel()?.replace(/\benter\b/gi, '\u23CE');
30
- }
31
- }
32
10
  let SuggestWidgetStatus = class SuggestWidgetStatus {
33
11
  constructor(container, _menuId, instantiationService, _menuService, _contextKeyService) {
34
12
  this._menuId = _menuId;
35
13
  this._menuService = _menuService;
36
14
  this._contextKeyService = _contextKeyService;
37
- this._menuDisposables = ( (new DisposableStore()));
15
+ this._menuDisposables = ( new DisposableStore());
38
16
  this.element = append(container, $('.suggest-status-bar'));
39
17
  const actionViewItemProvider = (action => {
40
- return action instanceof MenuItemAction ? instantiationService.createInstance(StatusBarViewItem, action, undefined) : undefined;
18
+ return action instanceof MenuItemAction ? instantiationService.createInstance(TextOnlyMenuEntryActionViewItem, action, { useComma: true }) : undefined;
41
19
  });
42
- this._leftActions = ( (new ActionBar(this.element, { actionViewItemProvider })));
43
- this._rightActions = ( (new ActionBar(this.element, { actionViewItemProvider })));
20
+ this._leftActions = ( new ActionBar(this.element, { actionViewItemProvider }));
21
+ this._rightActions = ( new ActionBar(this.element, { actionViewItemProvider }));
44
22
  this._leftActions.domNode.classList.add('left');
45
23
  this._rightActions.domNode.classList.add('right');
46
24
  }
@@ -75,9 +53,9 @@ let SuggestWidgetStatus = class SuggestWidgetStatus {
75
53
  this._menuDisposables.clear();
76
54
  }
77
55
  };
78
- SuggestWidgetStatus = ( (__decorate([
79
- ( (__param(2, IInstantiationService))),
80
- ( (__param(3, IMenuService))),
81
- ( (__param(4, IContextKeyService)))
82
- ], SuggestWidgetStatus)));
56
+ SuggestWidgetStatus = ( __decorate([
57
+ ( __param(2, IInstantiationService)),
58
+ ( __param(3, IMenuService)),
59
+ ( __param(4, IContextKeyService))
60
+ ], SuggestWidgetStatus));
83
61
  export { SuggestWidgetStatus };
@@ -12,22 +12,12 @@ import '../../../../platform/theme/common/colors/miscColors.js';
12
12
  import '../../../../platform/theme/common/colors/quickpickColors.js';
13
13
  import '../../../../platform/theme/common/colors/searchColors.js';
14
14
  const _moduleId = "vs/editor/contrib/symbolIcons/browser/symbolIcons";
15
- registerColor('symbolIcon.arrayForeground', {
16
- dark: foreground,
17
- light: foreground,
18
- hcDark: foreground,
19
- hcLight: foreground,
20
- }, ( localizeWithPath(
15
+ registerColor('symbolIcon.arrayForeground', foreground, ( localizeWithPath(
21
16
  _moduleId,
22
17
  0,
23
18
  'The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
24
19
  )));
25
- registerColor('symbolIcon.booleanForeground', {
26
- dark: foreground,
27
- light: foreground,
28
- hcDark: foreground,
29
- hcLight: foreground,
30
- }, ( localizeWithPath(
20
+ registerColor('symbolIcon.booleanForeground', foreground, ( localizeWithPath(
31
21
  _moduleId,
32
22
  1,
33
23
  'The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
@@ -42,22 +32,12 @@ registerColor('symbolIcon.classForeground', {
42
32
  2,
43
33
  'The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
44
34
  )));
45
- registerColor('symbolIcon.colorForeground', {
46
- dark: foreground,
47
- light: foreground,
48
- hcDark: foreground,
49
- hcLight: foreground
50
- }, ( localizeWithPath(
35
+ registerColor('symbolIcon.colorForeground', foreground, ( localizeWithPath(
51
36
  _moduleId,
52
37
  3,
53
38
  'The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
54
39
  )));
55
- registerColor('symbolIcon.constantForeground', {
56
- dark: foreground,
57
- light: foreground,
58
- hcDark: foreground,
59
- hcLight: foreground
60
- }, ( localizeWithPath(
40
+ registerColor('symbolIcon.constantForeground', foreground, ( localizeWithPath(
61
41
  _moduleId,
62
42
  4,
63
43
  'The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
@@ -112,22 +92,12 @@ registerColor('symbolIcon.fieldForeground', {
112
92
  9,
113
93
  'The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
114
94
  )));
115
- registerColor('symbolIcon.fileForeground', {
116
- dark: foreground,
117
- light: foreground,
118
- hcDark: foreground,
119
- hcLight: foreground
120
- }, ( localizeWithPath(
95
+ registerColor('symbolIcon.fileForeground', foreground, ( localizeWithPath(
121
96
  _moduleId,
122
97
  10,
123
98
  'The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
124
99
  )));
125
- registerColor('symbolIcon.folderForeground', {
126
- dark: foreground,
127
- light: foreground,
128
- hcDark: foreground,
129
- hcLight: foreground
130
- }, ( localizeWithPath(
100
+ registerColor('symbolIcon.folderForeground', foreground, ( localizeWithPath(
131
101
  _moduleId,
132
102
  11,
133
103
  'The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
@@ -152,22 +122,12 @@ registerColor('symbolIcon.interfaceForeground', {
152
122
  13,
153
123
  'The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
154
124
  )));
155
- registerColor('symbolIcon.keyForeground', {
156
- dark: foreground,
157
- light: foreground,
158
- hcDark: foreground,
159
- hcLight: foreground
160
- }, ( localizeWithPath(
125
+ registerColor('symbolIcon.keyForeground', foreground, ( localizeWithPath(
161
126
  _moduleId,
162
127
  14,
163
128
  'The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
164
129
  )));
165
- registerColor('symbolIcon.keywordForeground', {
166
- dark: foreground,
167
- light: foreground,
168
- hcDark: foreground,
169
- hcLight: foreground
170
- }, ( localizeWithPath(
130
+ registerColor('symbolIcon.keywordForeground', foreground, ( localizeWithPath(
171
131
  _moduleId,
172
132
  15,
173
133
  'The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
@@ -182,152 +142,77 @@ registerColor('symbolIcon.methodForeground', {
182
142
  16,
183
143
  'The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
184
144
  )));
185
- registerColor('symbolIcon.moduleForeground', {
186
- dark: foreground,
187
- light: foreground,
188
- hcDark: foreground,
189
- hcLight: foreground
190
- }, ( localizeWithPath(
145
+ registerColor('symbolIcon.moduleForeground', foreground, ( localizeWithPath(
191
146
  _moduleId,
192
147
  17,
193
148
  'The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
194
149
  )));
195
- registerColor('symbolIcon.namespaceForeground', {
196
- dark: foreground,
197
- light: foreground,
198
- hcDark: foreground,
199
- hcLight: foreground
200
- }, ( localizeWithPath(
150
+ registerColor('symbolIcon.namespaceForeground', foreground, ( localizeWithPath(
201
151
  _moduleId,
202
152
  18,
203
153
  'The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
204
154
  )));
205
- registerColor('symbolIcon.nullForeground', {
206
- dark: foreground,
207
- light: foreground,
208
- hcDark: foreground,
209
- hcLight: foreground
210
- }, ( localizeWithPath(
155
+ registerColor('symbolIcon.nullForeground', foreground, ( localizeWithPath(
211
156
  _moduleId,
212
157
  19,
213
158
  'The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
214
159
  )));
215
- registerColor('symbolIcon.numberForeground', {
216
- dark: foreground,
217
- light: foreground,
218
- hcDark: foreground,
219
- hcLight: foreground
220
- }, ( localizeWithPath(
160
+ registerColor('symbolIcon.numberForeground', foreground, ( localizeWithPath(
221
161
  _moduleId,
222
162
  20,
223
163
  'The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
224
164
  )));
225
- registerColor('symbolIcon.objectForeground', {
226
- dark: foreground,
227
- light: foreground,
228
- hcDark: foreground,
229
- hcLight: foreground
230
- }, ( localizeWithPath(
165
+ registerColor('symbolIcon.objectForeground', foreground, ( localizeWithPath(
231
166
  _moduleId,
232
167
  21,
233
168
  'The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
234
169
  )));
235
- registerColor('symbolIcon.operatorForeground', {
236
- dark: foreground,
237
- light: foreground,
238
- hcDark: foreground,
239
- hcLight: foreground
240
- }, ( localizeWithPath(
170
+ registerColor('symbolIcon.operatorForeground', foreground, ( localizeWithPath(
241
171
  _moduleId,
242
172
  22,
243
173
  'The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
244
174
  )));
245
- registerColor('symbolIcon.packageForeground', {
246
- dark: foreground,
247
- light: foreground,
248
- hcDark: foreground,
249
- hcLight: foreground
250
- }, ( localizeWithPath(
175
+ registerColor('symbolIcon.packageForeground', foreground, ( localizeWithPath(
251
176
  _moduleId,
252
177
  23,
253
178
  'The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
254
179
  )));
255
- registerColor('symbolIcon.propertyForeground', {
256
- dark: foreground,
257
- light: foreground,
258
- hcDark: foreground,
259
- hcLight: foreground
260
- }, ( localizeWithPath(
180
+ registerColor('symbolIcon.propertyForeground', foreground, ( localizeWithPath(
261
181
  _moduleId,
262
182
  24,
263
183
  'The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
264
184
  )));
265
- registerColor('symbolIcon.referenceForeground', {
266
- dark: foreground,
267
- light: foreground,
268
- hcDark: foreground,
269
- hcLight: foreground
270
- }, ( localizeWithPath(
185
+ registerColor('symbolIcon.referenceForeground', foreground, ( localizeWithPath(
271
186
  _moduleId,
272
187
  25,
273
188
  'The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
274
189
  )));
275
- registerColor('symbolIcon.snippetForeground', {
276
- dark: foreground,
277
- light: foreground,
278
- hcDark: foreground,
279
- hcLight: foreground
280
- }, ( localizeWithPath(
190
+ registerColor('symbolIcon.snippetForeground', foreground, ( localizeWithPath(
281
191
  _moduleId,
282
192
  26,
283
193
  'The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
284
194
  )));
285
- registerColor('symbolIcon.stringForeground', {
286
- dark: foreground,
287
- light: foreground,
288
- hcDark: foreground,
289
- hcLight: foreground
290
- }, ( localizeWithPath(
195
+ registerColor('symbolIcon.stringForeground', foreground, ( localizeWithPath(
291
196
  _moduleId,
292
197
  27,
293
198
  'The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
294
199
  )));
295
- registerColor('symbolIcon.structForeground', {
296
- dark: foreground,
297
- light: foreground,
298
- hcDark: foreground,
299
- hcLight: foreground,
300
- }, ( localizeWithPath(
200
+ registerColor('symbolIcon.structForeground', foreground, ( localizeWithPath(
301
201
  _moduleId,
302
202
  28,
303
203
  'The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
304
204
  )));
305
- registerColor('symbolIcon.textForeground', {
306
- dark: foreground,
307
- light: foreground,
308
- hcDark: foreground,
309
- hcLight: foreground
310
- }, ( localizeWithPath(
205
+ registerColor('symbolIcon.textForeground', foreground, ( localizeWithPath(
311
206
  _moduleId,
312
207
  29,
313
208
  'The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
314
209
  )));
315
- registerColor('symbolIcon.typeParameterForeground', {
316
- dark: foreground,
317
- light: foreground,
318
- hcDark: foreground,
319
- hcLight: foreground
320
- }, ( localizeWithPath(
210
+ registerColor('symbolIcon.typeParameterForeground', foreground, ( localizeWithPath(
321
211
  _moduleId,
322
212
  30,
323
213
  'The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
324
214
  )));
325
- registerColor('symbolIcon.unitForeground', {
326
- dark: foreground,
327
- light: foreground,
328
- hcDark: foreground,
329
- hcLight: foreground
330
- }, ( localizeWithPath(
215
+ registerColor('symbolIcon.unitForeground', foreground, ( localizeWithPath(
331
216
  _moduleId,
332
217
  31,
333
218
  'The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
@@ -419,6 +419,9 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
419
419
  renderHoverParts(context, hoverParts) {
420
420
  return renderMarkdownHovers(context, hoverParts, this._editor, this._languageService, this._openerService);
421
421
  }
422
+ getAccessibleContent(hoverPart) {
423
+ return ( (hoverPart.contents.map(c => c.value))).join('\n');
424
+ }
422
425
  };
423
426
  UnicodeHighlighterHoverParticipant = ( (__decorate([
424
427
  ( (__param(1, ILanguageService))),
@@ -26,7 +26,7 @@ registerColor('editor.wordHighlightStrongBackground', { dark: '#004972B8', light
26
26
  1,
27
27
  '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.'
28
28
  )), true);
29
- registerColor('editor.wordHighlightTextBackground', { light: wordHighlightBackground, dark: wordHighlightBackground, hcDark: wordHighlightBackground, hcLight: wordHighlightBackground }, ( localizeWithPath(
29
+ registerColor('editor.wordHighlightTextBackground', wordHighlightBackground, ( localizeWithPath(
30
30
  _moduleId,
31
31
  2,
32
32
  'Background color of a textual occurrence for a symbol. The color must not be opaque so as not to hide underlying decorations.'
@@ -41,18 +41,18 @@ registerColor('editor.wordHighlightStrongBorder', { light: null, dark: null, hcD
41
41
  4,
42
42
  'Border color of a symbol during write-access, like writing to a variable.'
43
43
  )));
44
- registerColor('editor.wordHighlightTextBorder', { light: wordHighlightBorder, dark: wordHighlightBorder, hcDark: wordHighlightBorder, hcLight: wordHighlightBorder }, ( localizeWithPath(_moduleId, 5, "Border color of a textual occurrence for a symbol.")));
45
- const overviewRulerWordHighlightForeground = registerColor('editorOverviewRuler.wordHighlightForeground', { dark: '#A0A0A0CC', light: '#A0A0A0CC', hcDark: '#A0A0A0CC', hcLight: '#A0A0A0CC' }, ( localizeWithPath(
44
+ registerColor('editor.wordHighlightTextBorder', wordHighlightBorder, ( localizeWithPath(_moduleId, 5, "Border color of a textual occurrence for a symbol.")));
45
+ const overviewRulerWordHighlightForeground = registerColor('editorOverviewRuler.wordHighlightForeground', '#A0A0A0CC', ( localizeWithPath(
46
46
  _moduleId,
47
47
  6,
48
48
  'Overview ruler marker color for symbol highlights. The color must not be opaque so as not to hide underlying decorations.'
49
49
  )), true);
50
- const overviewRulerWordHighlightStrongForeground = registerColor('editorOverviewRuler.wordHighlightStrongForeground', { dark: '#C0A0C0CC', light: '#C0A0C0CC', hcDark: '#C0A0C0CC', hcLight: '#C0A0C0CC' }, ( localizeWithPath(
50
+ const overviewRulerWordHighlightStrongForeground = registerColor('editorOverviewRuler.wordHighlightStrongForeground', '#C0A0C0CC', ( localizeWithPath(
51
51
  _moduleId,
52
52
  7,
53
53
  'Overview ruler marker color for write-access symbol highlights. The color must not be opaque so as not to hide underlying decorations.'
54
54
  )), true);
55
- const overviewRulerWordHighlightTextForeground = registerColor('editorOverviewRuler.wordHighlightTextForeground', { dark: overviewRulerSelectionHighlightForeground, light: overviewRulerSelectionHighlightForeground, hcDark: overviewRulerSelectionHighlightForeground, hcLight: overviewRulerSelectionHighlightForeground }, ( localizeWithPath(
55
+ const overviewRulerWordHighlightTextForeground = registerColor('editorOverviewRuler.wordHighlightTextForeground', overviewRulerSelectionHighlightForeground, ( localizeWithPath(
56
56
  _moduleId,
57
57
  8,
58
58
  'Overview ruler marker color of a textual occurrence for a symbol. The color must not be opaque so as not to hide underlying decorations.'
@@ -31,9 +31,10 @@ class MoveWordCommand extends EditorCommand {
31
31
  const wordSeparators = getMapForWordSeparators(editor.getOption(EditorOption.wordSeparators), editor.getOption(EditorOption.wordSegmenterLocales));
32
32
  const model = editor.getModel();
33
33
  const selections = editor.getSelections();
34
+ const hasMulticursor = selections.length > 1;
34
35
  const result = ( (selections.map((sel) => {
35
36
  const inPosition = ( (new Position(sel.positionLineNumber, sel.positionColumn)));
36
- const outPosition = this._move(wordSeparators, model, inPosition, this._wordNavigationType);
37
+ const outPosition = this._move(wordSeparators, model, inPosition, this._wordNavigationType, hasMulticursor);
37
38
  return this._moveTo(sel, outPosition, this._inSelectionMode);
38
39
  })));
39
40
  model.pushStackElement();
@@ -62,12 +63,12 @@ class MoveWordCommand extends EditorCommand {
62
63
  }
63
64
  }
64
65
  class WordLeftCommand extends MoveWordCommand {
65
- _move(wordSeparators, model, position, wordNavigationType) {
66
- return WordOperations.moveWordLeft(wordSeparators, model, position, wordNavigationType);
66
+ _move(wordSeparators, model, position, wordNavigationType, hasMulticursor) {
67
+ return WordOperations.moveWordLeft(wordSeparators, model, position, wordNavigationType, hasMulticursor);
67
68
  }
68
69
  }
69
70
  class WordRightCommand extends MoveWordCommand {
70
- _move(wordSeparators, model, position, wordNavigationType) {
71
+ _move(wordSeparators, model, position, wordNavigationType, hasMulticursor) {
71
72
  return WordOperations.moveWordRight(wordSeparators, model, position, wordNavigationType);
72
73
  }
73
74
  }
@@ -158,8 +159,8 @@ class CursorWordAccessibilityLeft extends WordLeftCommand {
158
159
  precondition: undefined
159
160
  });
160
161
  }
161
- _move(wordCharacterClassifier, model, position, wordNavigationType) {
162
- return super._move(getMapForWordSeparators(EditorOptions.wordSeparators.defaultValue, wordCharacterClassifier.intlSegmenterLocales), model, position, wordNavigationType);
162
+ _move(wordCharacterClassifier, model, position, wordNavigationType, hasMulticursor) {
163
+ return super._move(getMapForWordSeparators(EditorOptions.wordSeparators.defaultValue, wordCharacterClassifier.intlSegmenterLocales), model, position, wordNavigationType, hasMulticursor);
163
164
  }
164
165
  }
165
166
  class CursorWordAccessibilityLeftSelect extends WordLeftCommand {
@@ -171,8 +172,8 @@ class CursorWordAccessibilityLeftSelect extends WordLeftCommand {
171
172
  precondition: undefined
172
173
  });
173
174
  }
174
- _move(wordCharacterClassifier, model, position, wordNavigationType) {
175
- return super._move(getMapForWordSeparators(EditorOptions.wordSeparators.defaultValue, wordCharacterClassifier.intlSegmenterLocales), model, position, wordNavigationType);
175
+ _move(wordCharacterClassifier, model, position, wordNavigationType, hasMulticursor) {
176
+ return super._move(getMapForWordSeparators(EditorOptions.wordSeparators.defaultValue, wordCharacterClassifier.intlSegmenterLocales), model, position, wordNavigationType, hasMulticursor);
176
177
  }
177
178
  }
178
179
  class CursorWordStartRight extends WordRightCommand {
@@ -262,8 +263,8 @@ class CursorWordAccessibilityRight extends WordRightCommand {
262
263
  precondition: undefined
263
264
  });
264
265
  }
265
- _move(wordCharacterClassifier, model, position, wordNavigationType) {
266
- return super._move(getMapForWordSeparators(EditorOptions.wordSeparators.defaultValue, wordCharacterClassifier.intlSegmenterLocales), model, position, wordNavigationType);
266
+ _move(wordCharacterClassifier, model, position, wordNavigationType, hasMulticursor) {
267
+ return super._move(getMapForWordSeparators(EditorOptions.wordSeparators.defaultValue, wordCharacterClassifier.intlSegmenterLocales), model, position, wordNavigationType, hasMulticursor);
267
268
  }
268
269
  }
269
270
  class CursorWordAccessibilityRightSelect extends WordRightCommand {
@@ -275,8 +276,8 @@ class CursorWordAccessibilityRightSelect extends WordRightCommand {
275
276
  precondition: undefined
276
277
  });
277
278
  }
278
- _move(wordCharacterClassifier, model, position, wordNavigationType) {
279
- return super._move(getMapForWordSeparators(EditorOptions.wordSeparators.defaultValue, wordCharacterClassifier.intlSegmenterLocales), model, position, wordNavigationType);
279
+ _move(wordCharacterClassifier, model, position, wordNavigationType, hasMulticursor) {
280
+ return super._move(getMapForWordSeparators(EditorOptions.wordSeparators.defaultValue, wordCharacterClassifier.intlSegmenterLocales), model, position, wordNavigationType, hasMulticursor);
280
281
  }
281
282
  }
282
283
  class DeleteWordCommand extends EditorCommand {
@@ -55,8 +55,8 @@ class DeleteWordPartRight extends DeleteWordCommand {
55
55
  }
56
56
  }
57
57
  class WordPartLeftCommand extends MoveWordCommand {
58
- _move(wordSeparators, model, position, wordNavigationType) {
59
- return WordPartOperations.moveWordPartLeft(wordSeparators, model, position);
58
+ _move(wordSeparators, model, position, wordNavigationType, hasMulticursor) {
59
+ return WordPartOperations.moveWordPartLeft(wordSeparators, model, position, hasMulticursor);
60
60
  }
61
61
  }
62
62
  class CursorWordPartLeft extends WordPartLeftCommand {
@@ -94,7 +94,7 @@ class CursorWordPartLeftSelect extends WordPartLeftCommand {
94
94
  }
95
95
  CommandsRegistry.registerCommandAlias('cursorWordPartStartLeftSelect', 'cursorWordPartLeftSelect');
96
96
  class WordPartRightCommand extends MoveWordCommand {
97
- _move(wordSeparators, model, position, wordNavigationType) {
97
+ _move(wordSeparators, model, position, wordNavigationType, hasMulticursor) {
98
98
  return WordPartOperations.moveWordPartRight(wordSeparators, model, position);
99
99
  }
100
100
  }
@@ -17,6 +17,7 @@ let AccessibilityService = class AccessibilityService extends Disposable {
17
17
  this._accessibilitySupport = AccessibilitySupport.Unknown;
18
18
  this._onDidChangeScreenReaderOptimized = ( new Emitter());
19
19
  this._onDidChangeReducedMotion = ( new Emitter());
20
+ this._onDidChangeLinkUnderline = ( new Emitter());
20
21
  this._accessibilityModeEnabledContext = CONTEXT_ACCESSIBILITY_MODE_ENABLED.bindTo(this._contextKeyService);
21
22
  const updateContextKey = () => this._accessibilityModeEnabledContext.set(this.isScreenReaderOptimized());
22
23
  this._register(this._configurationService.onDidChangeConfiguration(e => {
@@ -34,7 +35,9 @@ let AccessibilityService = class AccessibilityService extends Disposable {
34
35
  const reduceMotionMatcher = mainWindow.matchMedia(`(prefers-reduced-motion: reduce)`);
35
36
  this._systemMotionReduced = reduceMotionMatcher.matches;
36
37
  this._configMotionReduced = this._configurationService.getValue('workbench.reduceMotion');
38
+ this._linkUnderlinesEnabled = this._configurationService.getValue('accessibility.underlineLinks');
37
39
  this.initReducedMotionListeners(reduceMotionMatcher);
40
+ this.initLinkUnderlineListeners();
38
41
  }
39
42
  initReducedMotionListeners(reduceMotionMatcher) {
40
43
  this._register(addDisposableListener(reduceMotionMatcher, 'change', () => {
@@ -51,6 +54,24 @@ let AccessibilityService = class AccessibilityService extends Disposable {
51
54
  updateRootClasses();
52
55
  this._register(this.onDidChangeReducedMotion(() => updateRootClasses()));
53
56
  }
57
+ initLinkUnderlineListeners() {
58
+ this._register(this._configurationService.onDidChangeConfiguration(e => {
59
+ if (e.affectsConfiguration('accessibility.underlineLinks')) {
60
+ const linkUnderlinesEnabled = this._configurationService.getValue('accessibility.underlineLinks');
61
+ this._linkUnderlinesEnabled = linkUnderlinesEnabled;
62
+ this._onDidChangeLinkUnderline.fire();
63
+ }
64
+ }));
65
+ const updateLinkUnderlineClasses = () => {
66
+ const underlineLinks = this._linkUnderlinesEnabled;
67
+ this._layoutService.mainContainer.classList.toggle('underline-links', underlineLinks);
68
+ };
69
+ updateLinkUnderlineClasses();
70
+ this._register(this.onDidChangeLinkUnderlines(() => updateLinkUnderlineClasses()));
71
+ }
72
+ onDidChangeLinkUnderlines(listener) {
73
+ return this._onDidChangeLinkUnderline.event(listener);
74
+ }
54
75
  get onDidChangeScreenReaderOptimized() {
55
76
  return this._onDidChangeScreenReaderOptimized.event;
56
77
  }
@@ -21,7 +21,7 @@ let AccessibilitySignalService = class AccessibilitySignalService extends Dispos
21
21
  this.accessibilityService = accessibilityService;
22
22
  this.telemetryService = telemetryService;
23
23
  this.sounds = ( (new Map()));
24
- this.screenReaderAttached = observableFromEvent(this.accessibilityService.onDidChangeScreenReaderOptimized, () => this.accessibilityService.isScreenReaderOptimized());
24
+ this.screenReaderAttached = observableFromEvent(this, this.accessibilityService.onDidChangeScreenReaderOptimized, () => this.accessibilityService.isScreenReaderOptimized());
25
25
  this.sentTelemetry = ( (new Set()));
26
26
  this.playingSounds = ( (new Set()));
27
27
  this._signalConfigValue = ( (new CachedFunction(
@@ -151,19 +151,18 @@ let AccessibilitySignalService = class AccessibilitySignalService extends Dispos
151
151
  return this.getEnabledState(signal, false).onDidChange;
152
152
  }
153
153
  getDelayMs(signal, modality, mode) {
154
- const options = this.configurationService.getValue('accessibility.signalOptions');
155
- if (!options || !options.debouncePositionChanges) {
154
+ if (!this.configurationService.getValue('accessibility.signalOptions.debouncePositionChanges')) {
156
155
  return 0;
157
156
  }
158
157
  let value;
159
158
  if (signal.name === AccessibilitySignal.errorAtPosition.name && mode === 'positional') {
160
- value = options['experimental.delays'].errorAtPosition;
159
+ value = this.configurationService.getValue('accessibility.signalOptions.experimental.delays.errorAtPosition');
161
160
  }
162
161
  else if (signal.name === AccessibilitySignal.warningAtPosition.name && mode === 'positional') {
163
- value = options['experimental.delays'].warningAtPosition;
162
+ value = this.configurationService.getValue('accessibility.signalOptions.experimental.delays.warningAtPosition');
164
163
  }
165
164
  else {
166
- value = options['experimental.delays'].general;
165
+ value = this.configurationService.getValue('accessibility.signalOptions.experimental.delays.general');
167
166
  }
168
167
  return modality === 'sound' ? value.sound : value.announcement;
169
168
  }
@@ -25,7 +25,7 @@ import '../../theme/common/colors/miscColors.js';
25
25
  import '../../theme/common/colors/quickpickColors.js';
26
26
  import '../../theme/common/colors/searchColors.js';
27
27
  const _moduleId = "vs/platform/actionWidget/browser/actionWidget";
28
- registerColor('actionBar.toggledBackground', { dark: inputActiveOptionBackground, light: inputActiveOptionBackground, hcDark: inputActiveOptionBackground, hcLight: inputActiveOptionBackground, }, ( localizeWithPath(_moduleId, 0, 'Background color for toggled action items in action bar.')));
28
+ registerColor('actionBar.toggledBackground', inputActiveOptionBackground, ( localizeWithPath(_moduleId, 0, 'Background color for toggled action items in action bar.')));
29
29
  const ActionWidgetContextKeys = {
30
30
  Visible: ( (new RawContextKey('codeActionMenuVisible', false, ( localizeWithPath(_moduleId, 1, "Whether the action widget list is visible")))))
31
31
  };