@codingame/monaco-vscode-api 2.0.3 → 2.1.0-update-vscode-1.86.1

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 (511) hide show
  1. package/api.js +15 -12
  2. package/extensions.d.ts +4 -7
  3. package/external/@xterm/xterm/typings/xterm.d.ts +22 -0
  4. package/missing-services.js +62 -6
  5. package/package.json +8 -8
  6. package/service-override/tools/editor.js +14 -0
  7. package/services.d.ts +3 -2
  8. package/services.js +6 -4
  9. package/vscode/src/vs/base/browser/browser.js +45 -30
  10. package/vscode/src/vs/base/browser/canIUse.js +1 -1
  11. package/vscode/src/vs/base/browser/defaultWorkerFactory.js +12 -5
  12. package/vscode/src/vs/base/browser/dom.js +104 -14
  13. package/vscode/src/vs/base/browser/indexedDB.js +3 -3
  14. package/vscode/src/vs/base/browser/markdownRenderer.js +29 -1
  15. package/vscode/src/vs/base/browser/mouseEvent.js +17 -3
  16. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +3 -3
  17. package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.css.js +4 -0
  18. package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.d.ts +1 -1
  19. package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.js +287 -0
  20. package/vscode/src/vs/base/browser/ui/button/button.js +9 -0
  21. package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css.js +1 -1
  22. package/vscode/src/vs/base/browser/ui/dialog/dialog.js +1 -1
  23. package/vscode/src/vs/base/browser/ui/iconLabel/iconLabelHover.js +16 -5
  24. package/vscode/src/vs/base/browser/ui/list/listView.js +31 -11
  25. package/vscode/src/vs/base/browser/ui/list/listWidget.js +35 -21
  26. package/vscode/src/vs/base/browser/ui/menu/menu.js +10 -1
  27. package/vscode/src/vs/base/browser/ui/menu/menubar.js +8 -4
  28. package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +6 -5
  29. package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +469 -95
  30. package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +22 -7
  31. package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.js +0 -5
  32. package/vscode/src/vs/base/browser/ui/tree/media/tree.css.js +1 -1
  33. package/vscode/src/vs/base/browser/ui/tree/objectTree.js +70 -4
  34. package/vscode/src/vs/base/common/assert.js +6 -1
  35. package/vscode/src/vs/base/common/async.js +31 -6
  36. package/vscode/src/vs/base/common/codicons.js +5 -0
  37. package/vscode/src/vs/base/common/event.d.ts +0 -5
  38. package/vscode/src/vs/base/common/event.js +0 -15
  39. package/vscode/src/vs/base/common/filters.d.ts +1 -18
  40. package/vscode/src/vs/base/common/htmlContent.js +12 -6
  41. package/vscode/src/vs/base/common/iterator.js +8 -0
  42. package/vscode/src/vs/base/common/labels.js +2 -1
  43. package/vscode/src/vs/base/common/map.js +20 -1
  44. package/vscode/src/vs/base/common/observableInternal/base.d.ts +4 -0
  45. package/vscode/src/vs/base/common/observableInternal/base.js +16 -8
  46. package/vscode/src/vs/base/common/observableInternal/derived.js +4 -6
  47. package/vscode/src/vs/base/common/observableInternal/utils.js +60 -5
  48. package/vscode/src/vs/base/common/platform.js +20 -20
  49. package/vscode/src/vs/base/common/prefixTree.js +4 -3
  50. package/vscode/src/vs/base/common/product.d.ts +5 -2
  51. package/vscode/src/vs/base/common/strings.js +23 -7
  52. package/vscode/src/vs/base/common/themables.js +4 -1
  53. package/vscode/src/vs/base/common/uri.js +11 -1
  54. package/vscode/src/vs/base/common/worker/simpleWorker.js +1 -1
  55. package/vscode/src/vs/editor/browser/config/migrateOptions.js +5 -0
  56. package/vscode/src/vs/editor/browser/controller/mouseHandler.js +1 -0
  57. package/vscode/src/vs/editor/browser/controller/mouseTarget.js +14 -8
  58. package/vscode/src/vs/editor/browser/controller/pointerHandler.js +18 -11
  59. package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +1 -1
  60. package/vscode/src/vs/editor/browser/controller/textAreaInput.js +3 -3
  61. package/vscode/src/vs/{workbench/services/hover/browser → editor/browser/services}/hoverService.d.ts +7 -6
  62. package/vscode/src/vs/editor/browser/services/hoverService.js +195 -0
  63. package/vscode/src/vs/editor/browser/view.js +29 -39
  64. package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js +41 -19
  65. package/vscode/src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js +1 -1
  66. package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +30 -23
  67. package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.js +23 -8
  68. package/vscode/src/vs/editor/browser/viewParts/lines/viewLines.js +1 -1
  69. package/vscode/src/vs/editor/browser/viewParts/linesDecorations/linesDecorations.js +8 -1
  70. package/vscode/src/vs/editor/browser/viewParts/marginDecorations/marginDecorations.js +7 -1
  71. package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.js +1 -1
  72. package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js +30 -3
  73. package/vscode/src/vs/editor/browser/widget/codeEditorWidget.js +39 -15
  74. package/vscode/src/vs/editor/browser/widget/diffEditor/{accessibleDiffViewer.css.js → components/accessibleDiffViewer.css.js} +1 -1
  75. package/vscode/src/vs/editor/browser/widget/diffEditor/{accessibleDiffViewer.js → components/accessibleDiffViewer.js} +43 -43
  76. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorDecorations.js +89 -0
  77. package/vscode/src/vs/editor/browser/widget/diffEditor/{diffEditorEditors.js → components/diffEditorEditors.js} +14 -14
  78. package/vscode/src/vs/editor/browser/widget/diffEditor/{diffEditorSash.js → components/diffEditorSash.js} +5 -5
  79. package/vscode/src/vs/editor/browser/widget/diffEditor/{lineAlignment.js → components/diffEditorViewZones/diffEditorViewZones.js} +38 -28
  80. package/vscode/src/vs/editor/browser/widget/diffEditor/{inlineDiffDeletedCodeMargin.js → components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js} +14 -14
  81. package/vscode/src/vs/editor/browser/widget/diffEditor/{renderLines.js → components/diffEditorViewZones/renderLines.js} +7 -7
  82. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +29 -38
  83. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +150 -38
  84. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +17 -16
  85. package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.js +104 -6
  86. package/vscode/src/vs/editor/browser/widget/diffEditor/{hideUnchangedRegionsFeature.js → features/hideUnchangedRegionsFeature.js} +51 -78
  87. package/vscode/src/vs/editor/browser/widget/diffEditor/{movedBlocksLines.js → features/movedBlocksLinesFeature.js} +23 -23
  88. package/vscode/src/vs/editor/browser/widget/diffEditor/{overviewRulerPart.js → features/overviewRulerFeature.js} +28 -28
  89. package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +145 -0
  90. package/vscode/src/vs/editor/browser/widget/diffEditor/{decorations.js → registrations.contribution.js} +18 -2
  91. package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +10 -2
  92. package/vscode/src/vs/editor/browser/widget/hoverWidget/hover.css.js +4 -0
  93. package/vscode/src/vs/editor/browser/widget/hoverWidget/hoverWidget.js +527 -0
  94. package/vscode/src/vs/editor/{contrib → browser/widget}/markdownRenderer/browser/markdownRenderer.js +11 -11
  95. package/vscode/src/vs/editor/{contrib → browser/widget}/markdownRenderer/browser/renderedMarkdown.css.js +1 -1
  96. package/vscode/src/vs/editor/common/config/editorOptions.d.ts +11 -10
  97. package/vscode/src/vs/editor/common/config/editorOptions.js +46 -42
  98. package/vscode/src/vs/editor/common/core/editorColorRegistry.js +3 -3
  99. package/vscode/src/vs/editor/common/core/offsetRange.d.ts +2 -0
  100. package/vscode/src/vs/editor/common/core/offsetRange.js +8 -0
  101. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js +9 -0
  102. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js +50 -47
  103. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js +4 -1
  104. package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +2 -1
  105. package/vscode/src/vs/editor/common/diff/rangeMapping.js +13 -2
  106. package/vscode/src/vs/editor/common/languages.d.ts +10 -2
  107. package/vscode/src/vs/editor/common/model/textModel.js +19 -13
  108. package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +1 -1
  109. package/vscode/src/vs/editor/common/model.d.ts +19 -1
  110. package/vscode/src/vs/editor/common/model.js +2 -1
  111. package/vscode/src/vs/editor/common/services/editorSimpleWorker.js +2 -1
  112. package/vscode/src/vs/editor/common/services/getIconClasses.js +4 -1
  113. package/vscode/src/vs/editor/common/services/semanticTokensProviderStyling.js +3 -3
  114. package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +9 -8
  115. package/vscode/src/vs/editor/common/standaloneStrings.js +18 -18
  116. package/vscode/src/vs/editor/common/viewEvents.js +2 -0
  117. package/vscode/src/vs/editor/common/viewModel/glyphLanesModel.js +55 -0
  118. package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +4 -1
  119. package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +5 -1
  120. package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -0
  121. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +46 -20
  122. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +1 -1
  123. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +38 -11
  124. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +56 -101
  125. package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.js +3 -2
  126. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorContributions.js +2 -2
  127. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +10 -29
  128. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +4 -4
  129. package/vscode/src/vs/editor/contrib/diffEditorBreadcrumbs/browser/contribution.js +51 -0
  130. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +19 -1
  131. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +38 -10
  132. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +29 -1
  133. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/edit.js +10 -3
  134. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +3 -17
  135. package/vscode/src/vs/editor/contrib/find/browser/findController.js +3 -35
  136. package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +26 -6
  137. package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +6 -6
  138. package/vscode/src/vs/editor/contrib/format/browser/format.js +9 -9
  139. package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +5 -5
  140. package/vscode/src/vs/editor/contrib/gotoError/browser/media/gotoErrorWidget.css.js +1 -1
  141. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +2 -2
  142. package/vscode/src/vs/editor/contrib/hover/browser/contentHover.js +85 -76
  143. package/vscode/src/vs/editor/contrib/hover/browser/hover.js +120 -90
  144. package/vscode/src/vs/editor/contrib/hover/browser/marginHover.js +18 -6
  145. package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +1 -1
  146. package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +2 -2
  147. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHints.js +4 -2
  148. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +56 -38
  149. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +1 -1
  150. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +12 -0
  151. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +4 -0
  152. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.js +2 -2
  153. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +50 -53
  154. package/vscode/src/vs/editor/contrib/message/browser/messageController.js +5 -2
  155. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +1 -1
  156. package/vscode/src/vs/editor/contrib/semanticTokens/browser/documentSemanticTokens.js +5 -1
  157. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScroll.css.js +1 -1
  158. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +4 -4
  159. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +8 -5
  160. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +58 -46
  161. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +34 -7
  162. package/vscode/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js +30 -38
  163. package/vscode/src/vs/editor/contrib/suggest/browser/suggestModel.js +2 -2
  164. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +11 -3
  165. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +18 -7
  166. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +8 -10
  167. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  168. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +7 -6
  169. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -0
  170. package/vscode/src/vs/editor/editor.api.d.ts +82 -11
  171. package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +8 -3
  172. package/vscode/src/vs/editor/standalone/browser/standaloneLayoutService.js +4 -3
  173. package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +22 -11
  174. package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.js +1 -1
  175. package/vscode/src/vs/nls.d.ts +6 -0
  176. package/vscode/src/vs/platform/accessibility/browser/accessibilityService.js +4 -1
  177. package/vscode/src/vs/platform/accessibility/common/accessibility.d.ts +2 -16
  178. package/vscode/src/vs/platform/accessibility/common/accessibility.js +1 -2
  179. package/vscode/src/vs/platform/action/common/actionCommonCategories.d.ts +7 -20
  180. package/vscode/src/vs/platform/action/common/actionCommonCategories.js +8 -8
  181. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +0 -1
  182. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css.js +1 -1
  183. package/vscode/src/vs/platform/actions/browser/buttonbar.js +2 -0
  184. package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +5 -0
  185. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.css.js +1 -1
  186. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +2 -2
  187. package/vscode/src/vs/platform/actions/common/actions.d.ts +9 -1
  188. package/vscode/src/vs/platform/actions/common/actions.js +12 -1
  189. package/vscode/src/vs/platform/audioCues/browser/audioCueService.d.ts +11 -1
  190. package/vscode/src/vs/platform/audioCues/browser/audioCueService.js +174 -28
  191. package/vscode/src/vs/platform/clipboard/browser/clipboardService.js +38 -5
  192. package/vscode/src/vs/platform/configuration/common/configuration.d.ts +0 -1
  193. package/vscode/src/vs/platform/environment/common/environmentService.js +1 -1
  194. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +5 -1
  195. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +24 -5
  196. package/vscode/src/vs/platform/extensions/common/extensions.d.ts +6 -1
  197. package/vscode/src/vs/{workbench/services → platform}/hover/browser/hover.d.ts +6 -8
  198. package/vscode/src/vs/platform/hover/browser/hover.js +3 -0
  199. package/vscode/src/vs/platform/instantiation/common/instantiationService.js +14 -4
  200. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +11 -4
  201. package/vscode/src/vs/platform/keybinding/common/keybinding.d.ts +7 -0
  202. package/vscode/src/vs/platform/layout/browser/layoutService.d.ts +6 -0
  203. package/vscode/src/vs/platform/list/browser/listService.js +7 -5
  204. package/vscode/src/vs/platform/log/common/bufferLog.js +1 -0
  205. package/vscode/src/vs/platform/log/common/log.d.ts +0 -1
  206. package/vscode/src/vs/platform/log/common/log.js +1 -2
  207. package/vscode/src/vs/platform/notification/common/notification.d.ts +36 -19
  208. package/vscode/src/vs/platform/notification/common/notification.js +9 -3
  209. package/vscode/src/vs/platform/quickinput/browser/pickerQuickAccess.js +4 -1
  210. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +50 -48
  211. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +3 -5
  212. package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +49 -66
  213. package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +11 -3
  214. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +16 -2
  215. package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +230 -26
  216. package/vscode/src/vs/platform/remote/common/remoteAuthorityResolver.d.ts +1 -0
  217. package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -0
  218. package/vscode/src/vs/platform/theme/browser/defaultStyles.js +5 -3
  219. package/vscode/src/vs/platform/theme/common/colorRegistry.js +28 -9
  220. package/vscode/src/vs/platform/tunnel/common/tunnel.d.ts +2 -0
  221. package/vscode/src/vs/platform/window/common/window.js +14 -8
  222. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +97 -78
  223. package/vscode/src/vs/workbench/api/common/extHost.protocol.js +1 -1
  224. package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +1 -22
  225. package/vscode/src/vs/workbench/api/common/extHostChat.js +0 -6
  226. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +31 -36
  227. package/vscode/src/vs/workbench/api/common/extHostChatVariables.js +1 -1
  228. package/vscode/src/vs/workbench/api/common/extHostComments.js +6 -1
  229. package/vscode/src/vs/workbench/api/common/extHostConsoleForwarder.js +1 -0
  230. package/vscode/src/vs/workbench/api/common/extHostDebugService.js +130 -6
  231. package/vscode/src/vs/workbench/api/common/extHostDocumentContentProviders.js +28 -15
  232. package/vscode/src/vs/workbench/api/common/extHostDocuments.js +4 -5
  233. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +5 -1
  234. package/vscode/src/vs/workbench/api/common/extHostFileSystem.js +1 -2
  235. package/vscode/src/vs/workbench/api/common/extHostFileSystemConsumer.js +2 -2
  236. package/vscode/src/vs/workbench/api/common/extHostInlineChat.js +35 -33
  237. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +40 -13
  238. package/vscode/src/vs/workbench/api/common/extHostMessageService.js +10 -1
  239. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +11 -7
  240. package/vscode/src/vs/workbench/api/common/extHostNotebookEditors.js +2 -3
  241. package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +29 -4
  242. package/vscode/src/vs/workbench/api/common/extHostProfileContentHandler.js +1 -1
  243. package/vscode/src/vs/workbench/api/common/extHostProgress.js +1 -7
  244. package/vscode/src/vs/workbench/api/common/extHostSCM.js +49 -93
  245. package/vscode/src/vs/workbench/api/common/extHostSpeech.js +21 -0
  246. package/vscode/src/vs/workbench/api/common/extHostTask.js +18 -22
  247. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -0
  248. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +3 -3
  249. package/vscode/src/vs/workbench/api/common/extHostTesting.js +55 -36
  250. package/vscode/src/vs/workbench/api/common/extHostTextEditor.js +5 -2
  251. package/vscode/src/vs/workbench/api/common/extHostTextEditors.js +6 -7
  252. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +6 -3
  253. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +4 -2
  254. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +74 -12
  255. package/vscode/src/vs/workbench/api/common/extHostTypes.js +27 -8
  256. package/vscode/src/vs/workbench/api/worker/extHostConsoleForwarder.js +1 -1
  257. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +172 -103
  258. package/vscode/src/vs/workbench/browser/actions/windowActions.js +13 -17
  259. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +34 -34
  260. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
  261. package/vscode/src/vs/workbench/browser/dnd.js +2 -2
  262. package/vscode/src/vs/workbench/browser/labels.js +34 -4
  263. package/vscode/src/vs/workbench/browser/part.js +2 -2
  264. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +4 -4
  265. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +1 -1
  266. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +801 -0
  267. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsModel.js +140 -0
  268. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +410 -0
  269. package/vscode/src/vs/workbench/browser/parts/editor/editor.js +1 -2
  270. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +304 -303
  271. package/vscode/src/vs/workbench/browser/parts/editor/editorAutoSave.js +101 -47
  272. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +114 -47
  273. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +1313 -0
  274. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +190 -0
  275. package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +344 -0
  276. package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +1 -1
  277. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +10 -10
  278. package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +27 -42
  279. package/vscode/src/vs/workbench/browser/parts/editor/editorTitleControl.js +152 -0
  280. package/vscode/src/vs/workbench/browser/parts/editor/editorsObserver.js +8 -8
  281. package/vscode/src/vs/workbench/browser/parts/editor/media/breadcrumbscontrol.css.js +4 -0
  282. package/vscode/src/vs/workbench/browser/parts/editor/media/editorgroupview.css.js +4 -0
  283. package/vscode/src/vs/workbench/browser/parts/editor/media/editortitlecontrol.css.js +4 -0
  284. package/vscode/src/vs/workbench/browser/parts/editor/media/multieditortabscontrol.css.js +4 -0
  285. package/vscode/src/vs/workbench/browser/parts/editor/media/singleeditortabscontrol.css.js +4 -0
  286. package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +1626 -0
  287. package/vscode/src/vs/workbench/browser/parts/editor/multiRowEditorTabsControl.js +150 -0
  288. package/vscode/src/vs/workbench/browser/parts/editor/noEditorTabsControl.js +52 -0
  289. package/vscode/src/vs/workbench/browser/parts/editor/singleEditorTabsControl.js +260 -0
  290. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
  291. package/vscode/src/vs/workbench/browser/parts/editor/textResourceEditor.js +2 -2
  292. package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +39 -36
  293. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +68 -28
  294. package/vscode/src/vs/workbench/browser/parts/panel/media/panelpart.css.js +1 -1
  295. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +15 -14
  296. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +18 -17
  297. package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +1 -1
  298. package/vscode/src/vs/workbench/browser/parts/views/media/views.css.js +1 -1
  299. package/vscode/src/vs/workbench/browser/parts/views/treeView.js +7 -10
  300. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +2 -1
  301. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.d.ts +2 -1
  302. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +18 -17
  303. package/vscode/src/vs/workbench/browser/quickaccess.js +33 -1
  304. package/vscode/src/vs/workbench/browser/web.api.d.ts +6 -0
  305. package/vscode/src/vs/workbench/browser/window.js +92 -9
  306. package/vscode/src/vs/workbench/browser/workbench.contribution.js +114 -65
  307. package/vscode/src/vs/workbench/common/component.d.ts +5 -1
  308. package/vscode/src/vs/workbench/common/component.js +6 -0
  309. package/vscode/src/vs/workbench/common/configuration.js +11 -1
  310. package/vscode/src/vs/workbench/common/contextkeys.js +8 -4
  311. package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +6 -0
  312. package/vscode/src/vs/workbench/common/editor/editorInput.js +3 -0
  313. package/vscode/src/vs/workbench/common/editor/filteredEditorGroupModel.js +107 -0
  314. package/vscode/src/vs/workbench/common/editor/resourceEditorInput.d.ts +6 -3
  315. package/vscode/src/vs/workbench/common/editor/resourceEditorInput.js +21 -3
  316. package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.d.ts +2 -1
  317. package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.js +9 -6
  318. package/vscode/src/vs/workbench/common/editor.d.ts +16 -4
  319. package/vscode/src/vs/workbench/common/editor.js +7 -1
  320. package/vscode/src/vs/workbench/common/memento.js +33 -12
  321. package/vscode/src/vs/workbench/common/notifications.js +30 -7
  322. package/vscode/src/vs/workbench/common/theme.js +61 -1
  323. package/vscode/src/vs/workbench/common/views.d.ts +1 -28
  324. package/vscode/src/vs/workbench/common/views.js +1 -2
  325. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +232 -19
  326. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +9 -9
  327. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +1 -0
  328. package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +19 -31
  329. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +8 -3
  330. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +57 -38
  331. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +4 -4
  332. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +9 -2
  333. package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +7 -0
  334. package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +31 -20
  335. package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +93 -49
  336. package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer.js +30 -6
  337. package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommandContentWidget.js +24 -12
  338. package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +9 -5
  339. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +12 -1
  340. package/vscode/src/vs/workbench/contrib/chat/browser/media/chat.css.js +1 -1
  341. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +2 -1
  342. package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +21 -43
  343. package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +6 -6
  344. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +4 -4
  345. package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.css.js +1 -1
  346. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
  347. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +0 -3
  348. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +1 -1
  349. package/vscode/src/vs/workbench/contrib/comments/browser/{comments.contribution.js → commentsAccessibility.js} +36 -128
  350. package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +41 -18
  351. package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +202 -0
  352. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +27 -4
  353. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +165 -52
  354. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +48 -31
  355. package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +6 -1
  356. package/vscode/src/vs/workbench/contrib/debug/browser/media/breakpointWidget.css.js +1 -1
  357. package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +40 -10
  358. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +28 -1
  359. package/vscode/src/vs/workbench/contrib/debug/common/debugContext.js +14 -0
  360. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +52 -23
  361. package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
  362. package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.js +164 -0
  363. package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +10 -0
  364. package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +285 -0
  365. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +123 -78
  366. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +10 -0
  367. package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorInput.js +3 -19
  368. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +1 -2
  369. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +8 -9
  370. package/vscode/src/vs/workbench/contrib/files/browser/files.configuration.contribution.js +70 -2
  371. package/vscode/src/vs/workbench/contrib/files/browser/files.d.ts +5 -2
  372. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +2 -2
  373. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +34 -17
  374. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +5 -4
  375. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +48 -14
  376. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +16 -8
  377. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.css.js +1 -1
  378. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +317 -321
  379. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatLivePreviewWidget.js +17 -24
  380. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSavingService.js +3 -0
  381. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +306 -130
  382. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.js +3 -0
  383. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +385 -613
  384. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +69 -64
  385. package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +71 -3
  386. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +39 -44
  387. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +5 -3
  388. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +1 -1
  389. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findModel.js +1 -1
  390. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
  391. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
  392. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellChat.css.js +1 -1
  393. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookEditorStickyScroll.css.js +1 -1
  394. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +38 -7
  395. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +36 -8
  396. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.js +32 -12
  397. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellPart.js +24 -14
  398. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +4 -4
  399. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.js +1 -1
  400. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbarStickyScroll.js +1 -2
  401. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatActions.js +264 -12
  402. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatController.js +60 -27
  403. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +12 -5
  404. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +2 -2
  405. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +2 -2
  406. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +12 -9
  407. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +6 -3
  408. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +1 -0
  409. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +188 -155
  410. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +4 -4
  411. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellTextModel.js +10 -3
  412. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +16 -33
  413. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +9 -7
  414. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +6 -2
  415. package/vscode/src/vs/workbench/contrib/notebook/common/notebookKernelService.js +2 -1
  416. package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +29 -14
  417. package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +15 -3
  418. package/vscode/src/vs/workbench/contrib/remote/browser/urlFinder.js +2 -2
  419. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +22 -6
  420. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +1 -1
  421. package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +16 -17
  422. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +78 -50
  423. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +15 -1
  424. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +25 -45
  425. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +12 -4
  426. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcon.js +2 -1
  427. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.js +33 -36
  428. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +1 -1
  429. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.js +3 -0
  430. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +5 -8
  431. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.js +15 -27
  432. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +3 -3
  433. package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.js +38 -22
  434. package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.js +5 -2
  435. package/vscode/src/vs/workbench/contrib/testing/common/testProfileService.js +60 -40
  436. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
  437. package/vscode/src/vs/workbench/contrib/testing/common/testResultStorage.js +15 -11
  438. package/vscode/src/vs/workbench/contrib/testing/common/testService.js +26 -1
  439. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +24 -23
  440. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js +1 -1
  441. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +124 -26
  442. package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +68 -0
  443. package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +76 -36
  444. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.js +1 -0
  445. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +1 -0
  446. package/vscode/src/vs/workbench/services/editor/browser/editorService.js +15 -3
  447. package/vscode/src/vs/workbench/services/editor/common/editorGroupFinder.js +10 -1
  448. package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +51 -43
  449. package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +13 -8
  450. package/vscode/src/vs/workbench/services/editor/common/editorService.js +2 -1
  451. package/vscode/src/vs/workbench/services/extensionManagement/browser/extensionBisect.js +10 -10
  452. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +8 -8
  453. package/vscode/src/vs/workbench/services/extensions/common/extensionsApiProposals.js +7 -7
  454. package/vscode/src/vs/workbench/services/extensions/common/rpcProtocol.js +1 -0
  455. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.d.ts +29 -9
  456. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +160 -63
  457. package/vscode/src/vs/workbench/services/host/browser/host.d.ts +8 -0
  458. package/vscode/src/vs/workbench/services/keybinding/common/keybindingEditing.js +60 -72
  459. package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +0 -4
  460. package/vscode/src/vs/workbench/services/notebook/common/notebookDocumentService.js +56 -0
  461. package/vscode/src/vs/workbench/services/output/common/output.js +2 -2
  462. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +10 -0
  463. package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +10 -0
  464. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +2 -1
  465. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +5 -4
  466. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorInput.js +21 -8
  467. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.d.ts +4 -0
  468. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.js +3 -0
  469. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +4 -4
  470. package/vscode/src/vs/workbench/{browser/parts/views → services/views/browser}/viewsService.js +20 -15
  471. package/vscode/src/vs/workbench/services/views/common/viewsService.d.ts +34 -0
  472. package/vscode/src/vs/workbench/services/{hover/browser/hover.js → views/common/viewsService.js} +2 -2
  473. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.d.ts +6 -1
  474. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +5 -2
  475. package/vscode/src/vs/workbench/services/workspaces/common/workspaceTrust.js +1 -0
  476. package/vscode-dts/vscode.proposed.chatAgents2.d.ts +112 -47
  477. package/vscode-dts/vscode.proposed.chatAgents2Additions.d.ts +68 -9
  478. package/vscode-dts/{vscode.proposed.scmInputBoxActionButton.d.ts → vscode.proposed.codeActionRanges.d.ts} +8 -10
  479. package/vscode-dts/{vscode.proposed.readonlyMessage.d.ts → vscode.proposed.commentReactor.d.ts} +3 -4
  480. package/vscode-dts/vscode.proposed.contribMultiDiffEditorMenus.d.ts +6 -0
  481. package/vscode-dts/vscode.proposed.contribSourceControlHistoryItemGroupMenu.d.ts +8 -0
  482. package/vscode-dts/vscode.proposed.contribSourceControlHistoryItemMenu.d.ts +8 -0
  483. package/vscode-dts/vscode.proposed.debugVisualization.d.ts +100 -0
  484. package/vscode-dts/vscode.proposed.defaultChatAgent.d.ts +1 -1
  485. package/vscode-dts/vscode.proposed.interactive.d.ts +13 -16
  486. package/vscode-dts/vscode.proposed.notebookVariableProvider.d.ts +4 -1
  487. package/vscode-dts/vscode.proposed.resolvers.d.ts +4 -0
  488. package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +4 -10
  489. package/vscode-dts/vscode.proposed.scmMultiDiffEditor.d.ts +34 -0
  490. package/vscode-dts/vscode.proposed.speech.d.ts +17 -3
  491. package/vscode-dts/vscode.proposed.testCoverage.d.ts +7 -1
  492. package/vscode-dts/vscode.proposed.tunnelFactory.d.ts +4 -0
  493. package/vscode/src/vs/editor/browser/widget/diffEditor/colors.js +0 -17
  494. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorDecorations.js +0 -231
  495. package/vscode/src/vs/editor/browser/widget/diffEditor/outlineModel.js +0 -299
  496. package/vscode/src/vs/editor/browser/widget/diffEditor/workerBasedDocumentDiffProvider.js +0 -101
  497. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/suggestAddon.js +0 -390
  498. package/vscode/src/vs/workbench/services/editor/common/editorGroupColumn.d.ts +0 -10
  499. package/vscode/src/vs/workbench/services/suggest/browser/media/suggest.css.js +0 -4
  500. package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionItem.d.ts +0 -28
  501. package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionItem.js +0 -10
  502. package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionModel.d.ts +0 -30
  503. package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionModel.js +0 -98
  504. package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidget.d.ts +0 -10
  505. package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidget.js +0 -428
  506. package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidgetRenderer.js +0 -83
  507. package/vscode-dts/vscode.proposed.chatVariables.d.ts +0 -39
  508. package/vscode-dts/vscode.proposed.interactiveUserActions.d.ts +0 -77
  509. package/vscode-dts/vscode.proposed.saveEditor.d.ts +0 -35
  510. package/vscode-dts/vscode.proposed.scmInputBoxValueProvider.d.ts +0 -25
  511. package/vscode-dts/vscode.proposed.testingActiveProfile.d.ts +0 -21
@@ -2,6 +2,7 @@ import { localizeWithPath } from '../../nls.js';
2
2
  import { ContextKeyExpr, RawContextKey } from '../../platform/contextkey/common/contextkey.js';
3
3
  import { IKeybindingService } from '../../platform/keybinding/common/keybinding.js';
4
4
  import { IQuickInputService } from '../../platform/quickinput/common/quickInput.js';
5
+ import { getIEditor } from '../../editor/browser/editorBrowser.js';
5
6
  const inQuickPickContextKeyValue = 'inQuickOpen';
6
7
  const InQuickPickContextKey = ( new RawContextKey(inQuickPickContextKeyValue, false, ( localizeWithPath(
7
8
  'vs/workbench/browser/quickaccess',
@@ -20,4 +21,35 @@ function getQuickNavigateHandler(id, next) {
20
21
  quickInputService.navigate(!!next, quickNavigate);
21
22
  };
22
23
  }
23
- export { InQuickPickContextKey, defaultQuickAccessContext, defaultQuickAccessContextKeyValue, getQuickNavigateHandler, inQuickPickContext, inQuickPickContextKeyValue };
24
+ class EditorViewState {
25
+ constructor(editorService) {
26
+ this.editorService = editorService;
27
+ this._editorViewState = undefined;
28
+ }
29
+ set() {
30
+ if (this._editorViewState) {
31
+ return;
32
+ }
33
+ const activeEditorPane = this.editorService.activeEditorPane;
34
+ if (activeEditorPane) {
35
+ this._editorViewState = {
36
+ group: activeEditorPane.group,
37
+ editor: activeEditorPane.input,
38
+ state: getIEditor(activeEditorPane.getControl())?.saveViewState() ?? undefined,
39
+ };
40
+ }
41
+ }
42
+ async restore() {
43
+ if (this._editorViewState) {
44
+ const options = {
45
+ viewState: this._editorViewState.state,
46
+ preserveFocus: true
47
+ };
48
+ await this._editorViewState.group.openEditor(this._editorViewState.editor, options);
49
+ }
50
+ }
51
+ reset() {
52
+ this._editorViewState = undefined;
53
+ }
54
+ }
55
+ export { EditorViewState, InQuickPickContextKey, defaultQuickAccessContext, defaultQuickAccessContextKeyValue, getQuickNavigateHandler, inQuickPickContext, inQuickPickContextKeyValue };
@@ -10,6 +10,7 @@ import { TunnelProviderFeatures } from '../../platform/tunnel/common/tunnel.js';
10
10
  import { ITextEditorOptions } from '../../platform/editor/common/editor.js';
11
11
  import { IWorkspaceToOpen, IFolderToOpen } from '../../platform/window/common/window.js';
12
12
  import { EditorGroupLayout } from '../services/editor/common/editorGroupsService.js';
13
+ import { IAuthenticationProvider } from '../services/authentication/common/authentication.js';
13
14
 
14
15
  interface IWorkbenchConstructionOptions {
15
16
  /**
@@ -176,6 +177,11 @@ interface IWorkbenchConstructionOptions {
176
177
  */
177
178
  readonly welcomeDialog?: IWelcomeDialog;
178
179
  readonly messagePorts?: ReadonlyMap<ExtensionId, MessagePort>;
180
+ /**
181
+ * Optional authentication provider contributions. These take precedence over
182
+ * any authentication providers contributed via extensions.
183
+ */
184
+ readonly authenticationProviders?: readonly IAuthenticationProvider[];
179
185
  readonly developmentOptions?: IDevelopmentOptions;
180
186
  }
181
187
  /**
@@ -1,14 +1,39 @@
1
- import { getWindowsCount, getWindows } from '../../base/browser/dom.js';
1
+ import { __decorate, __param } from '../../../../../external/tslib/tslib.es6.js';
2
+ import { setFullscreen } from '../../base/browser/browser.js';
3
+ import { getWindowsCount, getWindows, getActiveWindow, getWindow, getWindowById } from '../../base/browser/dom.js';
2
4
  import { Disposable, dispose, toDisposable } from '../../base/common/lifecycle.js';
5
+ import { isMacintosh } from '../../base/common/platform.js';
6
+ import { localizeWithPath } from '../../nls.js';
3
7
  import '../../../../../override/vs/platform/dialogs/common/dialogs.js';
8
+ import { IHostService } from '../services/host/browser/host.js';
4
9
  import { isAuxiliaryWindow } from '../../base/browser/window.js';
5
10
  import { createSingleCallFunction } from '../../base/common/functional.js';
6
- class BaseWindow extends Disposable {
11
+ import { IConfigurationService } from '../../platform/configuration/common/configuration.js';
12
+ import { IDialogService } from '../../platform/dialogs/common/dialogs.js';
13
+ var BaseWindow_1;
14
+ let BaseWindow = class BaseWindow extends Disposable {
15
+ static { BaseWindow_1 = this; }
7
16
  static { this.TIMEOUT_HANDLES = Number.MIN_SAFE_INTEGER; }
8
17
  static { this.TIMEOUT_DISPOSABLES = ( new Map()); }
9
- constructor(targetWindow, dom = { getWindowsCount, getWindows } ) {
18
+ constructor(targetWindow, dom = { getWindowsCount, getWindows }, hostService) {
10
19
  super();
20
+ this.hostService = hostService;
21
+ this.enableWindowFocusOnElementFocus(targetWindow);
11
22
  this.enableMultiWindowAwareTimeout(targetWindow, dom);
23
+ this.registerFullScreenListeners(targetWindow.vscodeWindowId);
24
+ }
25
+ enableWindowFocusOnElementFocus(targetWindow) {
26
+ const originalFocus = HTMLElement.prototype.focus;
27
+ targetWindow.HTMLElement.prototype.focus = function (options) {
28
+ const activeWindow = getActiveWindow();
29
+ if (activeWindow.document.hasFocus()) {
30
+ const elementWindow = getWindow(this);
31
+ if (activeWindow !== elementWindow) {
32
+ elementWindow.focus();
33
+ }
34
+ }
35
+ originalFocus.apply(this, [options]);
36
+ };
12
37
  }
13
38
  enableMultiWindowAwareTimeout(targetWindow, dom = { getWindowsCount, getWindows }) {
14
39
  const originalSetTimeout = targetWindow.setTimeout;
@@ -20,11 +45,11 @@ class BaseWindow extends Disposable {
20
45
  return originalSetTimeout.apply(this, [handler, timeout, ...args]);
21
46
  }
22
47
  const timeoutDisposables = ( new Set());
23
- const timeoutHandle = BaseWindow.TIMEOUT_HANDLES++;
24
- BaseWindow.TIMEOUT_DISPOSABLES.set(timeoutHandle, timeoutDisposables);
48
+ const timeoutHandle = BaseWindow_1.TIMEOUT_HANDLES++;
49
+ BaseWindow_1.TIMEOUT_DISPOSABLES.set(timeoutHandle, timeoutDisposables);
25
50
  const handlerFn = createSingleCallFunction(handler, () => {
26
51
  dispose(timeoutDisposables);
27
- BaseWindow.TIMEOUT_DISPOSABLES.delete(timeoutHandle);
52
+ BaseWindow_1.TIMEOUT_DISPOSABLES.delete(timeoutHandle);
28
53
  });
29
54
  for (const { window, disposables } of dom.getWindows()) {
30
55
  if (isAuxiliaryWindow(window) && window.document.visibilityState === 'hidden') {
@@ -41,15 +66,73 @@ class BaseWindow extends Disposable {
41
66
  return timeoutHandle;
42
67
  };
43
68
  targetWindow.clearTimeout = function (timeoutHandle) {
44
- const timeoutDisposables = typeof timeoutHandle === 'number' ? BaseWindow.TIMEOUT_DISPOSABLES.get(timeoutHandle) : undefined;
69
+ const timeoutDisposables = typeof timeoutHandle === 'number' ? BaseWindow_1.TIMEOUT_DISPOSABLES.get(timeoutHandle) : undefined;
45
70
  if (timeoutDisposables) {
46
71
  dispose(timeoutDisposables);
47
- BaseWindow.TIMEOUT_DISPOSABLES.delete(timeoutHandle);
72
+ BaseWindow_1.TIMEOUT_DISPOSABLES.delete(timeoutHandle);
48
73
  }
49
74
  else {
50
75
  originalClearTimeout.apply(this, [timeoutHandle]);
51
76
  }
52
77
  };
53
78
  }
54
- }
79
+ registerFullScreenListeners(targetWindowId) {
80
+ this._register(this.hostService.onDidChangeFullScreen(({ windowId, fullscreen }) => {
81
+ if (windowId === targetWindowId) {
82
+ const targetWindow = getWindowById(targetWindowId);
83
+ if (targetWindow) {
84
+ setFullscreen(fullscreen, targetWindow.window);
85
+ }
86
+ }
87
+ }));
88
+ }
89
+ static async confirmOnShutdown(accessor, reason) {
90
+ const dialogService = accessor.get(IDialogService);
91
+ const configurationService = accessor.get(IConfigurationService);
92
+ const message = reason === 2 ?
93
+ (isMacintosh ? ( localizeWithPath(
94
+ 'vs/workbench/browser/window',
95
+ 'quitMessageMac',
96
+ "Are you sure you want to quit?"
97
+ )) : ( localizeWithPath(
98
+ 'vs/workbench/browser/window',
99
+ 'quitMessage',
100
+ "Are you sure you want to exit?"
101
+ ))) :
102
+ ( localizeWithPath(
103
+ 'vs/workbench/browser/window',
104
+ 'closeWindowMessage',
105
+ "Are you sure you want to close the window?"
106
+ ));
107
+ const primaryButton = reason === 2 ?
108
+ (isMacintosh ? ( localizeWithPath(
109
+ 'vs/workbench/browser/window',
110
+ { key: 'quitButtonLabel', comment: ['&& denotes a mnemonic'] },
111
+ "&&Quit"
112
+ )) : ( localizeWithPath(
113
+ 'vs/workbench/browser/window',
114
+ { key: 'exitButtonLabel', comment: ['&& denotes a mnemonic'] },
115
+ "&&Exit"
116
+ ))) :
117
+ ( localizeWithPath(
118
+ 'vs/workbench/browser/window',
119
+ { key: 'closeWindowButtonLabel', comment: ['&& denotes a mnemonic'] },
120
+ "&&Close Window"
121
+ ));
122
+ const res = await dialogService.confirm({
123
+ message,
124
+ primaryButton,
125
+ checkbox: {
126
+ label: ( localizeWithPath('vs/workbench/browser/window', 'doNotAskAgain', "Do not ask me again"))
127
+ }
128
+ });
129
+ if (res.confirmed && res.checkboxChecked) {
130
+ await configurationService.updateValue('window.confirmBeforeClose', 'never');
131
+ }
132
+ return res.confirmed;
133
+ }
134
+ };
135
+ BaseWindow = BaseWindow_1 = ( __decorate([
136
+ ( __param(2, IHostService))
137
+ ], BaseWindow));
55
138
  export { BaseWindow };
@@ -2,7 +2,7 @@ import { Registry } from '../../platform/registry/common/platform.js';
2
2
  import { localizeWithPath } from '../../nls.js';
3
3
  import { Extensions as Extensions$2 } from '../../platform/configuration/common/configurationRegistry.js';
4
4
  import { isMacintosh, isWeb, isNative, isWindows, isLinux } from '../../base/common/platform.js';
5
- import { DynamicWorkbenchConfigurationWorkbenchContribution, workbenchConfigurationNodeBase, Extensions as Extensions$1 } from '../common/configuration.js';
5
+ import { DynamicWorkbenchConfigurationWorkbenchContribution, workbenchConfigurationNodeBase, problemsConfigurationNodeBase, Extensions as Extensions$1 } from '../common/configuration.js';
6
6
  import { isStandalone } from '../../base/browser/browser.js';
7
7
  import { Extensions } from '../common/contributions.js';
8
8
  const registry = ( Registry.as(Extensions$2.Configuration));
@@ -60,19 +60,23 @@ const registry = ( Registry.as(Extensions$2.Configuration));
60
60
  )),
61
61
  'default': 'multiple'
62
62
  },
63
- 'workbench.editor.editorActionsLocation': {
63
+ ["workbench.editor.editorActionsLocation" ]: {
64
64
  'type': 'string',
65
- 'enum': ['default', 'titleBar', 'hidden'],
66
- 'enumDescriptions': [
65
+ 'enum': ["default" , "titleBar" , "hidden" ],
66
+ 'markdownEnumDescriptions': [
67
67
  ( localizeWithPath(
68
68
  'vs/workbench/browser/workbench.contribution',
69
- 'workbench.editor.editorActionsLocation.default',
70
- "Show editor actions in the window title bar when `#workbench.editor.showTabs#` is set to `none`. Otherwise, editor actions are shown in the editor tab bar."
69
+ { comment: ['{0} will be a setting name rendered as a link'], key: 'workbench.editor.editorActionsLocation.default' },
70
+ "Show editor actions in the window title bar when {0} is set to {1}. Otherwise, editor actions are shown in the editor tab bar.",
71
+ '`#workbench.editor.showTabs#`',
72
+ '`none`'
71
73
  )),
72
74
  ( localizeWithPath(
73
75
  'vs/workbench/browser/workbench.contribution',
74
- 'workbench.editor.editorActionsLocation.titleBar',
75
- "Show editor actions in the window title bar. If `#window.titleBarStyle#` is set to `native`, editor actions are hidden."
76
+ { comment: ['{0} will be a setting name rendered as a link'], key: 'workbench.editor.editorActionsLocation.titleBar' },
77
+ "Show editor actions in the window title bar. If {0} is set to {1}, editor actions are hidden.",
78
+ '`#window.customTitleBarVisibility#`',
79
+ '`never`'
76
80
  )),
77
81
  ( localizeWithPath(
78
82
  'vs/workbench/browser/workbench.contribution',
@@ -91,8 +95,10 @@ const registry = ( Registry.as(Extensions$2.Configuration));
91
95
  'type': 'boolean',
92
96
  'markdownDescription': ( localizeWithPath(
93
97
  'vs/workbench/browser/workbench.contribution',
94
- 'wrapTabs',
95
- "Controls whether tabs should be wrapped over multiple lines when exceeding available space or whether a scrollbar should appear instead. This value is ignored when `#workbench.editor.showTabs#` is not set to `multiple`."
98
+ { comment: ['{0}, {1} will be a setting name rendered as a link'], key: 'wrapTabs' },
99
+ "Controls whether tabs should be wrapped over multiple lines when exceeding available space or whether a scrollbar should appear instead. This value is ignored when {0} is not set to '{1}'.",
100
+ '`#workbench.editor.showTabs#`',
101
+ '`multiple`'
96
102
  )),
97
103
  'default': false
98
104
  },
@@ -100,8 +106,10 @@ const registry = ( Registry.as(Extensions$2.Configuration));
100
106
  'type': 'boolean',
101
107
  'markdownDescription': ( localizeWithPath(
102
108
  'vs/workbench/browser/workbench.contribution',
103
- { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'scrollToSwitchTabs' },
104
- "Controls whether scrolling over tabs will open them or not. By default tabs will only reveal upon scrolling, but not open. You can press and hold the Shift-key while scrolling to change this behavior for that duration. This value is ignored when `#workbench.editor.showTabs#` is not set to `multiple`."
109
+ { comment: ['{0}, {1} will be a setting name rendered as a link'], key: 'scrollToSwitchTabs' },
110
+ "Controls whether scrolling over tabs will open them or not. By default tabs will only reveal upon scrolling, but not open. You can press and hold the Shift-key while scrolling to change this behavior for that duration. This value is ignored when {0} is not set to {1}.",
111
+ '`#workbench.editor.showTabs#`',
112
+ '`multiple`'
105
113
  )),
106
114
  'default': false
107
115
  },
@@ -109,8 +117,10 @@ const registry = ( Registry.as(Extensions$2.Configuration));
109
117
  'type': 'boolean',
110
118
  'markdownDescription': ( localizeWithPath(
111
119
  'vs/workbench/browser/workbench.contribution',
112
- 'highlightModifiedTabs',
113
- "Controls whether a top border is drawn on tabs for editors that have unsaved changes. This value is ignored when `#workbench.editor.showTabs#` is not set to `multiple`."
120
+ { comment: ['{0}, {1} will be a setting name rendered as a link'], key: 'highlightModifiedTabs' },
121
+ "Controls whether a top border is drawn on tabs for editors that have unsaved changes. This value is ignored when {0} is not set to {1}.",
122
+ '`#workbench.editor.showTabs#`',
123
+ `multiple`
114
124
  )),
115
125
  'default': false
116
126
  },
@@ -158,10 +168,11 @@ const registry = ( Registry.as(Extensions$2.Configuration));
158
168
  ))
159
169
  ],
160
170
  'default': 'default',
161
- 'description': ( localizeWithPath('vs/workbench/browser/workbench.contribution', {
162
- comment: ['This is the description for a setting. Values surrounded by parenthesis are not to be translated.'],
163
- key: 'tabDescription'
164
- }, "Controls the format of the label for an editor.")),
171
+ 'description': ( localizeWithPath(
172
+ 'vs/workbench/browser/workbench.contribution',
173
+ 'tabDescription',
174
+ "Controls the format of the label for an editor."
175
+ )),
165
176
  },
166
177
  'workbench.editor.untitled.labelFormat': {
167
178
  'type': 'string',
@@ -179,10 +190,11 @@ const registry = ( Registry.as(Extensions$2.Configuration));
179
190
  )),
180
191
  ],
181
192
  'default': 'content',
182
- 'description': ( localizeWithPath('vs/workbench/browser/workbench.contribution', {
183
- comment: ['This is the description for a setting. Values surrounded by parenthesis are not to be translated.'],
184
- key: 'untitledLabelFormat'
185
- }, "Controls the format of the label for an untitled editor.")),
193
+ 'description': ( localizeWithPath(
194
+ 'vs/workbench/browser/workbench.contribution',
195
+ 'untitledLabelFormat',
196
+ "Controls the format of the label for an untitled editor."
197
+ )),
186
198
  },
187
199
  'workbench.editor.empty.hint': {
188
200
  'type': 'string',
@@ -190,7 +202,7 @@ const registry = ( Registry.as(Extensions$2.Configuration));
190
202
  'default': 'text',
191
203
  'markdownDescription': ( localizeWithPath(
192
204
  'vs/workbench/browser/workbench.contribution',
193
- { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'emptyEditorHint' },
205
+ "workbench.editor.empty.hint",
194
206
  "Controls if the empty editor text hint should be visible in the editor."
195
207
  ))
196
208
  },
@@ -259,8 +271,10 @@ const registry = ( Registry.as(Extensions$2.Configuration));
259
271
  default: 'right',
260
272
  markdownDescription: ( localizeWithPath(
261
273
  'vs/workbench/browser/workbench.contribution',
262
- { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'tabActionLocation' },
263
- "Controls the position of the editor's tabs action buttons (close, unpin). This value is ignored when `#workbench.editor.showTabs#` is not set to `multiple`."
274
+ { comment: ['{0} will be a setting name rendered as a link'], key: 'tabActionLocation' },
275
+ "Controls the position of the editor's tabs action buttons (close, unpin). This value is ignored when {0} is not set to {1}.",
276
+ '`#workbench.editor.showTabs#`',
277
+ '`multiple`'
264
278
  ))
265
279
  },
266
280
  'workbench.editor.tabActionCloseVisibility': {
@@ -304,8 +318,10 @@ const registry = ( Registry.as(Extensions$2.Configuration));
304
318
  ],
305
319
  'markdownDescription': ( localizeWithPath(
306
320
  'vs/workbench/browser/workbench.contribution',
307
- { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'tabSizing' },
308
- "Controls the size of editor tabs. This value is ignored when `#workbench.editor.showTabs#` is not set to `multiple`."
321
+ { comment: ['{0}, {1} will be a setting name rendered as a link'], key: 'tabSizing' },
322
+ "Controls the size of editor tabs. This value is ignored when {0} is not set to {1}.",
323
+ '`#workbench.editor.showTabs#`',
324
+ '`multiple`'
309
325
  ))
310
326
  },
311
327
  'workbench.editor.tabSizingFixedMinWidth': {
@@ -314,8 +330,10 @@ const registry = ( Registry.as(Extensions$2.Configuration));
314
330
  'minimum': 38,
315
331
  'markdownDescription': ( localizeWithPath(
316
332
  'vs/workbench/browser/workbench.contribution',
317
- { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'workbench.editor.tabSizingFixedMinWidth' },
318
- "Controls the minimum width of tabs when `#workbench.editor.tabSizing#` size is set to `fixed`."
333
+ { comment: ['{0}, {1} will be a setting name rendered as a link'], key: 'workbench.editor.tabSizingFixedMinWidth' },
334
+ "Controls the minimum width of tabs when {0} size is set to {1}.",
335
+ '`#workbench.editor.tabSizing#`',
336
+ '`fixed`'
319
337
  ))
320
338
  },
321
339
  'workbench.editor.tabSizingFixedMaxWidth': {
@@ -324,8 +342,10 @@ const registry = ( Registry.as(Extensions$2.Configuration));
324
342
  'minimum': 38,
325
343
  'markdownDescription': ( localizeWithPath(
326
344
  'vs/workbench/browser/workbench.contribution',
327
- { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'workbench.editor.tabSizingFixedMaxWidth' },
328
- "Controls the maximum width of tabs when `#workbench.editor.tabSizing#` size is set to `fixed`."
345
+ { comment: ['{0}, {1} will be a setting name rendered as a link'], key: 'workbench.editor.tabSizingFixedMaxWidth' },
346
+ "Controls the maximum width of tabs when {0} size is set to {1}.",
347
+ '`#workbench.editor.tabSizing#`',
348
+ '`fixed`'
329
349
  ))
330
350
  },
331
351
  'window.density.editorTabHeight': {
@@ -334,8 +354,10 @@ const registry = ( Registry.as(Extensions$2.Configuration));
334
354
  'default': 'default',
335
355
  'markdownDescription': ( localizeWithPath(
336
356
  'vs/workbench/browser/workbench.contribution',
337
- { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'workbench.editor.tabHeight' },
338
- "Controls the height of editor tabs. Also applies to the title control bar when `#workbench.editor.showTabs#` is not set to `multiple`."
357
+ { comment: ['{0}, {1} will be a setting name rendered as a link'], key: 'workbench.editor.tabHeight' },
358
+ "Controls the height of editor tabs. Also applies to the title control bar when {0} is not set to {1}.",
359
+ '`#workbench.editor.showTabs#`',
360
+ '`multiple`'
339
361
  ))
340
362
  },
341
363
  'workbench.editor.pinnedTabSizing': {
@@ -361,8 +383,10 @@ const registry = ( Registry.as(Extensions$2.Configuration));
361
383
  ],
362
384
  'markdownDescription': ( localizeWithPath(
363
385
  'vs/workbench/browser/workbench.contribution',
364
- { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'pinnedTabSizing' },
365
- "Controls the size of pinned editor tabs. Pinned tabs are sorted to the beginning of all opened tabs and typically do not close until unpinned. This value is ignored when `#workbench.editor.showTabs#` is not set to `multiple`."
386
+ { comment: ['{0}, {1} will be a setting name rendered as a link'], key: 'pinnedTabSizing' },
387
+ "Controls the size of pinned editor tabs. Pinned tabs are sorted to the beginning of all opened tabs and typically do not close until unpinned. This value is ignored when {0} is not set to {1}.",
388
+ '`#workbench.editor.showTabs#`',
389
+ '`multiple`'
366
390
  ))
367
391
  },
368
392
  'workbench.editor.pinnedTabsOnSeparateRow': {
@@ -370,8 +394,10 @@ const registry = ( Registry.as(Extensions$2.Configuration));
370
394
  'default': false,
371
395
  'markdownDescription': ( localizeWithPath(
372
396
  'vs/workbench/browser/workbench.contribution',
373
- 'workbench.editor.pinnedTabsOnSeparateRow',
374
- "When enabled, displays pinned tabs in a separate row above all other tabs. This value is ignored when `#workbench.editor.showTabs#` is not set to `multiple`."
397
+ { comment: ['{0}, {1} will be a setting name rendered as a link'], key: 'workbench.editor.pinnedTabsOnSeparateRow' },
398
+ "When enabled, displays pinned tabs in a separate row above all other tabs. This value is ignored when {0} is not set to {1}.",
399
+ '`#workbench.editor.showTabs#`',
400
+ '`multiple`'
375
401
  )),
376
402
  },
377
403
  'workbench.editor.preventPinnedEditorClose': {
@@ -429,7 +455,7 @@ const registry = ( Registry.as(Extensions$2.Configuration));
429
455
  ],
430
456
  'description': ( localizeWithPath(
431
457
  'vs/workbench/browser/workbench.contribution',
432
- { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'splitSizing' },
458
+ 'splitSizing',
433
459
  "Controls the size of editor groups when splitting them."
434
460
  ))
435
461
  },
@@ -448,7 +474,7 @@ const registry = ( Registry.as(Extensions$2.Configuration));
448
474
  'markdownDescription': ( localizeWithPath(
449
475
  'vs/workbench/browser/workbench.contribution',
450
476
  'dragToOpenWindow',
451
- "Controls if editors can be dragged out of the window to open them in a new window. Press and hold `Alt`-key while dragging to toggle this dynamically."
477
+ "Controls if editors can be dragged out of the window to open them in a new window. Press and hold the `Alt` key while dragging to toggle this dynamically."
452
478
  ))
453
479
  },
454
480
  'workbench.editor.focusRecentEditorAfterClose': {
@@ -482,8 +508,10 @@ const registry = ( Registry.as(Extensions$2.Configuration));
482
508
  'type': 'boolean',
483
509
  'markdownDescription': ( localizeWithPath(
484
510
  'vs/workbench/browser/workbench.contribution',
485
- 'enablePreviewFromQuickOpen',
486
- "Controls whether editors opened from Quick Open show as preview editors. Preview editors do not stay open, and are reused until explicitly set to be kept open (via double-click or editing). When enabled, hold Ctrl before selection to open an editor as a non-preview. This value is ignored when `#workbench.editor.enablePreview#` is disabled."
511
+ { comment: ['{0}, {1} will be a setting name rendered as a link'], key: 'enablePreviewFromQuickOpen' },
512
+ "Controls whether editors opened from Quick Open show as preview editors. Preview editors do not stay open, and are reused until explicitly set to be kept open (via double-click or editing). When enabled, hold Ctrl before selection to open an editor as a non-preview. This value is ignored when {0} is not set to {1}.",
513
+ '`#workbench.editor.enablePreview#`',
514
+ '`multiple`'
487
515
  )),
488
516
  'default': false
489
517
  },
@@ -491,8 +519,10 @@ const registry = ( Registry.as(Extensions$2.Configuration));
491
519
  'type': 'boolean',
492
520
  'markdownDescription': ( localizeWithPath(
493
521
  'vs/workbench/browser/workbench.contribution',
494
- 'enablePreviewFromCodeNavigation',
495
- "Controls whether editors remain in preview when a code navigation is started from them. Preview editors do not stay open, and are reused until explicitly set to be kept open (via double-click or editing). This value is ignored when `#workbench.editor.enablePreview#` is disabled."
522
+ { comment: ['{0}, {1} will be a setting name rendered as a link'], key: 'enablePreviewFromCodeNavigation' },
523
+ "Controls whether editors remain in preview when a code navigation is started from them. Preview editors do not stay open, and are reused until explicitly set to be kept open (via double-click or editing). This value is ignored when {0} is not set to {1}.",
524
+ '`#workbench.editor.enablePreview#`',
525
+ '`multiple`'
496
526
  )),
497
527
  'default': false
498
528
  },
@@ -511,8 +541,12 @@ const registry = ( Registry.as(Extensions$2.Configuration));
511
541
  'default': 'right',
512
542
  'markdownDescription': ( localizeWithPath(
513
543
  'vs/workbench/browser/workbench.contribution',
514
- { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'editorOpenPositioning' },
515
- "Controls where editors open. Select `left` or `right` to open editors to the left or right of the currently active one. Select `first` or `last` to open editors independently from the currently active one."
544
+ { comment: ['{0}, {1}, {2}, {3} will be a setting name rendered as a link'], key: 'editorOpenPositioning' },
545
+ "Controls where editors open. Select {0} or {1} to open editors to the left or right of the currently active one. Select {2} or {3} to open editors independently from the currently active one.",
546
+ '`left`',
547
+ '`right`',
548
+ '`first`',
549
+ '`last`'
516
550
  ))
517
551
  },
518
552
  'workbench.editor.openSideBySideDirection': {
@@ -645,8 +679,10 @@ const registry = ( Registry.as(Extensions$2.Configuration));
645
679
  'default': 'expand',
646
680
  'markdownDescription': ( localizeWithPath(
647
681
  'vs/workbench/browser/workbench.contribution',
648
- { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'doubleClickTabToToggleEditorGroupSizes' },
649
- "Controls how the editor group is resized when double clicking on a tab. This value is ignored when `#workbench.editor.showTabs#` is not set to `multiple`."
682
+ { comment: ['{0}, {1} will be a setting name rendered as a link'], key: 'doubleClickTabToToggleEditorGroupSizes' },
683
+ "Controls how the editor group is resized when double clicking on a tab. This value is ignored when {0} is not set to {1}.",
684
+ '`#workbench.editor.showTabs#`',
685
+ '`multiple`'
650
686
  )),
651
687
  'enumDescriptions': [
652
688
  ( localizeWithPath(
@@ -929,27 +965,25 @@ const registry = ( Registry.as(Extensions$2.Configuration));
929
965
  'markdownDescription': ( localizeWithPath(
930
966
  'vs/workbench/browser/workbench.contribution',
931
967
  { comment: ['This is the description for a setting'], key: 'activityBarLocation' },
932
- "Controls the location of the activity bar. It can either show to the `side` or `top` (requires {0} set to {1}) of the primary side bar or `hidden`.",
933
- '`#window.titleBarStyle#`',
934
- '`custom`'
968
+ "Controls the location of the Activity Bar. It can either show to the `side` or `top` of the Primary Side Bar or `hidden`."
935
969
  )),
936
970
  'enumDescriptions': [
937
971
  ( localizeWithPath(
938
972
  'vs/workbench/browser/workbench.contribution',
939
973
  'workbench.activityBar.location.side',
940
- "Show the activity bar to the side of the primary side bar."
974
+ "Show the Activity Bar to the side of the Primary Side Bar."
941
975
  )),
942
976
  ( localizeWithPath(
943
977
  'vs/workbench/browser/workbench.contribution',
944
978
  'workbench.activityBar.location.top',
945
- "Show the activity bar on top of the primary side bar."
979
+ "Show the Activity Bar on top of the Primary Side Bar."
946
980
  )),
947
981
  ( localizeWithPath(
948
982
  'vs/workbench/browser/workbench.contribution',
949
983
  'workbench.activityBar.location.hide',
950
- "Hide the activity bar."
984
+ "Hide the Activity Bar."
951
985
  ))
952
- ]
986
+ ],
953
987
  },
954
988
  'workbench.activityBar.iconClickBehavior': {
955
989
  'type': 'string',
@@ -1076,7 +1110,7 @@ const registry = ( Registry.as(Extensions$2.Configuration));
1076
1110
  tags: ['accessibility'],
1077
1111
  enum: ['on', 'off', 'auto']
1078
1112
  },
1079
- 'workbench.layoutControl.enabled': {
1113
+ ["workbench.layoutControl.enabled" ]: {
1080
1114
  'type': 'boolean',
1081
1115
  'default': true,
1082
1116
  'markdownDescription': isWeb ?
@@ -1087,10 +1121,10 @@ const registry = ( Registry.as(Extensions$2.Configuration));
1087
1121
  )) :
1088
1122
  ( localizeWithPath(
1089
1123
  'vs/workbench/browser/workbench.contribution',
1090
- { key: 'layoutControlEnabled', comment: ['{0} is a placeholder for a setting identifier.'] },
1091
- "Controls whether the layout control is shown in the custom title bar. This setting only has an effect when {0} is set to {1}.",
1092
- '`#window.titleBarStyle#`',
1093
- '`custom`'
1124
+ { key: 'layoutControlEnabled', comment: ['{0}, {1} is a placeholder for a setting identifier.'] },
1125
+ "Controls whether the layout control is shown in the custom title bar. This setting only has an effect when {0} is not set to {1}.",
1126
+ '`#window.customTitleBarVisibility#`',
1127
+ '`never`'
1094
1128
  ))
1095
1129
  },
1096
1130
  'workbench.layoutControl.type': {
@@ -1268,10 +1302,10 @@ const registry = ( Registry.as(Extensions$2.Configuration));
1268
1302
  )) :
1269
1303
  ( localizeWithPath(
1270
1304
  'vs/workbench/browser/workbench.contribution',
1271
- { key: 'window.commandCenter', comment: ['{0} is a placeholder for a setting identifier.'] },
1272
- "Show command launcher together with the window title. This setting only has an effect when {0} is set to {1}.",
1273
- '`#window.titleBarStyle#`',
1274
- '`custom`'
1305
+ { key: 'window.commandCenter', comment: ['{0}, {1} is a placeholder for a setting identifier.'] },
1306
+ "Show command launcher together with the window title. This setting only has an effect when {0} is not set to {1}.",
1307
+ '`#window.customTitleBarVisibility#`',
1308
+ '`never`'
1275
1309
  ))
1276
1310
  },
1277
1311
  'window.menuBarVisibility': {
@@ -1312,7 +1346,7 @@ const registry = ( Registry.as(Extensions$2.Configuration));
1312
1346
  )) :
1313
1347
  ( localizeWithPath(
1314
1348
  'vs/workbench/browser/workbench.contribution',
1315
- { key: 'window.menuBarVisibility.compact', comment: ['{0} is a placeholder for a setting identifier.'] },
1349
+ { key: 'window.menuBarVisibility.compact', comment: ['{0}, {1} is a placeholder for a setting identifier.'] },
1316
1350
  "Menu is displayed as a compact button in the side bar. This value is ignored when {0} is {1}.",
1317
1351
  '`#window.titleBarStyle#`',
1318
1352
  '`native`'
@@ -1477,6 +1511,21 @@ const registry = ( Registry.as(Extensions$2.Configuration));
1477
1511
  }
1478
1512
  }
1479
1513
  });
1514
+ registry.registerConfiguration({
1515
+ ...problemsConfigurationNodeBase,
1516
+ 'properties': {
1517
+ 'problems.visibility': {
1518
+ 'type': 'boolean',
1519
+ 'default': true,
1520
+ 'tags': ['experimental'],
1521
+ 'description': ( localizeWithPath(
1522
+ 'vs/workbench/browser/workbench.contribution',
1523
+ 'problems.visibility',
1524
+ "Controls whether the problems are visible throughout the editor and workbench."
1525
+ )),
1526
+ },
1527
+ }
1528
+ });
1480
1529
  registry.registerConfiguration({
1481
1530
  'id': 'zenMode',
1482
1531
  'order': 9,
@@ -1511,7 +1560,7 @@ const registry = ( Registry.as(Extensions$2.Configuration));
1511
1560
  'description': ( localizeWithPath(
1512
1561
  'vs/workbench/browser/workbench.contribution',
1513
1562
  'zenMode.showTabs',
1514
- "Controls whether turning on Zen Mode should show multiple editor tabs, a single editor tab or hide the editor title area completely."
1563
+ "Controls whether turning on Zen Mode should show multiple editor tabs, a single editor tab, or hide the editor title area completely."
1515
1564
  )),
1516
1565
  'enumDescriptions': [
1517
1566
  ( localizeWithPath(
@@ -1,6 +1,8 @@
1
1
  import { MementoObject } from './memento.js';
2
2
  import { Themable, IThemeService } from '../../platform/theme/common/themeService.js';
3
- import { IStorageService, StorageScope, StorageTarget } from '../../platform/storage/common/storage.js';
3
+ import { IStorageService, StorageScope, StorageTarget, IStorageValueChangeEvent } from '../../platform/storage/common/storage.js';
4
+ import { DisposableStore } from '../../base/common/lifecycle.js';
5
+ import { Event } from '../../base/common/event.js';
4
6
 
5
7
  declare class Component extends Themable {
6
8
  private readonly id;
@@ -8,6 +10,8 @@ declare class Component extends Themable {
8
10
  constructor(id: string, themeService: IThemeService, storageService: IStorageService);
9
11
  getId(): string;
10
12
  protected getMemento(scope: StorageScope, target: StorageTarget): MementoObject;
13
+ protected reloadMemento(scope: StorageScope): void;
14
+ protected onDidChangeMementoValue(scope: StorageScope, disposables: DisposableStore): Event<IStorageValueChangeEvent>;
11
15
  protected saveState(): void;
12
16
  }
13
17
 
@@ -17,6 +17,12 @@ class Component extends Themable {
17
17
  getMemento(scope, target) {
18
18
  return this.memento.getMemento(scope, target);
19
19
  }
20
+ reloadMemento(scope) {
21
+ return this.memento.reloadMemento(scope);
22
+ }
23
+ onDidChangeMementoValue(scope, disposables) {
24
+ return this.memento.onDidChangeValue(scope, disposables);
25
+ }
20
26
  saveState() {
21
27
  }
22
28
  }