@codingame/monaco-vscode-api 3.2.3 → 4.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 (772) hide show
  1. package/api.js +4 -7
  2. package/debugProtocol.d.ts +14 -39
  3. package/extensions.d.ts +7 -1
  4. package/missing-services.js +116 -32
  5. package/monaco.d.ts +1 -1
  6. package/monaco.js +11 -1
  7. package/override/vs/platform/dialogs/common/dialogs.js +1 -0
  8. package/package.json +8 -8
  9. package/service-override/tools/editor.js +82 -3
  10. package/service-override/tools/views.d.ts +2 -1
  11. package/service-override/tools/views.js +5 -1
  12. package/services.js +4 -3
  13. package/vscode/src/vs/base/browser/dom.js +1 -7
  14. package/vscode/src/vs/base/browser/fonts.js +3 -0
  15. package/vscode/src/vs/base/browser/keyboardEvent.js +1 -1
  16. package/vscode/src/vs/base/browser/markdownRenderer.js +4 -4
  17. package/vscode/src/vs/base/browser/touch.js +13 -2
  18. package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.d.ts +1 -1
  19. package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +5 -6
  20. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +1 -1
  21. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +2 -2
  22. package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.d.ts +1 -0
  23. package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.js +4 -2
  24. package/vscode/src/vs/base/browser/ui/button/button.js +16 -9
  25. package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css.js +1 -1
  26. package/vscode/src/vs/base/browser/ui/contextview/contextview.d.ts +1 -0
  27. package/vscode/src/vs/base/browser/ui/contextview/contextview.js +1 -1
  28. package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +4 -4
  29. package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +3 -3
  30. package/vscode/src/vs/base/browser/ui/findinput/findInput.js +5 -0
  31. package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +4 -0
  32. package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +3 -1
  33. package/vscode/src/vs/base/browser/ui/grid/gridview.js +1 -0
  34. package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.js +14 -3
  35. package/vscode/src/vs/base/browser/ui/{iconLabel/iconHoverDelegate.d.ts → hover/hoverDelegate.d.ts} +3 -6
  36. package/vscode/src/vs/base/browser/ui/hover/{hoverDelegate.js → hoverDelegateFactory.js} +5 -5
  37. package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +1 -1
  38. package/vscode/src/vs/base/browser/ui/{iconLabel/iconLabelHover.d.ts → hover/updatableHoverWidget.d.ts} +6 -1
  39. package/vscode/src/vs/base/browser/ui/{iconLabel/iconLabelHover.js → hover/updatableHoverWidget.js} +27 -7
  40. package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +10 -9
  41. package/vscode/src/vs/base/browser/ui/iconLabel/simpleIconLabel.js +11 -1
  42. package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +19 -1
  43. package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +8 -7
  44. package/vscode/src/vs/base/browser/ui/list/listView.js +4 -1
  45. package/vscode/src/vs/base/browser/ui/list/listWidget.js +27 -10
  46. package/vscode/src/vs/base/browser/ui/menu/menu.js +15 -9
  47. package/vscode/src/vs/base/browser/ui/menu/menubar.js +15 -8
  48. package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +18 -2
  49. package/vscode/src/vs/base/browser/ui/selectBox/selectBox.js +1 -0
  50. package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +14 -7
  51. package/vscode/src/vs/base/browser/ui/table/tableWidget.js +6 -4
  52. package/vscode/src/vs/base/browser/ui/toggle/toggle.js +7 -6
  53. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +2 -2
  54. package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +55 -10
  55. package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.js +4 -1
  56. package/vscode/src/vs/base/browser/window.d.ts +5 -0
  57. package/vscode/src/vs/base/browser/window.js +1 -2
  58. package/vscode/src/vs/base/common/arrays.js +20 -1
  59. package/vscode/src/vs/base/common/cache.js +3 -2
  60. package/vscode/src/vs/base/common/codicons.d.ts +62 -38
  61. package/vscode/src/vs/base/common/codicons.js +19 -571
  62. package/vscode/src/vs/base/common/codiconsLibrary.js +570 -0
  63. package/vscode/src/vs/base/common/codiconsUtil.js +17 -0
  64. package/vscode/src/vs/base/common/event.js +4 -1
  65. package/vscode/src/vs/base/common/glob.js +1 -0
  66. package/vscode/src/vs/base/common/hierarchicalKind.d.ts +13 -0
  67. package/vscode/src/vs/base/common/hierarchicalKind.js +21 -0
  68. package/vscode/src/vs/base/common/labels.js +2 -2
  69. package/vscode/src/vs/base/common/network.js +14 -5
  70. package/vscode/src/vs/base/common/observableInternal/promise.js +1 -0
  71. package/vscode/src/vs/base/common/observableInternal/utils.js +35 -14
  72. package/vscode/src/vs/base/common/platform.js +1 -1
  73. package/vscode/src/vs/base/common/product.d.ts +7 -1
  74. package/vscode/src/vs/base/common/severity.js +2 -1
  75. package/vscode/src/vs/base/common/strings.js +16 -4
  76. package/vscode/src/vs/base/parts/ipc/common/ipc.js +4 -0
  77. package/vscode/src/vs/editor/browser/controller/mouseHandler.js +5 -5
  78. package/vscode/src/vs/editor/browser/controller/mouseTarget.js +55 -43
  79. package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +5 -5
  80. package/vscode/src/vs/editor/browser/coreCommands.js +13 -13
  81. package/vscode/src/vs/editor/browser/editorDom.js +11 -1
  82. package/vscode/src/vs/editor/browser/editorExtensions.js +1 -1
  83. package/vscode/src/vs/editor/browser/services/editorWorkerService.js +10 -2
  84. package/vscode/src/vs/editor/browser/services/hoverService/hoverService.d.ts +31 -0
  85. package/vscode/src/vs/editor/browser/services/{hoverService.js → hoverService/hoverService.js} +38 -27
  86. package/vscode/src/vs/editor/browser/{widget/hoverWidget → services/hoverService}/hoverWidget.js +13 -14
  87. package/vscode/src/vs/editor/browser/view/viewLayer.js +4 -4
  88. package/vscode/src/vs/editor/browser/view/viewOverlays.js +12 -23
  89. package/vscode/src/vs/editor/browser/view.js +5 -5
  90. package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.js +1 -1
  91. package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +3 -3
  92. package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.css.js +1 -1
  93. package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js +4 -6
  94. package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.css.js +1 -1
  95. package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.js +8 -14
  96. package/vscode/src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js +2 -2
  97. package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +2 -2
  98. package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.css.js +1 -1
  99. package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.js +3 -6
  100. package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.css.js +1 -1
  101. package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.js +5 -1
  102. package/vscode/src/vs/editor/browser/viewParts/lines/viewLine.js +4 -4
  103. package/vscode/src/vs/editor/browser/viewParts/lines/viewLines.css.js +1 -1
  104. package/vscode/src/vs/editor/browser/viewParts/lines/viewLines.js +5 -5
  105. package/vscode/src/vs/editor/browser/viewParts/linesDecorations/linesDecorations.js +2 -2
  106. package/vscode/src/vs/editor/browser/viewParts/margin/margin.js +2 -2
  107. package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.js +142 -27
  108. package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js +2 -2
  109. package/vscode/src/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.js +34 -16
  110. package/vscode/src/vs/editor/browser/viewParts/overviewRuler/overviewRuler.js +3 -3
  111. package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.js +1 -1
  112. package/vscode/src/vs/editor/browser/viewParts/selections/selections.js +23 -20
  113. package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.js +25 -3
  114. package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.js +21 -13
  115. package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.js +2 -2
  116. package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.js +2 -2
  117. package/vscode/src/vs/editor/browser/widget/{codeEditorContributions.js → codeEditor/codeEditorContributions.js} +3 -3
  118. package/vscode/src/vs/editor/browser/widget/{codeEditorWidget.js → codeEditor/codeEditorWidget.js} +81 -70
  119. package/vscode/src/vs/editor/browser/widget/codeEditor/editor.css.js +4 -0
  120. package/vscode/src/vs/editor/browser/widget/codeEditor/embeddedCodeEditorWidget.js +44 -0
  121. package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +281 -0
  122. package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +7 -5
  123. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorDecorations.js +4 -1
  124. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +15 -9
  125. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorSash.js +2 -0
  126. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +9 -8
  127. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +1 -1
  128. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +33 -246
  129. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +22 -7
  130. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +5 -5
  131. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +71 -41
  132. package/vscode/src/vs/editor/browser/widget/diffEditor/embeddedDiffEditorWidget.js +36 -0
  133. package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +227 -0
  134. package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +22 -19
  135. package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +5 -4
  136. package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +15 -4
  137. package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +13 -5
  138. package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +11 -1
  139. package/vscode/src/vs/editor/browser/widget/diffEditor/style.css.js +1 -1
  140. package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +104 -0
  141. package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +8 -15
  142. package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/colors.js +14 -4
  143. package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/diffEditorItemTemplate.js +6 -5
  144. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/model.js +14 -0
  145. package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/multiDiffEditorViewModel.js +5 -2
  146. package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/multiDiffEditorWidget.js +5 -3
  147. package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/multiDiffEditorWidgetImpl.js +9 -10
  148. package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/style.css.js +1 -1
  149. package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/utils.js +2 -1
  150. package/vscode/src/vs/editor/common/commands/trimTrailingWhitespaceCommand.js +14 -3
  151. package/vscode/src/vs/editor/common/config/diffEditor.js +1 -0
  152. package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +10 -1
  153. package/vscode/src/vs/editor/common/config/editorOptions.d.ts +23 -0
  154. package/vscode/src/vs/editor/common/config/editorOptions.js +115 -33
  155. package/vscode/src/vs/editor/common/core/editorColorRegistry.js +32 -2
  156. package/vscode/src/vs/editor/common/core/lineRange.d.ts +1 -0
  157. package/vscode/src/vs/editor/common/core/lineRange.js +12 -0
  158. package/vscode/src/vs/editor/common/core/positionToOffset.js +43 -0
  159. package/vscode/src/vs/editor/common/core/textEdit.js +169 -0
  160. package/vscode/src/vs/editor/common/core/textLength.js +110 -0
  161. package/vscode/src/vs/editor/common/core/wordCharacterClassifier.d.ts +14 -2
  162. package/vscode/src/vs/editor/common/core/wordCharacterClassifier.js +66 -10
  163. package/vscode/src/vs/editor/common/core/wordHelper.js +1 -0
  164. package/vscode/src/vs/editor/common/cursor/cursor.js +17 -4
  165. package/vscode/src/vs/editor/common/cursor/cursorTypeOperations.js +1 -1
  166. package/vscode/src/vs/editor/common/cursor/cursorWordOperations.js +22 -3
  167. package/vscode/src/vs/editor/common/cursorCommon.js +7 -5
  168. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +7 -4
  169. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js +1 -1
  170. package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +2 -0
  171. package/vscode/src/vs/editor/common/diff/rangeMapping.js +10 -0
  172. package/vscode/src/vs/editor/common/editorContextKeys.js +25 -0
  173. package/vscode/src/vs/editor/common/languages.d.ts +43 -11
  174. package/vscode/src/vs/editor/common/languages.js +15 -1
  175. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.js +1 -1
  176. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/length.js +3 -58
  177. package/vscode/src/vs/editor/common/model/textModel.js +2 -0
  178. package/vscode/src/vs/editor/common/model/textModelSearch.js +1 -1
  179. package/vscode/src/vs/editor/common/model/textModelText.js +17 -0
  180. package/vscode/src/vs/editor/common/model/textModelTokens.js +4 -0
  181. package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +10 -0
  182. package/vscode/src/vs/editor/common/model.d.ts +17 -2
  183. package/vscode/src/vs/editor/common/model.js +1 -6
  184. package/vscode/src/vs/editor/common/services/editorSimpleWorker.js +8 -0
  185. package/vscode/src/vs/editor/common/services/editorWorker.d.ts +2 -0
  186. package/vscode/src/vs/editor/common/services/findSectionHeaders.d.ts +28 -0
  187. package/vscode/src/vs/editor/common/services/findSectionHeaders.js +71 -0
  188. package/vscode/src/vs/editor/common/services/markerDecorationsService.js +15 -5
  189. package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +32 -20
  190. package/vscode/src/vs/editor/common/viewLayout/linesLayout.js +2 -1
  191. package/vscode/src/vs/editor/common/viewLayout/viewLayout.js +5 -5
  192. package/vscode/src/vs/editor/common/viewLayout/viewLinesViewportData.js +1 -0
  193. package/vscode/src/vs/editor/common/viewModel/modelLineProjection.js +1 -1
  194. package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +2 -2
  195. package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +10 -7
  196. package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +11 -1
  197. package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +6 -5
  198. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +5 -4
  199. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +25 -3
  200. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionKeybindingResolver.js +3 -2
  201. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +3 -2
  202. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +13 -2
  203. package/vscode/src/vs/editor/contrib/codeAction/common/types.js +18 -33
  204. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorContributions.js +1 -1
  205. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +3 -3
  206. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +1 -1
  207. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +11 -1
  208. package/vscode/src/vs/editor/contrib/comment/browser/comment.js +1 -1
  209. package/vscode/src/vs/editor/contrib/comment/browser/lineCommentCommand.js +9 -9
  210. package/vscode/src/vs/editor/contrib/diffEditorBreadcrumbs/browser/contribution.js +5 -3
  211. package/vscode/src/vs/editor/contrib/documentSymbols/browser/outlineModel.js +1 -1
  212. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +40 -20
  213. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +83 -47
  214. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +40 -31
  215. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +16 -1
  216. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +8 -8
  217. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/edit.js +5 -3
  218. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +7 -6
  219. package/vscode/src/vs/editor/contrib/find/browser/findDecorations.js +14 -4
  220. package/vscode/src/vs/editor/contrib/find/browser/findModel.js +6 -6
  221. package/vscode/src/vs/editor/contrib/find/browser/findOptionsWidget.js +16 -1
  222. package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +23 -3
  223. package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +12 -3
  224. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +11 -1
  225. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +3 -3
  226. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +5 -3
  227. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +1 -1
  228. package/vscode/src/vs/editor/contrib/hover/browser/hover.js +12 -2
  229. package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +3 -91
  230. package/vscode/src/vs/editor/contrib/indentation/common/indentation.js +92 -0
  231. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +14 -4
  232. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/commands.js +4 -0
  233. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/ghostText.js +18 -19
  234. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/ghostTextWidget.js +5 -4
  235. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +4 -2
  236. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys.js +4 -1
  237. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +6 -5
  238. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +5 -4
  239. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.js +28 -19
  240. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsSource.js +7 -4
  241. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/provideInlineCompletions.js +1 -1
  242. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/singleTextEdit.js +64 -72
  243. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/suggestWidgetInlineCompletionProvider.js +11 -5
  244. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +5 -85
  245. package/vscode/src/vs/editor/contrib/inlineEdit/browser/commands.js +2 -2
  246. package/vscode/src/vs/editor/contrib/inlineEdit/browser/ghostTextWidget.js +6 -4
  247. package/vscode/src/vs/editor/contrib/inlineEdit/browser/hoverParticipant.js +4 -1
  248. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditController.js +28 -17
  249. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditHintsWidget.js +5 -4
  250. package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  251. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +53 -6
  252. package/vscode/src/vs/editor/contrib/linesOperations/browser/moveLinesCommand.js +1 -1
  253. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +11 -1
  254. package/vscode/src/vs/editor/contrib/links/browser/links.js +2 -2
  255. package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +7 -7
  256. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +11 -1
  257. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +12 -2
  258. package/vscode/src/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.js +1 -1
  259. package/vscode/src/vs/editor/contrib/rename/browser/rename.js +27 -33
  260. package/vscode/src/vs/editor/contrib/rename/browser/{renameInputField.js → renameWidget.js} +282 -194
  261. package/vscode/src/vs/editor/contrib/sectionHeaders/browser/sectionHeaders.js +154 -0
  262. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.js +60 -61
  263. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +23 -14
  264. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +1 -1
  265. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +12 -2
  266. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +11 -1
  267. package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +1 -1
  268. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +16 -6
  269. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +2 -2
  270. package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +12 -12
  271. package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.js +2 -2
  272. package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +1 -1
  273. package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.js +2 -2
  274. package/vscode/src/vs/editor/standalone/browser/standaloneLayoutService.js +1 -1
  275. package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +12 -12
  276. package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.js +11 -1
  277. package/vscode/src/vs/editor/standalone/common/themes.js +11 -1
  278. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +16 -9
  279. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +42 -18
  280. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +16 -5
  281. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +11 -1
  282. package/vscode/src/vs/platform/actions/browser/buttonbar.js +13 -5
  283. package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +3 -1
  284. package/vscode/src/vs/platform/actions/browser/floatingMenu.js +11 -1
  285. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +11 -1
  286. package/vscode/src/vs/platform/actions/common/actions.d.ts +7 -0
  287. package/vscode/src/vs/platform/actions/common/actions.js +7 -0
  288. package/vscode/src/vs/platform/contextview/browser/contextView.d.ts +1 -0
  289. package/vscode/src/vs/platform/contextview/browser/contextViewService.js +12 -15
  290. package/vscode/src/vs/platform/dialogs/common/dialogs.js +4 -2
  291. package/vscode/src/vs/platform/editor/common/editor.d.ts +12 -0
  292. package/vscode/src/vs/platform/environment/common/environmentService.js +6 -0
  293. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +19 -7
  294. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +7 -1
  295. package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +333 -0
  296. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +901 -0
  297. package/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.js +3 -4
  298. package/vscode/src/vs/platform/extensions/common/extensionValidator.js +16 -16
  299. package/vscode/src/vs/platform/extensions/common/extensions.js +5 -1
  300. package/vscode/src/vs/platform/files/common/files.d.ts +1 -11
  301. package/vscode/src/vs/platform/files/common/files.js +2 -0
  302. package/vscode/src/vs/platform/files/common/watcher.js +2 -0
  303. package/vscode/src/vs/platform/hover/browser/hover.d.ts +1 -1
  304. package/vscode/src/vs/platform/hover/browser/hover.js +21 -6
  305. package/vscode/src/vs/platform/keyboardLayout/common/keyboardLayout.js +1 -0
  306. package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +5 -0
  307. package/vscode/src/vs/platform/layout/browser/layoutService.d.ts +8 -6
  308. package/vscode/src/vs/platform/log/browser/log.js +1 -0
  309. package/vscode/src/vs/platform/log/common/log.js +13 -1
  310. package/vscode/src/vs/platform/markers/common/markerService.js +1 -1
  311. package/vscode/src/vs/platform/markers/common/markers.js +9 -9
  312. package/vscode/src/vs/platform/opener/browser/link.js +16 -4
  313. package/vscode/src/vs/platform/policy/common/policy.js +2 -0
  314. package/vscode/src/vs/platform/product/common/product.js +2 -1
  315. package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css.js +1 -1
  316. package/vscode/src/vs/platform/quickinput/browser/pickerQuickAccess.js +36 -33
  317. package/vscode/src/vs/platform/quickinput/browser/quickAccess.js +5 -0
  318. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +38 -9
  319. package/vscode/src/vs/platform/quickinput/browser/quickInputBox.js +7 -4
  320. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +22 -12
  321. package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +13 -5
  322. package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1348 -0
  323. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  324. package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +14 -0
  325. package/vscode/src/vs/platform/remote/common/remoteAgentConnection.js +2 -2
  326. package/vscode/src/vs/platform/remote/common/remoteHosts.js +1 -4
  327. package/vscode/src/vs/platform/secrets/common/secrets.js +5 -0
  328. package/vscode/src/vs/platform/severityIcon/browser/severityIcon.js +5 -5
  329. package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +2 -0
  330. package/vscode/src/vs/platform/terminal/common/capabilities/capabilities.d.ts +1 -1
  331. package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +3 -9
  332. package/vscode/src/vs/platform/terminal/common/terminal.d.ts +6 -1
  333. package/vscode/src/vs/platform/terminal/common/terminal.js +1 -0
  334. package/vscode/src/vs/platform/terminal/common/terminalEnvironment.js +4 -1
  335. package/vscode/src/vs/platform/theme/browser/defaultStyles.js +11 -1
  336. package/vscode/src/vs/platform/theme/common/colorUtils.js +187 -0
  337. package/vscode/src/vs/platform/theme/common/colors/baseColors.js +89 -0
  338. package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +46 -0
  339. package/vscode/src/vs/platform/theme/common/colors/editorColors.js +469 -0
  340. package/vscode/src/vs/platform/theme/common/colors/inputColors.js +196 -0
  341. package/vscode/src/vs/platform/theme/common/colors/listColors.js +166 -0
  342. package/vscode/src/vs/platform/theme/common/colors/menuColors.js +41 -0
  343. package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +61 -0
  344. package/vscode/src/vs/platform/theme/common/colors/miscColors.js +45 -0
  345. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +51 -0
  346. package/vscode/src/vs/platform/theme/common/colors/searchColors.js +19 -0
  347. package/vscode/src/vs/platform/theme/common/iconRegistry.js +2 -1
  348. package/vscode/src/vs/platform/theme/common/themeService.d.ts +1 -1
  349. package/vscode/src/vs/platform/tunnel/common/tunnel.js +2 -0
  350. package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +2 -2
  351. package/vscode/src/vs/platform/update/common/update.js +1 -1
  352. package/vscode/src/vs/platform/uriIdentity/common/uriIdentityService.js +1 -0
  353. package/vscode/src/vs/platform/userDataProfile/common/userDataProfileIpc.js +2 -0
  354. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +69 -32
  355. package/vscode/src/vs/workbench/api/common/extHost.common.services.js +6 -0
  356. package/vscode/src/vs/workbench/api/common/extHost.protocol.js +3 -1
  357. package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +12 -5
  358. package/vscode/src/vs/workbench/api/common/extHostChat.js +0 -8
  359. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +58 -88
  360. package/vscode/src/vs/workbench/api/common/extHostChatVariables.js +8 -4
  361. package/vscode/src/vs/workbench/api/common/extHostComments.js +49 -13
  362. package/vscode/src/vs/workbench/api/common/extHostDebugService.js +16 -17
  363. package/vscode/src/vs/workbench/api/common/extHostEditorTabs.js +3 -1
  364. package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.js +1 -1
  365. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +17 -4
  366. package/vscode/src/vs/workbench/api/common/extHostInlineChat.js +1 -1
  367. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +57 -40
  368. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +305 -0
  369. package/vscode/src/vs/workbench/api/common/extHostLanguages.js +2 -2
  370. package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +1 -1
  371. package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +26 -6
  372. package/vscode/src/vs/workbench/api/common/extHostQuickOpen.js +9 -9
  373. package/vscode/src/vs/workbench/api/common/extHostSCM.js +1 -1
  374. package/vscode/src/vs/workbench/api/common/extHostSearch.js +34 -3
  375. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +1 -1
  376. package/vscode/src/vs/workbench/api/common/extHostTask.js +1 -0
  377. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +32 -18
  378. package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +214 -0
  379. package/vscode/src/vs/workbench/api/common/extHostTesting.js +85 -98
  380. package/vscode/src/vs/workbench/api/common/extHostTimeline.js +1 -0
  381. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +5 -2
  382. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +119 -70
  383. package/vscode/src/vs/workbench/api/common/extHostTypes.js +90 -28
  384. package/vscode/src/vs/workbench/browser/actions/developerActions.js +4 -4
  385. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +2 -2
  386. package/vscode/src/vs/workbench/browser/actions/windowActions.js +3 -3
  387. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +3 -3
  388. package/vscode/src/vs/workbench/browser/codeeditor.js +1 -1
  389. package/vscode/src/vs/workbench/browser/composite.d.ts +3 -5
  390. package/vscode/src/vs/workbench/browser/composite.js +2 -10
  391. package/vscode/src/vs/workbench/browser/editor.js +2 -2
  392. package/vscode/src/vs/workbench/browser/labels.js +2 -1
  393. package/vscode/src/vs/workbench/browser/media/part.css.js +1 -1
  394. package/vscode/src/vs/workbench/browser/media/style.css.js +1 -1
  395. package/vscode/src/vs/workbench/browser/part.d.ts +25 -3
  396. package/vscode/src/vs/workbench/browser/part.js +84 -9
  397. package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +67 -10
  398. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +2 -2
  399. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +92 -14
  400. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/media/auxiliaryBarPart.css.js +1 -1
  401. package/vscode/src/vs/workbench/browser/parts/compositeBar.js +5 -4
  402. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +13 -3
  403. package/vscode/src/vs/workbench/browser/parts/compositePart.js +13 -5
  404. package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +12 -0
  405. package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +10 -10
  406. package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +3 -3
  407. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +8 -7
  408. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +16 -8
  409. package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +217 -0
  410. package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +14 -16
  411. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +2 -2
  412. package/vscode/src/vs/workbench/browser/parts/editor/editorAutoSave.js +8 -7
  413. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +4 -202
  414. package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +1 -1
  415. package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +11 -1
  416. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +92 -23
  417. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +15 -3
  418. package/vscode/src/vs/workbench/browser/parts/editor/editorPane.d.ts +7 -8
  419. package/vscode/src/vs/workbench/browser/parts/editor/editorPane.js +7 -6
  420. package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +12 -32
  421. package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +11 -1
  422. package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +1 -0
  423. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +27 -28
  424. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +19 -20
  425. package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +12 -2
  426. package/vscode/src/vs/workbench/browser/parts/editor/editorWithViewState.js +14 -17
  427. package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +11 -1
  428. package/vscode/src/vs/workbench/browser/parts/editor/multiRowEditorTabsControl.js +12 -12
  429. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +16 -16
  430. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +3 -3
  431. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +17 -17
  432. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +36 -13
  433. package/vscode/src/vs/workbench/browser/parts/editor/textResourceEditor.js +22 -22
  434. package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +29 -21
  435. package/vscode/src/vs/workbench/browser/parts/media/compositepart.css.js +1 -1
  436. package/vscode/src/vs/workbench/browser/parts/media/paneCompositePart.css.js +1 -1
  437. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +13 -2
  438. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +11 -1
  439. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +16 -16
  440. package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +1 -0
  441. package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +122 -33
  442. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +14 -3
  443. package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +15 -2
  444. package/vscode/src/vs/workbench/browser/parts/sidebar/media/sidebarpart.css.js +1 -1
  445. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.js +37 -0
  446. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +36 -18
  447. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +7 -4
  448. package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +6 -4
  449. package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +2 -3
  450. package/vscode/src/vs/workbench/browser/parts/views/media/views.css.js +1 -1
  451. package/vscode/src/vs/workbench/browser/parts/views/treeView.js +3 -3
  452. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +13 -3
  453. package/vscode/src/vs/workbench/browser/parts/views/viewPane.d.ts +6 -0
  454. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +28 -11
  455. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +19 -15
  456. package/vscode/src/vs/workbench/browser/quickaccess.js +42 -15
  457. package/vscode/src/vs/workbench/browser/style.js +52 -3
  458. package/vscode/src/vs/workbench/browser/web.api.d.ts +6 -0
  459. package/vscode/src/vs/workbench/browser/window.js +28 -20
  460. package/vscode/src/vs/workbench/browser/workbench.contribution.js +83 -9
  461. package/vscode/src/vs/workbench/common/component.js +0 -1
  462. package/vscode/src/vs/workbench/common/contextkeys.js +4 -4
  463. package/vscode/src/vs/workbench/common/editor/editorGroupModel.js +59 -5
  464. package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +10 -0
  465. package/vscode/src/vs/workbench/common/editor/editorInput.js +3 -0
  466. package/vscode/src/vs/workbench/common/editor/filteredEditorGroupModel.js +1 -0
  467. package/vscode/src/vs/workbench/common/editor/resourceEditorInput.d.ts +3 -1
  468. package/vscode/src/vs/workbench/common/editor/resourceEditorInput.js +7 -3
  469. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +3 -3
  470. package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.d.ts +2 -1
  471. package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.js +9 -6
  472. package/vscode/src/vs/workbench/common/editor.d.ts +33 -13
  473. package/vscode/src/vs/workbench/common/editor.js +6 -7
  474. package/vscode/src/vs/workbench/common/theme.js +45 -5
  475. package/vscode/src/vs/workbench/common/views.d.ts +1 -0
  476. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +59 -184
  477. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +1 -0
  478. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +140 -13
  479. package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +1 -1
  480. package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignal.contribution.js +1 -0
  481. package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignalDebuggerContribution.js +4 -2
  482. package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignalLineFeatureContribution.js +35 -36
  483. package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/commands.js +1 -1
  484. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +1 -1
  485. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +4 -5
  486. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +21 -12
  487. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +70 -32
  488. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +4 -1
  489. package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +4 -1
  490. package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +118 -0
  491. package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +11 -6
  492. package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +154 -61
  493. package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +186 -224
  494. package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer.js +6 -75
  495. package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +158 -49
  496. package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +84 -175
  497. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +38 -5
  498. package/vscode/src/vs/workbench/contrib/chat/browser/media/chat.css.js +1 -1
  499. package/vscode/src/vs/workbench/contrib/chat/common/annotations.js +105 -0
  500. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +137 -43
  501. package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +44 -0
  502. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +17 -1
  503. package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +82 -34
  504. package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +17 -3
  505. package/vscode/src/vs/workbench/contrib/chat/common/chatRequestParser.js +20 -22
  506. package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +68 -9
  507. package/vscode/src/vs/workbench/contrib/chat/common/codeBlockModelCollection.js +115 -0
  508. package/vscode/src/vs/workbench/contrib/chat/common/{chatProvider.js → languageModels.js} +9 -9
  509. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +5 -4
  510. package/vscode/src/vs/workbench/contrib/codeActions/browser/documentationContribution.js +2 -1
  511. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +5 -5
  512. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +33 -7
  513. package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +11 -1
  514. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +3 -3
  515. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +9 -6
  516. package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +13 -3
  517. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +1 -1
  518. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +2 -2
  519. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +1 -1
  520. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +1 -1
  521. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +6 -6
  522. package/vscode/src/vs/workbench/contrib/codeEditor/{browser → common}/languageConfigurationExtensionPoint.js +79 -74
  523. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +11 -1
  524. package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +11 -1
  525. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +25 -18
  526. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +14 -2
  527. package/vscode/src/vs/workbench/contrib/comments/browser/commentService.js +80 -52
  528. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +12 -2
  529. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +33 -13
  530. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +129 -57
  531. package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +15 -15
  532. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +145 -20
  533. package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +61 -95
  534. package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +2 -2
  535. package/vscode/src/vs/workbench/contrib/comments/browser/media/panel.css.js +1 -1
  536. package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +2 -2
  537. package/vscode/src/vs/workbench/contrib/comments/browser/timestamp.js +4 -3
  538. package/vscode/src/vs/workbench/contrib/comments/common/commentModel.js +18 -11
  539. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditor.contribution.js +6 -0
  540. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +62 -4
  541. package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +6 -4
  542. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +34 -5
  543. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +48 -29
  544. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +216 -23
  545. package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +11 -1
  546. package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -2
  547. package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +6 -1
  548. package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +23 -5
  549. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +24 -1
  550. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.d.ts +15 -1
  551. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +30 -6
  552. package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +2 -2
  553. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +106 -37
  554. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +1 -1
  555. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpener.contribution.js +1 -0
  556. package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +8 -11
  557. package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorInput.js +5 -3
  558. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +23 -24
  559. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +17 -12
  560. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +3 -3
  561. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +9 -9
  562. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.save.js +1 -1
  563. package/vscode/src/vs/workbench/contrib/files/browser/files.configuration.contribution.js +10 -0
  564. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +11 -1
  565. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +11 -1
  566. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +1 -3
  567. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +1 -1
  568. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +15 -6
  569. package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +4 -8
  570. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +674 -0
  571. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatContentWidget.js +154 -0
  572. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +316 -344
  573. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatFileCreationWidget.js +223 -0
  574. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +8 -25
  575. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +427 -0
  576. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +45 -160
  577. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +358 -702
  578. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +165 -0
  579. package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChat.css.js +4 -0
  580. package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChatContentWidget.css.js +4 -0
  581. package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +1 -1
  582. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +16 -27
  583. package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveEditorInput.js +19 -4
  584. package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +9 -9
  585. package/vscode/src/vs/workbench/contrib/languageStatus/browser/media/languageStatus.css.js +1 -1
  586. package/vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js +2 -2
  587. package/vscode/src/vs/workbench/contrib/logs/common/defaultLogLevels.js +17 -2
  588. package/vscode/src/vs/workbench/contrib/logs/common/logsActions.js +236 -0
  589. package/vscode/src/vs/workbench/contrib/markdown/browser/markdownDocumentRenderer.js +2 -2
  590. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +9 -4
  591. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +8 -6
  592. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeMarkers/mergeMarkersController.js +8 -0
  593. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +5 -5
  594. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/rangeUtils.js +5 -5
  595. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +2 -0
  596. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/utils.js +4 -2
  597. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/colors.js +11 -1
  598. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +5 -3
  599. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editorGutter.js +5 -3
  600. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js +6 -4
  601. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/codeEditorView.js +5 -4
  602. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js +7 -5
  603. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js +6 -4
  604. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/lineAlignment.js +2 -2
  605. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +23 -19
  606. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/scrollSynchronizer.js +4 -1
  607. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +5 -3
  608. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +9 -0
  609. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +303 -0
  610. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +655 -0
  611. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnostics.js +101 -0
  612. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +56 -1
  613. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findMatchDecorationModel.js +11 -1
  614. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +11 -4
  615. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +29 -0
  616. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +888 -0
  617. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +2 -1
  618. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +1 -1
  619. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebook.css.js +1 -1
  620. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookFolding.css.js +1 -1
  621. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookOutline.css.js +1 -1
  622. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookToolbar.css.js +1 -1
  623. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +88 -0
  624. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +60 -46
  625. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +42 -52
  626. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.js +18 -7
  627. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +1 -1
  628. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellContextKeys.js +28 -1
  629. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.js +2 -2
  630. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.js +11 -7
  631. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +2 -1
  632. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +48 -4
  633. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +1 -1
  634. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +3 -1
  635. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.js +13 -2
  636. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +57 -10
  637. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +11 -4
  638. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +161 -15
  639. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +4 -2
  640. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +21 -2
  641. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/foldingModel.js +1 -1
  642. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +5 -0
  643. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +14 -4
  644. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineProvider.js +14 -8
  645. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +3 -0
  646. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +25 -64
  647. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.js +27 -22
  648. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +1 -1
  649. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +4 -4
  650. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookTopCellToolbar.js +2 -2
  651. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +8 -1
  652. package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.js +3 -1
  653. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +7 -14
  654. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +4 -4
  655. package/vscode/src/vs/workbench/contrib/outline/browser/outline.js +10 -0
  656. package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +16 -4
  657. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +17 -4
  658. package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +11 -1
  659. package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +26 -8
  660. package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +16 -6
  661. package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +11 -1
  662. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +18 -8
  663. package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchService.js +235 -0
  664. package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +182 -69
  665. package/vscode/src/vs/workbench/contrib/search/common/constants.js +2 -0
  666. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +203 -1
  667. package/vscode/src/vs/workbench/contrib/tags/browser/workspaceTagsService.js +3 -0
  668. package/vscode/src/vs/workbench/contrib/tags/common/workspaceTags.js +2 -0
  669. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +11 -3
  670. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +2 -2
  671. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.js +58 -8
  672. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.js +3 -1
  673. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +1 -0
  674. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +12 -1
  675. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +11 -1
  676. package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.js +53 -57
  677. package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.js +11 -26
  678. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +6 -3
  679. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +12 -12
  680. package/vscode/src/vs/workbench/contrib/testing/common/testingContextKeys.js +8 -0
  681. package/vscode/src/vs/workbench/contrib/timeline/common/timeline.js +2 -0
  682. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +1 -1
  683. package/vscode/src/vs/workbench/contrib/webview/browser/overlayWebview.js +30 -7
  684. package/vscode/src/vs/workbench/contrib/webview/browser/themeing.js +12 -2
  685. package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +50 -41
  686. package/vscode/src/vs/workbench/contrib/webview/browser/webviewWindowDragMonitor.js +4 -5
  687. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +20 -22
  688. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput.js +4 -1
  689. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +1 -0
  690. package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.js +3 -3
  691. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js +1 -1
  692. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.js +2 -0
  693. package/vscode/src/vs/workbench/services/assignment/common/assignmentService.js +6 -0
  694. package/vscode/src/vs/workbench/services/authentication/browser/authenticationAccessService.js +69 -0
  695. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +69 -811
  696. package/vscode/src/vs/workbench/services/authentication/browser/authenticationUsageService.js +50 -0
  697. package/vscode/src/vs/workbench/services/authentication/common/authentication.js +2 -1
  698. package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +50 -25
  699. package/vscode/src/vs/workbench/services/banner/browser/bannerService.d.ts +1 -1
  700. package/vscode/src/vs/workbench/services/editor/browser/codeEditorService.js +1 -0
  701. package/vscode/src/vs/workbench/services/editor/browser/editorPaneService.js +1 -0
  702. package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +21 -17
  703. package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.d.ts +12 -0
  704. package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.js +144 -0
  705. package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +10 -6
  706. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +3 -3
  707. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.d.ts +16 -4
  708. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +12 -1
  709. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +46 -121
  710. package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.d.ts +5 -2
  711. package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +6 -3
  712. package/vscode/src/vs/workbench/services/extensions/common/extensionsApiProposals.js +9 -1
  713. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +4 -4
  714. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.d.ts +2 -1
  715. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +8 -1
  716. package/vscode/src/vs/workbench/services/history/browser/historyService.js +44 -36
  717. package/vscode/src/vs/workbench/services/history/common/history.d.ts +0 -5
  718. package/vscode/src/vs/workbench/services/language/common/languageService.js +4 -3
  719. package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +2 -1
  720. package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +2 -1
  721. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.js +8 -6
  722. package/vscode/src/vs/workbench/services/output/common/output.js +4 -1
  723. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +2 -2
  724. package/vscode/src/vs/workbench/services/search/common/search.js +1 -0
  725. package/vscode/src/vs/workbench/services/search/common/textSearchManager.js +15 -5
  726. package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +6 -1
  727. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +1 -1
  728. package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +1 -1
  729. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +11 -1
  730. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorInput.js +5 -3
  731. package/vscode/src/vs/workbench/services/userActivity/common/userActivityService.js +1 -1
  732. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +1 -0
  733. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +7 -7
  734. package/vscode-dts/vscode.proposed.aiTextSearchProvider.d.ts +261 -0
  735. package/vscode-dts/vscode.proposed.authLearnMore.d.ts +16 -0
  736. package/vscode-dts/vscode.proposed.chatParticipant.d.ts +49 -78
  737. package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +13 -16
  738. package/vscode-dts/vscode.proposed.chatProvider.d.ts +1 -1
  739. package/vscode-dts/vscode.proposed.commentThreadApplicability.d.ts +32 -0
  740. package/vscode-dts/vscode.proposed.commentingRangeHint.d.ts +16 -0
  741. package/vscode-dts/vscode.proposed.contribCommentsViewThreadMenus.d.ts +6 -0
  742. package/vscode-dts/vscode.proposed.contribDiffEditorGutterToolBarMenus.d.ts +6 -0
  743. package/vscode-dts/vscode.proposed.debugFocus.d.ts +15 -23
  744. package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +10 -0
  745. package/vscode-dts/vscode.proposed.documentPaste.d.ts +115 -30
  746. package/vscode-dts/vscode.proposed.dropMetadata.d.ts +19 -14
  747. package/vscode-dts/vscode.proposed.fileComments.d.ts +2 -4
  748. package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +18 -0
  749. package/vscode-dts/vscode.proposed.interactive.d.ts +0 -16
  750. package/vscode-dts/vscode.proposed.languageModels.d.ts +115 -53
  751. package/vscode-dts/vscode.proposed.notebookCellExecution.d.ts +44 -0
  752. package/vscode-dts/vscode.proposed.notebookVariableProvider.d.ts +3 -0
  753. package/vscode-dts/vscode.proposed.tabInputMultiDiff.d.ts +22 -0
  754. package/vscode-dts/vscode.proposed.terminalExecuteCommandEvent.d.ts +2 -0
  755. package/vscode-dts/vscode.proposed.terminalShellIntegration.d.ts +207 -0
  756. package/vscode/src/vs/editor/browser/services/hoverService.d.ts +0 -30
  757. package/vscode/src/vs/editor/browser/widget/embeddedCodeEditorWidget.js +0 -74
  758. package/vscode/src/vs/editor/browser/widget/media/editor.css.js +0 -4
  759. package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +0 -881
  760. package/vscode/src/vs/platform/theme/common/colorRegistry.js +0 -1316
  761. package/vscode/src/vs/workbench/api/common/extHostChatProvider.js +0 -253
  762. package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommandContentWidget.css.js +0 -4
  763. package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommandContentWidget.js +0 -74
  764. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.css.js +0 -4
  765. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatLivePreviewWidget.js +0 -424
  766. package/vscode-dts/vscode.proposed.testCoverage.d.ts +0 -222
  767. /package/vscode/src/vs/base/browser/ui/hover/{hover.css.js → hoverWidget.css.js} +0 -0
  768. /package/vscode/src/vs/editor/browser/{widget/hoverWidget → services/hoverService}/hover.css.js +0 -0
  769. /package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/objectPool.js +0 -0
  770. /package/vscode/src/vs/editor/contrib/indentation/{browser → common}/indentUtils.js +0 -0
  771. /package/vscode/src/vs/editor/contrib/rename/browser/{renameInputField.css.js → renameWidget.css.js} +0 -0
  772. /package/vscode/src/vs/platform/theme/common/{colorRegistry.d.ts → colorUtils.d.ts} +0 -0
@@ -1,1316 +0,0 @@
1
- import { assertNever } from '../../../base/common/assert.js';
2
- import { RunOnceScheduler } from '../../../base/common/async.js';
3
- import { Color, RGBA } from '../../../base/common/color.js';
4
- import { Emitter } from '../../../base/common/event.js';
5
- import { localizeWithPath } from '../../../nls.js';
6
- import { Extensions as Extensions$1 } from '../../jsonschemas/common/jsonContributionRegistry.js';
7
- import { Registry } from '../../registry/common/platform.js';
8
- function asCssVariableName(colorIdent) {
9
- return `--vscode-${colorIdent.replace(/\./g, '-')}`;
10
- }
11
- function asCssVariable(color) {
12
- return `var(${asCssVariableName(color)})`;
13
- }
14
- function asCssVariableWithDefault(color, defaultCssValue) {
15
- return `var(${asCssVariableName(color)}, ${defaultCssValue})`;
16
- }
17
- const Extensions = {
18
- ColorContribution: 'base.contributions.colors'
19
- };
20
- class ColorRegistry {
21
- constructor() {
22
- this._onDidChangeSchema = ( (new Emitter()));
23
- this.onDidChangeSchema = this._onDidChangeSchema.event;
24
- this.colorSchema = { type: 'object', properties: {} };
25
- this.colorReferenceSchema = { type: 'string', enum: [], enumDescriptions: [] };
26
- this.colorsById = {};
27
- }
28
- registerColor(id, defaults, description, needsTransparency = false, deprecationMessage) {
29
- const colorContribution = { id, description, defaults, needsTransparency, deprecationMessage };
30
- this.colorsById[id] = colorContribution;
31
- const propertySchema = { type: 'string', description, format: 'color-hex', defaultSnippets: [{ body: '${1:#ff0000}' }] };
32
- if (deprecationMessage) {
33
- propertySchema.deprecationMessage = deprecationMessage;
34
- }
35
- if (needsTransparency) {
36
- propertySchema.pattern = '^#(?:(?<rgba>[0-9a-fA-f]{3}[0-9a-eA-E])|(?:[0-9a-fA-F]{6}(?:(?![fF]{2})(?:[0-9a-fA-F]{2}))))?$';
37
- propertySchema.patternErrorMessage = 'This color must be transparent or it will obscure content';
38
- }
39
- this.colorSchema.properties[id] = propertySchema;
40
- this.colorReferenceSchema.enum.push(id);
41
- this.colorReferenceSchema.enumDescriptions.push(description);
42
- this._onDidChangeSchema.fire();
43
- return id;
44
- }
45
- deregisterColor(id) {
46
- delete this.colorsById[id];
47
- delete this.colorSchema.properties[id];
48
- const index = this.colorReferenceSchema.enum.indexOf(id);
49
- if (index !== -1) {
50
- this.colorReferenceSchema.enum.splice(index, 1);
51
- this.colorReferenceSchema.enumDescriptions.splice(index, 1);
52
- }
53
- this._onDidChangeSchema.fire();
54
- }
55
- getColors() {
56
- return (
57
- (( (Object.keys(this.colorsById))).map(id => this.colorsById[id]))
58
- );
59
- }
60
- resolveDefaultColor(id, theme) {
61
- const colorDesc = this.colorsById[id];
62
- if (colorDesc && colorDesc.defaults) {
63
- const colorValue = colorDesc.defaults[theme.type];
64
- return resolveColorValue(colorValue, theme);
65
- }
66
- return undefined;
67
- }
68
- getColorSchema() {
69
- return this.colorSchema;
70
- }
71
- getColorReferenceSchema() {
72
- return this.colorReferenceSchema;
73
- }
74
- toString() {
75
- const sorter = (a, b) => {
76
- const cat1 = a.indexOf('.') === -1 ? 0 : 1;
77
- const cat2 = b.indexOf('.') === -1 ? 0 : 1;
78
- if (cat1 !== cat2) {
79
- return cat1 - cat2;
80
- }
81
- return a.localeCompare(b);
82
- };
83
- return ( (( (Object.keys(this.colorsById))).sort(sorter).map(k => `- \`${k}\`: ${this.colorsById[k].description}`))).join('\n');
84
- }
85
- }
86
- const colorRegistry = ( (new ColorRegistry()));
87
- Registry.add(Extensions.ColorContribution, colorRegistry);
88
- function registerColor(id, defaults, description, needsTransparency, deprecationMessage) {
89
- return colorRegistry.registerColor(id, defaults, description, needsTransparency, deprecationMessage);
90
- }
91
- function getColorRegistry() {
92
- return colorRegistry;
93
- }
94
- const foreground = registerColor('foreground', { dark: '#CCCCCC', light: '#616161', hcDark: '#FFFFFF', hcLight: '#292929' }, ( (localizeWithPath(
95
- 'vs/platform/theme/common/colorRegistry',
96
- 'foreground',
97
- "Overall foreground color. This color is only used if not overridden by a component."
98
- ))));
99
- const disabledForeground = registerColor('disabledForeground', { dark: '#CCCCCC80', light: '#61616180', hcDark: '#A5A5A5', hcLight: '#7F7F7F' }, ( (localizeWithPath(
100
- 'vs/platform/theme/common/colorRegistry',
101
- 'disabledForeground',
102
- "Overall foreground for disabled elements. This color is only used if not overridden by a component."
103
- ))));
104
- const errorForeground = registerColor('errorForeground', { dark: '#F48771', light: '#A1260D', hcDark: '#F48771', hcLight: '#B5200D' }, ( (localizeWithPath(
105
- 'vs/platform/theme/common/colorRegistry',
106
- 'errorForeground',
107
- "Overall foreground color for error messages. This color is only used if not overridden by a component."
108
- ))));
109
- registerColor('descriptionForeground', { light: '#717171', dark: ( (transparent(foreground, 0.7))), hcDark: ( (transparent(foreground, 0.7))), hcLight: ( (transparent(foreground, 0.7))) }, ( (localizeWithPath(
110
- 'vs/platform/theme/common/colorRegistry',
111
- 'descriptionForeground',
112
- "Foreground color for description text providing additional information, for example for a label."
113
- ))));
114
- const iconForeground = registerColor('icon.foreground', { dark: '#C5C5C5', light: '#424242', hcDark: '#FFFFFF', hcLight: '#292929' }, ( (localizeWithPath(
115
- 'vs/platform/theme/common/colorRegistry',
116
- 'iconForeground',
117
- "The default color for icons in the workbench."
118
- ))));
119
- const focusBorder = registerColor('focusBorder', { dark: '#007FD4', light: '#0090F1', hcDark: '#F38518', hcLight: '#006BBD' }, ( (localizeWithPath(
120
- 'vs/platform/theme/common/colorRegistry',
121
- 'focusBorder',
122
- "Overall border color for focused elements. This color is only used if not overridden by a component."
123
- ))));
124
- const contrastBorder = registerColor('contrastBorder', { light: null, dark: null, hcDark: '#6FC3DF', hcLight: '#0F4A85' }, ( (localizeWithPath(
125
- 'vs/platform/theme/common/colorRegistry',
126
- 'contrastBorder',
127
- "An extra border around elements to separate them from others for greater contrast."
128
- ))));
129
- const activeContrastBorder = registerColor('contrastActiveBorder', { light: null, dark: null, hcDark: focusBorder, hcLight: focusBorder }, ( (localizeWithPath(
130
- 'vs/platform/theme/common/colorRegistry',
131
- 'activeContrastBorder',
132
- "An extra border around active elements to separate them from others for greater contrast."
133
- ))));
134
- const selectionBackground = registerColor('selection.background', { light: null, dark: null, hcDark: null, hcLight: null }, ( (localizeWithPath(
135
- 'vs/platform/theme/common/colorRegistry',
136
- 'selectionBackground',
137
- "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."
138
- ))));
139
- registerColor('textSeparator.foreground', { light: '#0000002e', dark: '#ffffff2e', hcDark: Color.black, hcLight: '#292929' }, ( (localizeWithPath(
140
- 'vs/platform/theme/common/colorRegistry',
141
- 'textSeparatorForeground',
142
- "Color for text separators."
143
- ))));
144
- const textLinkForeground = registerColor('textLink.foreground', { light: '#006AB1', dark: '#3794FF', hcDark: '#21A6FF', hcLight: '#0F4A85' }, ( (localizeWithPath(
145
- 'vs/platform/theme/common/colorRegistry',
146
- 'textLinkForeground',
147
- "Foreground color for links in text."
148
- ))));
149
- const textLinkActiveForeground = registerColor('textLink.activeForeground', { light: '#006AB1', dark: '#3794FF', hcDark: '#21A6FF', hcLight: '#0F4A85' }, ( (localizeWithPath(
150
- 'vs/platform/theme/common/colorRegistry',
151
- 'textLinkActiveForeground',
152
- "Foreground color for links in text when clicked on and on mouse hover."
153
- ))));
154
- const textPreformatForeground = registerColor('textPreformat.foreground', { light: '#A31515', dark: '#D7BA7D', hcDark: '#000000', hcLight: '#FFFFFF' }, ( (localizeWithPath(
155
- 'vs/platform/theme/common/colorRegistry',
156
- 'textPreformatForeground',
157
- "Foreground color for preformatted text segments."
158
- ))));
159
- registerColor('textPreformat.background', { light: '#0000001A', dark: '#FFFFFF1A', hcDark: '#FFFFFF', hcLight: '#09345f' }, ( (localizeWithPath(
160
- 'vs/platform/theme/common/colorRegistry',
161
- 'textPreformatBackground',
162
- "Background color for preformatted text segments."
163
- ))));
164
- const textBlockQuoteBackground = registerColor('textBlockQuote.background', { light: '#f2f2f2', dark: '#222222', hcDark: null, hcLight: '#F2F2F2' }, ( (localizeWithPath(
165
- 'vs/platform/theme/common/colorRegistry',
166
- 'textBlockQuoteBackground',
167
- "Background color for block quotes in text."
168
- ))));
169
- const textBlockQuoteBorder = registerColor('textBlockQuote.border', { light: '#007acc80', dark: '#007acc80', hcDark: Color.white, hcLight: '#292929' }, ( (localizeWithPath(
170
- 'vs/platform/theme/common/colorRegistry',
171
- 'textBlockQuoteBorder',
172
- "Border color for block quotes in text."
173
- ))));
174
- registerColor('textCodeBlock.background', { light: '#dcdcdc66', dark: '#0a0a0a66', hcDark: Color.black, hcLight: '#F2F2F2' }, ( (localizeWithPath(
175
- 'vs/platform/theme/common/colorRegistry',
176
- 'textCodeBlockBackground',
177
- "Background color for code blocks in text."
178
- ))));
179
- const widgetShadow = registerColor('widget.shadow', { dark: ( (transparent(Color.black, .36))), light: ( (transparent(Color.black, .16))), hcDark: null, hcLight: null }, ( (localizeWithPath(
180
- 'vs/platform/theme/common/colorRegistry',
181
- 'widgetShadow',
182
- 'Shadow color of widgets such as find/replace inside the editor.'
183
- ))));
184
- const widgetBorder = registerColor('widget.border', { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, ( (localizeWithPath(
185
- 'vs/platform/theme/common/colorRegistry',
186
- 'widgetBorder',
187
- 'Border color of widgets such as find/replace inside the editor.'
188
- ))));
189
- const inputBackground = registerColor('input.background', { dark: '#3C3C3C', light: Color.white, hcDark: Color.black, hcLight: Color.white }, ( (localizeWithPath(
190
- 'vs/platform/theme/common/colorRegistry',
191
- 'inputBoxBackground',
192
- "Input box background."
193
- ))));
194
- const inputForeground = registerColor('input.foreground', { dark: foreground, light: foreground, hcDark: foreground, hcLight: foreground }, ( (localizeWithPath(
195
- 'vs/platform/theme/common/colorRegistry',
196
- 'inputBoxForeground',
197
- "Input box foreground."
198
- ))));
199
- const inputBorder = registerColor('input.border', { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, ( (localizeWithPath(
200
- 'vs/platform/theme/common/colorRegistry',
201
- 'inputBoxBorder',
202
- "Input box border."
203
- ))));
204
- const inputActiveOptionBorder = registerColor('inputOption.activeBorder', { dark: '#007ACC', light: '#007ACC', hcDark: contrastBorder, hcLight: contrastBorder }, ( (localizeWithPath(
205
- 'vs/platform/theme/common/colorRegistry',
206
- 'inputBoxActiveOptionBorder',
207
- "Border color of activated options in input fields."
208
- ))));
209
- registerColor('inputOption.hoverBackground', { dark: '#5a5d5e80', light: '#b8b8b850', hcDark: null, hcLight: null }, ( (localizeWithPath(
210
- 'vs/platform/theme/common/colorRegistry',
211
- 'inputOption.hoverBackground',
212
- "Background color of activated options in input fields."
213
- ))));
214
- const inputActiveOptionBackground = registerColor('inputOption.activeBackground', { dark: ( (transparent(focusBorder, 0.4))), light: ( (transparent(focusBorder, 0.2))), hcDark: Color.transparent, hcLight: Color.transparent }, ( (localizeWithPath(
215
- 'vs/platform/theme/common/colorRegistry',
216
- 'inputOption.activeBackground',
217
- "Background hover color of options in input fields."
218
- ))));
219
- const inputActiveOptionForeground = registerColor('inputOption.activeForeground', { dark: Color.white, light: Color.black, hcDark: foreground, hcLight: foreground }, ( (localizeWithPath(
220
- 'vs/platform/theme/common/colorRegistry',
221
- 'inputOption.activeForeground',
222
- "Foreground color of activated options in input fields."
223
- ))));
224
- const inputPlaceholderForeground = registerColor('input.placeholderForeground', { light: ( (transparent(foreground, 0.5))), dark: ( (transparent(foreground, 0.5))), hcDark: ( (transparent(foreground, 0.7))), hcLight: ( (transparent(foreground, 0.7))) }, ( (localizeWithPath(
225
- 'vs/platform/theme/common/colorRegistry',
226
- 'inputPlaceholderForeground',
227
- "Input box foreground color for placeholder text."
228
- ))));
229
- const inputValidationInfoBackground = registerColor('inputValidation.infoBackground', { dark: '#063B49', light: '#D6ECF2', hcDark: Color.black, hcLight: Color.white }, ( (localizeWithPath(
230
- 'vs/platform/theme/common/colorRegistry',
231
- 'inputValidationInfoBackground',
232
- "Input validation background color for information severity."
233
- ))));
234
- const inputValidationInfoForeground = registerColor('inputValidation.infoForeground', { dark: null, light: null, hcDark: null, hcLight: foreground }, ( (localizeWithPath(
235
- 'vs/platform/theme/common/colorRegistry',
236
- 'inputValidationInfoForeground',
237
- "Input validation foreground color for information severity."
238
- ))));
239
- const inputValidationInfoBorder = registerColor('inputValidation.infoBorder', { dark: '#007acc', light: '#007acc', hcDark: contrastBorder, hcLight: contrastBorder }, ( (localizeWithPath(
240
- 'vs/platform/theme/common/colorRegistry',
241
- 'inputValidationInfoBorder',
242
- "Input validation border color for information severity."
243
- ))));
244
- const inputValidationWarningBackground = registerColor('inputValidation.warningBackground', { dark: '#352A05', light: '#F6F5D2', hcDark: Color.black, hcLight: Color.white }, ( (localizeWithPath(
245
- 'vs/platform/theme/common/colorRegistry',
246
- 'inputValidationWarningBackground',
247
- "Input validation background color for warning severity."
248
- ))));
249
- const inputValidationWarningForeground = registerColor('inputValidation.warningForeground', { dark: null, light: null, hcDark: null, hcLight: foreground }, ( (localizeWithPath(
250
- 'vs/platform/theme/common/colorRegistry',
251
- 'inputValidationWarningForeground',
252
- "Input validation foreground color for warning severity."
253
- ))));
254
- const inputValidationWarningBorder = registerColor('inputValidation.warningBorder', { dark: '#B89500', light: '#B89500', hcDark: contrastBorder, hcLight: contrastBorder }, ( (localizeWithPath(
255
- 'vs/platform/theme/common/colorRegistry',
256
- 'inputValidationWarningBorder',
257
- "Input validation border color for warning severity."
258
- ))));
259
- const inputValidationErrorBackground = registerColor('inputValidation.errorBackground', { dark: '#5A1D1D', light: '#F2DEDE', hcDark: Color.black, hcLight: Color.white }, ( (localizeWithPath(
260
- 'vs/platform/theme/common/colorRegistry',
261
- 'inputValidationErrorBackground',
262
- "Input validation background color for error severity."
263
- ))));
264
- const inputValidationErrorForeground = registerColor('inputValidation.errorForeground', { dark: null, light: null, hcDark: null, hcLight: foreground }, ( (localizeWithPath(
265
- 'vs/platform/theme/common/colorRegistry',
266
- 'inputValidationErrorForeground',
267
- "Input validation foreground color for error severity."
268
- ))));
269
- const inputValidationErrorBorder = registerColor('inputValidation.errorBorder', { dark: '#BE1100', light: '#BE1100', hcDark: contrastBorder, hcLight: contrastBorder }, ( (localizeWithPath(
270
- 'vs/platform/theme/common/colorRegistry',
271
- 'inputValidationErrorBorder',
272
- "Input validation border color for error severity."
273
- ))));
274
- const selectBackground = registerColor('dropdown.background', { dark: '#3C3C3C', light: Color.white, hcDark: Color.black, hcLight: Color.white }, ( (localizeWithPath(
275
- 'vs/platform/theme/common/colorRegistry',
276
- 'dropdownBackground',
277
- "Dropdown background."
278
- ))));
279
- const selectListBackground = registerColor('dropdown.listBackground', { dark: null, light: null, hcDark: Color.black, hcLight: Color.white }, ( (localizeWithPath(
280
- 'vs/platform/theme/common/colorRegistry',
281
- 'dropdownListBackground',
282
- "Dropdown list background."
283
- ))));
284
- const selectForeground = registerColor('dropdown.foreground', { dark: '#F0F0F0', light: foreground, hcDark: Color.white, hcLight: foreground }, ( (localizeWithPath(
285
- 'vs/platform/theme/common/colorRegistry',
286
- 'dropdownForeground',
287
- "Dropdown foreground."
288
- ))));
289
- const selectBorder = registerColor('dropdown.border', { dark: selectBackground, light: '#CECECE', hcDark: contrastBorder, hcLight: contrastBorder }, ( (localizeWithPath(
290
- 'vs/platform/theme/common/colorRegistry',
291
- 'dropdownBorder',
292
- "Dropdown border."
293
- ))));
294
- const buttonForeground = registerColor('button.foreground', { dark: Color.white, light: Color.white, hcDark: Color.white, hcLight: Color.white }, ( (localizeWithPath(
295
- 'vs/platform/theme/common/colorRegistry',
296
- 'buttonForeground',
297
- "Button foreground color."
298
- ))));
299
- const buttonSeparator = registerColor('button.separator', { dark: ( (transparent(buttonForeground, .4))), light: ( (transparent(buttonForeground, .4))), hcDark: ( (transparent(buttonForeground, .4))), hcLight: ( (transparent(buttonForeground, .4))) }, ( (localizeWithPath(
300
- 'vs/platform/theme/common/colorRegistry',
301
- 'buttonSeparator',
302
- "Button separator color."
303
- ))));
304
- const buttonBackground = registerColor('button.background', { dark: '#0E639C', light: '#007ACC', hcDark: null, hcLight: '#0F4A85' }, ( (localizeWithPath(
305
- 'vs/platform/theme/common/colorRegistry',
306
- 'buttonBackground',
307
- "Button background color."
308
- ))));
309
- const buttonHoverBackground = registerColor('button.hoverBackground', { dark: ( (lighten(buttonBackground, 0.2))), light: ( (darken(buttonBackground, 0.2))), hcDark: buttonBackground, hcLight: buttonBackground }, ( (localizeWithPath(
310
- 'vs/platform/theme/common/colorRegistry',
311
- 'buttonHoverBackground',
312
- "Button background color when hovering."
313
- ))));
314
- const buttonBorder = registerColor('button.border', { dark: contrastBorder, light: contrastBorder, hcDark: contrastBorder, hcLight: contrastBorder }, ( (localizeWithPath(
315
- 'vs/platform/theme/common/colorRegistry',
316
- 'buttonBorder',
317
- "Button border color."
318
- ))));
319
- const buttonSecondaryForeground = registerColor('button.secondaryForeground', { dark: Color.white, light: Color.white, hcDark: Color.white, hcLight: foreground }, ( (localizeWithPath(
320
- 'vs/platform/theme/common/colorRegistry',
321
- 'buttonSecondaryForeground',
322
- "Secondary button foreground color."
323
- ))));
324
- const buttonSecondaryBackground = registerColor('button.secondaryBackground', { dark: '#3A3D41', light: '#5F6A79', hcDark: null, hcLight: Color.white }, ( (localizeWithPath(
325
- 'vs/platform/theme/common/colorRegistry',
326
- 'buttonSecondaryBackground',
327
- "Secondary button background color."
328
- ))));
329
- const buttonSecondaryHoverBackground = registerColor('button.secondaryHoverBackground', { dark: ( (lighten(buttonSecondaryBackground, 0.2))), light: ( (darken(buttonSecondaryBackground, 0.2))), hcDark: null, hcLight: null }, ( (localizeWithPath(
330
- 'vs/platform/theme/common/colorRegistry',
331
- 'buttonSecondaryHoverBackground',
332
- "Secondary button background color when hovering."
333
- ))));
334
- const badgeBackground = registerColor('badge.background', { dark: '#4D4D4D', light: '#C4C4C4', hcDark: Color.black, hcLight: '#0F4A85' }, ( (localizeWithPath(
335
- 'vs/platform/theme/common/colorRegistry',
336
- 'badgeBackground',
337
- "Badge background color. Badges are small information labels, e.g. for search results count."
338
- ))));
339
- const badgeForeground = registerColor('badge.foreground', { dark: Color.white, light: '#333', hcDark: Color.white, hcLight: Color.white }, ( (localizeWithPath(
340
- 'vs/platform/theme/common/colorRegistry',
341
- 'badgeForeground',
342
- "Badge foreground color. Badges are small information labels, e.g. for search results count."
343
- ))));
344
- const scrollbarShadow = registerColor('scrollbar.shadow', { dark: '#000000', light: '#DDDDDD', hcDark: null, hcLight: null }, ( (localizeWithPath(
345
- 'vs/platform/theme/common/colorRegistry',
346
- 'scrollbarShadow',
347
- "Scrollbar shadow to indicate that the view is scrolled."
348
- ))));
349
- const scrollbarSliderBackground = registerColor('scrollbarSlider.background', { dark: ( (( (Color.fromHex('#797979'))).transparent(0.4))), light: ( (( (Color.fromHex('#646464'))).transparent(0.4))), hcDark: ( (transparent(contrastBorder, 0.6))), hcLight: ( (transparent(contrastBorder, 0.4))) }, ( (localizeWithPath(
350
- 'vs/platform/theme/common/colorRegistry',
351
- 'scrollbarSliderBackground',
352
- "Scrollbar slider background color."
353
- ))));
354
- const scrollbarSliderHoverBackground = registerColor('scrollbarSlider.hoverBackground', { dark: ( (( (Color.fromHex('#646464'))).transparent(0.7))), light: ( (( (Color.fromHex('#646464'))).transparent(0.7))), hcDark: ( (transparent(contrastBorder, 0.8))), hcLight: ( (transparent(contrastBorder, 0.8))) }, ( (localizeWithPath(
355
- 'vs/platform/theme/common/colorRegistry',
356
- 'scrollbarSliderHoverBackground',
357
- "Scrollbar slider background color when hovering."
358
- ))));
359
- const scrollbarSliderActiveBackground = registerColor('scrollbarSlider.activeBackground', { dark: ( (( (Color.fromHex('#BFBFBF'))).transparent(0.4))), light: ( (( (Color.fromHex('#000000'))).transparent(0.6))), hcDark: contrastBorder, hcLight: contrastBorder }, ( (localizeWithPath(
360
- 'vs/platform/theme/common/colorRegistry',
361
- 'scrollbarSliderActiveBackground',
362
- "Scrollbar slider background color when clicked on."
363
- ))));
364
- const progressBarBackground = registerColor('progressBar.background', { dark: ( (Color.fromHex('#0E70C0'))), light: ( (Color.fromHex('#0E70C0'))), hcDark: contrastBorder, hcLight: contrastBorder }, ( (localizeWithPath(
365
- 'vs/platform/theme/common/colorRegistry',
366
- 'progressBarBackground',
367
- "Background color of the progress bar that can show for long running operations."
368
- ))));
369
- registerColor('editorError.background', { dark: null, light: null, hcDark: null, hcLight: null }, ( (localizeWithPath(
370
- 'vs/platform/theme/common/colorRegistry',
371
- 'editorError.background',
372
- 'Background color of error text in the editor. The color must not be opaque so as not to hide underlying decorations.'
373
- ))), true);
374
- const editorErrorForeground = registerColor('editorError.foreground', { dark: '#F14C4C', light: '#E51400', hcDark: '#F48771', hcLight: '#B5200D' }, ( (localizeWithPath(
375
- 'vs/platform/theme/common/colorRegistry',
376
- 'editorError.foreground',
377
- 'Foreground color of error squigglies in the editor.'
378
- ))));
379
- const editorErrorBorder = registerColor('editorError.border', { dark: null, light: null, hcDark: ( (( (Color.fromHex('#E47777'))).transparent(0.8))), hcLight: '#B5200D' }, ( (localizeWithPath(
380
- 'vs/platform/theme/common/colorRegistry',
381
- 'errorBorder',
382
- 'If set, color of double underlines for errors in the editor.'
383
- ))));
384
- const editorWarningBackground = registerColor('editorWarning.background', { dark: null, light: null, hcDark: null, hcLight: null }, ( (localizeWithPath(
385
- 'vs/platform/theme/common/colorRegistry',
386
- 'editorWarning.background',
387
- 'Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations.'
388
- ))), true);
389
- const editorWarningForeground = registerColor('editorWarning.foreground', { dark: '#CCA700', light: '#BF8803', hcDark: '#FFD370', hcLight: '#895503' }, ( (localizeWithPath(
390
- 'vs/platform/theme/common/colorRegistry',
391
- 'editorWarning.foreground',
392
- 'Foreground color of warning squigglies in the editor.'
393
- ))));
394
- const editorWarningBorder = registerColor('editorWarning.border', { dark: null, light: null, hcDark: ( (( (Color.fromHex('#FFCC00'))).transparent(0.8))), hcLight: ( (( (Color.fromHex('#FFCC00'))).transparent(0.8))) }, ( (localizeWithPath(
395
- 'vs/platform/theme/common/colorRegistry',
396
- 'warningBorder',
397
- 'If set, color of double underlines for warnings in the editor.'
398
- ))));
399
- registerColor('editorInfo.background', { dark: null, light: null, hcDark: null, hcLight: null }, ( (localizeWithPath(
400
- 'vs/platform/theme/common/colorRegistry',
401
- 'editorInfo.background',
402
- 'Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations.'
403
- ))), true);
404
- const editorInfoForeground = registerColor('editorInfo.foreground', { dark: '#3794FF', light: '#1a85ff', hcDark: '#3794FF', hcLight: '#1a85ff' }, ( (localizeWithPath(
405
- 'vs/platform/theme/common/colorRegistry',
406
- 'editorInfo.foreground',
407
- 'Foreground color of info squigglies in the editor.'
408
- ))));
409
- const editorInfoBorder = registerColor('editorInfo.border', { dark: null, light: null, hcDark: ( (( (Color.fromHex('#3794FF'))).transparent(0.8))), hcLight: '#292929' }, ( (localizeWithPath(
410
- 'vs/platform/theme/common/colorRegistry',
411
- 'infoBorder',
412
- 'If set, color of double underlines for infos in the editor.'
413
- ))));
414
- const editorHintForeground = registerColor('editorHint.foreground', { dark: ( (( (Color.fromHex('#eeeeee'))).transparent(0.7))), light: '#6c6c6c', hcDark: null, hcLight: null }, ( (localizeWithPath(
415
- 'vs/platform/theme/common/colorRegistry',
416
- 'editorHint.foreground',
417
- 'Foreground color of hint squigglies in the editor.'
418
- ))));
419
- registerColor('editorHint.border', { dark: null, light: null, hcDark: ( (( (Color.fromHex('#eeeeee'))).transparent(0.8))), hcLight: '#292929' }, ( (localizeWithPath(
420
- 'vs/platform/theme/common/colorRegistry',
421
- 'hintBorder',
422
- 'If set, color of double underlines for hints in the editor.'
423
- ))));
424
- registerColor('sash.hoverBorder', { dark: focusBorder, light: focusBorder, hcDark: focusBorder, hcLight: focusBorder }, ( (localizeWithPath(
425
- 'vs/platform/theme/common/colorRegistry',
426
- 'sashActiveBorder',
427
- "Border color of active sashes."
428
- ))));
429
- const editorBackground = registerColor('editor.background', { light: '#ffffff', dark: '#1E1E1E', hcDark: Color.black, hcLight: Color.white }, ( (localizeWithPath(
430
- 'vs/platform/theme/common/colorRegistry',
431
- 'editorBackground',
432
- "Editor background color."
433
- ))));
434
- const editorForeground = registerColor('editor.foreground', { light: '#333333', dark: '#BBBBBB', hcDark: Color.white, hcLight: foreground }, ( (localizeWithPath(
435
- 'vs/platform/theme/common/colorRegistry',
436
- 'editorForeground',
437
- "Editor default foreground color."
438
- ))));
439
- registerColor('editorStickyScroll.background', { light: editorBackground, dark: editorBackground, hcDark: editorBackground, hcLight: editorBackground }, ( (localizeWithPath(
440
- 'vs/platform/theme/common/colorRegistry',
441
- 'editorStickyScrollBackground',
442
- "Background color of sticky scroll in the editor"
443
- ))));
444
- registerColor('editorStickyScrollHover.background', { dark: '#2A2D2E', light: '#F0F0F0', hcDark: null, hcLight: ( (( (Color.fromHex('#0F4A85'))).transparent(0.1))) }, ( (localizeWithPath(
445
- 'vs/platform/theme/common/colorRegistry',
446
- 'editorStickyScrollHoverBackground',
447
- "Background color of sticky scroll on hover in the editor"
448
- ))));
449
- registerColor('editorStickyScroll.border', { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, ( (localizeWithPath(
450
- 'vs/platform/theme/common/colorRegistry',
451
- 'editorStickyScrollBorder',
452
- "Border color of sticky scroll in the editor"
453
- ))));
454
- registerColor('editorStickyScroll.shadow', { dark: scrollbarShadow, light: scrollbarShadow, hcDark: scrollbarShadow, hcLight: scrollbarShadow }, ( (localizeWithPath(
455
- 'vs/platform/theme/common/colorRegistry',
456
- 'editorStickyScrollShadow',
457
- " Shadow color of sticky scroll in the editor"
458
- ))));
459
- const editorWidgetBackground = registerColor('editorWidget.background', { dark: '#252526', light: '#F3F3F3', hcDark: '#0C141F', hcLight: Color.white }, ( (localizeWithPath(
460
- 'vs/platform/theme/common/colorRegistry',
461
- 'editorWidgetBackground',
462
- 'Background color of editor widgets, such as find/replace.'
463
- ))));
464
- const editorWidgetForeground = registerColor('editorWidget.foreground', { dark: foreground, light: foreground, hcDark: foreground, hcLight: foreground }, ( (localizeWithPath(
465
- 'vs/platform/theme/common/colorRegistry',
466
- 'editorWidgetForeground',
467
- 'Foreground color of editor widgets, such as find/replace.'
468
- ))));
469
- const editorWidgetBorder = registerColor('editorWidget.border', { dark: '#454545', light: '#C8C8C8', hcDark: contrastBorder, hcLight: contrastBorder }, ( (localizeWithPath(
470
- 'vs/platform/theme/common/colorRegistry',
471
- 'editorWidgetBorder',
472
- '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.'
473
- ))));
474
- registerColor('editorWidget.resizeBorder', { light: null, dark: null, hcDark: null, hcLight: null }, ( (localizeWithPath(
475
- 'vs/platform/theme/common/colorRegistry',
476
- 'editorWidgetResizeBorder',
477
- "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."
478
- ))));
479
- const quickInputBackground = registerColor('quickInput.background', { dark: editorWidgetBackground, light: editorWidgetBackground, hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, ( (localizeWithPath(
480
- 'vs/platform/theme/common/colorRegistry',
481
- 'pickerBackground',
482
- "Quick picker background color. The quick picker widget is the container for pickers like the command palette."
483
- ))));
484
- const quickInputForeground = registerColor('quickInput.foreground', { dark: editorWidgetForeground, light: editorWidgetForeground, hcDark: editorWidgetForeground, hcLight: editorWidgetForeground }, ( (localizeWithPath(
485
- 'vs/platform/theme/common/colorRegistry',
486
- 'pickerForeground',
487
- "Quick picker foreground color. The quick picker widget is the container for pickers like the command palette."
488
- ))));
489
- const quickInputTitleBackground = registerColor('quickInputTitle.background', { dark: ( (new Color( (new RGBA(255, 255, 255, 0.105))))), light: ( (new Color( (new RGBA(0, 0, 0, 0.06))))), hcDark: '#000000', hcLight: Color.white }, ( (localizeWithPath(
490
- 'vs/platform/theme/common/colorRegistry',
491
- 'pickerTitleBackground',
492
- "Quick picker title background color. The quick picker widget is the container for pickers like the command palette."
493
- ))));
494
- const pickerGroupForeground = registerColor('pickerGroup.foreground', { dark: '#3794FF', light: '#0066BF', hcDark: Color.white, hcLight: '#0F4A85' }, ( (localizeWithPath(
495
- 'vs/platform/theme/common/colorRegistry',
496
- 'pickerGroupForeground',
497
- "Quick picker color for grouping labels."
498
- ))));
499
- const pickerGroupBorder = registerColor('pickerGroup.border', { dark: '#3F3F46', light: '#CCCEDB', hcDark: Color.white, hcLight: '#0F4A85' }, ( (localizeWithPath(
500
- 'vs/platform/theme/common/colorRegistry',
501
- 'pickerGroupBorder',
502
- "Quick picker color for grouping borders."
503
- ))));
504
- const keybindingLabelBackground = registerColor('keybindingLabel.background', { dark: ( (new Color( (new RGBA(128, 128, 128, 0.17))))), light: ( (new Color( (new RGBA(221, 221, 221, 0.4))))), hcDark: Color.transparent, hcLight: Color.transparent }, ( (localizeWithPath(
505
- 'vs/platform/theme/common/colorRegistry',
506
- 'keybindingLabelBackground',
507
- "Keybinding label background color. The keybinding label is used to represent a keyboard shortcut."
508
- ))));
509
- const keybindingLabelForeground = registerColor('keybindingLabel.foreground', { dark: ( (Color.fromHex('#CCCCCC'))), light: ( (Color.fromHex('#555555'))), hcDark: Color.white, hcLight: foreground }, ( (localizeWithPath(
510
- 'vs/platform/theme/common/colorRegistry',
511
- 'keybindingLabelForeground',
512
- "Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut."
513
- ))));
514
- const keybindingLabelBorder = registerColor('keybindingLabel.border', { dark: ( (new Color( (new RGBA(51, 51, 51, 0.6))))), light: ( (new Color( (new RGBA(204, 204, 204, 0.4))))), hcDark: ( (new Color( (new RGBA(111, 195, 223))))), hcLight: contrastBorder }, ( (localizeWithPath(
515
- 'vs/platform/theme/common/colorRegistry',
516
- 'keybindingLabelBorder',
517
- "Keybinding label border color. The keybinding label is used to represent a keyboard shortcut."
518
- ))));
519
- const keybindingLabelBottomBorder = registerColor('keybindingLabel.bottomBorder', { dark: ( (new Color( (new RGBA(68, 68, 68, 0.6))))), light: ( (new Color( (new RGBA(187, 187, 187, 0.4))))), hcDark: ( (new Color( (new RGBA(111, 195, 223))))), hcLight: foreground }, ( (localizeWithPath(
520
- 'vs/platform/theme/common/colorRegistry',
521
- 'keybindingLabelBottomBorder',
522
- "Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut."
523
- ))));
524
- const editorSelectionBackground = registerColor('editor.selectionBackground', { light: '#ADD6FF', dark: '#264F78', hcDark: '#f3f518', hcLight: '#0F4A85' }, ( (localizeWithPath(
525
- 'vs/platform/theme/common/colorRegistry',
526
- 'editorSelectionBackground',
527
- "Color of the editor selection."
528
- ))));
529
- const editorSelectionForeground = registerColor('editor.selectionForeground', { light: null, dark: null, hcDark: '#000000', hcLight: Color.white }, ( (localizeWithPath(
530
- 'vs/platform/theme/common/colorRegistry',
531
- 'editorSelectionForeground',
532
- "Color of the selected text for high contrast."
533
- ))));
534
- const editorInactiveSelection = registerColor('editor.inactiveSelectionBackground', { light: ( (transparent(editorSelectionBackground, 0.5))), dark: ( (transparent(editorSelectionBackground, 0.5))), hcDark: ( (transparent(editorSelectionBackground, 0.7))), hcLight: ( (transparent(editorSelectionBackground, 0.5))) }, ( (localizeWithPath(
535
- 'vs/platform/theme/common/colorRegistry',
536
- 'editorInactiveSelection',
537
- "Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."
538
- ))), true);
539
- const editorSelectionHighlight = registerColor('editor.selectionHighlightBackground', { light: lessProminent(editorSelectionBackground, editorBackground, 0.3, 0.6), dark: lessProminent(editorSelectionBackground, editorBackground, 0.3, 0.6), hcDark: null, hcLight: null }, ( (localizeWithPath(
540
- 'vs/platform/theme/common/colorRegistry',
541
- 'editorSelectionHighlight',
542
- 'Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations.'
543
- ))), true);
544
- registerColor('editor.selectionHighlightBorder', { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( (localizeWithPath(
545
- 'vs/platform/theme/common/colorRegistry',
546
- 'editorSelectionHighlightBorder',
547
- "Border color for regions with the same content as the selection."
548
- ))));
549
- const editorFindMatch = registerColor('editor.findMatchBackground', { light: '#A8AC94', dark: '#515C6A', hcDark: null, hcLight: null }, ( (localizeWithPath(
550
- 'vs/platform/theme/common/colorRegistry',
551
- 'editorFindMatch',
552
- "Color of the current search match."
553
- ))));
554
- const editorFindMatchHighlight = registerColor('editor.findMatchHighlightBackground', { light: '#EA5C0055', dark: '#EA5C0055', hcDark: null, hcLight: null }, ( (localizeWithPath(
555
- 'vs/platform/theme/common/colorRegistry',
556
- 'findMatchHighlight',
557
- "Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."
558
- ))), true);
559
- const editorFindRangeHighlight = registerColor('editor.findRangeHighlightBackground', { dark: '#3a3d4166', light: '#b4b4b44d', hcDark: null, hcLight: null }, ( (localizeWithPath(
560
- 'vs/platform/theme/common/colorRegistry',
561
- 'findRangeHighlight',
562
- "Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."
563
- ))), true);
564
- registerColor('editor.findMatchBorder', { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( (localizeWithPath(
565
- 'vs/platform/theme/common/colorRegistry',
566
- 'editorFindMatchBorder',
567
- "Border color of the current search match."
568
- ))));
569
- const editorFindMatchHighlightBorder = registerColor('editor.findMatchHighlightBorder', { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( (localizeWithPath(
570
- 'vs/platform/theme/common/colorRegistry',
571
- 'findMatchHighlightBorder',
572
- "Border color of the other search matches."
573
- ))));
574
- const editorFindRangeHighlightBorder = registerColor('editor.findRangeHighlightBorder', { dark: null, light: null, hcDark: ( (transparent(activeContrastBorder, 0.4))), hcLight: ( (transparent(activeContrastBorder, 0.4))) }, ( (localizeWithPath(
575
- 'vs/platform/theme/common/colorRegistry',
576
- 'findRangeHighlightBorder',
577
- "Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."
578
- ))), true);
579
- registerColor('searchEditor.findMatchBackground', { light: ( (transparent(editorFindMatchHighlight, 0.66))), dark: ( (transparent(editorFindMatchHighlight, 0.66))), hcDark: editorFindMatchHighlight, hcLight: editorFindMatchHighlight }, ( (localizeWithPath(
580
- 'vs/platform/theme/common/colorRegistry',
581
- 'searchEditor.queryMatch',
582
- "Color of the Search Editor query matches."
583
- ))));
584
- registerColor('searchEditor.findMatchBorder', { light: ( (transparent(editorFindMatchHighlightBorder, 0.66))), dark: ( (transparent(editorFindMatchHighlightBorder, 0.66))), hcDark: editorFindMatchHighlightBorder, hcLight: editorFindMatchHighlightBorder }, ( (localizeWithPath(
585
- 'vs/platform/theme/common/colorRegistry',
586
- 'searchEditor.editorFindMatchBorder',
587
- "Border color of the Search Editor query matches."
588
- ))));
589
- registerColor('search.resultsInfoForeground', { light: foreground, dark: ( (transparent(foreground, 0.65))), hcDark: foreground, hcLight: foreground }, ( (localizeWithPath(
590
- 'vs/platform/theme/common/colorRegistry',
591
- 'search.resultsInfoForeground',
592
- "Color of the text in the search viewlet's completion message."
593
- ))));
594
- const editorHoverHighlight = registerColor('editor.hoverHighlightBackground', { light: '#ADD6FF26', dark: '#264f7840', hcDark: '#ADD6FF26', hcLight: null }, ( (localizeWithPath(
595
- 'vs/platform/theme/common/colorRegistry',
596
- 'hoverHighlight',
597
- 'Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations.'
598
- ))), true);
599
- const editorHoverBackground = registerColor('editorHoverWidget.background', { light: editorWidgetBackground, dark: editorWidgetBackground, hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, ( (localizeWithPath(
600
- 'vs/platform/theme/common/colorRegistry',
601
- 'hoverBackground',
602
- 'Background color of the editor hover.'
603
- ))));
604
- const editorHoverForeground = registerColor('editorHoverWidget.foreground', { light: editorWidgetForeground, dark: editorWidgetForeground, hcDark: editorWidgetForeground, hcLight: editorWidgetForeground }, ( (localizeWithPath(
605
- 'vs/platform/theme/common/colorRegistry',
606
- 'hoverForeground',
607
- 'Foreground color of the editor hover.'
608
- ))));
609
- const editorHoverBorder = registerColor('editorHoverWidget.border', { light: editorWidgetBorder, dark: editorWidgetBorder, hcDark: editorWidgetBorder, hcLight: editorWidgetBorder }, ( (localizeWithPath(
610
- 'vs/platform/theme/common/colorRegistry',
611
- 'hoverBorder',
612
- 'Border color of the editor hover.'
613
- ))));
614
- registerColor('editorHoverWidget.statusBarBackground', { dark: ( (lighten(editorHoverBackground, 0.2))), light: ( (darken(editorHoverBackground, 0.05))), hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, ( (localizeWithPath(
615
- 'vs/platform/theme/common/colorRegistry',
616
- 'statusBarBackground',
617
- "Background color of the editor hover status bar."
618
- ))));
619
- const editorActiveLinkForeground = registerColor('editorLink.activeForeground', { dark: '#4E94CE', light: Color.blue, hcDark: Color.cyan, hcLight: '#292929' }, ( (localizeWithPath(
620
- 'vs/platform/theme/common/colorRegistry',
621
- 'activeLinkForeground',
622
- 'Color of active links.'
623
- ))));
624
- const editorInlayHintForeground = registerColor('editorInlayHint.foreground', { dark: '#969696', light: '#969696', hcDark: Color.white, hcLight: Color.black }, ( (localizeWithPath(
625
- 'vs/platform/theme/common/colorRegistry',
626
- 'editorInlayHintForeground',
627
- 'Foreground color of inline hints'
628
- ))));
629
- const editorInlayHintBackground = registerColor('editorInlayHint.background', { dark: ( (transparent(badgeBackground, .10))), light: ( (transparent(badgeBackground, .10))), hcDark: ( (transparent(Color.white, .10))), hcLight: ( (transparent(badgeBackground, .10))) }, ( (localizeWithPath(
630
- 'vs/platform/theme/common/colorRegistry',
631
- 'editorInlayHintBackground',
632
- 'Background color of inline hints'
633
- ))));
634
- const editorInlayHintTypeForeground = registerColor('editorInlayHint.typeForeground', { dark: editorInlayHintForeground, light: editorInlayHintForeground, hcDark: editorInlayHintForeground, hcLight: editorInlayHintForeground }, ( (localizeWithPath(
635
- 'vs/platform/theme/common/colorRegistry',
636
- 'editorInlayHintForegroundTypes',
637
- 'Foreground color of inline hints for types'
638
- ))));
639
- const editorInlayHintTypeBackground = registerColor('editorInlayHint.typeBackground', { dark: editorInlayHintBackground, light: editorInlayHintBackground, hcDark: editorInlayHintBackground, hcLight: editorInlayHintBackground }, ( (localizeWithPath(
640
- 'vs/platform/theme/common/colorRegistry',
641
- 'editorInlayHintBackgroundTypes',
642
- 'Background color of inline hints for types'
643
- ))));
644
- const editorInlayHintParameterForeground = registerColor('editorInlayHint.parameterForeground', { dark: editorInlayHintForeground, light: editorInlayHintForeground, hcDark: editorInlayHintForeground, hcLight: editorInlayHintForeground }, ( (localizeWithPath(
645
- 'vs/platform/theme/common/colorRegistry',
646
- 'editorInlayHintForegroundParameter',
647
- 'Foreground color of inline hints for parameters'
648
- ))));
649
- const editorInlayHintParameterBackground = registerColor('editorInlayHint.parameterBackground', { dark: editorInlayHintBackground, light: editorInlayHintBackground, hcDark: editorInlayHintBackground, hcLight: editorInlayHintBackground }, ( (localizeWithPath(
650
- 'vs/platform/theme/common/colorRegistry',
651
- 'editorInlayHintBackgroundParameter',
652
- 'Background color of inline hints for parameters'
653
- ))));
654
- const editorLightBulbForeground = registerColor('editorLightBulb.foreground', { dark: '#FFCC00', light: '#DDB100', hcDark: '#FFCC00', hcLight: '#007ACC' }, ( (localizeWithPath(
655
- 'vs/platform/theme/common/colorRegistry',
656
- 'editorLightBulbForeground',
657
- "The color used for the lightbulb actions icon."
658
- ))));
659
- registerColor('editorLightBulbAutoFix.foreground', { dark: '#75BEFF', light: '#007ACC', hcDark: '#75BEFF', hcLight: '#007ACC' }, ( (localizeWithPath(
660
- 'vs/platform/theme/common/colorRegistry',
661
- 'editorLightBulbAutoFixForeground',
662
- "The color used for the lightbulb auto fix actions icon."
663
- ))));
664
- registerColor('editorLightBulbAi.foreground', { dark: editorLightBulbForeground, light: editorLightBulbForeground, hcDark: editorLightBulbForeground, hcLight: editorLightBulbForeground }, ( (localizeWithPath(
665
- 'vs/platform/theme/common/colorRegistry',
666
- 'editorLightBulbAiForeground',
667
- "The color used for the lightbulb AI icon."
668
- ))));
669
- const defaultInsertColor = ( (new Color( (new RGBA(155, 185, 85, .2)))));
670
- const defaultRemoveColor = ( (new Color( (new RGBA(255, 0, 0, .2)))));
671
- const diffInserted = registerColor('diffEditor.insertedTextBackground', { dark: '#9ccc2c33', light: '#9ccc2c40', hcDark: null, hcLight: null }, ( (localizeWithPath(
672
- 'vs/platform/theme/common/colorRegistry',
673
- 'diffEditorInserted',
674
- 'Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations.'
675
- ))), true);
676
- const diffRemoved = registerColor('diffEditor.removedTextBackground', { dark: '#ff000033', light: '#ff000033', hcDark: null, hcLight: null }, ( (localizeWithPath(
677
- 'vs/platform/theme/common/colorRegistry',
678
- 'diffEditorRemoved',
679
- 'Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations.'
680
- ))), true);
681
- const diffInsertedLine = registerColor('diffEditor.insertedLineBackground', { dark: defaultInsertColor, light: defaultInsertColor, hcDark: null, hcLight: null }, ( (localizeWithPath(
682
- 'vs/platform/theme/common/colorRegistry',
683
- 'diffEditorInsertedLines',
684
- 'Background color for lines that got inserted. The color must not be opaque so as not to hide underlying decorations.'
685
- ))), true);
686
- const diffRemovedLine = registerColor('diffEditor.removedLineBackground', { dark: defaultRemoveColor, light: defaultRemoveColor, hcDark: null, hcLight: null }, ( (localizeWithPath(
687
- 'vs/platform/theme/common/colorRegistry',
688
- 'diffEditorRemovedLines',
689
- 'Background color for lines that got removed. The color must not be opaque so as not to hide underlying decorations.'
690
- ))), true);
691
- registerColor('diffEditorGutter.insertedLineBackground', { dark: null, light: null, hcDark: null, hcLight: null }, ( (localizeWithPath(
692
- 'vs/platform/theme/common/colorRegistry',
693
- 'diffEditorInsertedLineGutter',
694
- 'Background color for the margin where lines got inserted.'
695
- ))));
696
- registerColor('diffEditorGutter.removedLineBackground', { dark: null, light: null, hcDark: null, hcLight: null }, ( (localizeWithPath(
697
- 'vs/platform/theme/common/colorRegistry',
698
- 'diffEditorRemovedLineGutter',
699
- 'Background color for the margin where lines got removed.'
700
- ))));
701
- const diffOverviewRulerInserted = registerColor('diffEditorOverview.insertedForeground', { dark: null, light: null, hcDark: null, hcLight: null }, ( (localizeWithPath(
702
- 'vs/platform/theme/common/colorRegistry',
703
- 'diffEditorOverviewInserted',
704
- 'Diff overview ruler foreground for inserted content.'
705
- ))));
706
- const diffOverviewRulerRemoved = registerColor('diffEditorOverview.removedForeground', { dark: null, light: null, hcDark: null, hcLight: null }, ( (localizeWithPath(
707
- 'vs/platform/theme/common/colorRegistry',
708
- 'diffEditorOverviewRemoved',
709
- 'Diff overview ruler foreground for removed content.'
710
- ))));
711
- registerColor('diffEditor.insertedTextBorder', { dark: null, light: null, hcDark: '#33ff2eff', hcLight: '#374E06' }, ( (localizeWithPath(
712
- 'vs/platform/theme/common/colorRegistry',
713
- 'diffEditorInsertedOutline',
714
- 'Outline color for the text that got inserted.'
715
- ))));
716
- registerColor('diffEditor.removedTextBorder', { dark: null, light: null, hcDark: '#FF008F', hcLight: '#AD0707' }, ( (localizeWithPath(
717
- 'vs/platform/theme/common/colorRegistry',
718
- 'diffEditorRemovedOutline',
719
- 'Outline color for text that got removed.'
720
- ))));
721
- registerColor('diffEditor.border', { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, ( (localizeWithPath(
722
- 'vs/platform/theme/common/colorRegistry',
723
- 'diffEditorBorder',
724
- 'Border color between the two text editors.'
725
- ))));
726
- const diffDiagonalFill = registerColor('diffEditor.diagonalFill', { dark: '#cccccc33', light: '#22222233', hcDark: null, hcLight: null }, ( (localizeWithPath(
727
- 'vs/platform/theme/common/colorRegistry',
728
- 'diffDiagonalFill',
729
- "Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views."
730
- ))));
731
- registerColor('diffEditor.unchangedRegionBackground', { dark: 'sideBar.background', light: 'sideBar.background', hcDark: 'sideBar.background', hcLight: 'sideBar.background' }, ( (localizeWithPath(
732
- 'vs/platform/theme/common/colorRegistry',
733
- 'diffEditor.unchangedRegionBackground',
734
- "The background color of unchanged blocks in the diff editor."
735
- ))));
736
- registerColor('diffEditor.unchangedRegionForeground', { dark: 'foreground', light: 'foreground', hcDark: 'foreground', hcLight: 'foreground' }, ( (localizeWithPath(
737
- 'vs/platform/theme/common/colorRegistry',
738
- 'diffEditor.unchangedRegionForeground',
739
- "The foreground color of unchanged blocks in the diff editor."
740
- ))));
741
- registerColor('diffEditor.unchangedCodeBackground', { dark: '#74747429', light: '#b8b8b829', hcDark: null, hcLight: null }, ( (localizeWithPath(
742
- 'vs/platform/theme/common/colorRegistry',
743
- 'diffEditor.unchangedCodeBackground',
744
- "The background color of unchanged code in the diff editor."
745
- ))));
746
- const listFocusBackground = registerColor('list.focusBackground', { dark: null, light: null, hcDark: null, hcLight: null }, ( (localizeWithPath(
747
- 'vs/platform/theme/common/colorRegistry',
748
- 'listFocusBackground',
749
- "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."
750
- ))));
751
- const listFocusForeground = registerColor('list.focusForeground', { dark: null, light: null, hcDark: null, hcLight: null }, ( (localizeWithPath(
752
- 'vs/platform/theme/common/colorRegistry',
753
- 'listFocusForeground',
754
- "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."
755
- ))));
756
- const listFocusOutline = registerColor('list.focusOutline', { dark: focusBorder, light: focusBorder, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( (localizeWithPath(
757
- 'vs/platform/theme/common/colorRegistry',
758
- 'listFocusOutline',
759
- "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."
760
- ))));
761
- const listFocusAndSelectionOutline = registerColor('list.focusAndSelectionOutline', { dark: null, light: null, hcDark: null, hcLight: null }, ( (localizeWithPath(
762
- 'vs/platform/theme/common/colorRegistry',
763
- 'listFocusAndSelectionOutline',
764
- "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."
765
- ))));
766
- const listActiveSelectionBackground = registerColor('list.activeSelectionBackground', { dark: '#04395E', light: '#0060C0', hcDark: null, hcLight: ( (( (Color.fromHex('#0F4A85'))).transparent(0.1))) }, ( (localizeWithPath(
767
- 'vs/platform/theme/common/colorRegistry',
768
- 'listActiveSelectionBackground',
769
- "List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."
770
- ))));
771
- const listActiveSelectionForeground = registerColor('list.activeSelectionForeground', { dark: Color.white, light: Color.white, hcDark: null, hcLight: null }, ( (localizeWithPath(
772
- 'vs/platform/theme/common/colorRegistry',
773
- 'listActiveSelectionForeground',
774
- "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."
775
- ))));
776
- const listActiveSelectionIconForeground = registerColor('list.activeSelectionIconForeground', { dark: null, light: null, hcDark: null, hcLight: null }, ( (localizeWithPath(
777
- 'vs/platform/theme/common/colorRegistry',
778
- 'listActiveSelectionIconForeground',
779
- "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."
780
- ))));
781
- const listInactiveSelectionBackground = registerColor('list.inactiveSelectionBackground', { dark: '#37373D', light: '#E4E6F1', hcDark: null, hcLight: ( (( (Color.fromHex('#0F4A85'))).transparent(0.1))) }, ( (localizeWithPath(
782
- 'vs/platform/theme/common/colorRegistry',
783
- 'listInactiveSelectionBackground',
784
- "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."
785
- ))));
786
- const listInactiveSelectionForeground = registerColor('list.inactiveSelectionForeground', { dark: null, light: null, hcDark: null, hcLight: null }, ( (localizeWithPath(
787
- 'vs/platform/theme/common/colorRegistry',
788
- 'listInactiveSelectionForeground',
789
- "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."
790
- ))));
791
- const listInactiveSelectionIconForeground = registerColor('list.inactiveSelectionIconForeground', { dark: null, light: null, hcDark: null, hcLight: null }, ( (localizeWithPath(
792
- 'vs/platform/theme/common/colorRegistry',
793
- 'listInactiveSelectionIconForeground',
794
- "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."
795
- ))));
796
- const listInactiveFocusBackground = registerColor('list.inactiveFocusBackground', { dark: null, light: null, hcDark: null, hcLight: null }, ( (localizeWithPath(
797
- 'vs/platform/theme/common/colorRegistry',
798
- 'listInactiveFocusBackground',
799
- "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."
800
- ))));
801
- const listInactiveFocusOutline = registerColor('list.inactiveFocusOutline', { dark: null, light: null, hcDark: null, hcLight: null }, ( (localizeWithPath(
802
- 'vs/platform/theme/common/colorRegistry',
803
- 'listInactiveFocusOutline',
804
- "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."
805
- ))));
806
- const listHoverBackground = registerColor('list.hoverBackground', { dark: '#2A2D2E', light: '#F0F0F0', hcDark: ( (Color.white.transparent(0.1))), hcLight: ( (( (Color.fromHex('#0F4A85'))).transparent(0.1))) }, ( (localizeWithPath(
807
- 'vs/platform/theme/common/colorRegistry',
808
- 'listHoverBackground',
809
- "List/Tree background when hovering over items using the mouse."
810
- ))));
811
- const listHoverForeground = registerColor('list.hoverForeground', { dark: null, light: null, hcDark: null, hcLight: null }, ( (localizeWithPath(
812
- 'vs/platform/theme/common/colorRegistry',
813
- 'listHoverForeground',
814
- "List/Tree foreground when hovering over items using the mouse."
815
- ))));
816
- const listDropOverBackground = registerColor('list.dropBackground', { dark: '#062F4A', light: '#D6EBFF', hcDark: null, hcLight: null }, ( (localizeWithPath(
817
- 'vs/platform/theme/common/colorRegistry',
818
- 'listDropBackground',
819
- "List/Tree drag and drop background when moving items over other items when using the mouse."
820
- ))));
821
- const listDropBetweenBackground = registerColor('list.dropBetweenBackground', { dark: iconForeground, light: iconForeground, hcDark: null, hcLight: null }, ( (localizeWithPath(
822
- 'vs/platform/theme/common/colorRegistry',
823
- 'listDropBetweenBackground',
824
- "List/Tree drag and drop border color when moving items between items when using the mouse."
825
- ))));
826
- const listHighlightForeground = registerColor('list.highlightForeground', { dark: '#2AAAFF', light: '#0066BF', hcDark: focusBorder, hcLight: focusBorder }, ( (localizeWithPath(
827
- 'vs/platform/theme/common/colorRegistry',
828
- 'highlight',
829
- 'List/Tree foreground color of the match highlights when searching inside the list/tree.'
830
- ))));
831
- const listFocusHighlightForeground = registerColor('list.focusHighlightForeground', { dark: listHighlightForeground, light: ifDefinedThenElse(listActiveSelectionBackground, listHighlightForeground, '#BBE7FF'), hcDark: listHighlightForeground, hcLight: listHighlightForeground }, ( (localizeWithPath(
832
- 'vs/platform/theme/common/colorRegistry',
833
- 'listFocusHighlightForeground',
834
- 'List/Tree foreground color of the match highlights on actively focused items when searching inside the list/tree.'
835
- ))));
836
- const listInvalidItemForeground = registerColor('list.invalidItemForeground', { dark: '#B89500', light: '#B89500', hcDark: '#B89500', hcLight: '#B5200D' }, ( (localizeWithPath(
837
- 'vs/platform/theme/common/colorRegistry',
838
- 'invalidItemForeground',
839
- 'List/Tree foreground color for invalid items, for example an unresolved root in explorer.'
840
- ))));
841
- const listErrorForeground = registerColor('list.errorForeground', { dark: '#F88070', light: '#B01011', hcDark: null, hcLight: null }, ( (localizeWithPath(
842
- 'vs/platform/theme/common/colorRegistry',
843
- 'listErrorForeground',
844
- 'Foreground color of list items containing errors.'
845
- ))));
846
- const listWarningForeground = registerColor('list.warningForeground', { dark: '#CCA700', light: '#855F00', hcDark: null, hcLight: null }, ( (localizeWithPath(
847
- 'vs/platform/theme/common/colorRegistry',
848
- 'listWarningForeground',
849
- 'Foreground color of list items containing warnings.'
850
- ))));
851
- const listFilterWidgetBackground = registerColor('listFilterWidget.background', { light: ( (darken(editorWidgetBackground, 0))), dark: ( (lighten(editorWidgetBackground, 0))), hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, ( (localizeWithPath(
852
- 'vs/platform/theme/common/colorRegistry',
853
- 'listFilterWidgetBackground',
854
- 'Background color of the type filter widget in lists and trees.'
855
- ))));
856
- const listFilterWidgetOutline = registerColor('listFilterWidget.outline', { dark: Color.transparent, light: Color.transparent, hcDark: '#f38518', hcLight: '#007ACC' }, ( (localizeWithPath(
857
- 'vs/platform/theme/common/colorRegistry',
858
- 'listFilterWidgetOutline',
859
- 'Outline color of the type filter widget in lists and trees.'
860
- ))));
861
- const listFilterWidgetNoMatchesOutline = registerColor('listFilterWidget.noMatchesOutline', { dark: '#BE1100', light: '#BE1100', hcDark: contrastBorder, hcLight: contrastBorder }, ( (localizeWithPath(
862
- 'vs/platform/theme/common/colorRegistry',
863
- 'listFilterWidgetNoMatchesOutline',
864
- 'Outline color of the type filter widget in lists and trees, when there are no matches.'
865
- ))));
866
- const listFilterWidgetShadow = registerColor('listFilterWidget.shadow', { dark: widgetShadow, light: widgetShadow, hcDark: widgetShadow, hcLight: widgetShadow }, ( (localizeWithPath(
867
- 'vs/platform/theme/common/colorRegistry',
868
- 'listFilterWidgetShadow',
869
- 'Shadow color of the type filter widget in lists and trees.'
870
- ))));
871
- registerColor('list.filterMatchBackground', { dark: editorFindMatchHighlight, light: editorFindMatchHighlight, hcDark: null, hcLight: null }, ( (localizeWithPath(
872
- 'vs/platform/theme/common/colorRegistry',
873
- 'listFilterMatchHighlight',
874
- 'Background color of the filtered match.'
875
- ))));
876
- registerColor('list.filterMatchBorder', { dark: editorFindMatchHighlightBorder, light: editorFindMatchHighlightBorder, hcDark: contrastBorder, hcLight: activeContrastBorder }, ( (localizeWithPath(
877
- 'vs/platform/theme/common/colorRegistry',
878
- 'listFilterMatchHighlightBorder',
879
- 'Border color of the filtered match.'
880
- ))));
881
- const treeIndentGuidesStroke = registerColor('tree.indentGuidesStroke', { dark: '#585858', light: '#a9a9a9', hcDark: '#a9a9a9', hcLight: '#a5a5a5' }, ( (localizeWithPath(
882
- 'vs/platform/theme/common/colorRegistry',
883
- 'treeIndentGuidesStroke',
884
- "Tree stroke color for the indentation guides."
885
- ))));
886
- 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(
887
- 'vs/platform/theme/common/colorRegistry',
888
- 'treeInactiveIndentGuidesStroke',
889
- "Tree stroke color for the indentation guides that are not active."
890
- ))));
891
- const tableColumnsBorder = registerColor('tree.tableColumnsBorder', { dark: '#CCCCCC20', light: '#61616120', hcDark: null, hcLight: null }, ( (localizeWithPath(
892
- 'vs/platform/theme/common/colorRegistry',
893
- 'tableColumnsBorder',
894
- "Table border color between columns."
895
- ))));
896
- const tableOddRowsBackgroundColor = registerColor('tree.tableOddRowsBackground', { dark: ( (transparent(foreground, 0.04))), light: ( (transparent(foreground, 0.04))), hcDark: null, hcLight: null }, ( (localizeWithPath(
897
- 'vs/platform/theme/common/colorRegistry',
898
- 'tableOddRowsBackgroundColor',
899
- "Background color for odd table rows."
900
- ))));
901
- const listDeemphasizedForeground = registerColor('list.deemphasizedForeground', { dark: '#8C8C8C', light: '#8E8E90', hcDark: '#A7A8A9', hcLight: '#666666' }, ( (localizeWithPath(
902
- 'vs/platform/theme/common/colorRegistry',
903
- 'listDeemphasizedForeground',
904
- "List/Tree foreground color for items that are deemphasized. "
905
- ))));
906
- const checkboxBackground = registerColor('checkbox.background', { dark: selectBackground, light: selectBackground, hcDark: selectBackground, hcLight: selectBackground }, ( (localizeWithPath(
907
- 'vs/platform/theme/common/colorRegistry',
908
- 'checkbox.background',
909
- "Background color of checkbox widget."
910
- ))));
911
- registerColor('checkbox.selectBackground', { dark: editorWidgetBackground, light: editorWidgetBackground, hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, ( (localizeWithPath(
912
- 'vs/platform/theme/common/colorRegistry',
913
- 'checkbox.select.background',
914
- "Background color of checkbox widget when the element it's in is selected."
915
- ))));
916
- const checkboxForeground = registerColor('checkbox.foreground', { dark: selectForeground, light: selectForeground, hcDark: selectForeground, hcLight: selectForeground }, ( (localizeWithPath(
917
- 'vs/platform/theme/common/colorRegistry',
918
- 'checkbox.foreground',
919
- "Foreground color of checkbox widget."
920
- ))));
921
- const checkboxBorder = registerColor('checkbox.border', { dark: selectBorder, light: selectBorder, hcDark: selectBorder, hcLight: selectBorder }, ( (localizeWithPath(
922
- 'vs/platform/theme/common/colorRegistry',
923
- 'checkbox.border',
924
- "Border color of checkbox widget."
925
- ))));
926
- registerColor('checkbox.selectBorder', { dark: iconForeground, light: iconForeground, hcDark: iconForeground, hcLight: iconForeground }, ( (localizeWithPath(
927
- 'vs/platform/theme/common/colorRegistry',
928
- 'checkbox.select.border',
929
- "Border color of checkbox widget when the element it's in is selected."
930
- ))));
931
- const _deprecatedQuickInputListFocusBackground = registerColor('quickInput.list.focusBackground', { dark: null, light: null, hcDark: null, hcLight: null }, '', undefined, ( (localizeWithPath(
932
- 'vs/platform/theme/common/colorRegistry',
933
- 'quickInput.list.focusBackground deprecation',
934
- "Please use quickInputList.focusBackground instead"
935
- ))));
936
- const quickInputListFocusForeground = registerColor('quickInputList.focusForeground', { dark: listActiveSelectionForeground, light: listActiveSelectionForeground, hcDark: listActiveSelectionForeground, hcLight: listActiveSelectionForeground }, ( (localizeWithPath(
937
- 'vs/platform/theme/common/colorRegistry',
938
- 'quickInput.listFocusForeground',
939
- "Quick picker foreground color for the focused item."
940
- ))));
941
- const quickInputListFocusIconForeground = registerColor('quickInputList.focusIconForeground', { dark: listActiveSelectionIconForeground, light: listActiveSelectionIconForeground, hcDark: listActiveSelectionIconForeground, hcLight: listActiveSelectionIconForeground }, ( (localizeWithPath(
942
- 'vs/platform/theme/common/colorRegistry',
943
- 'quickInput.listFocusIconForeground',
944
- "Quick picker icon foreground color for the focused item."
945
- ))));
946
- const quickInputListFocusBackground = registerColor('quickInputList.focusBackground', { dark: oneOf(_deprecatedQuickInputListFocusBackground, listActiveSelectionBackground), light: oneOf(_deprecatedQuickInputListFocusBackground, listActiveSelectionBackground), hcDark: null, hcLight: null }, ( (localizeWithPath(
947
- 'vs/platform/theme/common/colorRegistry',
948
- 'quickInput.listFocusBackground',
949
- "Quick picker background color for the focused item."
950
- ))));
951
- const menuBorder = registerColor('menu.border', { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, ( (localizeWithPath(
952
- 'vs/platform/theme/common/colorRegistry',
953
- 'menuBorder',
954
- "Border color of menus."
955
- ))));
956
- const menuForeground = registerColor('menu.foreground', { dark: selectForeground, light: selectForeground, hcDark: selectForeground, hcLight: selectForeground }, ( (localizeWithPath(
957
- 'vs/platform/theme/common/colorRegistry',
958
- 'menuForeground',
959
- "Foreground color of menu items."
960
- ))));
961
- const menuBackground = registerColor('menu.background', { dark: selectBackground, light: selectBackground, hcDark: selectBackground, hcLight: selectBackground }, ( (localizeWithPath(
962
- 'vs/platform/theme/common/colorRegistry',
963
- 'menuBackground',
964
- "Background color of menu items."
965
- ))));
966
- const menuSelectionForeground = registerColor('menu.selectionForeground', { dark: listActiveSelectionForeground, light: listActiveSelectionForeground, hcDark: listActiveSelectionForeground, hcLight: listActiveSelectionForeground }, ( (localizeWithPath(
967
- 'vs/platform/theme/common/colorRegistry',
968
- 'menuSelectionForeground',
969
- "Foreground color of the selected menu item in menus."
970
- ))));
971
- const menuSelectionBackground = registerColor('menu.selectionBackground', { dark: listActiveSelectionBackground, light: listActiveSelectionBackground, hcDark: listActiveSelectionBackground, hcLight: listActiveSelectionBackground }, ( (localizeWithPath(
972
- 'vs/platform/theme/common/colorRegistry',
973
- 'menuSelectionBackground',
974
- "Background color of the selected menu item in menus."
975
- ))));
976
- const menuSelectionBorder = registerColor('menu.selectionBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( (localizeWithPath(
977
- 'vs/platform/theme/common/colorRegistry',
978
- 'menuSelectionBorder',
979
- "Border color of the selected menu item in menus."
980
- ))));
981
- const menuSeparatorBackground = registerColor('menu.separatorBackground', { dark: '#606060', light: '#D4D4D4', hcDark: contrastBorder, hcLight: contrastBorder }, ( (localizeWithPath(
982
- 'vs/platform/theme/common/colorRegistry',
983
- 'menuSeparatorBackground',
984
- "Color of a separator menu item in menus."
985
- ))));
986
- const toolbarHoverBackground = registerColor('toolbar.hoverBackground', { dark: '#5a5d5e50', light: '#b8b8b850', hcDark: null, hcLight: null }, ( (localizeWithPath(
987
- 'vs/platform/theme/common/colorRegistry',
988
- 'toolbarHoverBackground',
989
- "Toolbar background when hovering over actions using the mouse"
990
- ))));
991
- registerColor('toolbar.hoverOutline', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( (localizeWithPath(
992
- 'vs/platform/theme/common/colorRegistry',
993
- 'toolbarHoverOutline',
994
- "Toolbar outline when hovering over actions using the mouse"
995
- ))));
996
- registerColor('toolbar.activeBackground', { dark: ( (lighten(toolbarHoverBackground, 0.1))), light: ( (darken(toolbarHoverBackground, 0.1))), hcDark: null, hcLight: null }, ( (localizeWithPath(
997
- 'vs/platform/theme/common/colorRegistry',
998
- 'toolbarActiveBackground',
999
- "Toolbar background when holding the mouse over actions"
1000
- ))));
1001
- 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(
1002
- 'vs/platform/theme/common/colorRegistry',
1003
- 'snippetTabstopHighlightBackground',
1004
- "Highlight background color of a snippet tabstop."
1005
- ))));
1006
- registerColor('editor.snippetTabstopHighlightBorder', { dark: null, light: null, hcDark: null, hcLight: null }, ( (localizeWithPath(
1007
- 'vs/platform/theme/common/colorRegistry',
1008
- 'snippetTabstopHighlightBorder',
1009
- "Highlight border color of a snippet tabstop."
1010
- ))));
1011
- registerColor('editor.snippetFinalTabstopHighlightBackground', { dark: null, light: null, hcDark: null, hcLight: null }, ( (localizeWithPath(
1012
- 'vs/platform/theme/common/colorRegistry',
1013
- 'snippetFinalTabstopHighlightBackground',
1014
- "Highlight background color of the final tabstop of a snippet."
1015
- ))));
1016
- registerColor('editor.snippetFinalTabstopHighlightBorder', { dark: '#525252', light: ( (new Color( (new RGBA(10, 50, 100, 0.5))))), hcDark: '#525252', hcLight: '#292929' }, ( (localizeWithPath(
1017
- 'vs/platform/theme/common/colorRegistry',
1018
- 'snippetFinalTabstopHighlightBorder',
1019
- "Highlight border color of the final tabstop of a snippet."
1020
- ))));
1021
- 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(
1022
- 'vs/platform/theme/common/colorRegistry',
1023
- 'breadcrumbsFocusForeground',
1024
- "Color of focused breadcrumb items."
1025
- ))));
1026
- const breadcrumbsBackground = registerColor('breadcrumb.background', { light: editorBackground, dark: editorBackground, hcDark: editorBackground, hcLight: editorBackground }, ( (localizeWithPath(
1027
- 'vs/platform/theme/common/colorRegistry',
1028
- 'breadcrumbsBackground',
1029
- "Background color of breadcrumb items."
1030
- ))));
1031
- 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(
1032
- 'vs/platform/theme/common/colorRegistry',
1033
- 'breadcrumbsFocusForeground',
1034
- "Color of focused breadcrumb items."
1035
- ))));
1036
- 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(
1037
- 'vs/platform/theme/common/colorRegistry',
1038
- 'breadcrumbsSelectedForeground',
1039
- "Color of selected breadcrumb items."
1040
- ))));
1041
- const breadcrumbsPickerBackground = registerColor('breadcrumbPicker.background', { light: editorWidgetBackground, dark: editorWidgetBackground, hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, ( (localizeWithPath(
1042
- 'vs/platform/theme/common/colorRegistry',
1043
- 'breadcrumbsSelectedBackground',
1044
- "Background color of breadcrumb item picker."
1045
- ))));
1046
- const headerTransparency = 0.5;
1047
- const currentBaseColor = ( (( (Color.fromHex('#40C8AE'))).transparent(headerTransparency)));
1048
- const incomingBaseColor = ( (( (Color.fromHex('#40A6FF'))).transparent(headerTransparency)));
1049
- const commonBaseColor = ( (( (Color.fromHex('#606060'))).transparent(0.4)));
1050
- const contentTransparency = 0.4;
1051
- const rulerTransparency = 1;
1052
- const mergeCurrentHeaderBackground = registerColor('merge.currentHeaderBackground', { dark: currentBaseColor, light: currentBaseColor, hcDark: null, hcLight: null }, ( (localizeWithPath(
1053
- 'vs/platform/theme/common/colorRegistry',
1054
- 'mergeCurrentHeaderBackground',
1055
- 'Current header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.'
1056
- ))), true);
1057
- registerColor('merge.currentContentBackground', { dark: ( (transparent(mergeCurrentHeaderBackground, contentTransparency))), light: ( (transparent(mergeCurrentHeaderBackground, contentTransparency))), hcDark: ( (transparent(mergeCurrentHeaderBackground, contentTransparency))), hcLight: ( (transparent(mergeCurrentHeaderBackground, contentTransparency))) }, ( (localizeWithPath(
1058
- 'vs/platform/theme/common/colorRegistry',
1059
- 'mergeCurrentContentBackground',
1060
- 'Current content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.'
1061
- ))), true);
1062
- const mergeIncomingHeaderBackground = registerColor('merge.incomingHeaderBackground', { dark: incomingBaseColor, light: incomingBaseColor, hcDark: null, hcLight: null }, ( (localizeWithPath(
1063
- 'vs/platform/theme/common/colorRegistry',
1064
- 'mergeIncomingHeaderBackground',
1065
- 'Incoming header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.'
1066
- ))), true);
1067
- registerColor('merge.incomingContentBackground', { dark: ( (transparent(mergeIncomingHeaderBackground, contentTransparency))), light: ( (transparent(mergeIncomingHeaderBackground, contentTransparency))), hcDark: ( (transparent(mergeIncomingHeaderBackground, contentTransparency))), hcLight: ( (transparent(mergeIncomingHeaderBackground, contentTransparency))) }, ( (localizeWithPath(
1068
- 'vs/platform/theme/common/colorRegistry',
1069
- 'mergeIncomingContentBackground',
1070
- 'Incoming content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.'
1071
- ))), true);
1072
- const mergeCommonHeaderBackground = registerColor('merge.commonHeaderBackground', { dark: commonBaseColor, light: commonBaseColor, hcDark: null, hcLight: null }, ( (localizeWithPath(
1073
- 'vs/platform/theme/common/colorRegistry',
1074
- 'mergeCommonHeaderBackground',
1075
- 'Common ancestor header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.'
1076
- ))), true);
1077
- registerColor('merge.commonContentBackground', { dark: ( (transparent(mergeCommonHeaderBackground, contentTransparency))), light: ( (transparent(mergeCommonHeaderBackground, contentTransparency))), hcDark: ( (transparent(mergeCommonHeaderBackground, contentTransparency))), hcLight: ( (transparent(mergeCommonHeaderBackground, contentTransparency))) }, ( (localizeWithPath(
1078
- 'vs/platform/theme/common/colorRegistry',
1079
- 'mergeCommonContentBackground',
1080
- 'Common ancestor content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.'
1081
- ))), true);
1082
- const mergeBorder = registerColor('merge.border', { dark: null, light: null, hcDark: '#C3DF6F', hcLight: '#007ACC' }, ( (localizeWithPath(
1083
- 'vs/platform/theme/common/colorRegistry',
1084
- 'mergeBorder',
1085
- 'Border color on headers and the splitter in inline merge-conflicts.'
1086
- ))));
1087
- registerColor('editorOverviewRuler.currentContentForeground', { dark: ( (transparent(mergeCurrentHeaderBackground, rulerTransparency))), light: ( (transparent(mergeCurrentHeaderBackground, rulerTransparency))), hcDark: mergeBorder, hcLight: mergeBorder }, ( (localizeWithPath(
1088
- 'vs/platform/theme/common/colorRegistry',
1089
- 'overviewRulerCurrentContentForeground',
1090
- 'Current overview ruler foreground for inline merge-conflicts.'
1091
- ))));
1092
- registerColor('editorOverviewRuler.incomingContentForeground', { dark: ( (transparent(mergeIncomingHeaderBackground, rulerTransparency))), light: ( (transparent(mergeIncomingHeaderBackground, rulerTransparency))), hcDark: mergeBorder, hcLight: mergeBorder }, ( (localizeWithPath(
1093
- 'vs/platform/theme/common/colorRegistry',
1094
- 'overviewRulerIncomingContentForeground',
1095
- 'Incoming overview ruler foreground for inline merge-conflicts.'
1096
- ))));
1097
- registerColor('editorOverviewRuler.commonContentForeground', { dark: ( (transparent(mergeCommonHeaderBackground, rulerTransparency))), light: ( (transparent(mergeCommonHeaderBackground, rulerTransparency))), hcDark: mergeBorder, hcLight: mergeBorder }, ( (localizeWithPath(
1098
- 'vs/platform/theme/common/colorRegistry',
1099
- 'overviewRulerCommonContentForeground',
1100
- 'Common ancestor overview ruler foreground for inline merge-conflicts.'
1101
- ))));
1102
- const overviewRulerFindMatchForeground = registerColor('editorOverviewRuler.findMatchForeground', { dark: '#d186167e', light: '#d186167e', hcDark: '#AB5A00', hcLight: '' }, ( (localizeWithPath(
1103
- 'vs/platform/theme/common/colorRegistry',
1104
- 'overviewRulerFindMatchForeground',
1105
- 'Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations.'
1106
- ))), true);
1107
- const overviewRulerSelectionHighlightForeground = registerColor('editorOverviewRuler.selectionHighlightForeground', { dark: '#A0A0A0CC', light: '#A0A0A0CC', hcDark: '#A0A0A0CC', hcLight: '#A0A0A0CC' }, ( (localizeWithPath(
1108
- 'vs/platform/theme/common/colorRegistry',
1109
- 'overviewRulerSelectionHighlightForeground',
1110
- 'Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations.'
1111
- ))), true);
1112
- const minimapFindMatch = registerColor('minimap.findMatchHighlight', { light: '#d18616', dark: '#d18616', hcDark: '#AB5A00', hcLight: '#0F4A85' }, ( (localizeWithPath(
1113
- 'vs/platform/theme/common/colorRegistry',
1114
- 'minimapFindMatchHighlight',
1115
- 'Minimap marker color for find matches.'
1116
- ))), true);
1117
- const minimapSelectionOccurrenceHighlight = registerColor('minimap.selectionOccurrenceHighlight', { light: '#c9c9c9', dark: '#676767', hcDark: '#ffffff', hcLight: '#0F4A85' }, ( (localizeWithPath(
1118
- 'vs/platform/theme/common/colorRegistry',
1119
- 'minimapSelectionOccurrenceHighlight',
1120
- 'Minimap marker color for repeating editor selections.'
1121
- ))), true);
1122
- const minimapSelection = registerColor('minimap.selectionHighlight', { light: '#ADD6FF', dark: '#264F78', hcDark: '#ffffff', hcLight: '#0F4A85' }, ( (localizeWithPath(
1123
- 'vs/platform/theme/common/colorRegistry',
1124
- 'minimapSelectionHighlight',
1125
- 'Minimap marker color for the editor selection.'
1126
- ))), true);
1127
- const minimapInfo = registerColor('minimap.infoHighlight', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, ( (localizeWithPath(
1128
- 'vs/platform/theme/common/colorRegistry',
1129
- 'minimapInfo',
1130
- 'Minimap marker color for infos.'
1131
- ))));
1132
- const minimapWarning = registerColor('minimap.warningHighlight', { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, ( (localizeWithPath(
1133
- 'vs/platform/theme/common/colorRegistry',
1134
- 'overviewRuleWarning',
1135
- 'Minimap marker color for warnings.'
1136
- ))));
1137
- const minimapError = registerColor('minimap.errorHighlight', { dark: ( (new Color( (new RGBA(255, 18, 18, 0.7))))), light: ( (new Color( (new RGBA(255, 18, 18, 0.7))))), hcDark: ( (new Color( (new RGBA(255, 50, 50, 1))))), hcLight: '#B5200D' }, ( (localizeWithPath(
1138
- 'vs/platform/theme/common/colorRegistry',
1139
- 'minimapError',
1140
- 'Minimap marker color for errors.'
1141
- ))));
1142
- const minimapBackground = registerColor('minimap.background', { dark: null, light: null, hcDark: null, hcLight: null }, ( (localizeWithPath(
1143
- 'vs/platform/theme/common/colorRegistry',
1144
- 'minimapBackground',
1145
- "Minimap background color."
1146
- ))));
1147
- const minimapForegroundOpacity = registerColor('minimap.foregroundOpacity', { dark: ( (Color.fromHex('#000f'))), light: ( (Color.fromHex('#000f'))), hcDark: ( (Color.fromHex('#000f'))), hcLight: ( (Color.fromHex('#000f'))) }, ( (localizeWithPath(
1148
- 'vs/platform/theme/common/colorRegistry',
1149
- 'minimapForegroundOpacity',
1150
- 'Opacity of foreground elements rendered in the minimap. For example, "#000000c0" will render the elements with 75% opacity.'
1151
- ))));
1152
- registerColor('minimapSlider.background', { light: ( (transparent(scrollbarSliderBackground, 0.5))), dark: ( (transparent(scrollbarSliderBackground, 0.5))), hcDark: ( (transparent(scrollbarSliderBackground, 0.5))), hcLight: ( (transparent(scrollbarSliderBackground, 0.5))) }, ( (localizeWithPath(
1153
- 'vs/platform/theme/common/colorRegistry',
1154
- 'minimapSliderBackground',
1155
- "Minimap slider background color."
1156
- ))));
1157
- registerColor('minimapSlider.hoverBackground', { light: ( (transparent(scrollbarSliderHoverBackground, 0.5))), dark: ( (transparent(scrollbarSliderHoverBackground, 0.5))), hcDark: ( (transparent(scrollbarSliderHoverBackground, 0.5))), hcLight: ( (transparent(scrollbarSliderHoverBackground, 0.5))) }, ( (localizeWithPath(
1158
- 'vs/platform/theme/common/colorRegistry',
1159
- 'minimapSliderHoverBackground',
1160
- "Minimap slider background color when hovering."
1161
- ))));
1162
- registerColor('minimapSlider.activeBackground', { light: ( (transparent(scrollbarSliderActiveBackground, 0.5))), dark: ( (transparent(scrollbarSliderActiveBackground, 0.5))), hcDark: ( (transparent(scrollbarSliderActiveBackground, 0.5))), hcLight: ( (transparent(scrollbarSliderActiveBackground, 0.5))) }, ( (localizeWithPath(
1163
- 'vs/platform/theme/common/colorRegistry',
1164
- 'minimapSliderActiveBackground',
1165
- "Minimap slider background color when clicked on."
1166
- ))));
1167
- const problemsErrorIconForeground = registerColor('problemsErrorIcon.foreground', { dark: editorErrorForeground, light: editorErrorForeground, hcDark: editorErrorForeground, hcLight: editorErrorForeground }, ( (localizeWithPath(
1168
- 'vs/platform/theme/common/colorRegistry',
1169
- 'problemsErrorIconForeground',
1170
- "The color used for the problems error icon."
1171
- ))));
1172
- const problemsWarningIconForeground = registerColor('problemsWarningIcon.foreground', { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningForeground, hcLight: editorWarningForeground }, ( (localizeWithPath(
1173
- 'vs/platform/theme/common/colorRegistry',
1174
- 'problemsWarningIconForeground',
1175
- "The color used for the problems warning icon."
1176
- ))));
1177
- const problemsInfoIconForeground = registerColor('problemsInfoIcon.foreground', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoForeground, hcLight: editorInfoForeground }, ( (localizeWithPath(
1178
- 'vs/platform/theme/common/colorRegistry',
1179
- 'problemsInfoIconForeground',
1180
- "The color used for the problems info icon."
1181
- ))));
1182
- registerColor('charts.foreground', { dark: foreground, light: foreground, hcDark: foreground, hcLight: foreground }, ( (localizeWithPath(
1183
- 'vs/platform/theme/common/colorRegistry',
1184
- 'chartsForeground',
1185
- "The foreground color used in charts."
1186
- ))));
1187
- registerColor('charts.lines', { dark: ( (transparent(foreground, .5))), light: ( (transparent(foreground, .5))), hcDark: ( (transparent(foreground, .5))), hcLight: ( (transparent(foreground, .5))) }, ( (localizeWithPath(
1188
- 'vs/platform/theme/common/colorRegistry',
1189
- 'chartsLines',
1190
- "The color used for horizontal lines in charts."
1191
- ))));
1192
- const chartsRed = registerColor('charts.red', { dark: editorErrorForeground, light: editorErrorForeground, hcDark: editorErrorForeground, hcLight: editorErrorForeground }, ( (localizeWithPath(
1193
- 'vs/platform/theme/common/colorRegistry',
1194
- 'chartsRed',
1195
- "The red color used in chart visualizations."
1196
- ))));
1197
- registerColor('charts.blue', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoForeground, hcLight: editorInfoForeground }, ( (localizeWithPath(
1198
- 'vs/platform/theme/common/colorRegistry',
1199
- 'chartsBlue',
1200
- "The blue color used in chart visualizations."
1201
- ))));
1202
- const chartsYellow = registerColor('charts.yellow', { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningForeground, hcLight: editorWarningForeground }, ( (localizeWithPath(
1203
- 'vs/platform/theme/common/colorRegistry',
1204
- 'chartsYellow',
1205
- "The yellow color used in chart visualizations."
1206
- ))));
1207
- registerColor('charts.orange', { dark: minimapFindMatch, light: minimapFindMatch, hcDark: minimapFindMatch, hcLight: minimapFindMatch }, ( (localizeWithPath(
1208
- 'vs/platform/theme/common/colorRegistry',
1209
- 'chartsOrange',
1210
- "The orange color used in chart visualizations."
1211
- ))));
1212
- const chartsGreen = registerColor('charts.green', { dark: '#89D185', light: '#388A34', hcDark: '#89D185', hcLight: '#374e06' }, ( (localizeWithPath(
1213
- 'vs/platform/theme/common/colorRegistry',
1214
- 'chartsGreen',
1215
- "The green color used in chart visualizations."
1216
- ))));
1217
- registerColor('charts.purple', { dark: '#B180D7', light: '#652D90', hcDark: '#B180D7', hcLight: '#652D90' }, ( (localizeWithPath(
1218
- 'vs/platform/theme/common/colorRegistry',
1219
- 'chartsPurple',
1220
- "The purple color used in chart visualizations."
1221
- ))));
1222
- function executeTransform(transform, theme) {
1223
- switch (transform.op) {
1224
- case 0 :
1225
- return resolveColorValue(transform.value, theme)?.darken(transform.factor);
1226
- case 1 :
1227
- return resolveColorValue(transform.value, theme)?.lighten(transform.factor);
1228
- case 2 :
1229
- return resolveColorValue(transform.value, theme)?.transparent(transform.factor);
1230
- case 3 : {
1231
- const backgroundColor = resolveColorValue(transform.background, theme);
1232
- if (!backgroundColor) {
1233
- return resolveColorValue(transform.value, theme);
1234
- }
1235
- return resolveColorValue(transform.value, theme)?.makeOpaque(backgroundColor);
1236
- }
1237
- case 4 :
1238
- for (const candidate of transform.values) {
1239
- const color = resolveColorValue(candidate, theme);
1240
- if (color) {
1241
- return color;
1242
- }
1243
- }
1244
- return undefined;
1245
- case 6 :
1246
- return resolveColorValue(theme.defines(transform.if) ? transform.then : transform.else, theme);
1247
- case 5 : {
1248
- const from = resolveColorValue(transform.value, theme);
1249
- if (!from) {
1250
- return undefined;
1251
- }
1252
- const backgroundColor = resolveColorValue(transform.background, theme);
1253
- if (!backgroundColor) {
1254
- return (
1255
- (from.transparent(transform.factor * transform.transparency))
1256
- );
1257
- }
1258
- return from.isDarkerThan(backgroundColor)
1259
- ? ( (Color.getLighterColor(from, backgroundColor, transform.factor).transparent(transform.transparency)))
1260
- : ( (Color.getDarkerColor(from, backgroundColor, transform.factor).transparent(transform.transparency)));
1261
- }
1262
- default:
1263
- throw assertNever();
1264
- }
1265
- }
1266
- function darken(colorValue, factor) {
1267
- return { op: 0 , value: colorValue, factor };
1268
- }
1269
- function lighten(colorValue, factor) {
1270
- return { op: 1 , value: colorValue, factor };
1271
- }
1272
- function transparent(colorValue, factor) {
1273
- return { op: 2 , value: colorValue, factor };
1274
- }
1275
- function opaque(colorValue, background) {
1276
- return { op: 3 , value: colorValue, background };
1277
- }
1278
- function oneOf(...colorValues) {
1279
- return { op: 4 , values: colorValues };
1280
- }
1281
- function ifDefinedThenElse(ifArg, thenArg, elseArg) {
1282
- return { op: 6 , if: ifArg, then: thenArg, else: elseArg };
1283
- }
1284
- function lessProminent(colorValue, backgroundColorValue, factor, transparency) {
1285
- return { op: 5 , value: colorValue, background: backgroundColorValue, factor, transparency };
1286
- }
1287
- function resolveColorValue(colorValue, theme) {
1288
- if (colorValue === null) {
1289
- return undefined;
1290
- }
1291
- else if (typeof colorValue === 'string') {
1292
- if (colorValue[0] === '#') {
1293
- return (
1294
- (Color.fromHex(colorValue))
1295
- );
1296
- }
1297
- return theme.getColor(colorValue);
1298
- }
1299
- else if (colorValue instanceof Color) {
1300
- return colorValue;
1301
- }
1302
- else if (typeof colorValue === 'object') {
1303
- return executeTransform(colorValue, theme);
1304
- }
1305
- return undefined;
1306
- }
1307
- const workbenchColorsSchemaId = 'vscode://schemas/workbench-colors';
1308
- const schemaRegistry = ( Registry.as(Extensions$1.JSONContribution));
1309
- schemaRegistry.registerSchema(workbenchColorsSchemaId, colorRegistry.getColorSchema());
1310
- const delayer = ( (new RunOnceScheduler(() => schemaRegistry.notifySchemaChanged(workbenchColorsSchemaId), 200)));
1311
- colorRegistry.onDidChangeSchema(() => {
1312
- if (!delayer.isScheduled()) {
1313
- delayer.schedule();
1314
- }
1315
- });
1316
- export { Extensions, _deprecatedQuickInputListFocusBackground, activeContrastBorder, asCssVariable, asCssVariableName, asCssVariableWithDefault, badgeBackground, badgeForeground, breadcrumbsActiveSelectionForeground, breadcrumbsBackground, breadcrumbsFocusForeground, breadcrumbsForeground, breadcrumbsPickerBackground, buttonBackground, buttonBorder, buttonForeground, buttonHoverBackground, buttonSecondaryBackground, buttonSecondaryForeground, buttonSecondaryHoverBackground, buttonSeparator, chartsGreen, chartsRed, chartsYellow, checkboxBackground, checkboxBorder, checkboxForeground, contrastBorder, darken, defaultInsertColor, defaultRemoveColor, diffDiagonalFill, diffInserted, diffInsertedLine, diffOverviewRulerInserted, diffOverviewRulerRemoved, diffRemoved, diffRemovedLine, disabledForeground, editorActiveLinkForeground, editorBackground, editorErrorBorder, editorErrorForeground, editorFindMatch, editorFindMatchHighlight, editorFindMatchHighlightBorder, 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, errorForeground, executeTransform, focusBorder, foreground, getColorRegistry, iconForeground, ifDefinedThenElse, inputActiveOptionBackground, inputActiveOptionBorder, inputActiveOptionForeground, inputBackground, inputBorder, inputForeground, inputPlaceholderForeground, inputValidationErrorBackground, inputValidationErrorBorder, inputValidationErrorForeground, inputValidationInfoBackground, inputValidationInfoBorder, inputValidationInfoForeground, inputValidationWarningBackground, inputValidationWarningBorder, inputValidationWarningForeground, keybindingLabelBackground, keybindingLabelBorder, keybindingLabelBottomBorder, keybindingLabelForeground, lighten, listActiveSelectionBackground, listActiveSelectionForeground, listActiveSelectionIconForeground, listDeemphasizedForeground, listDropBetweenBackground, listDropOverBackground, listErrorForeground, listFilterWidgetBackground, listFilterWidgetNoMatchesOutline, listFilterWidgetOutline, listFilterWidgetShadow, listFocusAndSelectionOutline, listFocusBackground, listFocusForeground, listFocusHighlightForeground, listFocusOutline, listHighlightForeground, listHoverBackground, listHoverForeground, listInactiveFocusBackground, listInactiveFocusOutline, listInactiveSelectionBackground, listInactiveSelectionForeground, listInactiveSelectionIconForeground, listInvalidItemForeground, listWarningForeground, menuBackground, menuBorder, menuForeground, menuSelectionBackground, menuSelectionBorder, menuSelectionForeground, menuSeparatorBackground, mergeBorder, mergeCommonHeaderBackground, mergeCurrentHeaderBackground, mergeIncomingHeaderBackground, minimapBackground, minimapError, minimapFindMatch, minimapForegroundOpacity, minimapInfo, minimapSelection, minimapSelectionOccurrenceHighlight, minimapWarning, oneOf, opaque, overviewRulerFindMatchForeground, overviewRulerSelectionHighlightForeground, pickerGroupBorder, pickerGroupForeground, problemsErrorIconForeground, problemsInfoIconForeground, problemsWarningIconForeground, progressBarBackground, quickInputBackground, quickInputForeground, quickInputListFocusBackground, quickInputListFocusForeground, quickInputListFocusIconForeground, quickInputTitleBackground, registerColor, resolveColorValue, scrollbarShadow, scrollbarSliderActiveBackground, scrollbarSliderBackground, scrollbarSliderHoverBackground, selectBackground, selectBorder, selectForeground, selectListBackground, selectionBackground, tableColumnsBorder, tableOddRowsBackgroundColor, textBlockQuoteBackground, textBlockQuoteBorder, textLinkActiveForeground, textLinkForeground, textPreformatForeground, toolbarHoverBackground, transparent, treeInactiveIndentGuidesStroke, treeIndentGuidesStroke, widgetBorder, widgetShadow, workbenchColorsSchemaId };