@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
@@ -842,7 +842,7 @@ let QuickInputTree = class QuickInputTree extends Disposable {
842
842
  const parent = focusedElement?.parentNode;
843
843
  if (focusedElement && parent) {
844
844
  const nextSibling = focusedElement.nextSibling;
845
- parent.removeChild(focusedElement);
845
+ focusedElement.remove();
846
846
  parent.insertBefore(focusedElement, nextSibling);
847
847
  }
848
848
  }, 0);
@@ -1,5 +1,4 @@
1
1
  import { ServiceIdentifier } from '../../instantiation/common/instantiation.js';
2
- import { URI } from '../../../base/common/uri.js';
3
2
  import { IExtensionDescription } from '../../extensions/common/extensions.js';
4
3
 
5
4
  declare const IRemoteExtensionsScannerService: ServiceIdentifier<IRemoteExtensionsScannerService>;
@@ -7,7 +6,6 @@ interface IRemoteExtensionsScannerService {
7
6
  readonly _serviceBrand: undefined;
8
7
  whenExtensionsReady(): Promise<void>;
9
8
  scanExtensions(): Promise<IExtensionDescription[]>;
10
- scanSingleExtension(extensionLocation: URI, isBuiltin: boolean): Promise<IExtensionDescription | null>;
11
9
  }
12
10
 
13
11
  export { IRemoteExtensionsScannerService };
@@ -127,12 +127,22 @@ function registerProxyConfigurations(scope) {
127
127
  )),
128
128
  restricted: true
129
129
  },
130
+ 'http.noProxy': {
131
+ type: 'array',
132
+ items: { type: 'string' },
133
+ markdownDescription: ( localizeWithPath(
134
+ _moduleId,
135
+ 5,
136
+ "Specifies domain names for which proxy settings should be ignored for HTTP/HTTPS requests."
137
+ )),
138
+ restricted: true
139
+ },
130
140
  'http.proxyAuthorization': {
131
141
  type: ['null', 'string'],
132
142
  default: null,
133
143
  markdownDescription: ( localizeWithPath(
134
144
  _moduleId,
135
- 5,
145
+ 6,
136
146
  "The value to send as the `Proxy-Authorization` header for every network request."
137
147
  )),
138
148
  restricted: true
@@ -141,21 +151,21 @@ function registerProxyConfigurations(scope) {
141
151
  type: 'string',
142
152
  enum: ['off', 'on', 'fallback', 'override'],
143
153
  enumDescriptions: [
144
- ( localizeWithPath(_moduleId, 6, "Disable proxy support for extensions.")),
145
- ( localizeWithPath(_moduleId, 7, "Enable proxy support for extensions.")),
154
+ ( localizeWithPath(_moduleId, 7, "Disable proxy support for extensions.")),
155
+ ( localizeWithPath(_moduleId, 8, "Enable proxy support for extensions.")),
146
156
  ( localizeWithPath(
147
157
  _moduleId,
148
- 8,
158
+ 9,
149
159
  "Enable proxy support for extensions, fall back to request options, when no proxy found."
150
160
  )),
151
161
  ( localizeWithPath(
152
162
  _moduleId,
153
- 9,
163
+ 10,
154
164
  "Enable proxy support for extensions, override request options."
155
165
  )),
156
166
  ],
157
167
  default: 'override',
158
- description: ( localizeWithPath(_moduleId, 10, "Use the proxy support for extensions.")),
168
+ description: ( localizeWithPath(_moduleId, 11, "Use the proxy support for extensions.")),
159
169
  restricted: true
160
170
  },
161
171
  'http.systemCertificates': {
@@ -163,7 +173,7 @@ function registerProxyConfigurations(scope) {
163
173
  default: true,
164
174
  description: ( localizeWithPath(
165
175
  _moduleId,
166
- 11,
176
+ 12,
167
177
  "Controls whether CA certificates should be loaded from the OS. (On Windows and macOS, a reload of the window is required after turning this off.)"
168
178
  )),
169
179
  restricted: true
@@ -174,7 +184,7 @@ function registerProxyConfigurations(scope) {
174
184
  default: false,
175
185
  description: ( localizeWithPath(
176
186
  _moduleId,
177
- 12,
187
+ 13,
178
188
  "Controls whether experimental loading of CA certificates from the OS should be enabled. This uses a more general approach than the default implemenation."
179
189
  )),
180
190
  restricted: true
@@ -1,6 +1,6 @@
1
1
  import { Event } from '../../../../base/common/event.js';
2
2
  import { IDisposable } from '../../../../base/common/lifecycle.js';
3
- import { IPromptInputModel } from './commandDetection/promptInputModel.js';
3
+ import { IPromptInputModel, ISerializedPromptInputModel } from './commandDetection/promptInputModel.js';
4
4
  import { ICurrentPartialCommand } from './commandDetection/terminalCommand.js';
5
5
  import { ITerminalOutputMatcher, ITerminalOutputMatch } from '../terminal.js';
6
6
 
@@ -142,11 +142,6 @@ interface ICommandDetectionCapability {
142
142
  readonly executingCommandObject: ITerminalCommand | undefined;
143
143
  /** The current cwd at the cursor's position. */
144
144
  readonly cwd: string | undefined;
145
- /**
146
- * Whether a command is currently being input. If the a command is current not being input or
147
- * the state cannot reliably be detected the fallback of undefined will be used.
148
- */
149
- readonly hasInput: boolean | undefined;
150
145
  readonly currentCommand: ICurrentPartialCommand | undefined;
151
146
  readonly onCommandStarted: Event<ITerminalCommand>;
152
147
  readonly onCommandFinished: Event<ITerminalCommand>;
@@ -266,6 +261,7 @@ interface IMarkProperties {
266
261
  interface ISerializedCommandDetectionCapability {
267
262
  isWindowsPty: boolean;
268
263
  commands: ISerializedTerminalCommand[];
264
+ promptInputModel: ISerializedPromptInputModel | undefined;
269
265
  }
270
266
 
271
267
  export { CommandInvalidationReason, type IBufferMarkCapability, type ICommandDetectionCapability, type ICommandInvalidationRequest, type ICwdDetectionCapability, type IHandleCommandOptions, type IMarkProperties, type IMarker, type INaiveCwdDetectionCapability, type IPartialCommandDetectionCapability, type ISerializedCommandDetectionCapability, type ISerializedTerminalCommand, type ITerminalCapabilityImplMap, type ITerminalCapabilityStore, type ITerminalCommand, type IXtermMarker, TerminalCapability, type TerminalCapabilityChangeEvent };
@@ -26,5 +26,12 @@ interface IPromptInputModelState {
26
26
  readonly cursorIndex: number;
27
27
  readonly ghostTextIndex: number;
28
28
  }
29
+ interface ISerializedPromptInputModel {
30
+ readonly modelState: IPromptInputModelState;
31
+ readonly commandStartX: number;
32
+ readonly lastPromptLine: string | undefined;
33
+ readonly continuationPrompt: string | undefined;
34
+ readonly lastUserInput: string;
35
+ }
29
36
 
30
- export type { IPromptInputModel, IPromptInputModelState };
37
+ export type { IPromptInputModel, IPromptInputModelState, ISerializedPromptInputModel };
@@ -51,6 +51,6 @@ interface ColorDefaults {
51
51
  * A Color Value is either a color literal, a reference to an other color or a derived color
52
52
  */
53
53
  type ColorValue = Color | string | ColorIdentifier | ColorTransform;
54
- declare function registerColor(id: string, defaults: ColorDefaults | null, description: string, needsTransparency?: boolean, deprecationMessage?: string): ColorIdentifier;
54
+ declare function registerColor(id: string, defaults: ColorDefaults | ColorValue | null, description: string, needsTransparency?: boolean, deprecationMessage?: string): ColorIdentifier;
55
55
 
56
56
  export { type ColorDefaults, type ColorIdentifier, type ColorTransform, ColorTransformType, type ColorValue, registerColor };
@@ -4,6 +4,8 @@ import { Color } from '../../../base/common/color.js';
4
4
  import { Emitter } from '../../../base/common/event.js';
5
5
  import { Extensions as Extensions$1 } from '../../jsonschemas/common/jsonContributionRegistry.js';
6
6
  import { Registry } from '../../registry/common/platform.js';
7
+ import { localizeWithPath } from '../../../nls.js';
8
+ const _moduleId = "vs/platform/theme/common/colorUtils";
7
9
  function asCssVariableName(colorIdent) {
8
10
  return `--vscode-${colorIdent.replace(/\./g, '-')}`;
9
11
  }
@@ -23,9 +25,13 @@ var ColorTransformType;
23
25
  ColorTransformType[ColorTransformType["LessProminent"] = 5] = "LessProminent";
24
26
  ColorTransformType[ColorTransformType["IfDefinedThenElse"] = 6] = "IfDefinedThenElse";
25
27
  })(ColorTransformType || (ColorTransformType = {}))));
28
+ function isColorDefaults(value) {
29
+ return value !== null && typeof value === 'object' && 'light' in value && 'dark' in value;
30
+ }
26
31
  const Extensions = {
27
32
  ColorContribution: 'base.contributions.colors'
28
33
  };
34
+ const DEFAULT_COLOR_CONFIG_VALUE = 'default';
29
35
  class ColorRegistry {
30
36
  constructor() {
31
37
  this._onDidChangeSchema = ( (new Emitter()));
@@ -34,6 +40,15 @@ class ColorRegistry {
34
40
  this.colorReferenceSchema = { type: 'string', enum: [], enumDescriptions: [] };
35
41
  this.colorsById = {};
36
42
  }
43
+ notifyThemeUpdate(colorThemeData) {
44
+ for (const key of ( (Object.keys(this.colorsById)))) {
45
+ const color = colorThemeData.getColor(key);
46
+ if (color) {
47
+ this.colorSchema.properties[key].oneOf[0].defaultSnippets[0].body = `\${1:${( (color.toString()))}}`;
48
+ }
49
+ }
50
+ this._onDidChangeSchema.fire();
51
+ }
37
52
  registerColor(id, defaults, description, needsTransparency = false, deprecationMessage) {
38
53
  const colorContribution = { id, description, defaults, needsTransparency, deprecationMessage };
39
54
  this.colorsById[id] = colorContribution;
@@ -43,9 +58,14 @@ class ColorRegistry {
43
58
  }
44
59
  if (needsTransparency) {
45
60
  propertySchema.pattern = '^#(?:(?<rgba>[0-9a-fA-f]{3}[0-9a-eA-E])|(?:[0-9a-fA-F]{6}(?:(?![fF]{2})(?:[0-9a-fA-F]{2}))))?$';
46
- propertySchema.patternErrorMessage = 'This color must be transparent or it will obscure content';
61
+ propertySchema.patternErrorMessage = ( localizeWithPath(_moduleId, 0, 'This color must be transparent or it will obscure content'));
47
62
  }
48
- this.colorSchema.properties[id] = propertySchema;
63
+ this.colorSchema.properties[id] = {
64
+ oneOf: [
65
+ propertySchema,
66
+ { type: 'string', const: DEFAULT_COLOR_CONFIG_VALUE, description: ( localizeWithPath(_moduleId, 1, 'Use the default color.')) }
67
+ ]
68
+ };
49
69
  this.colorReferenceSchema.enum.push(id);
50
70
  this.colorReferenceSchema.enumDescriptions.push(description);
51
71
  this._onDidChangeSchema.fire();
@@ -68,8 +88,8 @@ class ColorRegistry {
68
88
  }
69
89
  resolveDefaultColor(id, theme) {
70
90
  const colorDesc = this.colorsById[id];
71
- if (colorDesc && colorDesc.defaults) {
72
- const colorValue = colorDesc.defaults[theme.type];
91
+ if (colorDesc?.defaults) {
92
+ const colorValue = isColorDefaults(colorDesc.defaults) ? colorDesc.defaults[theme.type] : colorDesc.defaults;
73
93
  return resolveColorValue(colorValue, theme);
74
94
  }
75
95
  return undefined;
@@ -194,4 +214,4 @@ colorRegistry.onDidChangeSchema(() => {
194
214
  delayer.schedule();
195
215
  }
196
216
  });
197
- export { ColorTransformType, Extensions, asCssVariable, asCssVariableName, asCssVariableWithDefault, darken, executeTransform, getColorRegistry, ifDefinedThenElse, lessProminent, lighten, oneOf, opaque, registerColor, resolveColorValue, transparent, workbenchColorsSchemaId };
217
+ export { ColorTransformType, DEFAULT_COLOR_CONFIG_VALUE, Extensions, asCssVariable, asCssVariableName, asCssVariableWithDefault, darken, executeTransform, getColorRegistry, ifDefinedThenElse, isColorDefaults, lessProminent, lighten, oneOf, opaque, registerColor, resolveColorValue, transparent, workbenchColorsSchemaId };
@@ -38,7 +38,7 @@ const activeContrastBorder = registerColor('contrastActiveBorder', { light: null
38
38
  7,
39
39
  "An extra border around active elements to separate them from others for greater contrast."
40
40
  )));
41
- const selectionBackground = registerColor('selection.background', { light: null, dark: null, hcDark: null, hcLight: null }, ( localizeWithPath(
41
+ const selectionBackground = registerColor('selection.background', null, ( localizeWithPath(
42
42
  _moduleId,
43
43
  8,
44
44
  "The background color of text selections in the workbench (e.g. for input fields or text areas). Note that this does not apply to selections within the editor."
@@ -4,12 +4,12 @@ import { foreground } from './baseColors.js';
4
4
  import { editorErrorForeground, editorInfoForeground, editorWarningForeground } from './editorColors.js';
5
5
  import { minimapFindMatch } from './minimapColors.js';
6
6
  const _moduleId = "vs/platform/theme/common/colors/chartsColors";
7
- registerColor('charts.foreground', { dark: foreground, light: foreground, hcDark: foreground, hcLight: foreground }, ( localizeWithPath(_moduleId, 0, "The foreground color used in charts.")));
8
- registerColor('charts.lines', { dark: ( (transparent(foreground, .5))), light: ( (transparent(foreground, .5))), hcDark: ( (transparent(foreground, .5))), hcLight: ( (transparent(foreground, .5))) }, ( localizeWithPath(_moduleId, 1, "The color used for horizontal lines in charts.")));
9
- const chartsRed = registerColor('charts.red', { dark: editorErrorForeground, light: editorErrorForeground, hcDark: editorErrorForeground, hcLight: editorErrorForeground }, ( localizeWithPath(_moduleId, 2, "The red color used in chart visualizations.")));
10
- registerColor('charts.blue', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoForeground, hcLight: editorInfoForeground }, ( localizeWithPath(_moduleId, 3, "The blue color used in chart visualizations.")));
11
- const chartsYellow = registerColor('charts.yellow', { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningForeground, hcLight: editorWarningForeground }, ( localizeWithPath(_moduleId, 4, "The yellow color used in chart visualizations.")));
12
- registerColor('charts.orange', { dark: minimapFindMatch, light: minimapFindMatch, hcDark: minimapFindMatch, hcLight: minimapFindMatch }, ( localizeWithPath(_moduleId, 5, "The orange color used in chart visualizations.")));
7
+ registerColor('charts.foreground', foreground, ( localizeWithPath(_moduleId, 0, "The foreground color used in charts.")));
8
+ registerColor('charts.lines', ( (transparent(foreground, .5))), ( localizeWithPath(_moduleId, 1, "The color used for horizontal lines in charts.")));
9
+ const chartsRed = registerColor('charts.red', editorErrorForeground, ( localizeWithPath(_moduleId, 2, "The red color used in chart visualizations.")));
10
+ registerColor('charts.blue', editorInfoForeground, ( localizeWithPath(_moduleId, 3, "The blue color used in chart visualizations.")));
11
+ const chartsYellow = registerColor('charts.yellow', editorWarningForeground, ( localizeWithPath(_moduleId, 4, "The yellow color used in chart visualizations.")));
12
+ registerColor('charts.orange', minimapFindMatch, ( localizeWithPath(_moduleId, 5, "The orange color used in chart visualizations.")));
13
13
  const chartsGreen = registerColor('charts.green', { dark: '#89D185', light: '#388A34', hcDark: '#89D185', hcLight: '#374e06' }, ( localizeWithPath(_moduleId, 6, "The green color used in chart visualizations.")));
14
14
  registerColor('charts.purple', { dark: '#B180D7', light: '#652D90', hcDark: '#B180D7', hcLight: '#652D90' }, ( localizeWithPath(_moduleId, 7, "The purple color used in chart visualizations.")));
15
15
  export { chartsGreen, chartsRed, chartsYellow };
@@ -6,23 +6,23 @@ import { scrollbarShadow, badgeBackground } from './miscColors.js';
6
6
  const _moduleId = "vs/platform/theme/common/colors/editorColors";
7
7
  const editorBackground = registerColor('editor.background', { light: '#ffffff', dark: '#1E1E1E', hcDark: Color.black, hcLight: Color.white }, ( localizeWithPath(_moduleId, 0, "Editor background color.")));
8
8
  const editorForeground = registerColor('editor.foreground', { light: '#333333', dark: '#BBBBBB', hcDark: Color.white, hcLight: foreground }, ( localizeWithPath(_moduleId, 1, "Editor default foreground color.")));
9
- registerColor('editorStickyScroll.background', { light: editorBackground, dark: editorBackground, hcDark: editorBackground, hcLight: editorBackground }, ( localizeWithPath(_moduleId, 2, "Background color of sticky scroll in the editor")));
9
+ registerColor('editorStickyScroll.background', editorBackground, ( localizeWithPath(_moduleId, 2, "Background color of sticky scroll in the editor")));
10
10
  registerColor('editorStickyScrollHover.background', { dark: '#2A2D2E', light: '#F0F0F0', hcDark: null, hcLight: ( (( (Color.fromHex('#0F4A85'))).transparent(0.1))) }, ( localizeWithPath(_moduleId, 3, "Background color of sticky scroll on hover in the editor")));
11
11
  registerColor('editorStickyScroll.border', { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, ( localizeWithPath(_moduleId, 4, "Border color of sticky scroll in the editor")));
12
- registerColor('editorStickyScroll.shadow', { dark: scrollbarShadow, light: scrollbarShadow, hcDark: scrollbarShadow, hcLight: scrollbarShadow }, ( localizeWithPath(_moduleId, 5, " Shadow color of sticky scroll in the editor")));
12
+ registerColor('editorStickyScroll.shadow', scrollbarShadow, ( localizeWithPath(_moduleId, 5, " Shadow color of sticky scroll in the editor")));
13
13
  const editorWidgetBackground = registerColor('editorWidget.background', { dark: '#252526', light: '#F3F3F3', hcDark: '#0C141F', hcLight: Color.white }, ( localizeWithPath(_moduleId, 6, 'Background color of editor widgets, such as find/replace.')));
14
- const editorWidgetForeground = registerColor('editorWidget.foreground', { dark: foreground, light: foreground, hcDark: foreground, hcLight: foreground }, ( localizeWithPath(_moduleId, 7, 'Foreground color of editor widgets, such as find/replace.')));
14
+ const editorWidgetForeground = registerColor('editorWidget.foreground', foreground, ( localizeWithPath(_moduleId, 7, 'Foreground color of editor widgets, such as find/replace.')));
15
15
  const editorWidgetBorder = registerColor('editorWidget.border', { dark: '#454545', light: '#C8C8C8', hcDark: contrastBorder, hcLight: contrastBorder }, ( localizeWithPath(
16
16
  _moduleId,
17
17
  8,
18
18
  'Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget.'
19
19
  )));
20
- registerColor('editorWidget.resizeBorder', { light: null, dark: null, hcDark: null, hcLight: null }, ( localizeWithPath(
20
+ registerColor('editorWidget.resizeBorder', null, ( localizeWithPath(
21
21
  _moduleId,
22
22
  9,
23
23
  "Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget."
24
24
  )));
25
- registerColor('editorError.background', { dark: null, light: null, hcDark: null, hcLight: null }, ( localizeWithPath(
25
+ registerColor('editorError.background', null, ( localizeWithPath(
26
26
  _moduleId,
27
27
  10,
28
28
  'Background color of error text in the editor. The color must not be opaque so as not to hide underlying decorations.'
@@ -33,7 +33,7 @@ const editorErrorBorder = registerColor('editorError.border', { dark: null, ligh
33
33
  12,
34
34
  'If set, color of double underlines for errors in the editor.'
35
35
  )));
36
- const editorWarningBackground = registerColor('editorWarning.background', { dark: null, light: null, hcDark: null, hcLight: null }, ( localizeWithPath(
36
+ const editorWarningBackground = registerColor('editorWarning.background', null, ( localizeWithPath(
37
37
  _moduleId,
38
38
  13,
39
39
  'Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations.'
@@ -44,7 +44,7 @@ const editorWarningBorder = registerColor('editorWarning.border', { dark: null,
44
44
  15,
45
45
  'If set, color of double underlines for warnings in the editor.'
46
46
  )));
47
- registerColor('editorInfo.background', { dark: null, light: null, hcDark: null, hcLight: null }, ( localizeWithPath(
47
+ registerColor('editorInfo.background', null, ( localizeWithPath(
48
48
  _moduleId,
49
49
  16,
50
50
  'Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations.'
@@ -80,13 +80,13 @@ registerColor('editor.selectionHighlightBorder', { light: null, dark: null, hcDa
80
80
  "Border color for regions with the same content as the selection."
81
81
  )));
82
82
  const editorFindMatch = registerColor('editor.findMatchBackground', { light: '#A8AC94', dark: '#515C6A', hcDark: null, hcLight: null }, ( localizeWithPath(_moduleId, 27, "Color of the current search match.")));
83
- const editorFindMatchForeground = registerColor('editor.findMatchForeground', { light: null, dark: null, hcDark: null, hcLight: null }, ( localizeWithPath(_moduleId, 28, "Text color of the current search match.")));
83
+ const editorFindMatchForeground = registerColor('editor.findMatchForeground', null, ( localizeWithPath(_moduleId, 28, "Text color of the current search match.")));
84
84
  const editorFindMatchHighlight = registerColor('editor.findMatchHighlightBackground', { light: '#EA5C0055', dark: '#EA5C0055', hcDark: null, hcLight: null }, ( localizeWithPath(
85
85
  _moduleId,
86
86
  29,
87
87
  "Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."
88
88
  )), true);
89
- const editorFindMatchHighlightForeground = registerColor('editor.findMatchHighlightForeground', { light: null, dark: null, hcDark: null, hcLight: null }, ( localizeWithPath(_moduleId, 30, "Foreground color of the other search matches.")), true);
89
+ const editorFindMatchHighlightForeground = registerColor('editor.findMatchHighlightForeground', null, ( localizeWithPath(_moduleId, 30, "Foreground color of the other search matches.")), true);
90
90
  const editorFindRangeHighlight = registerColor('editor.findRangeHighlightBackground', { dark: '#3a3d4166', light: '#b4b4b44d', hcDark: null, hcLight: null }, ( localizeWithPath(
91
91
  _moduleId,
92
92
  31,
@@ -104,22 +104,22 @@ const editorHoverHighlight = registerColor('editor.hoverHighlightBackground', {
104
104
  35,
105
105
  'Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations.'
106
106
  )), true);
107
- const editorHoverBackground = registerColor('editorHoverWidget.background', { light: editorWidgetBackground, dark: editorWidgetBackground, hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, ( localizeWithPath(_moduleId, 36, 'Background color of the editor hover.')));
108
- const editorHoverForeground = registerColor('editorHoverWidget.foreground', { light: editorWidgetForeground, dark: editorWidgetForeground, hcDark: editorWidgetForeground, hcLight: editorWidgetForeground }, ( localizeWithPath(_moduleId, 37, 'Foreground color of the editor hover.')));
109
- const editorHoverBorder = registerColor('editorHoverWidget.border', { light: editorWidgetBorder, dark: editorWidgetBorder, hcDark: editorWidgetBorder, hcLight: editorWidgetBorder }, ( localizeWithPath(_moduleId, 38, 'Border color of the editor hover.')));
107
+ const editorHoverBackground = registerColor('editorHoverWidget.background', editorWidgetBackground, ( localizeWithPath(_moduleId, 36, 'Background color of the editor hover.')));
108
+ const editorHoverForeground = registerColor('editorHoverWidget.foreground', editorWidgetForeground, ( localizeWithPath(_moduleId, 37, 'Foreground color of the editor hover.')));
109
+ const editorHoverBorder = registerColor('editorHoverWidget.border', editorWidgetBorder, ( localizeWithPath(_moduleId, 38, 'Border color of the editor hover.')));
110
110
  registerColor('editorHoverWidget.statusBarBackground', { dark: ( (lighten(editorHoverBackground, 0.2))), light: ( (darken(editorHoverBackground, 0.05))), hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, ( localizeWithPath(_moduleId, 39, "Background color of the editor hover status bar.")));
111
111
  const editorInlayHintForeground = registerColor('editorInlayHint.foreground', { dark: '#969696', light: '#969696', hcDark: Color.white, hcLight: Color.black }, ( localizeWithPath(_moduleId, 40, 'Foreground color of inline hints')));
112
112
  const editorInlayHintBackground = registerColor('editorInlayHint.background', { dark: ( (transparent(badgeBackground, .10))), light: ( (transparent(badgeBackground, .10))), hcDark: ( (transparent(Color.white, .10))), hcLight: ( (transparent(badgeBackground, .10))) }, ( localizeWithPath(_moduleId, 41, 'Background color of inline hints')));
113
- const editorInlayHintTypeForeground = registerColor('editorInlayHint.typeForeground', { dark: editorInlayHintForeground, light: editorInlayHintForeground, hcDark: editorInlayHintForeground, hcLight: editorInlayHintForeground }, ( localizeWithPath(_moduleId, 42, 'Foreground color of inline hints for types')));
114
- const editorInlayHintTypeBackground = registerColor('editorInlayHint.typeBackground', { dark: editorInlayHintBackground, light: editorInlayHintBackground, hcDark: editorInlayHintBackground, hcLight: editorInlayHintBackground }, ( localizeWithPath(_moduleId, 43, 'Background color of inline hints for types')));
115
- const editorInlayHintParameterForeground = registerColor('editorInlayHint.parameterForeground', { dark: editorInlayHintForeground, light: editorInlayHintForeground, hcDark: editorInlayHintForeground, hcLight: editorInlayHintForeground }, ( localizeWithPath(_moduleId, 44, 'Foreground color of inline hints for parameters')));
116
- const editorInlayHintParameterBackground = registerColor('editorInlayHint.parameterBackground', { dark: editorInlayHintBackground, light: editorInlayHintBackground, hcDark: editorInlayHintBackground, hcLight: editorInlayHintBackground }, ( localizeWithPath(_moduleId, 45, 'Background color of inline hints for parameters')));
113
+ const editorInlayHintTypeForeground = registerColor('editorInlayHint.typeForeground', editorInlayHintForeground, ( localizeWithPath(_moduleId, 42, 'Foreground color of inline hints for types')));
114
+ const editorInlayHintTypeBackground = registerColor('editorInlayHint.typeBackground', editorInlayHintBackground, ( localizeWithPath(_moduleId, 43, 'Background color of inline hints for types')));
115
+ const editorInlayHintParameterForeground = registerColor('editorInlayHint.parameterForeground', editorInlayHintForeground, ( localizeWithPath(_moduleId, 44, 'Foreground color of inline hints for parameters')));
116
+ const editorInlayHintParameterBackground = registerColor('editorInlayHint.parameterBackground', editorInlayHintBackground, ( localizeWithPath(_moduleId, 45, 'Background color of inline hints for parameters')));
117
117
  const editorLightBulbForeground = registerColor('editorLightBulb.foreground', { dark: '#FFCC00', light: '#DDB100', hcDark: '#FFCC00', hcLight: '#007ACC' }, ( localizeWithPath(_moduleId, 46, "The color used for the lightbulb actions icon.")));
118
118
  registerColor('editorLightBulbAutoFix.foreground', { dark: '#75BEFF', light: '#007ACC', hcDark: '#75BEFF', hcLight: '#007ACC' }, ( localizeWithPath(_moduleId, 47, "The color used for the lightbulb auto fix actions icon.")));
119
- registerColor('editorLightBulbAi.foreground', { dark: editorLightBulbForeground, light: editorLightBulbForeground, hcDark: editorLightBulbForeground, hcLight: editorLightBulbForeground }, ( localizeWithPath(_moduleId, 48, "The color used for the lightbulb AI icon.")));
119
+ registerColor('editorLightBulbAi.foreground', editorLightBulbForeground, ( localizeWithPath(_moduleId, 48, "The color used for the lightbulb AI icon.")));
120
120
  registerColor('editor.snippetTabstopHighlightBackground', { dark: ( (new Color( (new RGBA(124, 124, 124, 0.3))))), light: ( (new Color( (new RGBA(10, 50, 100, 0.2))))), hcDark: ( (new Color( (new RGBA(124, 124, 124, 0.3))))), hcLight: ( (new Color( (new RGBA(10, 50, 100, 0.2))))) }, ( localizeWithPath(_moduleId, 49, "Highlight background color of a snippet tabstop.")));
121
- registerColor('editor.snippetTabstopHighlightBorder', { dark: null, light: null, hcDark: null, hcLight: null }, ( localizeWithPath(_moduleId, 50, "Highlight border color of a snippet tabstop.")));
122
- registerColor('editor.snippetFinalTabstopHighlightBackground', { dark: null, light: null, hcDark: null, hcLight: null }, ( localizeWithPath(
121
+ registerColor('editor.snippetTabstopHighlightBorder', null, ( localizeWithPath(_moduleId, 50, "Highlight border color of a snippet tabstop.")));
122
+ registerColor('editor.snippetFinalTabstopHighlightBackground', null, ( localizeWithPath(
123
123
  _moduleId,
124
124
  51,
125
125
  "Highlight background color of the final tabstop of a snippet."
@@ -147,10 +147,10 @@ registerColor('diffEditor.removedLineBackground', { dark: defaultRemoveColor, li
147
147
  56,
148
148
  'Background color for lines that got removed. The color must not be opaque so as not to hide underlying decorations.'
149
149
  )), true);
150
- registerColor('diffEditorGutter.insertedLineBackground', { dark: null, light: null, hcDark: null, hcLight: null }, ( localizeWithPath(_moduleId, 57, 'Background color for the margin where lines got inserted.')));
151
- registerColor('diffEditorGutter.removedLineBackground', { dark: null, light: null, hcDark: null, hcLight: null }, ( localizeWithPath(_moduleId, 58, 'Background color for the margin where lines got removed.')));
152
- const diffOverviewRulerInserted = registerColor('diffEditorOverview.insertedForeground', { dark: null, light: null, hcDark: null, hcLight: null }, ( localizeWithPath(_moduleId, 59, 'Diff overview ruler foreground for inserted content.')));
153
- const diffOverviewRulerRemoved = registerColor('diffEditorOverview.removedForeground', { dark: null, light: null, hcDark: null, hcLight: null }, ( localizeWithPath(_moduleId, 60, 'Diff overview ruler foreground for removed content.')));
150
+ registerColor('diffEditorGutter.insertedLineBackground', null, ( localizeWithPath(_moduleId, 57, 'Background color for the margin where lines got inserted.')));
151
+ registerColor('diffEditorGutter.removedLineBackground', null, ( localizeWithPath(_moduleId, 58, 'Background color for the margin where lines got removed.')));
152
+ const diffOverviewRulerInserted = registerColor('diffEditorOverview.insertedForeground', null, ( localizeWithPath(_moduleId, 59, 'Diff overview ruler foreground for inserted content.')));
153
+ const diffOverviewRulerRemoved = registerColor('diffEditorOverview.removedForeground', null, ( localizeWithPath(_moduleId, 60, 'Diff overview ruler foreground for removed content.')));
154
154
  registerColor('diffEditor.insertedTextBorder', { dark: null, light: null, hcDark: '#33ff2eff', hcLight: '#374E06' }, ( localizeWithPath(_moduleId, 61, 'Outline color for the text that got inserted.')));
155
155
  registerColor('diffEditor.removedTextBorder', { dark: null, light: null, hcDark: '#FF008F', hcLight: '#AD0707' }, ( localizeWithPath(_moduleId, 62, 'Outline color for text that got removed.')));
156
156
  registerColor('diffEditor.border', { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, ( localizeWithPath(_moduleId, 63, 'Border color between the two text editors.')));
@@ -159,12 +159,12 @@ const diffDiagonalFill = registerColor('diffEditor.diagonalFill', { dark: '#cccc
159
159
  64,
160
160
  "Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views."
161
161
  )));
162
- registerColor('diffEditor.unchangedRegionBackground', { dark: 'sideBar.background', light: 'sideBar.background', hcDark: 'sideBar.background', hcLight: 'sideBar.background' }, ( localizeWithPath(
162
+ registerColor('diffEditor.unchangedRegionBackground', 'sideBar.background', ( localizeWithPath(
163
163
  _moduleId,
164
164
  65,
165
165
  "The background color of unchanged blocks in the diff editor."
166
166
  )));
167
- registerColor('diffEditor.unchangedRegionForeground', { dark: 'foreground', light: 'foreground', hcDark: 'foreground', hcLight: 'foreground' }, ( localizeWithPath(
167
+ registerColor('diffEditor.unchangedRegionForeground', 'foreground', ( localizeWithPath(
168
168
  _moduleId,
169
169
  66,
170
170
  "The foreground color of unchanged blocks in the diff editor."
@@ -195,11 +195,11 @@ registerColor('toolbar.hoverOutline', { dark: null, light: null, hcDark: activeC
195
195
  "Toolbar outline when hovering over actions using the mouse"
196
196
  )));
197
197
  registerColor('toolbar.activeBackground', { dark: ( (lighten(toolbarHoverBackground, 0.1))), light: ( (darken(toolbarHoverBackground, 0.1))), hcDark: null, hcLight: null }, ( localizeWithPath(_moduleId, 72, "Toolbar background when holding the mouse over actions")));
198
- const breadcrumbsForeground = registerColor('breadcrumb.foreground', { light: ( (transparent(foreground, 0.8))), dark: ( (transparent(foreground, 0.8))), hcDark: ( (transparent(foreground, 0.8))), hcLight: ( (transparent(foreground, 0.8))) }, ( localizeWithPath(_moduleId, 73, "Color of focused breadcrumb items.")));
199
- const breadcrumbsBackground = registerColor('breadcrumb.background', { light: editorBackground, dark: editorBackground, hcDark: editorBackground, hcLight: editorBackground }, ( localizeWithPath(_moduleId, 74, "Background color of breadcrumb items.")));
198
+ const breadcrumbsForeground = registerColor('breadcrumb.foreground', ( (transparent(foreground, 0.8))), ( localizeWithPath(_moduleId, 73, "Color of focused breadcrumb items.")));
199
+ const breadcrumbsBackground = registerColor('breadcrumb.background', editorBackground, ( localizeWithPath(_moduleId, 74, "Background color of breadcrumb items.")));
200
200
  const breadcrumbsFocusForeground = registerColor('breadcrumb.focusForeground', { light: ( (darken(foreground, 0.2))), dark: ( (lighten(foreground, 0.1))), hcDark: ( (lighten(foreground, 0.1))), hcLight: ( (lighten(foreground, 0.1))) }, ( localizeWithPath(_moduleId, 73, "Color of focused breadcrumb items.")));
201
201
  const breadcrumbsActiveSelectionForeground = registerColor('breadcrumb.activeSelectionForeground', { light: ( (darken(foreground, 0.2))), dark: ( (lighten(foreground, 0.1))), hcDark: ( (lighten(foreground, 0.1))), hcLight: ( (lighten(foreground, 0.1))) }, ( localizeWithPath(_moduleId, 75, "Color of selected breadcrumb items.")));
202
- const breadcrumbsPickerBackground = registerColor('breadcrumbPicker.background', { light: editorWidgetBackground, dark: editorWidgetBackground, hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, ( localizeWithPath(_moduleId, 76, "Background color of breadcrumb item picker.")));
202
+ const breadcrumbsPickerBackground = registerColor('breadcrumbPicker.background', editorWidgetBackground, ( localizeWithPath(_moduleId, 76, "Background color of breadcrumb item picker.")));
203
203
  const headerTransparency = 0.5;
204
204
  const currentBaseColor = ( (( (Color.fromHex('#40C8AE'))).transparent(headerTransparency)));
205
205
  const incomingBaseColor = ( (( (Color.fromHex('#40A6FF'))).transparent(headerTransparency)));
@@ -211,7 +211,7 @@ const mergeCurrentHeaderBackground = registerColor('merge.currentHeaderBackgroun
211
211
  77,
212
212
  'Current header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.'
213
213
  )), true);
214
- registerColor('merge.currentContentBackground', { dark: ( (transparent(mergeCurrentHeaderBackground, contentTransparency))), light: ( (transparent(mergeCurrentHeaderBackground, contentTransparency))), hcDark: ( (transparent(mergeCurrentHeaderBackground, contentTransparency))), hcLight: ( (transparent(mergeCurrentHeaderBackground, contentTransparency))) }, ( localizeWithPath(
214
+ registerColor('merge.currentContentBackground', ( (transparent(mergeCurrentHeaderBackground, contentTransparency))), ( localizeWithPath(
215
215
  _moduleId,
216
216
  78,
217
217
  'Current content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.'
@@ -221,7 +221,7 @@ const mergeIncomingHeaderBackground = registerColor('merge.incomingHeaderBackgro
221
221
  79,
222
222
  'Incoming header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.'
223
223
  )), true);
224
- registerColor('merge.incomingContentBackground', { dark: ( (transparent(mergeIncomingHeaderBackground, contentTransparency))), light: ( (transparent(mergeIncomingHeaderBackground, contentTransparency))), hcDark: ( (transparent(mergeIncomingHeaderBackground, contentTransparency))), hcLight: ( (transparent(mergeIncomingHeaderBackground, contentTransparency))) }, ( localizeWithPath(
224
+ registerColor('merge.incomingContentBackground', ( (transparent(mergeIncomingHeaderBackground, contentTransparency))), ( localizeWithPath(
225
225
  _moduleId,
226
226
  80,
227
227
  'Incoming content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.'
@@ -231,7 +231,7 @@ const mergeCommonHeaderBackground = registerColor('merge.commonHeaderBackground'
231
231
  81,
232
232
  'Common ancestor header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.'
233
233
  )), true);
234
- registerColor('merge.commonContentBackground', { dark: ( (transparent(mergeCommonHeaderBackground, contentTransparency))), light: ( (transparent(mergeCommonHeaderBackground, contentTransparency))), hcDark: ( (transparent(mergeCommonHeaderBackground, contentTransparency))), hcLight: ( (transparent(mergeCommonHeaderBackground, contentTransparency))) }, ( localizeWithPath(
234
+ registerColor('merge.commonContentBackground', ( (transparent(mergeCommonHeaderBackground, contentTransparency))), ( localizeWithPath(
235
235
  _moduleId,
236
236
  82,
237
237
  'Common ancestor content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.'
@@ -261,12 +261,12 @@ const overviewRulerFindMatchForeground = registerColor('editorOverviewRuler.find
261
261
  87,
262
262
  'Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations.'
263
263
  )), true);
264
- const overviewRulerSelectionHighlightForeground = registerColor('editorOverviewRuler.selectionHighlightForeground', { dark: '#A0A0A0CC', light: '#A0A0A0CC', hcDark: '#A0A0A0CC', hcLight: '#A0A0A0CC' }, ( localizeWithPath(
264
+ const overviewRulerSelectionHighlightForeground = registerColor('editorOverviewRuler.selectionHighlightForeground', '#A0A0A0CC', ( localizeWithPath(
265
265
  _moduleId,
266
266
  88,
267
267
  'Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations.'
268
268
  )), true);
269
- const problemsErrorIconForeground = registerColor('problemsErrorIcon.foreground', { dark: editorErrorForeground, light: editorErrorForeground, hcDark: editorErrorForeground, hcLight: editorErrorForeground }, ( localizeWithPath(_moduleId, 89, "The color used for the problems error icon.")));
270
- const problemsWarningIconForeground = registerColor('problemsWarningIcon.foreground', { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningForeground, hcLight: editorWarningForeground }, ( localizeWithPath(_moduleId, 90, "The color used for the problems warning icon.")));
271
- const problemsInfoIconForeground = registerColor('problemsInfoIcon.foreground', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoForeground, hcLight: editorInfoForeground }, ( localizeWithPath(_moduleId, 91, "The color used for the problems info icon.")));
269
+ const problemsErrorIconForeground = registerColor('problemsErrorIcon.foreground', editorErrorForeground, ( localizeWithPath(_moduleId, 89, "The color used for the problems error icon.")));
270
+ const problemsWarningIconForeground = registerColor('problemsWarningIcon.foreground', editorWarningForeground, ( localizeWithPath(_moduleId, 90, "The color used for the problems warning icon.")));
271
+ const problemsInfoIconForeground = registerColor('problemsInfoIcon.foreground', editorInfoForeground, ( localizeWithPath(_moduleId, 91, "The color used for the problems info icon.")));
272
272
  export { breadcrumbsActiveSelectionForeground, breadcrumbsBackground, breadcrumbsFocusForeground, breadcrumbsForeground, breadcrumbsPickerBackground, defaultInsertColor, defaultRemoveColor, diffDiagonalFill, diffInserted, diffOverviewRulerInserted, diffOverviewRulerRemoved, diffRemoved, editorActiveLinkForeground, editorBackground, editorErrorBorder, editorErrorForeground, editorFindMatch, editorFindMatchForeground, editorFindMatchHighlight, editorFindMatchHighlightBorder, editorFindMatchHighlightForeground, editorFindRangeHighlight, editorFindRangeHighlightBorder, editorForeground, editorHintForeground, editorHoverBackground, editorHoverBorder, editorHoverForeground, editorHoverHighlight, editorInactiveSelection, editorInfoBorder, editorInfoForeground, editorInlayHintBackground, editorInlayHintForeground, editorInlayHintParameterBackground, editorInlayHintParameterForeground, editorInlayHintTypeBackground, editorInlayHintTypeForeground, editorLightBulbForeground, editorSelectionBackground, editorSelectionForeground, editorSelectionHighlight, editorWarningBackground, editorWarningBorder, editorWarningForeground, editorWidgetBackground, editorWidgetBorder, editorWidgetForeground, mergeBorder, mergeCommonHeaderBackground, mergeCurrentHeaderBackground, mergeIncomingHeaderBackground, overviewRulerFindMatchForeground, overviewRulerSelectionHighlightForeground, problemsErrorIconForeground, problemsInfoIconForeground, problemsWarningIconForeground, toolbarHoverBackground, widgetBorder, widgetShadow };
@@ -5,7 +5,7 @@ import { foreground, contrastBorder, iconForeground, focusBorder } from './baseC
5
5
  import { editorWidgetBackground } from './editorColors.js';
6
6
  const _moduleId = "vs/platform/theme/common/colors/inputColors";
7
7
  const inputBackground = registerColor('input.background', { dark: '#3C3C3C', light: Color.white, hcDark: Color.black, hcLight: Color.white }, ( localizeWithPath(_moduleId, 0, "Input box background.")));
8
- const inputForeground = registerColor('input.foreground', { dark: foreground, light: foreground, hcDark: foreground, hcLight: foreground }, ( localizeWithPath(_moduleId, 1, "Input box foreground.")));
8
+ const inputForeground = registerColor('input.foreground', foreground, ( localizeWithPath(_moduleId, 1, "Input box foreground.")));
9
9
  const inputBorder = registerColor('input.border', { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, ( localizeWithPath(_moduleId, 2, "Input box border.")));
10
10
  const inputActiveOptionBorder = registerColor('inputOption.activeBorder', { dark: '#007ACC', light: '#007ACC', hcDark: contrastBorder, hcLight: contrastBorder }, ( localizeWithPath(_moduleId, 3, "Border color of activated options in input fields.")));
11
11
  registerColor('inputOption.hoverBackground', { dark: '#5a5d5e80', light: '#b8b8b850', hcDark: null, hcLight: null }, ( localizeWithPath(_moduleId, 4, "Background color of activated options in input fields.")));
@@ -33,23 +33,23 @@ const selectBackground = registerColor('dropdown.background', { dark: '#3C3C3C',
33
33
  const selectListBackground = registerColor('dropdown.listBackground', { dark: null, light: null, hcDark: Color.black, hcLight: Color.white }, ( localizeWithPath(_moduleId, 18, "Dropdown list background.")));
34
34
  const selectForeground = registerColor('dropdown.foreground', { dark: '#F0F0F0', light: foreground, hcDark: Color.white, hcLight: foreground }, ( localizeWithPath(_moduleId, 19, "Dropdown foreground.")));
35
35
  const selectBorder = registerColor('dropdown.border', { dark: selectBackground, light: '#CECECE', hcDark: contrastBorder, hcLight: contrastBorder }, ( localizeWithPath(_moduleId, 20, "Dropdown border.")));
36
- const buttonForeground = registerColor('button.foreground', { dark: Color.white, light: Color.white, hcDark: Color.white, hcLight: Color.white }, ( localizeWithPath(_moduleId, 21, "Button foreground color.")));
37
- const buttonSeparator = registerColor('button.separator', { dark: ( (transparent(buttonForeground, .4))), light: ( (transparent(buttonForeground, .4))), hcDark: ( (transparent(buttonForeground, .4))), hcLight: ( (transparent(buttonForeground, .4))) }, ( localizeWithPath(_moduleId, 22, "Button separator color.")));
36
+ const buttonForeground = registerColor('button.foreground', Color.white, ( localizeWithPath(_moduleId, 21, "Button foreground color.")));
37
+ const buttonSeparator = registerColor('button.separator', ( (transparent(buttonForeground, .4))), ( localizeWithPath(_moduleId, 22, "Button separator color.")));
38
38
  const buttonBackground = registerColor('button.background', { dark: '#0E639C', light: '#007ACC', hcDark: null, hcLight: '#0F4A85' }, ( localizeWithPath(_moduleId, 23, "Button background color.")));
39
39
  const buttonHoverBackground = registerColor('button.hoverBackground', { dark: ( (lighten(buttonBackground, 0.2))), light: ( (darken(buttonBackground, 0.2))), hcDark: buttonBackground, hcLight: buttonBackground }, ( localizeWithPath(_moduleId, 24, "Button background color when hovering.")));
40
- const buttonBorder = registerColor('button.border', { dark: contrastBorder, light: contrastBorder, hcDark: contrastBorder, hcLight: contrastBorder }, ( localizeWithPath(_moduleId, 25, "Button border color.")));
40
+ const buttonBorder = registerColor('button.border', contrastBorder, ( localizeWithPath(_moduleId, 25, "Button border color.")));
41
41
  const buttonSecondaryForeground = registerColor('button.secondaryForeground', { dark: Color.white, light: Color.white, hcDark: Color.white, hcLight: foreground }, ( localizeWithPath(_moduleId, 26, "Secondary button foreground color.")));
42
42
  const buttonSecondaryBackground = registerColor('button.secondaryBackground', { dark: '#3A3D41', light: '#5F6A79', hcDark: null, hcLight: Color.white }, ( localizeWithPath(_moduleId, 27, "Secondary button background color.")));
43
43
  const buttonSecondaryHoverBackground = registerColor('button.secondaryHoverBackground', { dark: ( (lighten(buttonSecondaryBackground, 0.2))), light: ( (darken(buttonSecondaryBackground, 0.2))), hcDark: null, hcLight: null }, ( localizeWithPath(_moduleId, 28, "Secondary button background color when hovering.")));
44
- const checkboxBackground = registerColor('checkbox.background', { dark: selectBackground, light: selectBackground, hcDark: selectBackground, hcLight: selectBackground }, ( localizeWithPath(_moduleId, 29, "Background color of checkbox widget.")));
45
- registerColor('checkbox.selectBackground', { dark: editorWidgetBackground, light: editorWidgetBackground, hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, ( localizeWithPath(
44
+ const checkboxBackground = registerColor('checkbox.background', selectBackground, ( localizeWithPath(_moduleId, 29, "Background color of checkbox widget.")));
45
+ registerColor('checkbox.selectBackground', editorWidgetBackground, ( localizeWithPath(
46
46
  _moduleId,
47
47
  30,
48
48
  "Background color of checkbox widget when the element it's in is selected."
49
49
  )));
50
- const checkboxForeground = registerColor('checkbox.foreground', { dark: selectForeground, light: selectForeground, hcDark: selectForeground, hcLight: selectForeground }, ( localizeWithPath(_moduleId, 31, "Foreground color of checkbox widget.")));
51
- const checkboxBorder = registerColor('checkbox.border', { dark: selectBorder, light: selectBorder, hcDark: selectBorder, hcLight: selectBorder }, ( localizeWithPath(_moduleId, 32, "Border color of checkbox widget.")));
52
- registerColor('checkbox.selectBorder', { dark: iconForeground, light: iconForeground, hcDark: iconForeground, hcLight: iconForeground }, ( localizeWithPath(
50
+ const checkboxForeground = registerColor('checkbox.foreground', selectForeground, ( localizeWithPath(_moduleId, 31, "Foreground color of checkbox widget.")));
51
+ const checkboxBorder = registerColor('checkbox.border', selectBorder, ( localizeWithPath(_moduleId, 32, "Border color of checkbox widget.")));
52
+ registerColor('checkbox.selectBorder', iconForeground, ( localizeWithPath(
53
53
  _moduleId,
54
54
  33,
55
55
  "Border color of checkbox widget when the element it's in is selected."
@@ -4,12 +4,12 @@ import { registerColor, ifDefinedThenElse, darken, lighten, transparent } from '
4
4
  import { focusBorder, activeContrastBorder, iconForeground, contrastBorder, foreground } from './baseColors.js';
5
5
  import { editorWidgetBackground, widgetShadow, editorFindMatchHighlight, editorFindMatchHighlightBorder } from './editorColors.js';
6
6
  const _moduleId = "vs/platform/theme/common/colors/listColors";
7
- const listFocusBackground = registerColor('list.focusBackground', { dark: null, light: null, hcDark: null, hcLight: null }, ( localizeWithPath(
7
+ const listFocusBackground = registerColor('list.focusBackground', null, ( localizeWithPath(
8
8
  _moduleId,
9
9
  0,
10
10
  "List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."
11
11
  )));
12
- const listFocusForeground = registerColor('list.focusForeground', { dark: null, light: null, hcDark: null, hcLight: null }, ( localizeWithPath(
12
+ const listFocusForeground = registerColor('list.focusForeground', null, ( localizeWithPath(
13
13
  _moduleId,
14
14
  1,
15
15
  "List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."
@@ -19,7 +19,7 @@ const listFocusOutline = registerColor('list.focusOutline', { dark: focusBorder,
19
19
  2,
20
20
  "List/Tree outline color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."
21
21
  )));
22
- const listFocusAndSelectionOutline = registerColor('list.focusAndSelectionOutline', { dark: null, light: null, hcDark: null, hcLight: null }, ( localizeWithPath(
22
+ const listFocusAndSelectionOutline = registerColor('list.focusAndSelectionOutline', null, ( localizeWithPath(
23
23
  _moduleId,
24
24
  3,
25
25
  "List/Tree outline color for the focused item when the list/tree is active and selected. An active list/tree has keyboard focus, an inactive does not."
@@ -34,7 +34,7 @@ const listActiveSelectionForeground = registerColor('list.activeSelectionForegro
34
34
  5,
35
35
  "List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."
36
36
  )));
37
- const listActiveSelectionIconForeground = registerColor('list.activeSelectionIconForeground', { dark: null, light: null, hcDark: null, hcLight: null }, ( localizeWithPath(
37
+ const listActiveSelectionIconForeground = registerColor('list.activeSelectionIconForeground', null, ( localizeWithPath(
38
38
  _moduleId,
39
39
  6,
40
40
  "List/Tree icon foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."
@@ -44,22 +44,22 @@ const listInactiveSelectionBackground = registerColor('list.inactiveSelectionBac
44
44
  7,
45
45
  "List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not."
46
46
  )));
47
- const listInactiveSelectionForeground = registerColor('list.inactiveSelectionForeground', { dark: null, light: null, hcDark: null, hcLight: null }, ( localizeWithPath(
47
+ const listInactiveSelectionForeground = registerColor('list.inactiveSelectionForeground', null, ( localizeWithPath(
48
48
  _moduleId,
49
49
  8,
50
50
  "List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not."
51
51
  )));
52
- const listInactiveSelectionIconForeground = registerColor('list.inactiveSelectionIconForeground', { dark: null, light: null, hcDark: null, hcLight: null }, ( localizeWithPath(
52
+ const listInactiveSelectionIconForeground = registerColor('list.inactiveSelectionIconForeground', null, ( localizeWithPath(
53
53
  _moduleId,
54
54
  9,
55
55
  "List/Tree icon foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not."
56
56
  )));
57
- const listInactiveFocusBackground = registerColor('list.inactiveFocusBackground', { dark: null, light: null, hcDark: null, hcLight: null }, ( localizeWithPath(
57
+ const listInactiveFocusBackground = registerColor('list.inactiveFocusBackground', null, ( localizeWithPath(
58
58
  _moduleId,
59
59
  10,
60
60
  "List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not."
61
61
  )));
62
- const listInactiveFocusOutline = registerColor('list.inactiveFocusOutline', { dark: null, light: null, hcDark: null, hcLight: null }, ( localizeWithPath(
62
+ const listInactiveFocusOutline = registerColor('list.inactiveFocusOutline', null, ( localizeWithPath(
63
63
  _moduleId,
64
64
  11,
65
65
  "List/Tree outline color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not."
@@ -69,7 +69,7 @@ const listHoverBackground = registerColor('list.hoverBackground', { dark: '#2A2D
69
69
  12,
70
70
  "List/Tree background when hovering over items using the mouse."
71
71
  )));
72
- const listHoverForeground = registerColor('list.hoverForeground', { dark: null, light: null, hcDark: null, hcLight: null }, ( localizeWithPath(
72
+ const listHoverForeground = registerColor('list.hoverForeground', null, ( localizeWithPath(
73
73
  _moduleId,
74
74
  13,
75
75
  "List/Tree foreground when hovering over items using the mouse."
@@ -116,7 +116,7 @@ const listFilterWidgetNoMatchesOutline = registerColor('listFilterWidget.noMatch
116
116
  23,
117
117
  'Outline color of the type filter widget in lists and trees, when there are no matches.'
118
118
  )));
119
- const listFilterWidgetShadow = registerColor('listFilterWidget.shadow', { dark: widgetShadow, light: widgetShadow, hcDark: widgetShadow, hcLight: widgetShadow }, ( localizeWithPath(
119
+ const listFilterWidgetShadow = registerColor('listFilterWidget.shadow', widgetShadow, ( localizeWithPath(
120
120
  _moduleId,
121
121
  24,
122
122
  'Shadow color of the type filter widget in lists and trees.'
@@ -129,7 +129,7 @@ const listDeemphasizedForeground = registerColor('list.deemphasizedForeground',
129
129
  "List/Tree foreground color for items that are deemphasized."
130
130
  )));
131
131
  const treeIndentGuidesStroke = registerColor('tree.indentGuidesStroke', { dark: '#585858', light: '#a9a9a9', hcDark: '#a9a9a9', hcLight: '#a5a5a5' }, ( localizeWithPath(_moduleId, 28, "Tree stroke color for the indentation guides.")));
132
- const treeInactiveIndentGuidesStroke = registerColor('tree.inactiveIndentGuidesStroke', { dark: ( (transparent(treeIndentGuidesStroke, 0.4))), light: ( (transparent(treeIndentGuidesStroke, 0.4))), hcDark: ( (transparent(treeIndentGuidesStroke, 0.4))), hcLight: ( (transparent(treeIndentGuidesStroke, 0.4))) }, ( localizeWithPath(
132
+ const treeInactiveIndentGuidesStroke = registerColor('tree.inactiveIndentGuidesStroke', ( (transparent(treeIndentGuidesStroke, 0.4))), ( localizeWithPath(
133
133
  _moduleId,
134
134
  29,
135
135
  "Tree stroke color for the indentation guides that are not active."