@codingame/monaco-vscode-api 3.2.2 → 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 (773) hide show
  1. package/README.md +22 -17
  2. package/api.js +4 -7
  3. package/debugProtocol.d.ts +14 -39
  4. package/extensions.d.ts +7 -1
  5. package/missing-services.js +122 -38
  6. package/monaco.d.ts +1 -1
  7. package/monaco.js +11 -1
  8. package/override/vs/platform/dialogs/common/dialogs.js +1 -0
  9. package/package.json +8 -8
  10. package/service-override/tools/editor.js +82 -3
  11. package/service-override/tools/views.d.ts +2 -1
  12. package/service-override/tools/views.js +5 -1
  13. package/services.js +7 -6
  14. package/vscode/src/vs/base/browser/dom.js +1 -7
  15. package/vscode/src/vs/base/browser/fonts.js +3 -0
  16. package/vscode/src/vs/base/browser/keyboardEvent.js +1 -1
  17. package/vscode/src/vs/base/browser/markdownRenderer.js +4 -4
  18. package/vscode/src/vs/base/browser/touch.js +13 -2
  19. package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.d.ts +1 -1
  20. package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +5 -6
  21. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +1 -1
  22. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +2 -2
  23. package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.d.ts +1 -0
  24. package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.js +4 -2
  25. package/vscode/src/vs/base/browser/ui/button/button.js +16 -9
  26. package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css.js +1 -1
  27. package/vscode/src/vs/base/browser/ui/contextview/contextview.d.ts +1 -0
  28. package/vscode/src/vs/base/browser/ui/contextview/contextview.js +1 -1
  29. package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +4 -4
  30. package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +3 -3
  31. package/vscode/src/vs/base/browser/ui/findinput/findInput.js +5 -0
  32. package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +4 -0
  33. package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +3 -1
  34. package/vscode/src/vs/base/browser/ui/grid/gridview.js +1 -0
  35. package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.js +14 -3
  36. package/vscode/src/vs/base/browser/ui/{iconLabel/iconHoverDelegate.d.ts → hover/hoverDelegate.d.ts} +3 -6
  37. package/vscode/src/vs/base/browser/ui/hover/{hoverDelegate.js → hoverDelegateFactory.js} +5 -5
  38. package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +1 -1
  39. package/vscode/src/vs/base/browser/ui/{iconLabel/iconLabelHover.d.ts → hover/updatableHoverWidget.d.ts} +6 -1
  40. package/vscode/src/vs/base/browser/ui/{iconLabel/iconLabelHover.js → hover/updatableHoverWidget.js} +27 -7
  41. package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +10 -9
  42. package/vscode/src/vs/base/browser/ui/iconLabel/simpleIconLabel.js +11 -1
  43. package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +19 -1
  44. package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +8 -7
  45. package/vscode/src/vs/base/browser/ui/list/listView.js +4 -1
  46. package/vscode/src/vs/base/browser/ui/list/listWidget.js +27 -10
  47. package/vscode/src/vs/base/browser/ui/menu/menu.js +15 -9
  48. package/vscode/src/vs/base/browser/ui/menu/menubar.js +15 -8
  49. package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +18 -2
  50. package/vscode/src/vs/base/browser/ui/selectBox/selectBox.js +1 -0
  51. package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +14 -7
  52. package/vscode/src/vs/base/browser/ui/table/tableWidget.js +6 -4
  53. package/vscode/src/vs/base/browser/ui/toggle/toggle.js +7 -6
  54. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +2 -2
  55. package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +55 -10
  56. package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.js +4 -1
  57. package/vscode/src/vs/base/browser/window.d.ts +5 -0
  58. package/vscode/src/vs/base/browser/window.js +1 -2
  59. package/vscode/src/vs/base/common/arrays.js +20 -1
  60. package/vscode/src/vs/base/common/cache.js +3 -2
  61. package/vscode/src/vs/base/common/codicons.d.ts +62 -38
  62. package/vscode/src/vs/base/common/codicons.js +19 -571
  63. package/vscode/src/vs/base/common/codiconsLibrary.js +570 -0
  64. package/vscode/src/vs/base/common/codiconsUtil.js +17 -0
  65. package/vscode/src/vs/base/common/event.js +4 -1
  66. package/vscode/src/vs/base/common/glob.js +1 -0
  67. package/vscode/src/vs/base/common/hierarchicalKind.d.ts +13 -0
  68. package/vscode/src/vs/base/common/hierarchicalKind.js +21 -0
  69. package/vscode/src/vs/base/common/labels.js +2 -2
  70. package/vscode/src/vs/base/common/network.js +14 -5
  71. package/vscode/src/vs/base/common/observableInternal/promise.js +1 -0
  72. package/vscode/src/vs/base/common/observableInternal/utils.js +35 -14
  73. package/vscode/src/vs/base/common/platform.js +1 -1
  74. package/vscode/src/vs/base/common/product.d.ts +7 -1
  75. package/vscode/src/vs/base/common/severity.js +2 -1
  76. package/vscode/src/vs/base/common/strings.js +16 -4
  77. package/vscode/src/vs/base/parts/ipc/common/ipc.js +4 -0
  78. package/vscode/src/vs/editor/browser/controller/mouseHandler.js +5 -5
  79. package/vscode/src/vs/editor/browser/controller/mouseTarget.js +55 -43
  80. package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +5 -5
  81. package/vscode/src/vs/editor/browser/coreCommands.js +13 -13
  82. package/vscode/src/vs/editor/browser/editorDom.js +11 -1
  83. package/vscode/src/vs/editor/browser/editorExtensions.js +1 -1
  84. package/vscode/src/vs/editor/browser/services/editorWorkerService.js +10 -2
  85. package/vscode/src/vs/editor/browser/services/hoverService/hoverService.d.ts +31 -0
  86. package/vscode/src/vs/editor/browser/services/{hoverService.js → hoverService/hoverService.js} +38 -27
  87. package/vscode/src/vs/editor/browser/{widget/hoverWidget → services/hoverService}/hoverWidget.js +13 -14
  88. package/vscode/src/vs/editor/browser/view/viewLayer.js +4 -4
  89. package/vscode/src/vs/editor/browser/view/viewOverlays.js +12 -23
  90. package/vscode/src/vs/editor/browser/view.js +5 -5
  91. package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.js +1 -1
  92. package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +3 -3
  93. package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.css.js +1 -1
  94. package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js +4 -6
  95. package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.css.js +1 -1
  96. package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.js +8 -14
  97. package/vscode/src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js +2 -2
  98. package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +2 -2
  99. package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.css.js +1 -1
  100. package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.js +3 -6
  101. package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.css.js +1 -1
  102. package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.js +5 -1
  103. package/vscode/src/vs/editor/browser/viewParts/lines/viewLine.js +4 -4
  104. package/vscode/src/vs/editor/browser/viewParts/lines/viewLines.css.js +1 -1
  105. package/vscode/src/vs/editor/browser/viewParts/lines/viewLines.js +5 -5
  106. package/vscode/src/vs/editor/browser/viewParts/linesDecorations/linesDecorations.js +2 -2
  107. package/vscode/src/vs/editor/browser/viewParts/margin/margin.js +2 -2
  108. package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.js +142 -27
  109. package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js +2 -2
  110. package/vscode/src/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.js +34 -16
  111. package/vscode/src/vs/editor/browser/viewParts/overviewRuler/overviewRuler.js +3 -3
  112. package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.js +1 -1
  113. package/vscode/src/vs/editor/browser/viewParts/selections/selections.js +23 -20
  114. package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.js +25 -3
  115. package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.js +21 -13
  116. package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.js +2 -2
  117. package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.js +2 -2
  118. package/vscode/src/vs/editor/browser/widget/{codeEditorContributions.js → codeEditor/codeEditorContributions.js} +3 -3
  119. package/vscode/src/vs/editor/browser/widget/{codeEditorWidget.js → codeEditor/codeEditorWidget.js} +81 -70
  120. package/vscode/src/vs/editor/browser/widget/codeEditor/editor.css.js +4 -0
  121. package/vscode/src/vs/editor/browser/widget/codeEditor/embeddedCodeEditorWidget.js +44 -0
  122. package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +281 -0
  123. package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +7 -5
  124. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorDecorations.js +4 -1
  125. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +15 -9
  126. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorSash.js +2 -0
  127. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +9 -8
  128. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +1 -1
  129. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +33 -246
  130. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +22 -7
  131. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +5 -5
  132. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +71 -41
  133. package/vscode/src/vs/editor/browser/widget/diffEditor/embeddedDiffEditorWidget.js +36 -0
  134. package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +227 -0
  135. package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +22 -19
  136. package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +5 -4
  137. package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +15 -4
  138. package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +13 -5
  139. package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +11 -1
  140. package/vscode/src/vs/editor/browser/widget/diffEditor/style.css.js +1 -1
  141. package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +104 -0
  142. package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +8 -15
  143. package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/colors.js +14 -4
  144. package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/diffEditorItemTemplate.js +6 -5
  145. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/model.js +14 -0
  146. package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/multiDiffEditorViewModel.js +5 -2
  147. package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/multiDiffEditorWidget.js +5 -3
  148. package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/multiDiffEditorWidgetImpl.js +9 -10
  149. package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/style.css.js +1 -1
  150. package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/utils.js +2 -1
  151. package/vscode/src/vs/editor/common/commands/trimTrailingWhitespaceCommand.js +14 -3
  152. package/vscode/src/vs/editor/common/config/diffEditor.js +1 -0
  153. package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +10 -1
  154. package/vscode/src/vs/editor/common/config/editorOptions.d.ts +23 -0
  155. package/vscode/src/vs/editor/common/config/editorOptions.js +115 -33
  156. package/vscode/src/vs/editor/common/core/editorColorRegistry.js +32 -2
  157. package/vscode/src/vs/editor/common/core/lineRange.d.ts +1 -0
  158. package/vscode/src/vs/editor/common/core/lineRange.js +12 -0
  159. package/vscode/src/vs/editor/common/core/positionToOffset.js +43 -0
  160. package/vscode/src/vs/editor/common/core/textEdit.js +169 -0
  161. package/vscode/src/vs/editor/common/core/textLength.js +110 -0
  162. package/vscode/src/vs/editor/common/core/wordCharacterClassifier.d.ts +14 -2
  163. package/vscode/src/vs/editor/common/core/wordCharacterClassifier.js +66 -10
  164. package/vscode/src/vs/editor/common/core/wordHelper.js +1 -0
  165. package/vscode/src/vs/editor/common/cursor/cursor.js +17 -4
  166. package/vscode/src/vs/editor/common/cursor/cursorTypeOperations.js +1 -1
  167. package/vscode/src/vs/editor/common/cursor/cursorWordOperations.js +22 -3
  168. package/vscode/src/vs/editor/common/cursorCommon.js +7 -5
  169. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +7 -4
  170. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js +1 -1
  171. package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +2 -0
  172. package/vscode/src/vs/editor/common/diff/rangeMapping.js +10 -0
  173. package/vscode/src/vs/editor/common/editorContextKeys.js +25 -0
  174. package/vscode/src/vs/editor/common/languages.d.ts +43 -11
  175. package/vscode/src/vs/editor/common/languages.js +15 -1
  176. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.js +1 -1
  177. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/length.js +3 -58
  178. package/vscode/src/vs/editor/common/model/textModel.js +2 -0
  179. package/vscode/src/vs/editor/common/model/textModelSearch.js +1 -1
  180. package/vscode/src/vs/editor/common/model/textModelText.js +17 -0
  181. package/vscode/src/vs/editor/common/model/textModelTokens.js +4 -0
  182. package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +10 -0
  183. package/vscode/src/vs/editor/common/model.d.ts +17 -2
  184. package/vscode/src/vs/editor/common/model.js +1 -6
  185. package/vscode/src/vs/editor/common/services/editorSimpleWorker.js +8 -0
  186. package/vscode/src/vs/editor/common/services/editorWorker.d.ts +2 -0
  187. package/vscode/src/vs/editor/common/services/findSectionHeaders.d.ts +28 -0
  188. package/vscode/src/vs/editor/common/services/findSectionHeaders.js +71 -0
  189. package/vscode/src/vs/editor/common/services/markerDecorationsService.js +15 -5
  190. package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +32 -20
  191. package/vscode/src/vs/editor/common/viewLayout/linesLayout.js +2 -1
  192. package/vscode/src/vs/editor/common/viewLayout/viewLayout.js +5 -5
  193. package/vscode/src/vs/editor/common/viewLayout/viewLinesViewportData.js +1 -0
  194. package/vscode/src/vs/editor/common/viewModel/modelLineProjection.js +1 -1
  195. package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +2 -2
  196. package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +10 -7
  197. package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +11 -1
  198. package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +6 -5
  199. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +5 -4
  200. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +25 -3
  201. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionKeybindingResolver.js +3 -2
  202. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +3 -2
  203. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +13 -2
  204. package/vscode/src/vs/editor/contrib/codeAction/common/types.js +18 -33
  205. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorContributions.js +1 -1
  206. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +3 -3
  207. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +1 -1
  208. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +11 -1
  209. package/vscode/src/vs/editor/contrib/comment/browser/comment.js +1 -1
  210. package/vscode/src/vs/editor/contrib/comment/browser/lineCommentCommand.js +9 -9
  211. package/vscode/src/vs/editor/contrib/diffEditorBreadcrumbs/browser/contribution.js +5 -3
  212. package/vscode/src/vs/editor/contrib/documentSymbols/browser/outlineModel.js +1 -1
  213. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +40 -20
  214. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +83 -47
  215. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +40 -31
  216. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +16 -1
  217. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +8 -8
  218. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/edit.js +5 -3
  219. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +7 -6
  220. package/vscode/src/vs/editor/contrib/find/browser/findDecorations.js +14 -4
  221. package/vscode/src/vs/editor/contrib/find/browser/findModel.js +6 -6
  222. package/vscode/src/vs/editor/contrib/find/browser/findOptionsWidget.js +16 -1
  223. package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +23 -3
  224. package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +12 -3
  225. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +11 -1
  226. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +3 -3
  227. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +5 -3
  228. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +1 -1
  229. package/vscode/src/vs/editor/contrib/hover/browser/hover.js +12 -2
  230. package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +3 -91
  231. package/vscode/src/vs/editor/contrib/indentation/common/indentation.js +92 -0
  232. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +14 -4
  233. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/commands.js +4 -0
  234. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/ghostText.js +18 -19
  235. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/ghostTextWidget.js +5 -4
  236. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +4 -2
  237. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys.js +4 -1
  238. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +6 -5
  239. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +5 -4
  240. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.js +28 -19
  241. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsSource.js +7 -4
  242. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/provideInlineCompletions.js +1 -1
  243. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/singleTextEdit.js +64 -72
  244. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/suggestWidgetInlineCompletionProvider.js +11 -5
  245. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +5 -85
  246. package/vscode/src/vs/editor/contrib/inlineEdit/browser/commands.js +2 -2
  247. package/vscode/src/vs/editor/contrib/inlineEdit/browser/ghostTextWidget.js +6 -4
  248. package/vscode/src/vs/editor/contrib/inlineEdit/browser/hoverParticipant.js +4 -1
  249. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditController.js +28 -17
  250. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditHintsWidget.js +5 -4
  251. package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  252. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +53 -6
  253. package/vscode/src/vs/editor/contrib/linesOperations/browser/moveLinesCommand.js +1 -1
  254. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +11 -1
  255. package/vscode/src/vs/editor/contrib/links/browser/links.js +2 -2
  256. package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +7 -7
  257. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +11 -1
  258. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +12 -2
  259. package/vscode/src/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.js +1 -1
  260. package/vscode/src/vs/editor/contrib/rename/browser/rename.js +27 -33
  261. package/vscode/src/vs/editor/contrib/rename/browser/{renameInputField.js → renameWidget.js} +282 -194
  262. package/vscode/src/vs/editor/contrib/sectionHeaders/browser/sectionHeaders.js +154 -0
  263. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.js +60 -61
  264. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +23 -14
  265. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +1 -1
  266. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +12 -2
  267. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +11 -1
  268. package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +1 -1
  269. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +16 -6
  270. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +2 -2
  271. package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +12 -12
  272. package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.js +2 -2
  273. package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +1 -1
  274. package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.js +2 -2
  275. package/vscode/src/vs/editor/standalone/browser/standaloneLayoutService.js +1 -1
  276. package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +12 -12
  277. package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.js +11 -1
  278. package/vscode/src/vs/editor/standalone/common/themes.js +11 -1
  279. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +16 -9
  280. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +42 -18
  281. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +16 -5
  282. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +11 -1
  283. package/vscode/src/vs/platform/actions/browser/buttonbar.js +13 -5
  284. package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +3 -1
  285. package/vscode/src/vs/platform/actions/browser/floatingMenu.js +11 -1
  286. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +11 -1
  287. package/vscode/src/vs/platform/actions/common/actions.d.ts +7 -0
  288. package/vscode/src/vs/platform/actions/common/actions.js +7 -0
  289. package/vscode/src/vs/platform/contextview/browser/contextView.d.ts +1 -0
  290. package/vscode/src/vs/platform/contextview/browser/contextViewService.js +12 -15
  291. package/vscode/src/vs/platform/dialogs/common/dialogs.js +4 -2
  292. package/vscode/src/vs/platform/editor/common/editor.d.ts +12 -0
  293. package/vscode/src/vs/platform/environment/common/environmentService.js +6 -0
  294. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +19 -7
  295. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +7 -1
  296. package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +333 -0
  297. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +901 -0
  298. package/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.js +3 -4
  299. package/vscode/src/vs/platform/extensions/common/extensionValidator.js +16 -16
  300. package/vscode/src/vs/platform/extensions/common/extensions.js +5 -1
  301. package/vscode/src/vs/platform/files/common/files.d.ts +1 -11
  302. package/vscode/src/vs/platform/files/common/files.js +2 -0
  303. package/vscode/src/vs/platform/files/common/watcher.js +2 -0
  304. package/vscode/src/vs/platform/hover/browser/hover.d.ts +1 -1
  305. package/vscode/src/vs/platform/hover/browser/hover.js +21 -6
  306. package/vscode/src/vs/platform/keyboardLayout/common/keyboardLayout.js +1 -0
  307. package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +5 -0
  308. package/vscode/src/vs/platform/layout/browser/layoutService.d.ts +8 -6
  309. package/vscode/src/vs/platform/log/browser/log.js +1 -0
  310. package/vscode/src/vs/platform/log/common/log.js +13 -1
  311. package/vscode/src/vs/platform/markers/common/markerService.js +1 -1
  312. package/vscode/src/vs/platform/markers/common/markers.js +9 -9
  313. package/vscode/src/vs/platform/opener/browser/link.js +16 -4
  314. package/vscode/src/vs/platform/policy/common/policy.js +2 -0
  315. package/vscode/src/vs/platform/product/common/product.js +2 -1
  316. package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css.js +1 -1
  317. package/vscode/src/vs/platform/quickinput/browser/pickerQuickAccess.js +36 -33
  318. package/vscode/src/vs/platform/quickinput/browser/quickAccess.js +5 -0
  319. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +38 -9
  320. package/vscode/src/vs/platform/quickinput/browser/quickInputBox.js +7 -4
  321. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +22 -12
  322. package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +13 -5
  323. package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1348 -0
  324. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  325. package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +14 -0
  326. package/vscode/src/vs/platform/remote/common/remoteAgentConnection.js +2 -2
  327. package/vscode/src/vs/platform/remote/common/remoteHosts.js +1 -4
  328. package/vscode/src/vs/platform/secrets/common/secrets.js +5 -0
  329. package/vscode/src/vs/platform/severityIcon/browser/severityIcon.js +5 -5
  330. package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +2 -0
  331. package/vscode/src/vs/platform/terminal/common/capabilities/capabilities.d.ts +1 -1
  332. package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +3 -9
  333. package/vscode/src/vs/platform/terminal/common/terminal.d.ts +6 -1
  334. package/vscode/src/vs/platform/terminal/common/terminal.js +1 -0
  335. package/vscode/src/vs/platform/terminal/common/terminalEnvironment.js +4 -1
  336. package/vscode/src/vs/platform/theme/browser/defaultStyles.js +11 -1
  337. package/vscode/src/vs/platform/theme/common/colorUtils.js +187 -0
  338. package/vscode/src/vs/platform/theme/common/colors/baseColors.js +89 -0
  339. package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +46 -0
  340. package/vscode/src/vs/platform/theme/common/colors/editorColors.js +469 -0
  341. package/vscode/src/vs/platform/theme/common/colors/inputColors.js +196 -0
  342. package/vscode/src/vs/platform/theme/common/colors/listColors.js +166 -0
  343. package/vscode/src/vs/platform/theme/common/colors/menuColors.js +41 -0
  344. package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +61 -0
  345. package/vscode/src/vs/platform/theme/common/colors/miscColors.js +45 -0
  346. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +51 -0
  347. package/vscode/src/vs/platform/theme/common/colors/searchColors.js +19 -0
  348. package/vscode/src/vs/platform/theme/common/iconRegistry.js +2 -1
  349. package/vscode/src/vs/platform/theme/common/themeService.d.ts +1 -1
  350. package/vscode/src/vs/platform/tunnel/common/tunnel.js +2 -0
  351. package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +2 -2
  352. package/vscode/src/vs/platform/update/common/update.js +1 -1
  353. package/vscode/src/vs/platform/uriIdentity/common/uriIdentityService.js +1 -0
  354. package/vscode/src/vs/platform/userDataProfile/common/userDataProfileIpc.js +2 -0
  355. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +69 -32
  356. package/vscode/src/vs/workbench/api/common/extHost.common.services.js +6 -0
  357. package/vscode/src/vs/workbench/api/common/extHost.protocol.js +3 -1
  358. package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +12 -5
  359. package/vscode/src/vs/workbench/api/common/extHostChat.js +0 -8
  360. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +58 -88
  361. package/vscode/src/vs/workbench/api/common/extHostChatVariables.js +8 -4
  362. package/vscode/src/vs/workbench/api/common/extHostComments.js +49 -13
  363. package/vscode/src/vs/workbench/api/common/extHostDebugService.js +16 -17
  364. package/vscode/src/vs/workbench/api/common/extHostEditorTabs.js +3 -1
  365. package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.js +1 -1
  366. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +17 -4
  367. package/vscode/src/vs/workbench/api/common/extHostInlineChat.js +1 -1
  368. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +57 -40
  369. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +305 -0
  370. package/vscode/src/vs/workbench/api/common/extHostLanguages.js +2 -2
  371. package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +1 -1
  372. package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +26 -6
  373. package/vscode/src/vs/workbench/api/common/extHostQuickOpen.js +9 -9
  374. package/vscode/src/vs/workbench/api/common/extHostSCM.js +1 -1
  375. package/vscode/src/vs/workbench/api/common/extHostSearch.js +34 -3
  376. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +1 -1
  377. package/vscode/src/vs/workbench/api/common/extHostTask.js +1 -0
  378. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +32 -18
  379. package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +214 -0
  380. package/vscode/src/vs/workbench/api/common/extHostTesting.js +85 -98
  381. package/vscode/src/vs/workbench/api/common/extHostTimeline.js +1 -0
  382. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +5 -2
  383. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +119 -70
  384. package/vscode/src/vs/workbench/api/common/extHostTypes.js +90 -28
  385. package/vscode/src/vs/workbench/browser/actions/developerActions.js +4 -4
  386. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +2 -2
  387. package/vscode/src/vs/workbench/browser/actions/windowActions.js +3 -3
  388. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +3 -3
  389. package/vscode/src/vs/workbench/browser/codeeditor.js +1 -1
  390. package/vscode/src/vs/workbench/browser/composite.d.ts +3 -5
  391. package/vscode/src/vs/workbench/browser/composite.js +2 -10
  392. package/vscode/src/vs/workbench/browser/editor.js +2 -2
  393. package/vscode/src/vs/workbench/browser/labels.js +2 -1
  394. package/vscode/src/vs/workbench/browser/media/part.css.js +1 -1
  395. package/vscode/src/vs/workbench/browser/media/style.css.js +1 -1
  396. package/vscode/src/vs/workbench/browser/part.d.ts +25 -3
  397. package/vscode/src/vs/workbench/browser/part.js +84 -9
  398. package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +67 -10
  399. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +2 -2
  400. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +92 -14
  401. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/media/auxiliaryBarPart.css.js +1 -1
  402. package/vscode/src/vs/workbench/browser/parts/compositeBar.js +5 -4
  403. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +13 -3
  404. package/vscode/src/vs/workbench/browser/parts/compositePart.js +13 -5
  405. package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +12 -0
  406. package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +10 -10
  407. package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +3 -3
  408. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +8 -7
  409. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +16 -8
  410. package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +217 -0
  411. package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +14 -16
  412. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +2 -2
  413. package/vscode/src/vs/workbench/browser/parts/editor/editorAutoSave.js +8 -7
  414. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +4 -202
  415. package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +1 -1
  416. package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +11 -1
  417. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +92 -23
  418. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +15 -3
  419. package/vscode/src/vs/workbench/browser/parts/editor/editorPane.d.ts +7 -8
  420. package/vscode/src/vs/workbench/browser/parts/editor/editorPane.js +7 -6
  421. package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +12 -32
  422. package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +11 -1
  423. package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +1 -0
  424. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +27 -28
  425. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +19 -20
  426. package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +12 -2
  427. package/vscode/src/vs/workbench/browser/parts/editor/editorWithViewState.js +14 -17
  428. package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +11 -1
  429. package/vscode/src/vs/workbench/browser/parts/editor/multiRowEditorTabsControl.js +12 -12
  430. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +16 -16
  431. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +3 -3
  432. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +17 -17
  433. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +36 -13
  434. package/vscode/src/vs/workbench/browser/parts/editor/textResourceEditor.js +22 -22
  435. package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +29 -21
  436. package/vscode/src/vs/workbench/browser/parts/media/compositepart.css.js +1 -1
  437. package/vscode/src/vs/workbench/browser/parts/media/paneCompositePart.css.js +1 -1
  438. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +13 -2
  439. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +11 -1
  440. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +16 -16
  441. package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +1 -0
  442. package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +122 -33
  443. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +14 -3
  444. package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +15 -2
  445. package/vscode/src/vs/workbench/browser/parts/sidebar/media/sidebarpart.css.js +1 -1
  446. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.js +37 -0
  447. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +36 -18
  448. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +7 -4
  449. package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +6 -4
  450. package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +2 -3
  451. package/vscode/src/vs/workbench/browser/parts/views/media/views.css.js +1 -1
  452. package/vscode/src/vs/workbench/browser/parts/views/treeView.js +3 -3
  453. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +13 -3
  454. package/vscode/src/vs/workbench/browser/parts/views/viewPane.d.ts +6 -0
  455. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +28 -11
  456. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +19 -15
  457. package/vscode/src/vs/workbench/browser/quickaccess.js +42 -15
  458. package/vscode/src/vs/workbench/browser/style.js +52 -3
  459. package/vscode/src/vs/workbench/browser/web.api.d.ts +6 -0
  460. package/vscode/src/vs/workbench/browser/window.js +28 -20
  461. package/vscode/src/vs/workbench/browser/workbench.contribution.js +83 -9
  462. package/vscode/src/vs/workbench/common/component.js +0 -1
  463. package/vscode/src/vs/workbench/common/contextkeys.js +4 -4
  464. package/vscode/src/vs/workbench/common/editor/editorGroupModel.js +59 -5
  465. package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +10 -0
  466. package/vscode/src/vs/workbench/common/editor/editorInput.js +3 -0
  467. package/vscode/src/vs/workbench/common/editor/filteredEditorGroupModel.js +1 -0
  468. package/vscode/src/vs/workbench/common/editor/resourceEditorInput.d.ts +3 -1
  469. package/vscode/src/vs/workbench/common/editor/resourceEditorInput.js +7 -3
  470. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +3 -3
  471. package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.d.ts +2 -1
  472. package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.js +9 -6
  473. package/vscode/src/vs/workbench/common/editor.d.ts +33 -13
  474. package/vscode/src/vs/workbench/common/editor.js +6 -7
  475. package/vscode/src/vs/workbench/common/theme.js +45 -5
  476. package/vscode/src/vs/workbench/common/views.d.ts +1 -0
  477. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +59 -184
  478. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +1 -0
  479. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +140 -13
  480. package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +1 -1
  481. package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignal.contribution.js +1 -0
  482. package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignalDebuggerContribution.js +4 -2
  483. package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignalLineFeatureContribution.js +35 -36
  484. package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/commands.js +1 -1
  485. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +1 -1
  486. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +4 -5
  487. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +21 -12
  488. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +70 -32
  489. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +4 -1
  490. package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +4 -1
  491. package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +118 -0
  492. package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +11 -6
  493. package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +154 -61
  494. package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +186 -224
  495. package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer.js +6 -75
  496. package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +158 -49
  497. package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +84 -175
  498. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +38 -5
  499. package/vscode/src/vs/workbench/contrib/chat/browser/media/chat.css.js +1 -1
  500. package/vscode/src/vs/workbench/contrib/chat/common/annotations.js +105 -0
  501. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +137 -43
  502. package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +44 -0
  503. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +17 -1
  504. package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +82 -34
  505. package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +17 -3
  506. package/vscode/src/vs/workbench/contrib/chat/common/chatRequestParser.js +20 -22
  507. package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +68 -9
  508. package/vscode/src/vs/workbench/contrib/chat/common/codeBlockModelCollection.js +115 -0
  509. package/vscode/src/vs/workbench/contrib/chat/common/{chatProvider.js → languageModels.js} +9 -9
  510. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +5 -4
  511. package/vscode/src/vs/workbench/contrib/codeActions/browser/documentationContribution.js +2 -1
  512. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +5 -5
  513. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +33 -7
  514. package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +11 -1
  515. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +3 -3
  516. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +9 -6
  517. package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +13 -3
  518. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +1 -1
  519. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +2 -2
  520. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +1 -1
  521. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +1 -1
  522. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +6 -6
  523. package/vscode/src/vs/workbench/contrib/codeEditor/{browser → common}/languageConfigurationExtensionPoint.js +79 -74
  524. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +11 -1
  525. package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +11 -1
  526. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +25 -18
  527. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +14 -2
  528. package/vscode/src/vs/workbench/contrib/comments/browser/commentService.js +80 -52
  529. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +12 -2
  530. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +33 -13
  531. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +129 -57
  532. package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +15 -15
  533. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +145 -20
  534. package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +61 -95
  535. package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +2 -2
  536. package/vscode/src/vs/workbench/contrib/comments/browser/media/panel.css.js +1 -1
  537. package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +2 -2
  538. package/vscode/src/vs/workbench/contrib/comments/browser/timestamp.js +4 -3
  539. package/vscode/src/vs/workbench/contrib/comments/common/commentModel.js +18 -11
  540. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditor.contribution.js +6 -0
  541. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +62 -4
  542. package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +6 -4
  543. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +34 -5
  544. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +48 -29
  545. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +216 -23
  546. package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +11 -1
  547. package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -2
  548. package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +6 -1
  549. package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +23 -5
  550. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +24 -1
  551. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.d.ts +15 -1
  552. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +30 -6
  553. package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +2 -2
  554. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +106 -37
  555. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +1 -1
  556. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpener.contribution.js +1 -0
  557. package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +8 -11
  558. package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorInput.js +5 -3
  559. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +23 -24
  560. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +17 -12
  561. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +3 -3
  562. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +9 -9
  563. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.save.js +1 -1
  564. package/vscode/src/vs/workbench/contrib/files/browser/files.configuration.contribution.js +10 -0
  565. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +11 -1
  566. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +11 -1
  567. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +1 -3
  568. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +1 -1
  569. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +15 -6
  570. package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +4 -8
  571. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +674 -0
  572. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatContentWidget.js +154 -0
  573. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +316 -344
  574. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatFileCreationWidget.js +223 -0
  575. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +8 -25
  576. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +427 -0
  577. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +45 -160
  578. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +358 -702
  579. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +165 -0
  580. package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChat.css.js +4 -0
  581. package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChatContentWidget.css.js +4 -0
  582. package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +1 -1
  583. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +16 -27
  584. package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveEditorInput.js +19 -4
  585. package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +9 -9
  586. package/vscode/src/vs/workbench/contrib/languageStatus/browser/media/languageStatus.css.js +1 -1
  587. package/vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js +2 -2
  588. package/vscode/src/vs/workbench/contrib/logs/common/defaultLogLevels.js +17 -2
  589. package/vscode/src/vs/workbench/contrib/logs/common/logsActions.js +236 -0
  590. package/vscode/src/vs/workbench/contrib/markdown/browser/markdownDocumentRenderer.js +2 -2
  591. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +9 -4
  592. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +8 -6
  593. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeMarkers/mergeMarkersController.js +8 -0
  594. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +5 -5
  595. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/rangeUtils.js +5 -5
  596. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +2 -0
  597. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/utils.js +4 -2
  598. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/colors.js +11 -1
  599. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +5 -3
  600. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editorGutter.js +5 -3
  601. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js +6 -4
  602. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/codeEditorView.js +5 -4
  603. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js +7 -5
  604. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js +6 -4
  605. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/lineAlignment.js +2 -2
  606. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +23 -19
  607. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/scrollSynchronizer.js +4 -1
  608. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +5 -3
  609. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +9 -0
  610. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +303 -0
  611. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +655 -0
  612. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnostics.js +101 -0
  613. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +56 -1
  614. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findMatchDecorationModel.js +11 -1
  615. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +11 -4
  616. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +29 -0
  617. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +888 -0
  618. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +2 -1
  619. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +1 -1
  620. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebook.css.js +1 -1
  621. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookFolding.css.js +1 -1
  622. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookOutline.css.js +1 -1
  623. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookToolbar.css.js +1 -1
  624. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +88 -0
  625. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +60 -46
  626. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +42 -52
  627. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.js +18 -7
  628. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +1 -1
  629. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellContextKeys.js +28 -1
  630. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.js +2 -2
  631. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.js +11 -7
  632. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +2 -1
  633. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +48 -4
  634. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +1 -1
  635. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +3 -1
  636. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.js +13 -2
  637. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +57 -10
  638. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +11 -4
  639. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +161 -15
  640. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +4 -2
  641. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +21 -2
  642. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/foldingModel.js +1 -1
  643. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +5 -0
  644. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +14 -4
  645. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineProvider.js +14 -8
  646. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +3 -0
  647. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +25 -64
  648. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.js +27 -22
  649. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +1 -1
  650. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +4 -4
  651. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookTopCellToolbar.js +2 -2
  652. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +8 -1
  653. package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.js +3 -1
  654. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +7 -14
  655. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +4 -4
  656. package/vscode/src/vs/workbench/contrib/outline/browser/outline.js +10 -0
  657. package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +16 -4
  658. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +17 -4
  659. package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +11 -1
  660. package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +26 -8
  661. package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +16 -6
  662. package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +11 -1
  663. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +18 -8
  664. package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchService.js +235 -0
  665. package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +182 -69
  666. package/vscode/src/vs/workbench/contrib/search/common/constants.js +2 -0
  667. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +203 -1
  668. package/vscode/src/vs/workbench/contrib/tags/browser/workspaceTagsService.js +3 -0
  669. package/vscode/src/vs/workbench/contrib/tags/common/workspaceTags.js +2 -0
  670. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +11 -3
  671. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +2 -2
  672. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.js +58 -8
  673. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.js +3 -1
  674. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +1 -0
  675. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +12 -1
  676. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +11 -1
  677. package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.js +53 -57
  678. package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.js +11 -26
  679. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +6 -3
  680. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +12 -12
  681. package/vscode/src/vs/workbench/contrib/testing/common/testingContextKeys.js +8 -0
  682. package/vscode/src/vs/workbench/contrib/timeline/common/timeline.js +2 -0
  683. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +1 -1
  684. package/vscode/src/vs/workbench/contrib/webview/browser/overlayWebview.js +30 -7
  685. package/vscode/src/vs/workbench/contrib/webview/browser/themeing.js +12 -2
  686. package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +50 -41
  687. package/vscode/src/vs/workbench/contrib/webview/browser/webviewWindowDragMonitor.js +4 -5
  688. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +20 -22
  689. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput.js +4 -1
  690. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +1 -0
  691. package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.js +3 -3
  692. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js +1 -1
  693. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.js +2 -0
  694. package/vscode/src/vs/workbench/services/assignment/common/assignmentService.js +6 -0
  695. package/vscode/src/vs/workbench/services/authentication/browser/authenticationAccessService.js +69 -0
  696. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +69 -811
  697. package/vscode/src/vs/workbench/services/authentication/browser/authenticationUsageService.js +50 -0
  698. package/vscode/src/vs/workbench/services/authentication/common/authentication.js +2 -1
  699. package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +50 -25
  700. package/vscode/src/vs/workbench/services/banner/browser/bannerService.d.ts +1 -1
  701. package/vscode/src/vs/workbench/services/editor/browser/codeEditorService.js +1 -0
  702. package/vscode/src/vs/workbench/services/editor/browser/editorPaneService.js +1 -0
  703. package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +21 -17
  704. package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.d.ts +12 -0
  705. package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.js +144 -0
  706. package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +10 -6
  707. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +3 -3
  708. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.d.ts +16 -4
  709. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +12 -1
  710. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +46 -121
  711. package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.d.ts +5 -2
  712. package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +6 -3
  713. package/vscode/src/vs/workbench/services/extensions/common/extensionsApiProposals.js +9 -1
  714. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +4 -4
  715. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.d.ts +2 -1
  716. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +8 -1
  717. package/vscode/src/vs/workbench/services/history/browser/historyService.js +44 -36
  718. package/vscode/src/vs/workbench/services/history/common/history.d.ts +0 -5
  719. package/vscode/src/vs/workbench/services/language/common/languageService.js +4 -3
  720. package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +2 -1
  721. package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +2 -1
  722. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.js +8 -6
  723. package/vscode/src/vs/workbench/services/output/common/output.js +4 -1
  724. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +2 -2
  725. package/vscode/src/vs/workbench/services/search/common/search.js +1 -0
  726. package/vscode/src/vs/workbench/services/search/common/textSearchManager.js +15 -5
  727. package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +6 -1
  728. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +1 -1
  729. package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +1 -1
  730. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +11 -1
  731. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorInput.js +5 -3
  732. package/vscode/src/vs/workbench/services/userActivity/common/userActivityService.js +1 -1
  733. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +1 -0
  734. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +7 -7
  735. package/vscode-dts/vscode.proposed.aiTextSearchProvider.d.ts +261 -0
  736. package/vscode-dts/vscode.proposed.authLearnMore.d.ts +16 -0
  737. package/vscode-dts/vscode.proposed.chatParticipant.d.ts +49 -78
  738. package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +13 -16
  739. package/vscode-dts/vscode.proposed.chatProvider.d.ts +1 -1
  740. package/vscode-dts/vscode.proposed.commentThreadApplicability.d.ts +32 -0
  741. package/vscode-dts/vscode.proposed.commentingRangeHint.d.ts +16 -0
  742. package/vscode-dts/vscode.proposed.contribCommentsViewThreadMenus.d.ts +6 -0
  743. package/vscode-dts/vscode.proposed.contribDiffEditorGutterToolBarMenus.d.ts +6 -0
  744. package/vscode-dts/vscode.proposed.debugFocus.d.ts +15 -23
  745. package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +10 -0
  746. package/vscode-dts/vscode.proposed.documentPaste.d.ts +115 -30
  747. package/vscode-dts/vscode.proposed.dropMetadata.d.ts +19 -14
  748. package/vscode-dts/vscode.proposed.fileComments.d.ts +2 -4
  749. package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +18 -0
  750. package/vscode-dts/vscode.proposed.interactive.d.ts +0 -16
  751. package/vscode-dts/vscode.proposed.languageModels.d.ts +115 -53
  752. package/vscode-dts/vscode.proposed.notebookCellExecution.d.ts +44 -0
  753. package/vscode-dts/vscode.proposed.notebookVariableProvider.d.ts +3 -0
  754. package/vscode-dts/vscode.proposed.tabInputMultiDiff.d.ts +22 -0
  755. package/vscode-dts/vscode.proposed.terminalExecuteCommandEvent.d.ts +2 -0
  756. package/vscode-dts/vscode.proposed.terminalShellIntegration.d.ts +207 -0
  757. package/vscode/src/vs/editor/browser/services/hoverService.d.ts +0 -30
  758. package/vscode/src/vs/editor/browser/widget/embeddedCodeEditorWidget.js +0 -74
  759. package/vscode/src/vs/editor/browser/widget/media/editor.css.js +0 -4
  760. package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +0 -881
  761. package/vscode/src/vs/platform/theme/common/colorRegistry.js +0 -1316
  762. package/vscode/src/vs/workbench/api/common/extHostChatProvider.js +0 -253
  763. package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommandContentWidget.css.js +0 -4
  764. package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommandContentWidget.js +0 -74
  765. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.css.js +0 -4
  766. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatLivePreviewWidget.js +0 -424
  767. package/vscode-dts/vscode.proposed.testCoverage.d.ts +0 -222
  768. /package/vscode/src/vs/base/browser/ui/hover/{hover.css.js → hoverWidget.css.js} +0 -0
  769. /package/vscode/src/vs/editor/browser/{widget/hoverWidget → services/hoverService}/hover.css.js +0 -0
  770. /package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/objectPool.js +0 -0
  771. /package/vscode/src/vs/editor/contrib/indentation/{browser → common}/indentUtils.js +0 -0
  772. /package/vscode/src/vs/editor/contrib/rename/browser/{renameInputField.css.js → renameWidget.css.js} +0 -0
  773. /package/vscode/src/vs/platform/theme/common/{colorRegistry.d.ts → colorUtils.d.ts} +0 -0
@@ -6,6 +6,7 @@ import { ConfigurationMigrationWorkbenchContribution, DynamicWorkbenchSecurityCo
6
6
  import { isStandalone } from '../../base/browser/browser.js';
7
7
  import { registerWorkbenchContribution2 } from '../common/contributions.js';
8
8
  import { defaultWindowTitle, defaultWindowTitleSeparator } from './parts/titlebar/windowTitle.js';
9
+ import { CustomEditorLabelService } from '../services/editor/common/customEditorLabelService.js';
9
10
  const registry = ( Registry.as(Extensions$1.Configuration));
10
11
  (function registerConfiguration() {
11
12
  registerWorkbenchContribution2(ConfigurationMigrationWorkbenchContribution.ID, ConfigurationMigrationWorkbenchContribution, 4 );
@@ -144,6 +145,64 @@ const registry = ( Registry.as(Extensions$1.Configuration));
144
145
  )),
145
146
  'default': true
146
147
  },
148
+ [CustomEditorLabelService.SETTING_ID_ENABLED]: {
149
+ 'type': 'boolean',
150
+ 'markdownDescription': ( localizeWithPath(
151
+ 'vs/workbench/browser/workbench.contribution',
152
+ 'workbench.editor.label.enabled',
153
+ "Controls whether the custom workbench editor labels should be applied."
154
+ )),
155
+ 'default': true,
156
+ },
157
+ [CustomEditorLabelService.SETTING_ID_PATTERNS]: {
158
+ 'type': 'object',
159
+ 'markdownDescription': (() => {
160
+ let customEditorLabelDescription = ( localizeWithPath(
161
+ 'vs/workbench/browser/workbench.contribution',
162
+ 'workbench.editor.label.patterns',
163
+ "Controls the rendering of the editor label. Each __Item__ is a pattern that matches a file path. Both relative and absolute file paths are supported. In case multiple patterns match, the longest matching path will be picked. Each __Value__ is the template for the rendered editor when the __Item__ matches. Variables are substituted based on the context:"
164
+ ));
165
+ customEditorLabelDescription += '\n- ' + [
166
+ ( localizeWithPath(
167
+ 'vs/workbench/browser/workbench.contribution',
168
+ 'workbench.editor.label.dirname',
169
+ "`${dirname}`: name of the folder in which the file is located (e.g. `root/folder/file.txt -> folder`)."
170
+ )),
171
+ ( localizeWithPath(
172
+ 'vs/workbench/browser/workbench.contribution',
173
+ 'workbench.editor.label.nthdirname',
174
+ "`${dirname(N)}`: name of the nth parent folder in which the file is located (e.g. `N=1: root/folder/file.txt -> root`)."
175
+ )),
176
+ ( localizeWithPath(
177
+ 'vs/workbench/browser/workbench.contribution',
178
+ 'workbench.editor.label.filename',
179
+ "`${filename}`: name of the file without the file extension (e.g. `root/folder/file.txt -> file`)."
180
+ )),
181
+ ( localizeWithPath(
182
+ 'vs/workbench/browser/workbench.contribution',
183
+ 'workbench.editor.label.extname',
184
+ "`${extname}`: the file extension (e.g. `root/folder/file.txt -> txt`)."
185
+ )),
186
+ ].join('\n- ');
187
+ customEditorLabelDescription += '\n\n' + ( localizeWithPath(
188
+ 'vs/workbench/browser/workbench.contribution',
189
+ 'customEditorLabelDescriptionExample',
190
+ "Example: `\"**/static/**/*.html\": \"${filename} - ${dirname} (${extname})\"` will render a file `root/static/folder/file.html` as `file - folder (html)`."
191
+ ));
192
+ return customEditorLabelDescription;
193
+ })(),
194
+ additionalProperties: {
195
+ type: 'string',
196
+ markdownDescription: ( localizeWithPath(
197
+ 'vs/workbench/browser/workbench.contribution',
198
+ 'workbench.editor.label.template',
199
+ "The template which should be rendered when the pattern mtches. May include the variables ${dirname}, ${filename} and ${extname}."
200
+ )),
201
+ minLength: 1,
202
+ pattern: '.*[a-zA-Z0-9].*'
203
+ },
204
+ 'default': {}
205
+ },
147
206
  'workbench.editor.labelFormat': {
148
207
  'type': 'string',
149
208
  'enum': ['default', 'short', 'medium', 'long'],
@@ -512,7 +571,7 @@ const registry = ( Registry.as(Extensions$1.Configuration));
512
571
  'vs/workbench/browser/workbench.contribution',
513
572
  { comment: ['{0}, {1} will be a setting name rendered as a link'], key: 'enablePreviewFromQuickOpen' },
514
573
  "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}.",
515
- '`#workbench.editor.enablePreview#`',
574
+ '`#workbench.editor.showTabs#`',
516
575
  '`multiple`'
517
576
  )),
518
577
  'default': false
@@ -523,7 +582,7 @@ const registry = ( Registry.as(Extensions$1.Configuration));
523
582
  'vs/workbench/browser/workbench.contribution',
524
583
  { comment: ['{0}, {1} will be a setting name rendered as a link'], key: 'enablePreviewFromCodeNavigation' },
525
584
  "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}.",
526
- '`#workbench.editor.enablePreview#`',
585
+ '`#workbench.editor.showTabs#`',
527
586
  '`multiple`'
528
587
  )),
529
588
  'default': false
@@ -962,28 +1021,33 @@ const registry = ( Registry.as(Extensions$1.Configuration));
962
1021
  },
963
1022
  ["workbench.activityBar.location" ]: {
964
1023
  'type': 'string',
965
- 'enum': ['side', 'top', 'hidden'],
966
- 'default': 'side',
1024
+ 'enum': ['default', 'top', 'bottom', 'hidden'],
1025
+ 'default': 'default',
967
1026
  'markdownDescription': ( localizeWithPath(
968
1027
  'vs/workbench/browser/workbench.contribution',
969
1028
  { comment: ['This is the description for a setting'], key: 'activityBarLocation' },
970
- "Controls the location of the Activity Bar. It can either show to the `side` or `top` of the Primary Side Bar or `hidden`."
1029
+ "Controls the location of the Activity Bar. It can either show to the `default` or `top` / `bottom` of the Primary and Secondary Side Bar or `hidden`."
971
1030
  )),
972
1031
  'enumDescriptions': [
973
1032
  ( localizeWithPath(
974
1033
  'vs/workbench/browser/workbench.contribution',
975
- 'workbench.activityBar.location.side',
976
- "Show the Activity Bar to the side of the Primary Side Bar."
1034
+ 'workbench.activityBar.location.default',
1035
+ "Show the Activity Bar of the Primary Side Bar on the side."
977
1036
  )),
978
1037
  ( localizeWithPath(
979
1038
  'vs/workbench/browser/workbench.contribution',
980
1039
  'workbench.activityBar.location.top',
981
- "Show the Activity Bar on top of the Primary Side Bar."
1040
+ "Show the Activity Bar on top of the Primary and Secondary Side Bar."
1041
+ )),
1042
+ ( localizeWithPath(
1043
+ 'vs/workbench/browser/workbench.contribution',
1044
+ 'workbench.activityBar.location.bottom',
1045
+ "Show the Activity Bar at the bottom of the Primary and Secondary Side Bar."
982
1046
  )),
983
1047
  ( localizeWithPath(
984
1048
  'vs/workbench/browser/workbench.contribution',
985
1049
  'workbench.activityBar.location.hide',
986
- "Hide the Activity Bar."
1050
+ "Hide the Activity Bar in the Primary and Secondary Side Bar."
987
1051
  ))
988
1052
  ],
989
1053
  },
@@ -1644,6 +1708,16 @@ const registry = ( Registry.as(Extensions$1.Configuration));
1644
1708
  return result;
1645
1709
  }
1646
1710
  }]);
1711
+ ( Registry.as(Extensions.ConfigurationMigration))
1712
+ .registerConfigurationMigrations([{
1713
+ key: "workbench.activityBar.location" , migrateFn: (value) => {
1714
+ const results = [];
1715
+ if (value === 'side') {
1716
+ results.push(["workbench.activityBar.location" , { value: "default" }]);
1717
+ }
1718
+ return results;
1719
+ }
1720
+ }]);
1647
1721
  ( Registry.as(Extensions.ConfigurationMigration))
1648
1722
  .registerConfigurationMigrations([{
1649
1723
  key: 'workbench.editor.doubleClickTabToToggleEditorGroupSizes', migrateFn: (value) => {
@@ -4,7 +4,6 @@ class Component extends Themable {
4
4
  constructor(id, themeService, storageService) {
5
5
  super(themeService);
6
6
  this.id = id;
7
- this.id = id;
8
7
  this.memento = ( new Memento(this.id, storageService));
9
8
  this._register(storageService.onWillSaveState(() => {
10
9
  this.saveState();
@@ -89,10 +89,10 @@ const ActiveEditorReadonlyContext = ( new RawContextKey('activeEditorIsReadonly'
89
89
  'activeEditorIsReadonly',
90
90
  "Whether the active editor is read-only"
91
91
  ))));
92
- const ActiveCompareEditorOriginalWriteableContext = ( new RawContextKey('activeCompareEditorOriginalWritable', false, ( localizeWithPath(
92
+ const ActiveCompareEditorCanSwapContext = ( new RawContextKey('activeCompareEditorCanSwap', false, ( localizeWithPath(
93
93
  'vs/workbench/common/contextkeys',
94
- 'activeCompareEditorOriginalWritable',
95
- "Whether the active compare editor has a writable original side"
94
+ 'activeCompareEditorCanSwap',
95
+ "Whether the active compare editor can swap sides"
96
96
  ))));
97
97
  const ActiveEditorCanToggleReadonlyContext = ( new RawContextKey('activeEditorCanToggleReadonly', true, ( localizeWithPath(
98
98
  'vs/workbench/common/contextkeys',
@@ -473,4 +473,4 @@ function applyAvailableEditorIds(contextKey, editor, editorResolverService) {
473
473
  contextKey.set(editors.join(','));
474
474
  }
475
475
  }
476
- export { ActiveAuxiliaryContext, ActiveCompareEditorOriginalWriteableContext, ActiveEditorAvailableEditorIdsContext, ActiveEditorCanRevertContext, ActiveEditorCanSplitInGroupContext, ActiveEditorCanToggleReadonlyContext, ActiveEditorContext, ActiveEditorDirtyContext, ActiveEditorFirstInGroupContext, ActiveEditorGroupEmptyContext, ActiveEditorGroupIndexContext, ActiveEditorGroupLastContext, ActiveEditorGroupLockedContext, ActiveEditorLastInGroupContext, ActiveEditorPinnedContext, ActiveEditorReadonlyContext, ActiveEditorStickyContext, ActivePanelContext, ActiveViewletContext, AuxiliaryBarFocusContext, AuxiliaryBarVisibleContext, BannerFocused, DirtyWorkingCopiesContext, EditorGroupEditorsCountContext, EditorPartMaximizedEditorGroupContext, EditorPartMultipleEditorGroupsContext, EditorTabsVisibleContext, EditorsVisibleContext, EmbedderIdentifierContext, EmptyWorkspaceSupportContext, EnterMultiRootWorkspaceSupportContext, FocusedViewContext, HasWebFileSystemAccess, InEditorZenModeContext, IsAuxiliaryEditorPartContext, IsAuxiliaryWindowFocusedContext, IsMainEditorCenteredLayoutContext, IsMainWindowFullscreenContext, MainEditorAreaVisibleContext, MultipleEditorGroupsContext, NotificationFocusedContext, NotificationsCenterVisibleContext, NotificationsToastsVisibleContext, OpenFolderWorkspaceSupportContext, PanelAlignmentContext, PanelFocusContext, PanelMaximizedContext, PanelPositionContext, PanelVisibleContext, RemoteNameContext, ResourceContextKey, SideBarVisibleContext, SideBySideEditorActiveContext, SidebarFocusContext, SplitEditorsVertically, StatusBarFocused, TemporaryWorkspaceContext, TextCompareEditorActiveContext, TextCompareEditorVisibleContext, TitleBarStyleContext, TitleBarVisibleContext, VirtualWorkspaceContext, WorkbenchStateContext, WorkspaceFolderCountContext, applyAvailableEditorIds, getVisbileViewContextKey };
476
+ export { ActiveAuxiliaryContext, ActiveCompareEditorCanSwapContext, ActiveEditorAvailableEditorIdsContext, ActiveEditorCanRevertContext, ActiveEditorCanSplitInGroupContext, ActiveEditorCanToggleReadonlyContext, ActiveEditorContext, ActiveEditorDirtyContext, ActiveEditorFirstInGroupContext, ActiveEditorGroupEmptyContext, ActiveEditorGroupIndexContext, ActiveEditorGroupLastContext, ActiveEditorGroupLockedContext, ActiveEditorLastInGroupContext, ActiveEditorPinnedContext, ActiveEditorReadonlyContext, ActiveEditorStickyContext, ActivePanelContext, ActiveViewletContext, AuxiliaryBarFocusContext, AuxiliaryBarVisibleContext, BannerFocused, DirtyWorkingCopiesContext, EditorGroupEditorsCountContext, EditorPartMaximizedEditorGroupContext, EditorPartMultipleEditorGroupsContext, EditorTabsVisibleContext, EditorsVisibleContext, EmbedderIdentifierContext, EmptyWorkspaceSupportContext, EnterMultiRootWorkspaceSupportContext, FocusedViewContext, HasWebFileSystemAccess, InEditorZenModeContext, IsAuxiliaryEditorPartContext, IsAuxiliaryWindowFocusedContext, IsMainEditorCenteredLayoutContext, IsMainWindowFullscreenContext, MainEditorAreaVisibleContext, MultipleEditorGroupsContext, NotificationFocusedContext, NotificationsCenterVisibleContext, NotificationsToastsVisibleContext, OpenFolderWorkspaceSupportContext, PanelAlignmentContext, PanelFocusContext, PanelMaximizedContext, PanelPositionContext, PanelVisibleContext, RemoteNameContext, ResourceContextKey, SideBarVisibleContext, SideBySideEditorActiveContext, SidebarFocusContext, SplitEditorsVertically, StatusBarFocused, TemporaryWorkspaceContext, TextCompareEditorActiveContext, TextCompareEditorVisibleContext, TitleBarStyleContext, TitleBarVisibleContext, VirtualWorkspaceContext, WorkbenchStateContext, WorkspaceFolderCountContext, applyAvailableEditorIds, getVisbileViewContextKey };
@@ -48,6 +48,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
48
48
  this.preview = null;
49
49
  this.active = null;
50
50
  this.sticky = -1;
51
+ this.transient = ( new Set());
51
52
  if (isSerializedEditorGroupModel(labelOrSerializedGroup)) {
52
53
  this._id = this.deserialize(labelOrSerializedGroup);
53
54
  }
@@ -98,6 +99,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
98
99
  openEditor(candidate, options) {
99
100
  const makeSticky = options?.sticky || (typeof options?.index === 'number' && this.isSticky(options.index));
100
101
  const makePinned = options?.pinned || options?.sticky;
102
+ const makeTransient = !!options?.transient;
101
103
  const makeActive = options?.active || !this.activeEditor || (!makePinned && this.matches(this.preview, this.activeEditor));
102
104
  const existingEditorAndIndex = this.findEditor(candidate, options);
103
105
  if (!existingEditorAndIndex) {
@@ -141,6 +143,9 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
141
143
  if (makePinned || !this.preview) {
142
144
  this.splice(targetIndex, false, newEditor);
143
145
  }
146
+ if (makeTransient) {
147
+ this.doSetTransient(newEditor, targetIndex, true);
148
+ }
144
149
  if (!makePinned) {
145
150
  if (this.preview) {
146
151
  const indexOfPreview = this.indexOf(this.preview);
@@ -168,6 +173,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
168
173
  }
169
174
  else {
170
175
  const [existingEditor, existingEditorIndex] = existingEditorAndIndex;
176
+ this.doSetTransient(existingEditor, existingEditorIndex, makeTransient === false ? false : this.isTransient(existingEditor));
171
177
  if (makePinned) {
172
178
  this.doPin(existingEditor, existingEditorIndex);
173
179
  }
@@ -193,7 +199,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
193
199
  const editorIndex = this.editors.indexOf(editor);
194
200
  if (editorIndex >= 0) {
195
201
  const event = {
196
- kind: 13 ,
202
+ kind: 14 ,
197
203
  editor,
198
204
  editorIndex
199
205
  };
@@ -202,7 +208,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
202
208
  }));
203
209
  listeners.add(editor.onDidChangeDirty(() => {
204
210
  const event = {
205
- kind: 12 ,
211
+ kind: 13 ,
206
212
  editor,
207
213
  editorIndex: this.editors.indexOf(editor)
208
214
  };
@@ -284,6 +290,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
284
290
  if (this.matches(this.preview, editor)) {
285
291
  this.preview = null;
286
292
  }
293
+ this.transient.delete(editor);
287
294
  this.splice(index, true);
288
295
  return { editor, sticky, editorIndex: index, context };
289
296
  }
@@ -317,7 +324,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
317
324
  this._onDidModelChange.fire(event);
318
325
  if (sticky !== this.sticky) {
319
326
  const event = {
320
- kind: 11 ,
327
+ kind: 12 ,
321
328
  editor,
322
329
  editorIndex: toIndex
323
330
  };
@@ -381,6 +388,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
381
388
  if (this.isPinned(editor)) {
382
389
  return;
383
390
  }
391
+ this.setTransient(editor, false);
384
392
  this.preview = null;
385
393
  const event = {
386
394
  kind: 10 ,
@@ -442,7 +450,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
442
450
  this.moveEditor(editor, newEditorIndex);
443
451
  this.sticky++;
444
452
  const event = {
445
- kind: 11 ,
453
+ kind: 12 ,
446
454
  editor,
447
455
  editorIndex: newEditorIndex
448
456
  };
@@ -465,7 +473,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
465
473
  this.moveEditor(editor, newEditorIndex);
466
474
  this.sticky--;
467
475
  const event = {
468
- kind: 11 ,
476
+ kind: 12 ,
469
477
  editor,
470
478
  editorIndex: newEditorIndex
471
479
  };
@@ -487,6 +495,51 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
487
495
  }
488
496
  return index <= this.sticky;
489
497
  }
498
+ setTransient(candidate, transient) {
499
+ if (!transient && this.transient.size === 0) {
500
+ return;
501
+ }
502
+ const res = this.findEditor(candidate);
503
+ if (!res) {
504
+ return;
505
+ }
506
+ const [editor, editorIndex] = res;
507
+ this.doSetTransient(editor, editorIndex, transient);
508
+ return editor;
509
+ }
510
+ doSetTransient(editor, editorIndex, transient) {
511
+ if (transient) {
512
+ if (( this.transient.has(editor))) {
513
+ return;
514
+ }
515
+ this.transient.add(editor);
516
+ }
517
+ else {
518
+ if (!( this.transient.has(editor))) {
519
+ return;
520
+ }
521
+ this.transient.delete(editor);
522
+ }
523
+ const event = {
524
+ kind: 11 ,
525
+ editor,
526
+ editorIndex
527
+ };
528
+ this._onDidModelChange.fire(event);
529
+ }
530
+ isTransient(editorOrIndex) {
531
+ if (this.transient.size === 0) {
532
+ return false;
533
+ }
534
+ let editor;
535
+ if (typeof editorOrIndex === 'number') {
536
+ editor = this.editors[editorOrIndex];
537
+ }
538
+ else {
539
+ editor = this.findEditor(editorOrIndex)?.[0];
540
+ }
541
+ return !!editor && ( this.transient.has(editor));
542
+ }
490
543
  splice(index, del, editor) {
491
544
  const editorToDeleteOrReplace = this.editors[index];
492
545
  if (del && this.isSticky(index)) {
@@ -676,6 +729,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
676
729
  dispose() {
677
730
  dispose(Array.from(this.editorListeners));
678
731
  this.editorListeners.clear();
732
+ this.transient.clear();
679
733
  super.dispose();
680
734
  }
681
735
  };
@@ -200,6 +200,16 @@ declare abstract class EditorInput extends AbstractEditorInput {
200
200
  * Returns a copy of the current editor input. Used when we can't just reuse the input
201
201
  */
202
202
  copy(): EditorInput;
203
+ /**
204
+ * Indicates if this editor can be moved to another group. By default
205
+ * editors can freely be moved around groups. If an editor cannot be
206
+ * moved, a message should be returned to show to the user.
207
+ *
208
+ * @returns `true` if the editor can be moved to the target group, or
209
+ * a string with a message to show to the user if the editor cannot be
210
+ * moved.
211
+ */
212
+ canMove(sourceGroup: GroupIdentifier, targetGroup: GroupIdentifier): true | string;
203
213
  /**
204
214
  * Returns if the other object matches this input.
205
215
  */
@@ -75,6 +75,9 @@ class EditorInput extends AbstractEditorInput {
75
75
  copy() {
76
76
  return this;
77
77
  }
78
+ canMove(sourceGroup, targetGroup) {
79
+ return true;
80
+ }
78
81
  matches(otherInput) {
79
82
  if (isEditorInput(otherInput)) {
80
83
  return this === otherInput;
@@ -22,6 +22,7 @@ class FilteredEditorGroupModel extends Disposable {
22
22
  get activeEditor() { return this.model.activeEditor && this.filter(this.model.activeEditor) ? this.model.activeEditor : null; }
23
23
  get previewEditor() { return this.model.previewEditor && this.filter(this.model.previewEditor) ? this.model.previewEditor : null; }
24
24
  isPinned(editorOrIndex) { return this.model.isPinned(editorOrIndex); }
25
+ isTransient(editorOrIndex) { return this.model.isTransient(editorOrIndex); }
25
26
  isSticky(editorOrIndex) { return this.model.isSticky(editorOrIndex); }
26
27
  isActive(editor) { return this.model.isActive(editor); }
27
28
  isFirst(editor) {
@@ -6,6 +6,7 @@ import { ILabelService } from '../../../platform/label/common/label.js';
6
6
  import { IFilesConfigurationService } from '../../services/filesConfiguration/common/filesConfigurationService.js';
7
7
  import { IMarkdownString } from '../../../base/common/htmlContent.js';
8
8
  import { ITextResourceConfigurationService } from '../../../editor/common/services/textResourceConfiguration.js';
9
+ import { ICustomEditorLabelService } from '../../services/editor/common/customEditorLabelService.js';
9
10
 
10
11
  /**
11
12
  * The base class for all editor inputs that open resources.
@@ -16,10 +17,11 @@ declare abstract class AbstractResourceEditorInput extends EditorInput implement
16
17
  protected readonly fileService: IFileService;
17
18
  protected readonly filesConfigurationService: IFilesConfigurationService;
18
19
  protected readonly textResourceConfigurationService: ITextResourceConfigurationService;
20
+ protected readonly customEditorLabelService: ICustomEditorLabelService;
19
21
  get capabilities(): EditorInputCapabilities;
20
22
  private _preferredResource;
21
23
  get preferredResource(): URI;
22
- constructor(resource: URI, preferredResource: URI | undefined, labelService: ILabelService, fileService: IFileService, filesConfigurationService: IFilesConfigurationService, textResourceConfigurationService: ITextResourceConfigurationService);
24
+ constructor(resource: URI, preferredResource: URI | undefined, labelService: ILabelService, fileService: IFileService, filesConfigurationService: IFilesConfigurationService, textResourceConfigurationService: ITextResourceConfigurationService, customEditorLabelService: ICustomEditorLabelService);
23
25
  private registerListeners;
24
26
  private onLabelEvent;
25
27
  private updateLabel;
@@ -6,6 +6,7 @@ import { isEqual, dirname } from '../../../base/common/resources.js';
6
6
  import { IFilesConfigurationService } from '../../services/filesConfiguration/common/filesConfigurationService.js';
7
7
  import { isConfigured } from '../../../platform/configuration/common/configuration.js';
8
8
  import { ITextResourceConfigurationService } from '../../../editor/common/services/textResourceConfiguration.js';
9
+ import { ICustomEditorLabelService } from '../../services/editor/common/customEditorLabelService.js';
9
10
  let AbstractResourceEditorInput = class AbstractResourceEditorInput extends EditorInput {
10
11
  get capabilities() {
11
12
  let capabilities = 32 ;
@@ -23,13 +24,14 @@ let AbstractResourceEditorInput = class AbstractResourceEditorInput extends Edit
23
24
  return capabilities;
24
25
  }
25
26
  get preferredResource() { return this._preferredResource; }
26
- constructor(resource, preferredResource, labelService, fileService, filesConfigurationService, textResourceConfigurationService) {
27
+ constructor(resource, preferredResource, labelService, fileService, filesConfigurationService, textResourceConfigurationService, customEditorLabelService) {
27
28
  super();
28
29
  this.resource = resource;
29
30
  this.labelService = labelService;
30
31
  this.fileService = fileService;
31
32
  this.filesConfigurationService = filesConfigurationService;
32
33
  this.textResourceConfigurationService = textResourceConfigurationService;
34
+ this.customEditorLabelService = customEditorLabelService;
33
35
  this._name = undefined;
34
36
  this._shortDescription = undefined;
35
37
  this._mediumDescription = undefined;
@@ -44,6 +46,7 @@ let AbstractResourceEditorInput = class AbstractResourceEditorInput extends Edit
44
46
  this._register(this.labelService.onDidChangeFormatters(e => this.onLabelEvent(e.scheme)));
45
47
  this._register(this.fileService.onDidChangeFileSystemProviderRegistrations(e => this.onLabelEvent(e.scheme)));
46
48
  this._register(this.fileService.onDidChangeFileSystemProviderCapabilities(e => this.onLabelEvent(e.scheme)));
49
+ this._register(this.customEditorLabelService.onDidChange(() => this.updateLabel()));
47
50
  }
48
51
  onLabelEvent(scheme) {
49
52
  if (scheme === this._preferredResource.scheme) {
@@ -68,7 +71,7 @@ let AbstractResourceEditorInput = class AbstractResourceEditorInput extends Edit
68
71
  }
69
72
  getName() {
70
73
  if (typeof this._name !== 'string') {
71
- this._name = this.labelService.getUriBasenameLabel(this._preferredResource);
74
+ this._name = this.customEditorLabelService.getName(this._preferredResource) ?? this.labelService.getUriBasenameLabel(this._preferredResource);
72
75
  }
73
76
  return this._name;
74
77
  }
@@ -152,6 +155,7 @@ AbstractResourceEditorInput = ( __decorate([
152
155
  ( __param(2, ILabelService)),
153
156
  ( __param(3, IFileService)),
154
157
  ( __param(4, IFilesConfigurationService)),
155
- ( __param(5, ITextResourceConfigurationService))
158
+ ( __param(5, ITextResourceConfigurationService)),
159
+ ( __param(6, ICustomEditorLabelService))
156
160
  ], AbstractResourceEditorInput));
157
161
  export { AbstractResourceEditorInput };
@@ -2,7 +2,7 @@ import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.
2
2
  import { Event } from '../../../base/common/event.js';
3
3
  import { localizeWithPath } from '../../../nls.js';
4
4
  import { Registry } from '../../../platform/registry/common/platform.js';
5
- import { isResourceDiffEditorInput, isResourceDiffListEditorInput, isResourceSideBySideEditorInput, isResourceMergeEditorInput, isEditorInput, findViewStateForEditor, isResourceEditorInput, isDiffEditorInput, EditorExtensions } from '../editor.js';
5
+ import { isResourceDiffEditorInput, isResourceMultiDiffEditorInput, isResourceSideBySideEditorInput, isResourceMergeEditorInput, isEditorInput, findViewStateForEditor, isResourceEditorInput, isDiffEditorInput, EditorExtensions } from '../editor.js';
6
6
  import { EditorInput } from './editorInput.js';
7
7
  import { IEditorService } from '../../services/editor/common/editorService.js';
8
8
  var SideBySideEditorInput_1;
@@ -153,7 +153,7 @@ let SideBySideEditorInput = class SideBySideEditorInput extends EditorInput {
153
153
  this.editorService
154
154
  ));
155
155
  }
156
- if (!isResourceDiffEditorInput(primarySaveResult) && !isResourceDiffListEditorInput(primarySaveResult) && !isResourceSideBySideEditorInput(primarySaveResult) && !isResourceMergeEditorInput(primarySaveResult)) {
156
+ if (!isResourceDiffEditorInput(primarySaveResult) && !isResourceMultiDiffEditorInput(primarySaveResult) && !isResourceSideBySideEditorInput(primarySaveResult) && !isResourceMergeEditorInput(primarySaveResult)) {
157
157
  return {
158
158
  primary: primarySaveResult,
159
159
  secondary: primarySaveResult,
@@ -213,7 +213,7 @@ let SideBySideEditorInput = class SideBySideEditorInput extends EditorInput {
213
213
  const secondaryResourceEditorInput = this.secondary.toUntyped(options);
214
214
  if (primaryResourceEditorInput && secondaryResourceEditorInput &&
215
215
  !isResourceDiffEditorInput(primaryResourceEditorInput) && !isResourceDiffEditorInput(secondaryResourceEditorInput) &&
216
- !isResourceDiffListEditorInput(primaryResourceEditorInput) && !isResourceDiffListEditorInput(secondaryResourceEditorInput) &&
216
+ !isResourceMultiDiffEditorInput(primaryResourceEditorInput) && !isResourceMultiDiffEditorInput(secondaryResourceEditorInput) &&
217
217
  !isResourceSideBySideEditorInput(primaryResourceEditorInput) && !isResourceSideBySideEditorInput(secondaryResourceEditorInput) &&
218
218
  !isResourceMergeEditorInput(primaryResourceEditorInput) && !isResourceMergeEditorInput(secondaryResourceEditorInput)) {
219
219
  const untypedInput = {
@@ -8,6 +8,7 @@ import { ILabelService } from '../../../platform/label/common/label.js';
8
8
  import '../../../editor/editor.api.js';
9
9
  import { IFilesConfigurationService } from '../../services/filesConfiguration/common/filesConfigurationService.js';
10
10
  import { ITextResourceConfigurationService } from '../../../editor/common/services/textResourceConfiguration.js';
11
+ import { ICustomEditorLabelService } from '../../services/editor/common/customEditorLabelService.js';
11
12
 
12
13
  /**
13
14
  * The base class for all editor inputs that open in text editors.
@@ -15,7 +16,7 @@ import { ITextResourceConfigurationService } from '../../../editor/common/servic
15
16
  declare abstract class AbstractTextResourceEditorInput extends AbstractResourceEditorInput {
16
17
  protected readonly editorService: IEditorService;
17
18
  protected readonly textFileService: ITextFileService;
18
- constructor(resource: URI, preferredResource: URI | undefined, editorService: IEditorService, textFileService: ITextFileService, labelService: ILabelService, fileService: IFileService, filesConfigurationService: IFilesConfigurationService, textResourceConfigurationService: ITextResourceConfigurationService);
19
+ constructor(resource: URI, preferredResource: URI | undefined, editorService: IEditorService, textFileService: ITextFileService, labelService: ILabelService, fileService: IFileService, filesConfigurationService: IFilesConfigurationService, textResourceConfigurationService: ITextResourceConfigurationService, customEditorLabelService: ICustomEditorLabelService);
19
20
  save(group: GroupIdentifier, options?: ITextFileSaveOptions): Promise<IUntypedEditorInput | undefined>;
20
21
  saveAs(group: GroupIdentifier, options?: ITextFileSaveOptions): Promise<IUntypedEditorInput | undefined>;
21
22
  private doSave;
@@ -12,10 +12,11 @@ import { TextResourceEditorModel } from './textResourceEditorModel.js';
12
12
  import { createTextBufferFactory } from '../../../editor/common/model/textModel.js';
13
13
  import { IFilesConfigurationService } from '../../services/filesConfiguration/common/filesConfigurationService.js';
14
14
  import { ITextResourceConfigurationService } from '../../../editor/common/services/textResourceConfiguration.js';
15
+ import { ICustomEditorLabelService } from '../../services/editor/common/customEditorLabelService.js';
15
16
  var TextResourceEditorInput_1;
16
17
  let AbstractTextResourceEditorInput = class AbstractTextResourceEditorInput extends AbstractResourceEditorInput {
17
- constructor(resource, preferredResource, editorService, textFileService, labelService, fileService, filesConfigurationService, textResourceConfigurationService) {
18
- super(resource, preferredResource, labelService, fileService, filesConfigurationService, textResourceConfigurationService);
18
+ constructor(resource, preferredResource, editorService, textFileService, labelService, fileService, filesConfigurationService, textResourceConfigurationService, customEditorLabelService) {
19
+ super(resource, preferredResource, labelService, fileService, filesConfigurationService, textResourceConfigurationService, customEditorLabelService);
19
20
  this.editorService = editorService;
20
21
  this.textFileService = textFileService;
21
22
  }
@@ -51,7 +52,8 @@ AbstractTextResourceEditorInput = ( __decorate([
51
52
  ( __param(4, ILabelService)),
52
53
  ( __param(5, IFileService)),
53
54
  ( __param(6, IFilesConfigurationService)),
54
- ( __param(7, ITextResourceConfigurationService))
55
+ ( __param(7, ITextResourceConfigurationService)),
56
+ ( __param(8, ICustomEditorLabelService))
55
57
  ], AbstractTextResourceEditorInput));
56
58
  let TextResourceEditorInput = class TextResourceEditorInput extends AbstractTextResourceEditorInput {
57
59
  static { TextResourceEditorInput_1 = this; }
@@ -62,8 +64,8 @@ let TextResourceEditorInput = class TextResourceEditorInput extends AbstractText
62
64
  get editorId() {
63
65
  return DEFAULT_EDITOR_ASSOCIATION.id;
64
66
  }
65
- constructor(resource, name, description, preferredLanguageId, preferredContents, textModelService, textFileService, editorService, fileService, labelService, filesConfigurationService, textResourceConfigurationService) {
66
- super(resource, undefined, editorService, textFileService, labelService, fileService, filesConfigurationService, textResourceConfigurationService);
67
+ constructor(resource, name, description, preferredLanguageId, preferredContents, textModelService, textFileService, editorService, fileService, labelService, filesConfigurationService, textResourceConfigurationService, customEditorLabelService) {
68
+ super(resource, undefined, editorService, textFileService, labelService, fileService, filesConfigurationService, textResourceConfigurationService, customEditorLabelService);
67
69
  this.name = name;
68
70
  this.description = description;
69
71
  this.preferredLanguageId = preferredLanguageId;
@@ -149,6 +151,7 @@ TextResourceEditorInput = TextResourceEditorInput_1 = ( __decorate([
149
151
  ( __param(8, IFileService)),
150
152
  ( __param(9, ILabelService)),
151
153
  ( __param(10, IFilesConfigurationService)),
152
- ( __param(11, ITextResourceConfigurationService))
154
+ ( __param(11, ITextResourceConfigurationService)),
155
+ ( __param(12, ICustomEditorLabelService))
153
156
  ], TextResourceEditorInput));
154
157
  export { AbstractTextResourceEditorInput, TextResourceEditorInput };
@@ -29,7 +29,7 @@ interface IEditorDescriptor<T extends IEditorPane> {
29
29
  /**
30
30
  * Instantiates the editor pane using the provided services.
31
31
  */
32
- instantiate(instantiationService: IInstantiationService): T;
32
+ instantiate(instantiationService: IInstantiationService, group: IEditorGroup): T;
33
33
  /**
34
34
  * Whether the descriptor is for the provided editor pane.
35
35
  */
@@ -56,6 +56,10 @@ interface IEditorPane extends IComposite {
56
56
  * the cursor is set to a new location.
57
57
  */
58
58
  readonly onDidChangeSelection?: Event<IEditorPaneSelectionChangeEvent>;
59
+ /**
60
+ * An optional event to notify when the editor inside the pane scrolled
61
+ */
62
+ readonly onDidChangeScroll?: Event<void>;
59
63
  /**
60
64
  * The assigned input of this editor.
61
65
  */
@@ -67,7 +71,7 @@ interface IEditorPane extends IComposite {
67
71
  /**
68
72
  * The assigned group this editor is showing in.
69
73
  */
70
- readonly group: IEditorGroup | undefined;
74
+ readonly group: IEditorGroup;
71
75
  /**
72
76
  * The minimum width of this editor.
73
77
  */
@@ -123,6 +127,20 @@ interface IEditorPane extends IComposite {
123
127
  * selection as needed.
124
128
  */
125
129
  getSelection?(): IEditorPaneSelection | undefined;
130
+ /**
131
+ * An optional method to return the current scroll position
132
+ * of an editor inside the pane.
133
+ *
134
+ * Clients of this method will typically react to the
135
+ * `onDidChangeScroll` event to receive the current
136
+ * scroll position as needed.
137
+ */
138
+ getScrollPosition?(): IEditorPaneScrollPosition;
139
+ /**
140
+ * An optional method to set the current scroll position
141
+ * of an editor inside the pane.
142
+ */
143
+ setScrollPosition?(scrollPosition: IEditorPaneScrollPosition): void;
126
144
  /**
127
145
  * Finds out if this editor is visible or not.
128
146
  */
@@ -216,12 +234,18 @@ declare const enum EditorPaneSelectionCompareResult {
216
234
  */
217
235
  DIFFERENT = 3
218
236
  }
237
+ /**
238
+ * Scroll position of a pane
239
+ */
240
+ interface IEditorPaneScrollPosition {
241
+ readonly scrollTop: number;
242
+ readonly scrollLeft?: number;
243
+ }
219
244
  /**
220
245
  * Overrides `IEditorPane` where `input` and `group` are known to be set.
221
246
  */
222
247
  interface IVisibleEditorPane extends IEditorPane {
223
248
  readonly input: EditorInput;
224
- readonly group: IEditorGroup;
225
249
  }
226
250
  /**
227
251
  * The text editor pane is the container for workbench text diff editors.
@@ -469,12 +493,7 @@ declare const enum EditorInputCapabilities {
469
493
  * Signals that the editor cannot be in a dirty state
470
494
  * and may still have unsaved changes
471
495
  */
472
- Scratchpad = 512,
473
- /**
474
- * Signals that the editor does not support opening in
475
- * auxiliary windows yet.
476
- */
477
- AuxWindowUnsupported = 1024
496
+ Scratchpad = 512
478
497
  }
479
498
  type IUntypedEditorInput = IResourceEditorInput | ITextResourceEditorInput | IUntitledTextResourceEditorInput | IResourceDiffEditorInput | IResourceMultiDiffEditorInput | IResourceSideBySideEditorInput | IResourceMergeEditorInput;
480
499
  declare abstract class AbstractEditorInput extends Disposable {
@@ -655,9 +674,10 @@ declare const enum GroupModelChangeKind {
655
674
  EDITOR_LABEL = 8,
656
675
  EDITOR_CAPABILITIES = 9,
657
676
  EDITOR_PIN = 10,
658
- EDITOR_STICKY = 11,
659
- EDITOR_DIRTY = 12,
660
- EDITOR_WILL_DISPOSE = 13
677
+ EDITOR_TRANSIENT = 11,
678
+ EDITOR_STICKY = 12,
679
+ EDITOR_DIRTY = 13,
680
+ EDITOR_WILL_DISPOSE = 14
661
681
  }
662
682
  interface IEditorPartLimitConfiguration {
663
683
  enabled?: boolean;
@@ -774,4 +794,4 @@ interface IToolbarActions {
774
794
  readonly secondary: IAction[];
775
795
  }
776
796
 
777
- export { AbstractEditorInput, CloseDirection, EditorCloseContext, EditorInputCapabilities, type EditorInputWithOptions, type EditorInputWithOptionsAndGroup, type EditorInputWithPreferredResource, EditorPaneSelectionChangeReason, EditorPaneSelectionCompareResult, EditorsOrder, type GroupIdentifier, GroupModelChangeKind, type IActiveEditorChangeEvent, type IEditorCloseEvent, type IEditorControl, type IEditorDescriptor, type IEditorIdentifier, type IEditorMemento, type IEditorOpenContext, type IEditorPane, type IEditorPaneSelection, type IEditorPaneSelectionChangeEvent, type IEditorPartOptions, type IEditorPartOptionsChangeEvent, type IEditorSerializer, type IEditorWillMoveEvent, type IEditorWillOpenEvent, type IFileEditorInput, type IFileLimitedEditorInputOptions, type IFindEditorOptions, type IMatchEditorOptions, type IMoveResult, type IResourceDiffEditorInput, type IResourceMergeEditorInput, type IResourceMergeEditorInputSide, type IResourceMultiDiffEditorInput, type IResourceSideBySideEditorInput, type IRevertOptions, type ISaveOptions, type ITextDiffEditorPane, type IToolbarActions, type IUntitledTextResourceEditorInput, type IUntypedEditorInput, type IUntypedFileEditorInput, type IVisibleEditorPane, type PreventPinnedEditorClose, SaveReason, type SaveSource, SideBySideEditor, Verbosity };
797
+ export { AbstractEditorInput, CloseDirection, EditorCloseContext, EditorInputCapabilities, type EditorInputWithOptions, type EditorInputWithOptionsAndGroup, type EditorInputWithPreferredResource, EditorPaneSelectionChangeReason, EditorPaneSelectionCompareResult, EditorsOrder, type GroupIdentifier, GroupModelChangeKind, type IActiveEditorChangeEvent, type IEditorCloseEvent, type IEditorControl, type IEditorDescriptor, type IEditorIdentifier, type IEditorMemento, type IEditorOpenContext, type IEditorPane, type IEditorPaneScrollPosition, type IEditorPaneSelection, type IEditorPaneSelectionChangeEvent, type IEditorPartOptions, type IEditorPartOptionsChangeEvent, type IEditorSerializer, type IEditorWillMoveEvent, type IEditorWillOpenEvent, type IFileEditorInput, type IFileLimitedEditorInputOptions, type IFindEditorOptions, type IMatchEditorOptions, type IMoveResult, type IResourceDiffEditorInput, type IResourceMergeEditorInput, type IResourceMergeEditorInputSide, type IResourceMultiDiffEditorInput, type IResourceSideBySideEditorInput, type IRevertOptions, type ISaveOptions, type ITextDiffEditorPane, type IToolbarActions, type IUntitledTextResourceEditorInput, type IUntypedEditorInput, type IUntypedFileEditorInput, type IVisibleEditorPane, type PreventPinnedEditorClose, SaveReason, type SaveSource, SideBySideEditor, Verbosity };