@codingame/monaco-vscode-api 10.1.4 → 11.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 (2020) hide show
  1. package/_virtual/semver.js +2 -0
  2. package/_virtual/semver2.js +1 -0
  3. package/api.js +15 -8
  4. package/assets.js +2 -0
  5. package/extensions.d.ts +1 -1
  6. package/extensions.js +4 -2
  7. package/external/rollup-plugin-styles/dist/runtime/inject-css.js +1 -0
  8. package/external/tslib/tslib.es6.js +1 -0
  9. package/external/vscode-semver/semver.js +2 -0
  10. package/l10n.js +2 -0
  11. package/lifecycle.js +2 -0
  12. package/localExtensionHost.js +2 -1
  13. package/missing-services.js +69 -4
  14. package/monaco.js +4 -2
  15. package/override/vs/workbench/browser/parts/editor/textEditor.js +2 -0
  16. package/override/vs/workbench/browser/parts/editor/textEditor.weak.js +1 -0
  17. package/package.json +9 -9
  18. package/service-override/terminal.d.ts +2 -0
  19. package/service-override/tools/editor.js +4 -2
  20. package/service-override/tools/url.js +1 -0
  21. package/service-override/tools/views.js +2 -0
  22. package/services.js +4 -3
  23. package/tools/injection.js +2 -0
  24. package/tools.js +1 -0
  25. package/vscode/src/vs/amdX.js +172 -0
  26. package/vscode/src/vs/base/browser/broadcast.js +2 -0
  27. package/vscode/src/vs/base/browser/browser.js +2 -0
  28. package/vscode/src/vs/base/browser/canIUse.js +2 -0
  29. package/vscode/src/vs/base/browser/cssValue.js +27 -0
  30. package/vscode/src/vs/base/browser/defaultWorkerFactory.js +15 -16
  31. package/vscode/src/vs/base/browser/deviceAccess.js +1 -0
  32. package/vscode/src/vs/base/browser/dnd.js +2 -0
  33. package/vscode/src/vs/base/browser/dom.js +10 -31
  34. package/vscode/src/vs/base/browser/domObservable.js +2 -0
  35. package/vscode/src/vs/base/browser/dompurify/dompurify.js +884 -829
  36. package/vscode/src/vs/base/browser/event.js +2 -0
  37. package/vscode/src/vs/base/browser/fastDomNode.js +1 -0
  38. package/vscode/src/vs/base/browser/fonts.js +2 -0
  39. package/vscode/src/vs/base/browser/formattedTextRenderer.js +2 -0
  40. package/vscode/src/vs/base/browser/globalPointerMoveMonitor.js +2 -0
  41. package/vscode/src/vs/base/browser/iframe.js +1 -0
  42. package/vscode/src/vs/base/browser/indexedDB.js +2 -0
  43. package/vscode/src/vs/base/browser/keyboardEvent.js +2 -0
  44. package/vscode/src/vs/base/browser/markdownRenderer.js +26 -19
  45. package/vscode/src/vs/base/browser/mouseEvent.js +2 -0
  46. package/vscode/src/vs/base/browser/performance.js +1 -0
  47. package/vscode/src/vs/base/browser/pixelRatio.js +4 -2
  48. package/vscode/src/vs/base/browser/touch.js +2 -0
  49. package/vscode/src/vs/base/browser/trustedTypes.js +2 -0
  50. package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +4 -2
  51. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.css.js +2 -0
  52. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +3 -1
  53. package/vscode/src/vs/base/browser/ui/aria/aria.css.js +2 -0
  54. package/vscode/src/vs/base/browser/ui/aria/aria.js +2 -0
  55. package/vscode/src/vs/base/browser/ui/button/button.css.js +2 -0
  56. package/vscode/src/vs/base/browser/ui/button/button.js +10 -6
  57. package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon-modifiers.css.js +2 -0
  58. package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css.js +3 -1
  59. package/vscode/src/vs/base/browser/ui/contextview/contextview.css.js +2 -0
  60. package/vscode/src/vs/base/browser/ui/contextview/contextview.js +6 -4
  61. package/vscode/src/vs/base/browser/ui/countBadge/countBadge.css.js +2 -0
  62. package/vscode/src/vs/base/browser/ui/countBadge/countBadge.js +2 -0
  63. package/vscode/src/vs/base/browser/ui/dialog/dialog.css.js +2 -0
  64. package/vscode/src/vs/base/browser/ui/dialog/dialog.js +8 -6
  65. package/vscode/src/vs/base/browser/ui/dropdown/dropdown.css.js +2 -0
  66. package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +2 -0
  67. package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +4 -2
  68. package/vscode/src/vs/base/browser/ui/findinput/findInput.css.js +2 -0
  69. package/vscode/src/vs/base/browser/ui/findinput/findInput.js +3 -1
  70. package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +5 -3
  71. package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +4 -2
  72. package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.js +2 -0
  73. package/vscode/src/vs/base/browser/ui/hover/hoverDelegate2.js +1 -0
  74. package/vscode/src/vs/base/browser/ui/hover/hoverDelegateFactory.js +2 -0
  75. package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css.js +2 -0
  76. package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +5 -3
  77. package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +13 -3
  78. package/vscode/src/vs/base/browser/ui/iconLabel/iconLabels.js +2 -0
  79. package/vscode/src/vs/base/browser/ui/iconLabel/iconlabel.css.js +2 -0
  80. package/vscode/src/vs/base/browser/ui/iconLabel/simpleIconLabel.js +2 -0
  81. package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.css.js +2 -0
  82. package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.js +5 -3
  83. package/vscode/src/vs/base/browser/ui/inputbox/inputBox.css.js +2 -0
  84. package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +10 -7
  85. package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.css.js +2 -0
  86. package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +4 -2
  87. package/vscode/src/vs/base/browser/ui/list/list.css.js +2 -0
  88. package/vscode/src/vs/base/browser/ui/list/list.js +1 -0
  89. package/vscode/src/vs/base/browser/ui/list/listPaging.js +2 -0
  90. package/vscode/src/vs/base/browser/ui/list/listView.js +3 -1
  91. package/vscode/src/vs/base/browser/ui/list/listWidget.js +6 -3
  92. package/vscode/src/vs/base/browser/ui/list/rangeMap.js +2 -0
  93. package/vscode/src/vs/base/browser/ui/list/rowCache.js +2 -0
  94. package/vscode/src/vs/base/browser/ui/list/splice.js +1 -0
  95. package/vscode/src/vs/base/browser/ui/menu/menu.js +2 -0
  96. package/vscode/src/vs/base/browser/ui/menu/menubar.css.js +2 -0
  97. package/vscode/src/vs/base/browser/ui/menu/menubar.js +5 -3
  98. package/vscode/src/vs/base/browser/ui/mouseCursor/mouseCursor.css.js +2 -0
  99. package/vscode/src/vs/base/browser/ui/mouseCursor/mouseCursor.js +2 -0
  100. package/vscode/src/vs/base/browser/ui/progressbar/progressAccessibilitySignal.js +1 -0
  101. package/vscode/src/vs/base/browser/ui/progressbar/progressbar.css.js +2 -0
  102. package/vscode/src/vs/base/browser/ui/progressbar/progressbar.js +2 -0
  103. package/vscode/src/vs/base/browser/ui/resizable/resizable.js +2 -0
  104. package/vscode/src/vs/base/browser/ui/sash/sash.css.js +2 -0
  105. package/vscode/src/vs/base/browser/ui/sash/sash.js +5 -3
  106. package/vscode/src/vs/base/browser/ui/scrollbar/abstractScrollbar.js +2 -0
  107. package/vscode/src/vs/base/browser/ui/scrollbar/horizontalScrollbar.js +2 -0
  108. package/vscode/src/vs/base/browser/ui/scrollbar/media/scrollbars.css.js +2 -0
  109. package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +2 -0
  110. package/vscode/src/vs/base/browser/ui/scrollbar/scrollbarArrow.js +2 -0
  111. package/vscode/src/vs/base/browser/ui/scrollbar/scrollbarState.js +1 -0
  112. package/vscode/src/vs/base/browser/ui/scrollbar/scrollbarVisibilityController.js +2 -0
  113. package/vscode/src/vs/base/browser/ui/scrollbar/verticalScrollbar.js +2 -0
  114. package/vscode/src/vs/base/browser/ui/selectBox/selectBox.css.js +2 -0
  115. package/vscode/src/vs/base/browser/ui/selectBox/selectBox.js +2 -0
  116. package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.css.js +2 -0
  117. package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +5 -2
  118. package/vscode/src/vs/base/browser/ui/selectBox/selectBoxNative.js +2 -0
  119. package/vscode/src/vs/base/browser/ui/splitview/paneview.css.js +2 -0
  120. package/vscode/src/vs/base/browser/ui/splitview/paneview.js +4 -2
  121. package/vscode/src/vs/base/browser/ui/splitview/splitview.css.js +2 -0
  122. package/vscode/src/vs/base/browser/ui/splitview/splitview.js +2 -0
  123. package/vscode/src/vs/base/browser/ui/table/table.css.js +2 -0
  124. package/vscode/src/vs/base/browser/ui/table/tableWidget.js +4 -2
  125. package/vscode/src/vs/base/browser/ui/toggle/toggle.css.js +2 -0
  126. package/vscode/src/vs/base/browser/ui/toggle/toggle.js +2 -0
  127. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.css.js +2 -0
  128. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +4 -2
  129. package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +76 -34
  130. package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +31 -33
  131. package/vscode/src/vs/base/browser/ui/tree/compressedObjectTreeModel.js +3 -1
  132. package/vscode/src/vs/base/browser/ui/tree/dataTree.js +2 -0
  133. package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.js +7 -5
  134. package/vscode/src/vs/base/browser/ui/tree/media/tree.css.js +2 -0
  135. package/vscode/src/vs/base/browser/ui/tree/objectTree.js +2 -0
  136. package/vscode/src/vs/base/browser/ui/tree/objectTreeModel.js +3 -1
  137. package/vscode/src/vs/base/browser/ui/tree/tree.js +1 -0
  138. package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +3 -1
  139. package/vscode/src/vs/base/browser/ui/widget.js +3 -1
  140. package/vscode/src/vs/base/browser/window.js +1 -0
  141. package/vscode/src/vs/base/common/actions.js +3 -1
  142. package/vscode/src/vs/base/common/arrays.js +2 -0
  143. package/vscode/src/vs/base/common/arraysFind.js +1 -0
  144. package/vscode/src/vs/base/common/assert.js +3 -1
  145. package/vscode/src/vs/base/common/async.js +5 -3
  146. package/vscode/src/vs/base/common/buffer.js +3 -1
  147. package/vscode/src/vs/base/common/cache.js +2 -0
  148. package/vscode/src/vs/base/common/cancellation.js +2 -0
  149. package/vscode/src/vs/base/common/codicons.d.ts +3 -0
  150. package/vscode/src/vs/base/common/codicons.js +2 -0
  151. package/vscode/src/vs/base/common/codiconsLibrary.js +5 -0
  152. package/vscode/src/vs/base/common/codiconsUtil.js +2 -0
  153. package/vscode/src/vs/base/common/collections.js +1 -0
  154. package/vscode/src/vs/base/common/color.js +1 -0
  155. package/vscode/src/vs/base/common/comparers.js +2 -0
  156. package/vscode/src/vs/base/common/controlFlow.js +2 -0
  157. package/vscode/src/vs/base/common/dataTransfer.js +2 -0
  158. package/vscode/src/vs/base/common/date.js +63 -61
  159. package/vscode/src/vs/base/common/decorators.js +3 -2
  160. package/vscode/src/vs/base/common/diff/diff.js +2 -0
  161. package/vscode/src/vs/base/common/diff/diffChange.js +1 -0
  162. package/vscode/src/vs/base/common/equals.js +2 -0
  163. package/vscode/src/vs/base/common/errorMessage.js +8 -6
  164. package/vscode/src/vs/base/common/errors.js +1 -0
  165. package/vscode/src/vs/base/common/event.js +5 -2
  166. package/vscode/src/vs/base/common/extpath.js +2 -0
  167. package/vscode/src/vs/base/common/filters.js +2 -0
  168. package/vscode/src/vs/base/common/functional.js +1 -0
  169. package/vscode/src/vs/base/common/fuzzyScorer.js +3 -1
  170. package/vscode/src/vs/base/common/glob.js +3 -1
  171. package/vscode/src/vs/base/common/hash.js +22 -24
  172. package/vscode/src/vs/base/common/hierarchicalKind.js +1 -0
  173. package/vscode/src/vs/base/common/history.js +2 -0
  174. package/vscode/src/vs/base/common/hotReloadHelpers.js +2 -0
  175. package/vscode/src/vs/base/common/htmlContent.js +2 -0
  176. package/vscode/src/vs/base/common/iconLabels.js +2 -0
  177. package/vscode/src/vs/base/common/idGenerator.js +1 -0
  178. package/vscode/src/vs/base/common/ime.js +2 -0
  179. package/vscode/src/vs/base/common/iterator.js +4 -0
  180. package/vscode/src/vs/base/common/json.js +1 -0
  181. package/vscode/src/vs/base/common/jsonEdit.js +2 -0
  182. package/vscode/src/vs/base/common/jsonErrorMessages.js +11 -9
  183. package/vscode/src/vs/base/common/jsonFormatter.js +2 -0
  184. package/vscode/src/vs/base/common/jsonSchema.js +1 -0
  185. package/vscode/src/vs/base/common/keyCodes.js +1 -0
  186. package/vscode/src/vs/base/common/keybindingLabels.js +22 -20
  187. package/vscode/src/vs/base/common/keybindingParser.js +3 -1
  188. package/vscode/src/vs/base/common/keybindings.js +2 -0
  189. package/vscode/src/vs/base/common/labels.js +4 -2
  190. package/vscode/src/vs/base/common/lazy.js +1 -0
  191. package/vscode/src/vs/base/common/lifecycle.js +2 -0
  192. package/vscode/src/vs/base/common/linkedList.js +1 -0
  193. package/vscode/src/vs/base/common/linkedText.js +2 -0
  194. package/vscode/src/vs/base/common/map.js +1 -0
  195. package/vscode/src/vs/base/common/marshalling.js +2 -0
  196. package/vscode/src/vs/base/common/mime.js +2 -0
  197. package/vscode/src/vs/base/common/naturalLanguage/korean.js +1 -0
  198. package/vscode/src/vs/base/common/navigator.js +1 -0
  199. package/vscode/src/vs/base/common/network.js +5 -2
  200. package/vscode/src/vs/base/common/numbers.js +1 -0
  201. package/vscode/src/vs/base/common/objects.js +3 -1
  202. package/vscode/src/vs/base/common/observableInternal/api.js +2 -0
  203. package/vscode/src/vs/base/common/observableInternal/autorun.js +12 -2
  204. package/vscode/src/vs/base/common/observableInternal/base.js +2 -0
  205. package/vscode/src/vs/base/common/observableInternal/debugName.js +1 -0
  206. package/vscode/src/vs/base/common/observableInternal/derived.js +43 -12
  207. package/vscode/src/vs/base/common/observableInternal/lazyObservableValue.js +2 -0
  208. package/vscode/src/vs/base/common/observableInternal/logging.js +1 -0
  209. package/vscode/src/vs/base/common/observableInternal/promise.js +2 -0
  210. package/vscode/src/vs/base/common/observableInternal/utils.js +4 -2
  211. package/vscode/src/vs/base/common/observableInternal/utilsCancellation.js +2 -0
  212. package/vscode/src/vs/base/common/path.js +3 -1
  213. package/vscode/src/vs/base/common/performance.d.ts +2 -8
  214. package/vscode/src/vs/base/common/performance.js +66 -78
  215. package/vscode/src/vs/base/common/platform.js +6 -1
  216. package/vscode/src/vs/base/common/prefixTree.js +2 -0
  217. package/vscode/src/vs/base/common/process.js +2 -0
  218. package/vscode/src/vs/base/common/product.d.ts +7 -0
  219. package/vscode/src/vs/base/common/range.js +1 -0
  220. package/vscode/src/vs/base/common/resourceTree.js +2 -0
  221. package/vscode/src/vs/base/common/resources.js +2 -0
  222. package/vscode/src/vs/base/common/scrollable.js +2 -0
  223. package/vscode/src/vs/base/common/search.js +2 -0
  224. package/vscode/src/vs/base/common/severity.js +2 -0
  225. package/vscode/src/vs/base/common/skipList.js +1 -0
  226. package/vscode/src/vs/base/common/stopwatch.js +1 -0
  227. package/vscode/src/vs/base/common/stream.js +3 -1
  228. package/vscode/src/vs/base/common/strings.js +6 -1
  229. package/vscode/src/vs/base/common/symbols.js +1 -0
  230. package/vscode/src/vs/base/common/ternarySearchTree.js +2 -0
  231. package/vscode/src/vs/base/common/tfIdf.js +1 -0
  232. package/vscode/src/vs/base/common/themables.js +2 -0
  233. package/vscode/src/vs/base/common/types.js +5 -1
  234. package/vscode/src/vs/base/common/uint.js +1 -0
  235. package/vscode/src/vs/base/common/uri.js +2 -0
  236. package/vscode/src/vs/base/common/uriIpc.js +2 -0
  237. package/vscode/src/vs/base/common/uuid.js +1 -0
  238. package/vscode/src/vs/base/common/verifier.js +2 -0
  239. package/vscode/src/vs/base/common/worker/simpleWorker.js +6 -4
  240. package/vscode/src/vs/base/common/worker/simpleWorkerBootstrap.js +2 -0
  241. package/vscode/src/vs/base/parts/ipc/common/ipc.js +28 -11
  242. package/vscode/src/vs/base/parts/ipc/common/ipc.net.js +2 -0
  243. package/vscode/src/vs/base/parts/request/common/request.js +1 -0
  244. package/vscode/src/vs/base/parts/storage/common/storage.js +2 -0
  245. package/vscode/src/vs/editor/browser/config/charWidthReader.js +2 -0
  246. package/vscode/src/vs/editor/browser/config/domFontInfo.js +2 -0
  247. package/vscode/src/vs/editor/browser/config/editorConfiguration.js +2 -0
  248. package/vscode/src/vs/editor/browser/config/elementSizeObserver.js +2 -0
  249. package/vscode/src/vs/editor/browser/config/fontMeasurements.js +3 -1
  250. package/vscode/src/vs/editor/browser/config/migrateOptions.js +1 -0
  251. package/vscode/src/vs/editor/browser/config/tabFocus.js +2 -0
  252. package/vscode/src/vs/editor/browser/controller/editContext/clipboardUtils.js +2 -0
  253. package/vscode/src/vs/editor/browser/controller/editContext/{editContextUtils.js → editContext.js} +2 -0
  254. package/vscode/src/vs/editor/browser/controller/editContext/native/editContextFactory.js +13 -0
  255. package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.css.js +3 -1
  256. package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +74 -19
  257. package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContextUtils.js +2 -0
  258. package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +15 -9
  259. package/vscode/src/vs/editor/browser/controller/editContext/screenReaderUtils.js +7 -4
  260. package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.css.js +2 -0
  261. package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +15 -15
  262. package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextInput.js +5 -1
  263. package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextState.js +10 -0
  264. package/vscode/src/vs/editor/browser/controller/mouseHandler.js +6 -4
  265. package/vscode/src/vs/editor/browser/controller/mouseTarget.js +3 -1
  266. package/vscode/src/vs/editor/browser/controller/pointerHandler.js +2 -0
  267. package/vscode/src/vs/editor/browser/coreCommands.js +6 -4
  268. package/vscode/src/vs/editor/browser/dnd.js +7 -4
  269. package/vscode/src/vs/editor/browser/editorBrowser.js +2 -0
  270. package/vscode/src/vs/editor/browser/editorDom.js +4 -2
  271. package/vscode/src/vs/editor/browser/editorExtensions.js +9 -7
  272. package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlas.js +2 -0
  273. package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasPage.js +2 -0
  274. package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasShelfAllocator.js +2 -0
  275. package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasSlabAllocator.js +2 -0
  276. package/vscode/src/vs/editor/browser/gpu/bufferDirtyTracker.js +1 -0
  277. package/vscode/src/vs/editor/browser/gpu/fullFileRenderStrategy.js +2 -0
  278. package/vscode/src/vs/editor/browser/gpu/fullFileRenderStrategy.wgsl.js +1 -0
  279. package/vscode/src/vs/editor/browser/gpu/gpuDisposable.js +2 -0
  280. package/vscode/src/vs/editor/browser/gpu/gpuUtils.js +2 -0
  281. package/vscode/src/vs/editor/browser/gpu/objectCollectionBuffer.js +2 -0
  282. package/vscode/src/vs/editor/browser/gpu/raster/glyphRasterizer.js +2 -0
  283. package/vscode/src/vs/editor/browser/gpu/rectangleRenderer.js +2 -0
  284. package/vscode/src/vs/editor/browser/gpu/rectangleRenderer.wgsl.js +1 -0
  285. package/vscode/src/vs/editor/browser/gpu/taskQueue.js +2 -0
  286. package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +3 -1
  287. package/vscode/src/vs/editor/browser/observableCodeEditor.js +3 -1
  288. package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.js +4 -1
  289. package/vscode/src/vs/editor/browser/services/bulkEditService.js +2 -0
  290. package/vscode/src/vs/editor/browser/services/codeEditorService.js +2 -0
  291. package/vscode/src/vs/editor/browser/services/editorWorkerService.js +2 -0
  292. package/vscode/src/vs/editor/browser/services/hoverService/hover.css.js +2 -0
  293. package/vscode/src/vs/editor/browser/services/hoverService/hoverService.js +4 -2
  294. package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +4 -2
  295. package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +3 -1
  296. package/vscode/src/vs/editor/browser/services/markerDecorations.js +2 -0
  297. package/vscode/src/vs/editor/browser/services/openerService.js +3 -1
  298. package/vscode/src/vs/editor/browser/stableEditorScroll.js +1 -0
  299. package/vscode/src/vs/editor/browser/view/domLineBreaksComputer.js +2 -0
  300. package/vscode/src/vs/editor/browser/view/dynamicViewOverlay.js +2 -0
  301. package/vscode/src/vs/editor/browser/view/renderingContext.js +1 -0
  302. package/vscode/src/vs/editor/browser/view/viewController.js +4 -2
  303. package/vscode/src/vs/editor/browser/view/viewLayer.js +2 -0
  304. package/vscode/src/vs/editor/browser/view/viewOverlays.js +2 -0
  305. package/vscode/src/vs/editor/browser/view/viewPart.js +2 -0
  306. package/vscode/src/vs/editor/browser/view/viewUserInputEvents.js +2 -0
  307. package/vscode/src/vs/editor/browser/view.js +14 -6
  308. package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.css.js +2 -0
  309. package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.js +2 -0
  310. package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +4 -2
  311. package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.css.js +2 -0
  312. package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js +2 -0
  313. package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.css.js +2 -0
  314. package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.js +2 -0
  315. package/vscode/src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js +6 -4
  316. package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.css.js +2 -0
  317. package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +4 -2
  318. package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.css.js +2 -0
  319. package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.js +2 -0
  320. package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.css.js +2 -0
  321. package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.js +4 -2
  322. package/vscode/src/vs/editor/browser/viewParts/linesDecorations/linesDecorations.css.js +2 -0
  323. package/vscode/src/vs/editor/browser/viewParts/linesDecorations/linesDecorations.js +2 -0
  324. package/vscode/src/vs/editor/browser/viewParts/margin/margin.css.js +2 -0
  325. package/vscode/src/vs/editor/browser/viewParts/margin/margin.js +2 -0
  326. package/vscode/src/vs/editor/browser/viewParts/marginDecorations/marginDecorations.css.js +2 -0
  327. package/vscode/src/vs/editor/browser/viewParts/marginDecorations/marginDecorations.js +2 -0
  328. package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.css.js +2 -0
  329. package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.js +7 -5
  330. package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharRenderer.js +2 -0
  331. package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharRendererFactory.js +2 -0
  332. package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharSheet.js +1 -0
  333. package/vscode/src/vs/editor/browser/viewParts/minimap/minimapPreBaked.js +2 -0
  334. package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.css.js +2 -0
  335. package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js +2 -0
  336. package/vscode/src/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.js +4 -2
  337. package/vscode/src/vs/editor/browser/viewParts/overviewRuler/overviewRuler.js +5 -3
  338. package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.css.js +2 -0
  339. package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.js +2 -0
  340. package/vscode/src/vs/editor/browser/viewParts/rulersGpu/rulersGpu.js +2 -0
  341. package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.css.js +2 -0
  342. package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.js +2 -0
  343. package/vscode/src/vs/editor/browser/viewParts/selections/selections.css.js +2 -0
  344. package/vscode/src/vs/editor/browser/viewParts/selections/selections.js +2 -0
  345. package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.js +4 -2
  346. package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.css.js +2 -0
  347. package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.js +2 -0
  348. package/vscode/src/vs/editor/browser/viewParts/viewLines/domReadingContext.js +1 -0
  349. package/vscode/src/vs/editor/browser/viewParts/viewLines/rangeUtil.js +2 -0
  350. package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLine.js +4 -2
  351. package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLineOptions.js +2 -1
  352. package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.css.js +2 -0
  353. package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.js +4 -2
  354. package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.js +3 -1
  355. package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.js +5 -3
  356. package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.css.js +2 -0
  357. package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.js +3 -1
  358. package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorContributions.js +2 -0
  359. package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +6 -4
  360. package/vscode/src/vs/editor/browser/widget/codeEditor/editor.css.js +2 -0
  361. package/vscode/src/vs/editor/browser/widget/codeEditor/embeddedCodeEditorWidget.js +2 -0
  362. package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +14 -12
  363. package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.css.js +2 -0
  364. package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +17 -15
  365. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorDecorations.js +2 -0
  366. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +3 -1
  367. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorSash.js +2 -0
  368. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +10 -8
  369. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +10 -8
  370. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +3 -1
  371. package/vscode/src/vs/editor/browser/widget/diffEditor/delegatingEditorImpl.js +2 -0
  372. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +7 -6
  373. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +2 -0
  374. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +5 -1
  375. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +4 -1
  376. package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.js +2 -0
  377. package/vscode/src/vs/editor/browser/widget/diffEditor/embeddedDiffEditorWidget.js +2 -0
  378. package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +2 -0
  379. package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +12 -10
  380. package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +9 -7
  381. package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +3 -1
  382. package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +4 -2
  383. package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +7 -5
  384. package/vscode/src/vs/editor/browser/widget/diffEditor/style.css.js +2 -0
  385. package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +2 -0
  386. package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +4 -2
  387. package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.js +2 -0
  388. package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/renderedMarkdown.css.js +2 -0
  389. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +4 -3
  390. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.js +2 -0
  391. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.js +2 -0
  392. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.js +2 -0
  393. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +5 -3
  394. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/objectPool.js +1 -0
  395. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/style.css.js +2 -0
  396. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/utils.js +2 -0
  397. package/vscode/src/vs/editor/common/commands/replaceCommand.js +2 -0
  398. package/vscode/src/vs/editor/common/commands/shiftCommand.js +2 -0
  399. package/vscode/src/vs/editor/common/commands/surroundSelectionCommand.js +2 -0
  400. package/vscode/src/vs/editor/common/commands/trimTrailingWhitespaceCommand.js +2 -0
  401. package/vscode/src/vs/editor/common/config/diffEditor.js +1 -0
  402. package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +56 -54
  403. package/vscode/src/vs/editor/common/config/editorOptions.d.ts +13 -17
  404. package/vscode/src/vs/editor/common/config/editorOptions.js +296 -315
  405. package/vscode/src/vs/editor/common/config/editorZoom.js +2 -0
  406. package/vscode/src/vs/editor/common/config/fontInfo.js +4 -2
  407. package/vscode/src/vs/editor/common/core/characterClassifier.js +2 -0
  408. package/vscode/src/vs/editor/common/core/cursorColumns.js +3 -1
  409. package/vscode/src/vs/editor/common/core/editOperation.js +2 -0
  410. package/vscode/src/vs/editor/common/core/editorColorRegistry.js +73 -71
  411. package/vscode/src/vs/editor/common/core/eolCounter.js +1 -0
  412. package/vscode/src/vs/editor/common/core/indentation.js +2 -0
  413. package/vscode/src/vs/editor/common/core/lineEdit.js +277 -0
  414. package/vscode/src/vs/editor/common/core/lineRange.d.ts +3 -0
  415. package/vscode/src/vs/editor/common/core/lineRange.js +26 -0
  416. package/vscode/src/vs/editor/common/core/offsetEdit.d.ts +52 -0
  417. package/vscode/src/vs/editor/common/core/offsetEdit.js +7 -2
  418. package/vscode/src/vs/editor/common/core/offsetRange.js +2 -0
  419. package/vscode/src/vs/editor/common/core/position.js +1 -0
  420. package/vscode/src/vs/editor/common/core/positionToOffset.d.ts +20 -0
  421. package/vscode/src/vs/editor/common/core/positionToOffset.js +13 -0
  422. package/vscode/src/vs/editor/common/core/range.js +2 -0
  423. package/vscode/src/vs/editor/common/core/rgba.js +1 -0
  424. package/vscode/src/vs/editor/common/core/selection.js +2 -0
  425. package/vscode/src/vs/editor/common/core/stringBuilder.js +2 -0
  426. package/vscode/src/vs/editor/common/core/textChange.js +2 -0
  427. package/vscode/src/vs/editor/common/core/textEdit.d.ts +15 -0
  428. package/vscode/src/vs/editor/common/core/textEdit.js +111 -0
  429. package/vscode/src/vs/editor/common/core/textLength.d.ts +2 -0
  430. package/vscode/src/vs/editor/common/core/textLength.js +6 -0
  431. package/vscode/src/vs/editor/common/core/textModelDefaults.js +1 -0
  432. package/vscode/src/vs/editor/common/core/wordCharacterClassifier.js +2 -0
  433. package/vscode/src/vs/editor/common/core/wordHelper.js +2 -0
  434. package/vscode/src/vs/editor/common/cursor/cursor.js +2 -0
  435. package/vscode/src/vs/editor/common/cursor/cursorAtomicMoveOperations.js +2 -0
  436. package/vscode/src/vs/editor/common/cursor/cursorCollection.js +2 -0
  437. package/vscode/src/vs/editor/common/cursor/cursorColumnSelection.js +2 -0
  438. package/vscode/src/vs/editor/common/cursor/cursorContext.js +1 -0
  439. package/vscode/src/vs/editor/common/cursor/cursorDeleteOperations.js +2 -0
  440. package/vscode/src/vs/editor/common/cursor/cursorMoveCommands.js +2 -0
  441. package/vscode/src/vs/editor/common/cursor/cursorMoveOperations.js +2 -0
  442. package/vscode/src/vs/editor/common/cursor/cursorTypeEditOperations.js +3 -1
  443. package/vscode/src/vs/editor/common/cursor/cursorTypeOperations.js +2 -0
  444. package/vscode/src/vs/editor/common/cursor/cursorWordOperations.js +2 -0
  445. package/vscode/src/vs/editor/common/cursor/oneCursor.js +2 -0
  446. package/vscode/src/vs/editor/common/cursorCommon.js +7 -5
  447. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js +2 -0
  448. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.js +3 -1
  449. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.js +3 -1
  450. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js +4 -2
  451. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +2 -0
  452. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js +2 -0
  453. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.js +1 -0
  454. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js +2 -0
  455. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/utils.js +1 -0
  456. package/vscode/src/vs/editor/common/diff/legacyLinesDiffComputer.js +2 -0
  457. package/vscode/src/vs/editor/common/diff/linesDiffComputer.js +1 -0
  458. package/vscode/src/vs/editor/common/diff/linesDiffComputers.js +2 -0
  459. package/vscode/src/vs/editor/common/diff/rangeMapping.js +2 -0
  460. package/vscode/src/vs/editor/common/editorAction.js +1 -0
  461. package/vscode/src/vs/editor/common/editorCommon.js +1 -0
  462. package/vscode/src/vs/editor/common/editorContextKeys.js +48 -46
  463. package/vscode/src/vs/editor/common/editorFeatures.js +1 -0
  464. package/vscode/src/vs/editor/common/editorTheme.js +1 -0
  465. package/vscode/src/vs/editor/common/encodedTokenAttributes.js +1 -0
  466. package/vscode/src/vs/editor/common/languageFeatureRegistry.js +2 -0
  467. package/vscode/src/vs/editor/common/languageSelector.js +2 -0
  468. package/vscode/src/vs/editor/common/languages/autoIndent.js +3 -1
  469. package/vscode/src/vs/editor/common/languages/defaultDocumentColorsComputer.js +2 -0
  470. package/vscode/src/vs/editor/common/languages/enterAction.js +2 -0
  471. package/vscode/src/vs/editor/common/languages/language.js +2 -0
  472. package/vscode/src/vs/editor/common/languages/languageConfiguration.js +1 -0
  473. package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.js +2 -0
  474. package/vscode/src/vs/editor/common/languages/linkComputer.js +2 -0
  475. package/vscode/src/vs/editor/common/languages/modesRegistry.js +3 -1
  476. package/vscode/src/vs/editor/common/languages/nullTokenize.js +2 -0
  477. package/vscode/src/vs/editor/common/languages/supports/characterPair.js +2 -0
  478. package/vscode/src/vs/editor/common/languages/supports/electricCharacter.js +2 -0
  479. package/vscode/src/vs/editor/common/languages/supports/indentRules.js +1 -0
  480. package/vscode/src/vs/editor/common/languages/supports/indentationLineProcessor.js +2 -0
  481. package/vscode/src/vs/editor/common/languages/supports/inplaceReplaceSupport.js +1 -0
  482. package/vscode/src/vs/editor/common/languages/supports/languageBracketsConfiguration.js +2 -0
  483. package/vscode/src/vs/editor/common/languages/supports/onEnter.js +2 -0
  484. package/vscode/src/vs/editor/common/languages/supports/richEditBrackets.js +3 -1
  485. package/vscode/src/vs/editor/common/languages/supports/tokenization.js +2 -0
  486. package/vscode/src/vs/editor/common/languages/supports.js +1 -0
  487. package/vscode/src/vs/editor/common/languages/textToHtmlTokenizer.js +2 -0
  488. package/vscode/src/vs/editor/common/languages.d.ts +3 -0
  489. package/vscode/src/vs/editor/common/languages.js +29 -27
  490. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.js +2 -0
  491. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/ast.js +3 -1
  492. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/beforeEditPositionMapper.js +2 -0
  493. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/bracketPairsTree.js +3 -1
  494. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/brackets.js +2 -0
  495. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/combineTextEditInfos.js +3 -1
  496. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/concat23Trees.js +2 -0
  497. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/length.js +2 -0
  498. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/nodeReader.js +2 -0
  499. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/parser.js +3 -1
  500. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/smallImmutableSet.js +1 -0
  501. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/tokenizer.js +3 -1
  502. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/colorizedBracketPairsDecorationProvider.js +3 -1
  503. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/fixBrackets.js +2 -0
  504. package/vscode/src/vs/editor/common/model/editStack.js +4 -2
  505. package/vscode/src/vs/editor/common/model/fixedArray.js +2 -0
  506. package/vscode/src/vs/editor/common/model/guidesTextModelPart.js +3 -1
  507. package/vscode/src/vs/editor/common/model/indentationGuesser.js +1 -0
  508. package/vscode/src/vs/editor/common/model/intervalTree.js +1 -0
  509. package/vscode/src/vs/editor/common/model/mirrorTextModel.js +2 -0
  510. package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase.js +4 -2
  511. package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.js +3 -1
  512. package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBufferBuilder.js +3 -1
  513. package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/rbTreeBase.js +1 -0
  514. package/vscode/src/vs/editor/common/model/prefixSumComputer.js +2 -0
  515. package/vscode/src/vs/editor/common/model/textModel.js +5 -3
  516. package/vscode/src/vs/editor/common/model/textModelPart.js +2 -0
  517. package/vscode/src/vs/editor/common/model/textModelSearch.js +2 -0
  518. package/vscode/src/vs/editor/common/model/textModelText.js +2 -0
  519. package/vscode/src/vs/editor/common/model/textModelTokens.js +2 -0
  520. package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +2 -0
  521. package/vscode/src/vs/editor/common/model/tokens.js +2 -0
  522. package/vscode/src/vs/editor/common/model/treeSitterTokens.js +2 -0
  523. package/vscode/src/vs/editor/common/model/utils.js +1 -0
  524. package/vscode/src/vs/editor/common/model.js +2 -0
  525. package/vscode/src/vs/editor/common/modelLineProjectionData.js +2 -0
  526. package/vscode/src/vs/editor/common/services/editorBaseApi.js +2 -0
  527. package/vscode/src/vs/editor/common/services/editorSimpleWorker.js +2 -0
  528. package/vscode/src/vs/editor/common/services/editorWorker.js +2 -0
  529. package/vscode/src/vs/editor/common/services/editorWorkerBootstrap.js +2 -0
  530. package/vscode/src/vs/editor/common/services/editorWorkerHost.js +1 -0
  531. package/vscode/src/vs/editor/common/services/findSectionHeaders.js +1 -0
  532. package/vscode/src/vs/editor/common/services/getIconClasses.js +2 -0
  533. package/vscode/src/vs/editor/common/services/languageFeatureDebounce.js +2 -0
  534. package/vscode/src/vs/editor/common/services/languageFeatures.js +2 -0
  535. package/vscode/src/vs/editor/common/services/languageFeaturesService.js +2 -0
  536. package/vscode/src/vs/editor/common/services/languageService.js +2 -0
  537. package/vscode/src/vs/editor/common/services/languagesAssociations.js +2 -0
  538. package/vscode/src/vs/editor/common/services/languagesRegistry.js +3 -1
  539. package/vscode/src/vs/editor/common/services/markerDecorations.js +2 -0
  540. package/vscode/src/vs/editor/common/services/markerDecorationsService.js +2 -0
  541. package/vscode/src/vs/editor/common/services/model.js +2 -0
  542. package/vscode/src/vs/editor/common/services/modelService.js +4 -2
  543. package/vscode/src/vs/editor/common/services/resolverService.js +2 -0
  544. package/vscode/src/vs/editor/common/services/semanticTokensDto.js +2 -0
  545. package/vscode/src/vs/editor/common/services/semanticTokensProviderStyling.js +2 -0
  546. package/vscode/src/vs/editor/common/services/semanticTokensStyling.js +2 -0
  547. package/vscode/src/vs/editor/common/services/semanticTokensStylingService.js +2 -0
  548. package/vscode/src/vs/editor/common/services/textModelSync/textModelSync.impl.js +3 -1
  549. package/vscode/src/vs/editor/common/services/textResourceConfiguration.js +2 -0
  550. package/vscode/src/vs/editor/common/services/treeSitterParserService.js +2 -0
  551. package/vscode/src/vs/editor/common/services/treeViewsDnd.js +1 -0
  552. package/vscode/src/vs/editor/common/services/treeViewsDndService.js +2 -0
  553. package/vscode/src/vs/editor/common/services/unicodeTextModelHighlighter.js +2 -0
  554. package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +20 -19
  555. package/vscode/src/vs/editor/common/standaloneStrings.js +34 -32
  556. package/vscode/src/vs/editor/common/textModelBracketPairs.js +1 -0
  557. package/vscode/src/vs/editor/common/textModelEvents.js +1 -0
  558. package/vscode/src/vs/editor/common/textModelGuides.js +1 -0
  559. package/vscode/src/vs/editor/common/tokenizationRegistry.js +2 -0
  560. package/vscode/src/vs/editor/common/tokenizationTextModelPart.js +2 -0
  561. package/vscode/src/vs/editor/common/tokens/contiguousMultilineTokens.js +3 -1
  562. package/vscode/src/vs/editor/common/tokens/contiguousMultilineTokensBuilder.js +3 -1
  563. package/vscode/src/vs/editor/common/tokens/contiguousTokensEditing.js +2 -0
  564. package/vscode/src/vs/editor/common/tokens/contiguousTokensStore.js +2 -0
  565. package/vscode/src/vs/editor/common/tokens/lineTokens.js +2 -0
  566. package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +2 -0
  567. package/vscode/src/vs/editor/common/tokens/sparseTokensStore.js +2 -0
  568. package/vscode/src/vs/editor/common/tokens/tokenArray.js +2 -0
  569. package/vscode/src/vs/editor/common/viewEventHandler.js +2 -0
  570. package/vscode/src/vs/editor/common/viewEvents.js +1 -0
  571. package/vscode/src/vs/editor/common/viewLayout/lineDecorations.js +2 -0
  572. package/vscode/src/vs/editor/common/viewLayout/linePart.js +1 -0
  573. package/vscode/src/vs/editor/common/viewLayout/linesLayout.js +2 -0
  574. package/vscode/src/vs/editor/common/viewLayout/viewLayout.js +7 -5
  575. package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +4 -2
  576. package/vscode/src/vs/editor/common/viewLayout/viewLinesViewportData.js +2 -0
  577. package/vscode/src/vs/editor/common/viewModel/glyphLanesModel.js +2 -0
  578. package/vscode/src/vs/editor/common/viewModel/minimapTokensColorTracker.js +2 -0
  579. package/vscode/src/vs/editor/common/viewModel/modelLineProjection.js +2 -0
  580. package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +3 -1
  581. package/vscode/src/vs/editor/common/viewModel/overviewZoneManager.js +1 -0
  582. package/vscode/src/vs/editor/common/viewModel/viewContext.js +2 -0
  583. package/vscode/src/vs/editor/common/viewModel/viewModelDecorations.js +2 -0
  584. package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +3 -1
  585. package/vscode/src/vs/editor/common/viewModel/viewModelLines.js +2 -0
  586. package/vscode/src/vs/editor/common/viewModel.js +2 -0
  587. package/vscode/src/vs/editor/common/viewModelEventDispatcher.js +2 -0
  588. package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.css.js +2 -0
  589. package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +9 -7
  590. package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.css.js +2 -0
  591. package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +12 -10
  592. package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +4 -3
  593. package/vscode/src/vs/editor/contrib/caretOperations/browser/moveCaretCommand.js +2 -0
  594. package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +3 -2
  595. package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +23 -21
  596. package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +10 -6
  597. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +33 -31
  598. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +5 -4
  599. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +15 -9
  600. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionKeybindingResolver.js +3 -1
  601. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +10 -8
  602. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +5 -3
  603. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.css.js +2 -0
  604. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +15 -13
  605. package/vscode/src/vs/editor/contrib/codeAction/common/types.js +2 -0
  606. package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.js +2 -0
  607. package/vscode/src/vs/editor/contrib/codelens/browser/codelens.js +3 -1
  608. package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +6 -4
  609. package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.css.js +2 -0
  610. package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.js +2 -0
  611. package/vscode/src/vs/editor/contrib/colorPicker/browser/color.js +2 -0
  612. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +2 -0
  613. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPicker.css.js +2 -0
  614. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerContribution.js +1 -0
  615. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerModel.js +2 -0
  616. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParticipantUtils.js +3 -1
  617. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerBody.js +3 -1
  618. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +4 -2
  619. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +4 -2
  620. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerInsertButton.js +2 -0
  621. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerSaturationBox.js +3 -1
  622. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerStrip.js +3 -1
  623. package/vscode/src/vs/editor/contrib/colorPicker/browser/defaultDocumentColorProvider.js +2 -0
  624. package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerContribution.js +2 -0
  625. package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +4 -2
  626. package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerWidget.js +3 -1
  627. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +9 -7
  628. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerController.js +2 -0
  629. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerParticipant.js +3 -1
  630. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.js +2 -0
  631. package/vscode/src/vs/editor/contrib/comment/browser/blockCommentCommand.js +2 -0
  632. package/vscode/src/vs/editor/contrib/comment/browser/comment.js +8 -7
  633. package/vscode/src/vs/editor/contrib/comment/browser/lineCommentCommand.js +2 -0
  634. package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +14 -12
  635. package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +5 -3
  636. package/vscode/src/vs/editor/contrib/diffEditorBreadcrumbs/browser/contribution.js +1 -0
  637. package/vscode/src/vs/editor/contrib/dnd/browser/dnd.css.js +2 -0
  638. package/vscode/src/vs/editor/contrib/dnd/browser/dnd.js +2 -0
  639. package/vscode/src/vs/editor/contrib/dnd/browser/dragAndDropCommand.js +2 -0
  640. package/vscode/src/vs/editor/contrib/documentSymbols/browser/documentSymbols.js +1 -0
  641. package/vscode/src/vs/editor/contrib/documentSymbols/browser/outlineModel.js +2 -0
  642. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +6 -5
  643. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +12 -10
  644. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +10 -8
  645. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +3 -2
  646. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +5 -3
  647. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/edit.js +2 -0
  648. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.css.js +2 -0
  649. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +5 -3
  650. package/vscode/src/vs/editor/contrib/editorState/browser/editorState.js +2 -0
  651. package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +3 -1
  652. package/vscode/src/vs/editor/contrib/find/browser/findController.js +19 -17
  653. package/vscode/src/vs/editor/contrib/find/browser/findDecorations.js +2 -0
  654. package/vscode/src/vs/editor/contrib/find/browser/findModel.js +3 -1
  655. package/vscode/src/vs/editor/contrib/find/browser/findOptionsWidget.css.js +2 -0
  656. package/vscode/src/vs/editor/contrib/find/browser/findOptionsWidget.js +2 -0
  657. package/vscode/src/vs/editor/contrib/find/browser/findState.js +2 -0
  658. package/vscode/src/vs/editor/contrib/find/browser/findWidget.css.js +2 -0
  659. package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +31 -29
  660. package/vscode/src/vs/editor/contrib/find/browser/replaceAllCommand.js +2 -0
  661. package/vscode/src/vs/editor/contrib/find/browser/replacePattern.js +2 -0
  662. package/vscode/src/vs/editor/contrib/folding/browser/folding.css.js +2 -0
  663. package/vscode/src/vs/editor/contrib/folding/browser/folding.js +24 -22
  664. package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +11 -9
  665. package/vscode/src/vs/editor/contrib/folding/browser/foldingModel.js +2 -0
  666. package/vscode/src/vs/editor/contrib/folding/browser/foldingRanges.js +1 -0
  667. package/vscode/src/vs/editor/contrib/folding/browser/hiddenRangeModel.js +2 -0
  668. package/vscode/src/vs/editor/contrib/folding/browser/indentRangeProvider.js +2 -0
  669. package/vscode/src/vs/editor/contrib/folding/browser/syntaxRangeProvider.js +2 -0
  670. package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +5 -4
  671. package/vscode/src/vs/editor/contrib/format/browser/format.js +3 -1
  672. package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +5 -3
  673. package/vscode/src/vs/editor/contrib/format/browser/formattingEdit.js +2 -0
  674. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +11 -9
  675. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +20 -18
  676. package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.js +2 -0
  677. package/vscode/src/vs/editor/contrib/gotoError/browser/media/gotoErrorWidget.css.js +2 -0
  678. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +43 -41
  679. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToSymbol.js +2 -0
  680. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js +5 -3
  681. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.css.js +2 -0
  682. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +3 -1
  683. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +7 -5
  684. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +6 -4
  685. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.css.js +2 -0
  686. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +5 -3
  687. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +10 -8
  688. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +5 -3
  689. package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +6 -5
  690. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverComputer.js +2 -0
  691. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +2 -0
  692. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +5 -3
  693. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverStatusBar.js +3 -1
  694. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverTypes.js +1 -0
  695. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidget.js +3 -1
  696. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.js +2 -0
  697. package/vscode/src/vs/editor/contrib/hover/browser/getHover.js +3 -1
  698. package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverComputer.js +2 -0
  699. package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverController.js +2 -0
  700. package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverWidget.js +4 -2
  701. package/vscode/src/vs/editor/contrib/hover/browser/hover.css.js +2 -0
  702. package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +5 -3
  703. package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +4 -2
  704. package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +25 -23
  705. package/vscode/src/vs/editor/contrib/hover/browser/hoverContribution.js +1 -0
  706. package/vscode/src/vs/editor/contrib/hover/browser/hoverOperation.js +2 -0
  707. package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.js +1 -0
  708. package/vscode/src/vs/editor/contrib/hover/browser/hoverUtils.js +2 -0
  709. package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +13 -11
  710. package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +21 -8
  711. package/vscode/src/vs/editor/contrib/hover/browser/resizableContentWidget.js +2 -0
  712. package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.css.js +2 -0
  713. package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +4 -3
  714. package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplaceCommand.js +2 -0
  715. package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +22 -20
  716. package/vscode/src/vs/editor/contrib/indentation/common/indentUtils.js +1 -0
  717. package/vscode/src/vs/editor/contrib/indentation/common/indentation.js +2 -0
  718. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHints.js +3 -1
  719. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsContribution.js +1 -0
  720. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +4 -2
  721. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +11 -9
  722. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsLocations.js +3 -1
  723. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commandIds.js +1 -0
  724. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +76 -35
  725. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -10
  726. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +56 -48
  727. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +5 -3
  728. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.css.js +2 -0
  729. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +17 -6
  730. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js +3 -1
  731. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.js +4 -2
  732. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/computeGhostText.js +2 -0
  733. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.js +2 -0
  734. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +87 -20
  735. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +11 -4
  736. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEdit.js +8 -1
  737. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEditsAdapter.js +19 -20
  738. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +80 -37
  739. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/singleTextEditHelpers.js +2 -0
  740. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdaptor.js +2 -0
  741. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +12 -1
  742. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.css.js +2 -0
  743. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +5 -3
  744. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineDiffView.js +102 -0
  745. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsIndicatorView.js +77 -0
  746. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.css.js +3 -1
  747. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +251 -150
  748. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils.js +7 -1
  749. package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgress.js +4 -2
  750. package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgressWidget.css.js +2 -0
  751. package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +4 -2
  752. package/vscode/src/vs/editor/contrib/linesOperations/browser/copyLinesCommand.js +2 -0
  753. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +32 -30
  754. package/vscode/src/vs/editor/contrib/linesOperations/browser/moveLinesCommand.js +2 -0
  755. package/vscode/src/vs/editor/contrib/linesOperations/browser/sortLinesCommand.js +2 -0
  756. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.css.js +2 -0
  757. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +7 -5
  758. package/vscode/src/vs/editor/contrib/links/browser/getLinks.js +2 -0
  759. package/vscode/src/vs/editor/contrib/links/browser/links.css.js +2 -0
  760. package/vscode/src/vs/editor/contrib/links/browser/links.js +18 -16
  761. package/vscode/src/vs/editor/contrib/longLinesHelper/browser/longLinesHelper.js +1 -0
  762. package/vscode/src/vs/editor/contrib/message/browser/messageController.css.js +2 -0
  763. package/vscode/src/vs/editor/contrib/message/browser/messageController.js +4 -2
  764. package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +26 -24
  765. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.css.js +2 -0
  766. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +4 -2
  767. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsModel.js +2 -0
  768. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +7 -5
  769. package/vscode/src/vs/editor/contrib/parameterHints/browser/provideSignatureHelp.js +2 -0
  770. package/vscode/src/vs/editor/contrib/peekView/browser/media/peekViewWidget.css.js +2 -0
  771. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +21 -19
  772. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +2 -1
  773. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.css.js +2 -0
  774. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.js +4 -2
  775. package/vscode/src/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.js +3 -1
  776. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +9 -7
  777. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +37 -35
  778. package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +4 -2
  779. package/vscode/src/vs/editor/contrib/rename/browser/rename.js +15 -13
  780. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.css.js +2 -0
  781. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +11 -9
  782. package/vscode/src/vs/editor/contrib/sectionHeaders/browser/sectionHeaders.js +8 -6
  783. package/vscode/src/vs/editor/contrib/semanticTokens/browser/documentSemanticTokens.js +2 -0
  784. package/vscode/src/vs/editor/contrib/semanticTokens/browser/viewportSemanticTokens.js +2 -0
  785. package/vscode/src/vs/editor/contrib/semanticTokens/common/getSemanticTokens.js +2 -0
  786. package/vscode/src/vs/editor/contrib/semanticTokens/common/semanticTokensConfig.js +1 -0
  787. package/vscode/src/vs/editor/contrib/smartSelect/browser/bracketSelections.js +2 -0
  788. package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +7 -5
  789. package/vscode/src/vs/editor/contrib/smartSelect/browser/wordSelections.js +2 -0
  790. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +7 -5
  791. package/vscode/src/vs/editor/contrib/snippet/browser/snippetParser.js +1 -0
  792. package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.css.js +2 -0
  793. package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.js +4 -2
  794. package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +6 -4
  795. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScroll.css.js +2 -0
  796. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +13 -11
  797. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollContribution.js +1 -0
  798. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +14 -11
  799. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollElement.js +1 -0
  800. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.js +4 -2
  801. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +2 -0
  802. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +7 -5
  803. package/vscode/src/vs/editor/contrib/suggest/browser/completionModel.js +3 -1
  804. package/vscode/src/vs/editor/contrib/suggest/browser/media/suggest.css.js +2 -0
  805. package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +11 -9
  806. package/vscode/src/vs/editor/contrib/suggest/browser/suggestAlternatives.js +2 -0
  807. package/vscode/src/vs/editor/contrib/suggest/browser/suggestCommitCharacters.js +2 -0
  808. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +13 -11
  809. package/vscode/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js +4 -2
  810. package/vscode/src/vs/editor/contrib/suggest/browser/suggestMemory.js +2 -0
  811. package/vscode/src/vs/editor/contrib/suggest/browser/suggestModel.js +4 -2
  812. package/vscode/src/vs/editor/contrib/suggest/browser/suggestOvertypingCapturer.js +2 -0
  813. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +18 -16
  814. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +4 -2
  815. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +4 -2
  816. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetStatus.js +2 -0
  817. package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +2 -0
  818. package/vscode/src/vs/editor/contrib/suggest/browser/wordDistance.js +2 -0
  819. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.css.js +2 -0
  820. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +34 -33
  821. package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +7 -5
  822. package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +3 -2
  823. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.css.js +2 -0
  824. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +2 -0
  825. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.css.js +2 -0
  826. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +26 -24
  827. package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +7 -5
  828. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.css.js +2 -0
  829. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +11 -9
  830. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/textualHighlightProvider.js +2 -0
  831. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +43 -27
  832. package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +4 -2
  833. package/vscode/src/vs/editor/contrib/wordPartOperations/browser/wordPartOperations.js +2 -0
  834. package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.css.js +2 -0
  835. package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.js +5 -3
  836. package/vscode/src/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.css.js +2 -0
  837. package/vscode/src/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.js +2 -0
  838. package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInput.css.js +2 -0
  839. package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +2 -0
  840. package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.js +3 -1
  841. package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditorService.js +2 -0
  842. package/vscode/src/vs/editor/standalone/browser/standaloneLayoutService.js +2 -0
  843. package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +7 -5
  844. package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.js +5 -3
  845. package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterService.js +2 -0
  846. package/vscode/src/vs/editor/standalone/common/standaloneTheme.js +2 -0
  847. package/vscode/src/vs/editor/standalone/common/themes.js +2 -0
  848. package/vscode/src/vs/nls.js +2 -0
  849. package/vscode/src/vs/nls.messages.js +1 -0
  850. package/vscode/src/vs/platform/accessibility/browser/accessibilityService.js +2 -0
  851. package/vscode/src/vs/platform/accessibility/browser/accessibleView.js +2 -0
  852. package/vscode/src/vs/platform/accessibility/browser/accessibleView.service.js +2 -0
  853. package/vscode/src/vs/platform/accessibility/browser/accessibleViewRegistry.js +1 -0
  854. package/vscode/src/vs/platform/accessibility/common/accessibility.js +2 -0
  855. package/vscode/src/vs/platform/accessibility/common/accessibility.service.js +2 -0
  856. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +51 -49
  857. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.service.js +2 -0
  858. package/vscode/src/vs/platform/accessibilitySignal/browser/progressAccessibilitySignalScheduler.js +2 -0
  859. package/vscode/src/vs/platform/action/common/action.js +1 -0
  860. package/vscode/src/vs/platform/action/common/actionCommonCategories.js +8 -6
  861. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +6 -4
  862. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css.js +2 -0
  863. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +10 -8
  864. package/vscode/src/vs/platform/actions/browser/actionViewItemService.service.js +2 -0
  865. package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +10 -1
  866. package/vscode/src/vs/platform/actions/browser/floatingMenu.js +2 -0
  867. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.css.js +2 -0
  868. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +10 -7
  869. package/vscode/src/vs/platform/actions/browser/toolbar.js +5 -3
  870. package/vscode/src/vs/platform/actions/common/actions.contribution.js +1 -0
  871. package/vscode/src/vs/platform/actions/common/actions.d.ts +4 -2
  872. package/vscode/src/vs/platform/actions/common/actions.js +9 -5
  873. package/vscode/src/vs/platform/actions/common/actions.service.js +2 -0
  874. package/vscode/src/vs/platform/actions/common/menuResetAction.js +3 -1
  875. package/vscode/src/vs/platform/actions/common/menuService.js +5 -3
  876. package/vscode/src/vs/platform/backup/common/backup.js +1 -0
  877. package/vscode/src/vs/platform/clipboard/browser/clipboardService.js +2 -0
  878. package/vscode/src/vs/platform/clipboard/common/clipboardService.service.js +2 -0
  879. package/vscode/src/vs/platform/commands/common/commands.js +2 -0
  880. package/vscode/src/vs/platform/commands/common/commands.service.js +2 -0
  881. package/vscode/src/vs/platform/configuration/common/configuration.js +2 -0
  882. package/vscode/src/vs/platform/configuration/common/configuration.service.js +2 -0
  883. package/vscode/src/vs/platform/configuration/common/configurationModels.js +23 -6
  884. package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +2 -1
  885. package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +13 -11
  886. package/vscode/src/vs/platform/configuration/common/configurations.js +2 -0
  887. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +4 -2
  888. package/vscode/src/vs/platform/contextkey/common/contextkey.js +13 -11
  889. package/vscode/src/vs/platform/contextkey/common/contextkey.service.js +2 -0
  890. package/vscode/src/vs/platform/contextkey/common/contextkeys.js +12 -10
  891. package/vscode/src/vs/platform/contextkey/common/scanner.js +7 -5
  892. package/vscode/src/vs/platform/contextview/browser/contextMenuHandler.js +3 -1
  893. package/vscode/src/vs/platform/contextview/browser/contextMenuService.js +2 -0
  894. package/vscode/src/vs/platform/contextview/browser/contextView.service.js +2 -0
  895. package/vscode/src/vs/platform/contextview/browser/contextViewService.js +2 -0
  896. package/vscode/src/vs/platform/debug/common/extensionHostDebug.service.js +2 -0
  897. package/vscode/src/vs/platform/diagnostics/common/diagnostics.js +1 -0
  898. package/vscode/src/vs/platform/diagnostics/common/diagnostics.service.js +2 -0
  899. package/vscode/src/vs/platform/dialogs/common/dialogs.js +11 -9
  900. package/vscode/src/vs/platform/dialogs/common/dialogs.service.js +2 -0
  901. package/vscode/src/vs/platform/dnd/browser/dnd.js +13 -5
  902. package/vscode/src/vs/platform/download/common/download.service.js +2 -0
  903. package/vscode/src/vs/platform/editor/common/editor.js +1 -0
  904. package/vscode/src/vs/platform/encryption/common/encryptionService.service.js +2 -0
  905. package/vscode/src/vs/platform/environment/common/environment.service.js +2 -0
  906. package/vscode/src/vs/platform/environment/common/environmentService.js +10 -0
  907. package/vscode/src/vs/platform/extensionManagement/common/extensionEnablementService.js +2 -0
  908. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +4 -2
  909. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.js +2 -0
  910. package/vscode/src/vs/platform/extensionManagement/common/extensionManagementUtil.js +2 -0
  911. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +3 -1
  912. package/vscode/src/vs/platform/extensionManagement/common/extensionStorage.js +2 -0
  913. package/vscode/src/vs/platform/extensionManagement/common/extensionStorage.service.js +2 -0
  914. package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +2 -0
  915. package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.service.js +2 -0
  916. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +10 -8
  917. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.service.js +2 -0
  918. package/vscode/src/vs/platform/extensionManagement/common/implicitActivationEvents.js +2 -0
  919. package/vscode/src/vs/platform/extensionRecommendations/common/extensionRecommendations.service.js +2 -0
  920. package/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.js +2 -0
  921. package/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.service.js +2 -0
  922. package/vscode/src/vs/platform/extensions/common/extensionValidator.js +22 -28
  923. package/vscode/src/vs/platform/extensions/common/extensions.js +2 -0
  924. package/vscode/src/vs/platform/extensions/common/extensions.service.js +2 -0
  925. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +5 -4
  926. package/vscode/src/vs/platform/externalServices/common/serviceMachineId.js +2 -0
  927. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.d.ts +6 -4
  928. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +64 -9
  929. package/vscode/src/vs/platform/files/browser/webFileSystemAccess.js +9 -1
  930. package/vscode/src/vs/platform/files/common/files.js +2 -0
  931. package/vscode/src/vs/platform/files/common/files.service.js +2 -0
  932. package/vscode/src/vs/platform/files/common/inMemoryFilesystemProvider.js +3 -1
  933. package/vscode/src/vs/platform/files/common/watcher.js +2 -0
  934. package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +5 -3
  935. package/vscode/src/vs/platform/history/browser/historyWidgetKeybindingHint.js +1 -0
  936. package/vscode/src/vs/platform/hover/browser/hover.js +2 -0
  937. package/vscode/src/vs/platform/hover/browser/hover.service.js +2 -0
  938. package/vscode/src/vs/platform/instantiation/common/descriptors.js +1 -0
  939. package/vscode/src/vs/platform/instantiation/common/extensions.js +2 -0
  940. package/vscode/src/vs/platform/instantiation/common/graph.js +1 -0
  941. package/vscode/src/vs/platform/instantiation/common/instantiation.js +1 -0
  942. package/vscode/src/vs/platform/instantiation/common/instantiationService.js +2 -0
  943. package/vscode/src/vs/platform/instantiation/common/serviceCollection.js +1 -0
  944. package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.js +2 -0
  945. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +6 -4
  946. package/vscode/src/vs/platform/keybinding/common/baseResolvedKeybinding.js +2 -0
  947. package/vscode/src/vs/platform/keybinding/common/keybinding.service.js +2 -0
  948. package/vscode/src/vs/platform/keybinding/common/keybindingResolver.js +2 -0
  949. package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.js +3 -1
  950. package/vscode/src/vs/platform/keybinding/common/resolvedKeybindingItem.js +1 -0
  951. package/vscode/src/vs/platform/keybinding/common/usLayoutResolvedKeybinding.js +2 -0
  952. package/vscode/src/vs/platform/keyboardLayout/common/keyboardLayout.js +2 -0
  953. package/vscode/src/vs/platform/keyboardLayout/common/keyboardLayout.service.js +2 -0
  954. package/vscode/src/vs/platform/label/common/label.service.js +2 -0
  955. package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +3 -1
  956. package/vscode/src/vs/platform/languagePacks/common/languagePacks.service.js +2 -0
  957. package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +5 -3
  958. package/vscode/src/vs/platform/layout/browser/layoutService.service.js +2 -0
  959. package/vscode/src/vs/platform/list/browser/listService.js +33 -31
  960. package/vscode/src/vs/platform/list/browser/listService.service.js +2 -0
  961. package/vscode/src/vs/platform/log/browser/log.js +2 -0
  962. package/vscode/src/vs/platform/log/common/bufferLog.js +2 -0
  963. package/vscode/src/vs/platform/log/common/log.js +2 -0
  964. package/vscode/src/vs/platform/log/common/log.service.js +2 -0
  965. package/vscode/src/vs/platform/log/common/logService.js +2 -0
  966. package/vscode/src/vs/platform/markers/common/markerService.js +2 -0
  967. package/vscode/src/vs/platform/markers/common/markers.js +5 -3
  968. package/vscode/src/vs/platform/markers/common/markers.service.js +2 -0
  969. package/vscode/src/vs/platform/notification/common/notification.js +2 -0
  970. package/vscode/src/vs/platform/notification/common/notification.service.js +2 -0
  971. package/vscode/src/vs/platform/observable/common/platformObservableUtils.js +2 -0
  972. package/vscode/src/vs/platform/observable/common/wrapInHotClass.js +2 -0
  973. package/vscode/src/vs/platform/observable/common/wrapInReloadableClass.js +2 -0
  974. package/vscode/src/vs/platform/opener/browser/link.css.js +2 -0
  975. package/vscode/src/vs/platform/opener/browser/link.js +2 -0
  976. package/vscode/src/vs/platform/opener/common/opener.js +1 -0
  977. package/vscode/src/vs/platform/opener/common/opener.service.js +2 -0
  978. package/vscode/src/vs/platform/policy/common/policy.js +2 -0
  979. package/vscode/src/vs/platform/policy/common/policy.service.js +2 -0
  980. package/vscode/src/vs/platform/product/common/product.js +3 -1
  981. package/vscode/src/vs/platform/product/common/productService.js +1 -0
  982. package/vscode/src/vs/platform/product/common/productService.service.js +2 -0
  983. package/vscode/src/vs/platform/progress/common/progress.js +3 -1
  984. package/vscode/src/vs/platform/progress/common/progress.service.js +2 -0
  985. package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css.js +2 -0
  986. package/vscode/src/vs/platform/quickinput/browser/pickerQuickAccess.js +4 -2
  987. package/vscode/src/vs/platform/quickinput/browser/quickAccess.js +3 -1
  988. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +11 -9
  989. package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +5 -4
  990. package/vscode/src/vs/platform/quickinput/browser/quickInputBox.js +3 -1
  991. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +9 -7
  992. package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +2 -0
  993. package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +7 -4
  994. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +5 -2
  995. package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +5 -3
  996. package/vscode/src/vs/platform/quickinput/common/quickAccess.d.ts +1 -1
  997. package/vscode/src/vs/platform/quickinput/common/quickAccess.js +2 -0
  998. package/vscode/src/vs/platform/quickinput/common/quickInput.js +2 -0
  999. package/vscode/src/vs/platform/quickinput/common/quickInput.service.js +2 -0
  1000. package/vscode/src/vs/platform/registry/common/platform.js +2 -0
  1001. package/vscode/src/vs/platform/remote/common/remoteAgentConnection.js +5 -3
  1002. package/vscode/src/vs/platform/remote/common/remoteAuthorityResolver.js +2 -0
  1003. package/vscode/src/vs/platform/remote/common/remoteAuthorityResolver.service.js +2 -0
  1004. package/vscode/src/vs/platform/remote/common/remoteExtensionsScanner.service.js +2 -0
  1005. package/vscode/src/vs/platform/remote/common/remoteHosts.js +2 -0
  1006. package/vscode/src/vs/platform/remote/common/remoteSocketFactoryService.service.js +2 -0
  1007. package/vscode/src/vs/platform/request/common/request.js +17 -15
  1008. package/vscode/src/vs/platform/request/common/request.service.js +2 -0
  1009. package/vscode/src/vs/platform/secrets/common/secrets.service.js +2 -0
  1010. package/vscode/src/vs/platform/severityIcon/browser/media/severityIcon.css.js +2 -0
  1011. package/vscode/src/vs/platform/severityIcon/browser/severityIcon.js +2 -0
  1012. package/vscode/src/vs/platform/sign/common/sign.js +1 -0
  1013. package/vscode/src/vs/platform/sign/common/sign.service.js +2 -0
  1014. package/vscode/src/vs/platform/storage/common/storage.js +2 -0
  1015. package/vscode/src/vs/platform/storage/common/storage.service.js +2 -0
  1016. package/vscode/src/vs/platform/telemetry/common/telemetry.js +1 -0
  1017. package/vscode/src/vs/platform/telemetry/common/telemetry.service.js +2 -0
  1018. package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +3 -0
  1019. package/vscode/src/vs/platform/terminal/common/environmentVariableShared.js +1 -0
  1020. package/vscode/src/vs/platform/terminal/common/terminal.d.ts +6 -2
  1021. package/vscode/src/vs/platform/terminal/common/terminal.js +2 -0
  1022. package/vscode/src/vs/platform/terminal/common/terminal.service.js +2 -0
  1023. package/vscode/src/vs/platform/terminal/common/terminalDataBuffering.js +1 -0
  1024. package/vscode/src/vs/platform/theme/browser/defaultStyles.js +2 -0
  1025. package/vscode/src/vs/platform/theme/browser/iconsStyleSheet.js +3 -1
  1026. package/vscode/src/vs/platform/theme/common/colorUtils.js +4 -2
  1027. package/vscode/src/vs/platform/theme/common/colors/baseColors.js +19 -17
  1028. package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +10 -8
  1029. package/vscode/src/vs/platform/theme/common/colors/editorColors.js +96 -93
  1030. package/vscode/src/vs/platform/theme/common/colors/inputColors.js +48 -46
  1031. package/vscode/src/vs/platform/theme/common/colors/listColors.js +38 -36
  1032. package/vscode/src/vs/platform/theme/common/colors/menuColors.js +9 -7
  1033. package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +13 -11
  1034. package/vscode/src/vs/platform/theme/common/colors/miscColors.js +10 -8
  1035. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +11 -9
  1036. package/vscode/src/vs/platform/theme/common/colors/searchColors.js +4 -3
  1037. package/vscode/src/vs/platform/theme/common/iconRegistry.js +7 -5
  1038. package/vscode/src/vs/platform/theme/common/theme.js +1 -0
  1039. package/vscode/src/vs/platform/theme/common/themeService.js +3 -1
  1040. package/vscode/src/vs/platform/theme/common/themeService.service.js +2 -0
  1041. package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +44 -42
  1042. package/vscode/src/vs/platform/tunnel/common/tunnel.js +2 -0
  1043. package/vscode/src/vs/platform/tunnel/common/tunnel.service.js +2 -0
  1044. package/vscode/src/vs/platform/undoRedo/common/undoRedo.js +1 -0
  1045. package/vscode/src/vs/platform/undoRedo/common/undoRedo.service.js +2 -0
  1046. package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +22 -20
  1047. package/vscode/src/vs/platform/update/common/update.js +5 -2
  1048. package/vscode/src/vs/platform/update/common/update.service.js +2 -0
  1049. package/vscode/src/vs/platform/uriIdentity/common/uriIdentity.service.js +2 -0
  1050. package/vscode/src/vs/platform/uriIdentity/common/uriIdentityService.js +2 -0
  1051. package/vscode/src/vs/platform/url/common/url.service.js +2 -0
  1052. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.d.ts +0 -2
  1053. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +13 -65
  1054. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.service.d.ts +0 -1
  1055. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.service.js +2 -0
  1056. package/vscode/src/vs/platform/userDataProfile/common/userDataProfileStorageService.service.js +2 -0
  1057. package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +4 -2
  1058. package/vscode/src/vs/platform/userDataSync/common/content.js +2 -0
  1059. package/vscode/src/vs/platform/userDataSync/common/ignoredExtensions.service.js +2 -0
  1060. package/vscode/src/vs/platform/userDataSync/common/settingsMerge.js +3 -1
  1061. package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +9 -7
  1062. package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.js +2 -0
  1063. package/vscode/src/vs/platform/userDataSync/common/userDataSyncAccount.service.js +2 -0
  1064. package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +4 -2
  1065. package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.service.js +2 -0
  1066. package/vscode/src/vs/platform/userDataSync/common/userDataSyncStoreService.js +4 -2
  1067. package/vscode/src/vs/platform/window/common/window.js +2 -0
  1068. package/vscode/src/vs/platform/workspace/common/canonicalUri.service.js +2 -0
  1069. package/vscode/src/vs/platform/workspace/common/editSessions.js +1 -0
  1070. package/vscode/src/vs/platform/workspace/common/editSessions.service.js +2 -0
  1071. package/vscode/src/vs/platform/workspace/common/virtualWorkspace.js +2 -0
  1072. package/vscode/src/vs/platform/workspace/common/workspace.js +4 -2
  1073. package/vscode/src/vs/platform/workspace/common/workspace.service.js +2 -0
  1074. package/vscode/src/vs/platform/workspace/common/workspaceTrust.service.js +2 -0
  1075. package/vscode/src/vs/platform/workspaces/common/workspaces.js +2 -0
  1076. package/vscode/src/vs/platform/workspaces/common/workspaces.service.js +2 -0
  1077. package/vscode/src/vs/workbench/api/browser/statusBarService.js +2 -0
  1078. package/vscode/src/vs/workbench/api/common/cache.js +1 -0
  1079. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +23 -13
  1080. package/vscode/src/vs/workbench/api/common/extHost.common.services.js +27 -26
  1081. package/vscode/src/vs/workbench/api/common/extHost.protocol.js +2 -0
  1082. package/vscode/src/vs/workbench/api/common/extHostAiRelatedInformation.js +2 -0
  1083. package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +4 -2
  1084. package/vscode/src/vs/workbench/api/common/extHostApiDeprecationService.js +2 -0
  1085. package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +2 -0
  1086. package/vscode/src/vs/workbench/api/common/extHostBulkEdits.js +2 -0
  1087. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +80 -46
  1088. package/vscode/src/vs/workbench/api/common/extHostChatVariables.js +12 -10
  1089. package/vscode/src/vs/workbench/api/common/extHostClipboard.js +2 -0
  1090. package/vscode/src/vs/workbench/api/common/extHostCodeInsets.js +2 -0
  1091. package/vscode/src/vs/workbench/api/common/extHostCodeMapper.js +21 -3
  1092. package/vscode/src/vs/workbench/api/common/extHostCommands.js +13 -11
  1093. package/vscode/src/vs/workbench/api/common/extHostComments.js +27 -11
  1094. package/vscode/src/vs/workbench/api/common/extHostConfiguration.js +3 -1
  1095. package/vscode/src/vs/workbench/api/common/extHostConsoleForwarder.js +2 -0
  1096. package/vscode/src/vs/workbench/api/common/extHostCustomEditors.js +2 -0
  1097. package/vscode/src/vs/workbench/api/common/extHostDebugService.js +4 -2
  1098. package/vscode/src/vs/workbench/api/common/extHostDecorations.js +4 -2
  1099. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +3 -1
  1100. package/vscode/src/vs/workbench/api/common/extHostDialogs.js +2 -0
  1101. package/vscode/src/vs/workbench/api/common/extHostDocumentContentProviders.js +2 -0
  1102. package/vscode/src/vs/workbench/api/common/extHostDocumentData.js +2 -0
  1103. package/vscode/src/vs/workbench/api/common/extHostDocumentSaveParticipant.js +2 -0
  1104. package/vscode/src/vs/workbench/api/common/extHostDocuments.js +2 -0
  1105. package/vscode/src/vs/workbench/api/common/extHostDocumentsAndEditors.js +2 -0
  1106. package/vscode/src/vs/workbench/api/common/extHostEditorTabs.js +2 -0
  1107. package/vscode/src/vs/workbench/api/common/extHostEmbedding.js +2 -0
  1108. package/vscode/src/vs/workbench/api/common/extHostEmbeddingVector.js +2 -0
  1109. package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.js +2 -0
  1110. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +10 -8
  1111. package/vscode/src/vs/workbench/api/common/extHostFileSystem.js +2 -0
  1112. package/vscode/src/vs/workbench/api/common/extHostFileSystemConsumer.js +2 -0
  1113. package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.js +3 -1
  1114. package/vscode/src/vs/workbench/api/common/extHostFileSystemInfo.js +2 -0
  1115. package/vscode/src/vs/workbench/api/common/extHostInitDataService.js +2 -0
  1116. package/vscode/src/vs/workbench/api/common/extHostInteractive.js +2 -0
  1117. package/vscode/src/vs/workbench/api/common/extHostLabelService.js +2 -0
  1118. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +13 -7
  1119. package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +24 -39
  1120. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +47 -9
  1121. package/vscode/src/vs/workbench/api/common/extHostLanguages.js +2 -0
  1122. package/vscode/src/vs/workbench/api/common/extHostLocalizationService.js +2 -0
  1123. package/vscode/src/vs/workbench/api/common/extHostLogService.js +3 -1
  1124. package/vscode/src/vs/workbench/api/common/extHostLoggerService.js +2 -0
  1125. package/vscode/src/vs/workbench/api/common/extHostManagedSockets.js +3 -1
  1126. package/vscode/src/vs/workbench/api/common/extHostMemento.js +2 -0
  1127. package/vscode/src/vs/workbench/api/common/extHostMessageService.js +2 -0
  1128. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +6 -4
  1129. package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +2 -0
  1130. package/vscode/src/vs/workbench/api/common/extHostNotebookDocumentSaveParticipant.js +2 -0
  1131. package/vscode/src/vs/workbench/api/common/extHostNotebookDocuments.js +2 -0
  1132. package/vscode/src/vs/workbench/api/common/extHostNotebookEditor.js +2 -0
  1133. package/vscode/src/vs/workbench/api/common/extHostNotebookEditors.js +2 -0
  1134. package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +5 -3
  1135. package/vscode/src/vs/workbench/api/common/extHostNotebookRenderers.js +2 -0
  1136. package/vscode/src/vs/workbench/api/common/extHostOutput.js +27 -31
  1137. package/vscode/src/vs/workbench/api/common/extHostProfileContentHandler.js +2 -0
  1138. package/vscode/src/vs/workbench/api/common/extHostProgress.js +3 -1
  1139. package/vscode/src/vs/workbench/api/common/extHostQuickDiff.js +2 -0
  1140. package/vscode/src/vs/workbench/api/common/extHostQuickOpen.js +6 -4
  1141. package/vscode/src/vs/workbench/api/common/extHostRequireInterceptor.js +2 -0
  1142. package/vscode/src/vs/workbench/api/common/extHostRpcService.js +2 -0
  1143. package/vscode/src/vs/workbench/api/common/extHostSCM.js +51 -17
  1144. package/vscode/src/vs/workbench/api/common/extHostSearch.js +2 -0
  1145. package/vscode/src/vs/workbench/api/common/extHostSecretState.js +2 -0
  1146. package/vscode/src/vs/workbench/api/common/extHostSecrets.js +2 -0
  1147. package/vscode/src/vs/workbench/api/common/extHostShare.js +2 -0
  1148. package/vscode/src/vs/workbench/api/common/extHostSpeech.js +3 -1
  1149. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +5 -3
  1150. package/vscode/src/vs/workbench/api/common/extHostStorage.js +2 -0
  1151. package/vscode/src/vs/workbench/api/common/extHostStoragePaths.js +2 -0
  1152. package/vscode/src/vs/workbench/api/common/extHostTask.js +4 -2
  1153. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +3 -1
  1154. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +4 -2
  1155. package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +3 -1
  1156. package/vscode/src/vs/workbench/api/common/extHostTestItem.js +4 -2
  1157. package/vscode/src/vs/workbench/api/common/extHostTesting.js +5 -3
  1158. package/vscode/src/vs/workbench/api/common/extHostTestingPrivateApi.js +2 -0
  1159. package/vscode/src/vs/workbench/api/common/extHostTextEditor.js +7 -5
  1160. package/vscode/src/vs/workbench/api/common/extHostTextEditors.js +3 -1
  1161. package/vscode/src/vs/workbench/api/common/extHostTheming.js +2 -0
  1162. package/vscode/src/vs/workbench/api/common/extHostTimeline.js +3 -1
  1163. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +8 -6
  1164. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +5 -3
  1165. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +136 -30
  1166. package/vscode/src/vs/workbench/api/common/extHostTypes.js +89 -17
  1167. package/vscode/src/vs/workbench/api/common/extHostUriOpener.js +2 -0
  1168. package/vscode/src/vs/workbench/api/common/extHostUriTransformerService.js +2 -0
  1169. package/vscode/src/vs/workbench/api/common/extHostUrls.js +2 -0
  1170. package/vscode/src/vs/workbench/api/common/extHostVariableResolverService.js +2 -0
  1171. package/vscode/src/vs/workbench/api/common/extHostWebview.js +3 -1
  1172. package/vscode/src/vs/workbench/api/common/extHostWebviewMessaging.js +2 -0
  1173. package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.js +2 -0
  1174. package/vscode/src/vs/workbench/api/common/extHostWebviewView.js +6 -4
  1175. package/vscode/src/vs/workbench/api/common/extHostWindow.js +2 -0
  1176. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +5 -3
  1177. package/vscode/src/vs/workbench/api/common/extensionHostMain.js +3 -1
  1178. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +14 -12
  1179. package/vscode/src/vs/workbench/api/worker/extHost.worker.services.js +2 -1
  1180. package/vscode/src/vs/workbench/api/worker/extHostConsoleForwarder.js +2 -0
  1181. package/vscode/src/vs/workbench/api/worker/extHostExtensionService.js +2 -0
  1182. package/vscode/src/vs/workbench/api/worker/extensionHostWorker.js +3 -1
  1183. package/vscode/src/vs/workbench/api/worker/{extensionHostWorker.esm.js → extensionHostWorkerMain.js} +1 -0
  1184. package/vscode/src/vs/workbench/browser/actions/developerActions.js +34 -33
  1185. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +134 -132
  1186. package/vscode/src/vs/workbench/browser/actions/media/actions.css.js +2 -0
  1187. package/vscode/src/vs/workbench/browser/actions/textInputActions.js +9 -7
  1188. package/vscode/src/vs/workbench/browser/actions/widgetNavigationCommands.js +4 -2
  1189. package/vscode/src/vs/workbench/browser/actions/windowActions.js +31 -29
  1190. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +23 -21
  1191. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +7 -5
  1192. package/vscode/src/vs/workbench/browser/actions.js +2 -0
  1193. package/vscode/src/vs/workbench/browser/codeeditor.js +3 -1
  1194. package/vscode/src/vs/workbench/browser/composite.js +2 -0
  1195. package/vscode/src/vs/workbench/browser/dnd.js +5 -3
  1196. package/vscode/src/vs/workbench/browser/editor.js +4 -2
  1197. package/vscode/src/vs/workbench/browser/labels.js +4 -2
  1198. package/vscode/src/vs/workbench/browser/media/part.css.js +2 -0
  1199. package/vscode/src/vs/workbench/browser/media/style.css.js +6 -0
  1200. package/vscode/src/vs/workbench/browser/panecomposite.js +3 -1
  1201. package/vscode/src/vs/workbench/browser/part.js +3 -1
  1202. package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.d.ts +1 -0
  1203. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +14 -12
  1204. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +17 -13
  1205. package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +3 -1
  1206. package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +5 -3
  1207. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.service.js +2 -0
  1208. package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +8 -6
  1209. package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution._autosave.js +1 -0
  1210. package/vscode/src/vs/workbench/browser/parts/editor/editor.js +2 -0
  1211. package/vscode/src/vs/workbench/browser/parts/editor/editorAutoSave.js +2 -0
  1212. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +32 -19
  1213. package/vscode/src/vs/workbench/browser/parts/editor/editorCommandsContext.js +2 -0
  1214. package/vscode/src/vs/workbench/browser/parts/editor/editorPane.js +2 -0
  1215. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +11 -9
  1216. package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +7 -5
  1217. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +65 -63
  1218. package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +9 -11
  1219. package/vscode/src/vs/workbench/browser/parts/editor/editorWithViewState.js +2 -0
  1220. package/vscode/src/vs/workbench/browser/parts/editor/editorsObserver.js +3 -1
  1221. package/vscode/src/vs/workbench/browser/parts/editor/media/editorplaceholder.css.js +2 -0
  1222. package/vscode/src/vs/workbench/browser/parts/editor/media/editorquickaccess.css.js +2 -0
  1223. package/vscode/src/vs/workbench/browser/parts/editor/media/editorstatus.css.js +2 -0
  1224. package/vscode/src/vs/workbench/browser/parts/editor/media/editortabscontrol.css.js +3 -1
  1225. package/vscode/src/vs/workbench/browser/parts/editor/media/sidebysideeditor.css.js +2 -0
  1226. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +3 -1
  1227. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +3 -1
  1228. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +5 -3
  1229. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +3 -1
  1230. package/vscode/src/vs/workbench/browser/parts/editor/textResourceEditor.js +2 -0
  1231. package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +19 -17
  1232. package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.d.ts +1 -0
  1233. package/vscode/src/vs/workbench/browser/parts/paneCompositePart.d.ts +5 -0
  1234. package/vscode/src/vs/workbench/browser/parts/panel/media/panelpart.css.js +2 -0
  1235. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +39 -37
  1236. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.d.ts +1 -0
  1237. package/vscode/src/vs/workbench/browser/parts/titlebar/media/menubarControl.css.js +2 -0
  1238. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +21 -19
  1239. package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +234 -0
  1240. package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +5 -3
  1241. package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +3 -4
  1242. package/vscode/src/vs/workbench/browser/parts/views/media/paneviewlet.css.js +2 -0
  1243. package/vscode/src/vs/workbench/browser/parts/views/media/views.css.js +3 -1
  1244. package/vscode/src/vs/workbench/browser/parts/views/treeView.js +79 -68
  1245. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +4 -2
  1246. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +17 -11
  1247. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +10 -8
  1248. package/vscode/src/vs/workbench/browser/parts/views/viewsViewlet.js +2 -0
  1249. package/vscode/src/vs/workbench/browser/quickaccess.js +4 -2
  1250. package/vscode/src/vs/workbench/browser/style.js +54 -0
  1251. package/vscode/src/vs/workbench/browser/window.js +18 -16
  1252. package/vscode/src/vs/workbench/browser/workbench.contribution.js +225 -228
  1253. package/vscode/src/vs/workbench/common/activity.js +1 -0
  1254. package/vscode/src/vs/workbench/common/component.js +2 -0
  1255. package/vscode/src/vs/workbench/common/configuration.js +12 -10
  1256. package/vscode/src/vs/workbench/common/contextkeys.js +72 -70
  1257. package/vscode/src/vs/workbench/common/contributions.js +2 -0
  1258. package/vscode/src/vs/workbench/common/editor/binaryEditorModel.js +2 -0
  1259. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +3 -1
  1260. package/vscode/src/vs/workbench/common/editor/diffEditorModel.js +2 -0
  1261. package/vscode/src/vs/workbench/common/editor/editorGroupModel.js +3 -1
  1262. package/vscode/src/vs/workbench/common/editor/editorInput.js +2 -0
  1263. package/vscode/src/vs/workbench/common/editor/editorModel.js +2 -0
  1264. package/vscode/src/vs/workbench/common/editor/editorOptions.js +2 -0
  1265. package/vscode/src/vs/workbench/common/editor/resourceEditorInput.js +2 -0
  1266. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +3 -1
  1267. package/vscode/src/vs/workbench/common/editor/textDiffEditorModel.js +2 -0
  1268. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +3 -1
  1269. package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.js +2 -0
  1270. package/vscode/src/vs/workbench/common/editor/textResourceEditorModel.js +2 -0
  1271. package/vscode/src/vs/workbench/common/editor.js +7 -5
  1272. package/vscode/src/vs/workbench/common/memento.js +2 -0
  1273. package/vscode/src/vs/workbench/common/resources.js +2 -0
  1274. package/vscode/src/vs/workbench/common/theme.js +160 -158
  1275. package/vscode/src/vs/workbench/common/views.d.ts +5 -0
  1276. package/vscode/src/vs/workbench/common/views.js +6 -4
  1277. package/vscode/src/vs/workbench/common/views.service.js +2 -0
  1278. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +146 -144
  1279. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +44 -24
  1280. package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +2 -0
  1281. package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkCellEdits.js +2 -0
  1282. package/vscode/src/vs/workbench/contrib/callHierarchy/common/callHierarchy.js +2 -0
  1283. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +166 -0
  1284. package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.js +2 -0
  1285. package/vscode/src/vs/workbench/contrib/chat/common/chatActions.js +7 -0
  1286. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +46 -11
  1287. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.js +2 -0
  1288. package/vscode/src/vs/workbench/contrib/chat/common/chatCodeMapperService.service.js +2 -0
  1289. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +53 -29
  1290. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.js +2 -0
  1291. package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +2 -0
  1292. package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.js +2 -0
  1293. package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.service.js +2 -0
  1294. package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.service.js +2 -0
  1295. package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service.js +2 -0
  1296. package/vscode/src/vs/workbench/contrib/chat/common/ignoredFiles.service.js +5 -0
  1297. package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.service.js +2 -0
  1298. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +5 -0
  1299. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.js +2 -0
  1300. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.service.js +2 -0
  1301. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActions.contribution.js +1 -0
  1302. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +21 -17
  1303. package/vscode/src/vs/workbench/contrib/codeActions/browser/documentationContribution.js +2 -0
  1304. package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +12 -10
  1305. package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +8 -6
  1306. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.css.js +2 -0
  1307. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +10 -8
  1308. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +8 -6
  1309. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +4 -3
  1310. package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorFeatures.js +1 -0
  1311. package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorLineNumberMenu.js +2 -0
  1312. package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.css.js +2 -0
  1313. package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +12 -10
  1314. package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.css.js +2 -0
  1315. package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +6 -4
  1316. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +5 -3
  1317. package/vscode/src/vs/workbench/contrib/codeEditor/browser/menuPreventer.js +2 -0
  1318. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +10 -8
  1319. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +7 -5
  1320. package/vscode/src/vs/workbench/contrib/codeEditor/browser/selectionClipboard.js +1 -0
  1321. package/vscode/src/vs/workbench/contrib/codeEditor/browser/simpleEditorOptions.js +2 -0
  1322. package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.css.js +2 -0
  1323. package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +3 -1
  1324. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +5 -3
  1325. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +6 -4
  1326. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +4 -2
  1327. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +3 -2
  1328. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +9 -7
  1329. package/vscode/src/vs/workbench/contrib/codeEditor/browser/workbenchReferenceSearch.js +2 -0
  1330. package/vscode/src/vs/workbench/contrib/comments/browser/commentService.service.js +2 -0
  1331. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +14 -12
  1332. package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +7 -1
  1333. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +12 -10
  1334. package/vscode/src/vs/workbench/contrib/contextmenu/browser/contextmenu.contribution.js +1 -0
  1335. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +5 -3
  1336. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.service.js +2 -0
  1337. package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +4 -2
  1338. package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +14 -12
  1339. package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +59 -57
  1340. package/vscode/src/vs/workbench/contrib/debug/browser/media/all.png.js +1 -0
  1341. package/vscode/src/vs/workbench/contrib/debug/browser/media/callStackEditorContribution.css.js +2 -0
  1342. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +3 -1
  1343. package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +1 -1
  1344. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +2 -0
  1345. package/vscode/src/vs/workbench/contrib/debug/common/debug.service.js +2 -0
  1346. package/vscode/src/vs/workbench/contrib/debug/common/debugUtils.js +2 -0
  1347. package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.service.js +2 -0
  1348. package/vscode/src/vs/workbench/contrib/editSessions/common/editSessions.service.js +2 -0
  1349. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +180 -178
  1350. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +26 -24
  1351. package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionActions.css.js +2 -0
  1352. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +2 -0
  1353. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.js +2 -0
  1354. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +7 -5
  1355. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +4 -2
  1356. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +5 -3
  1357. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +6 -4
  1358. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +6 -4
  1359. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.service.js +2 -0
  1360. package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +3 -1
  1361. package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorHandler.js +2 -0
  1362. package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorInput.js +2 -0
  1363. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +11 -9
  1364. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditorTracker.js +2 -0
  1365. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +20 -18
  1366. package/vscode/src/vs/workbench/contrib/files/browser/explorerFileContrib.js +2 -0
  1367. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +17 -15
  1368. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +99 -96
  1369. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +5 -4
  1370. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +8 -6
  1371. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +39 -37
  1372. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +58 -56
  1373. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +3 -2
  1374. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._fileEditorFactory.js +1 -0
  1375. package/vscode/src/vs/workbench/contrib/files/browser/files.js +2 -0
  1376. package/vscode/src/vs/workbench/contrib/files/browser/files.service.js +2 -0
  1377. package/vscode/src/vs/workbench/contrib/files/browser/media/explorerviewlet.css.js +2 -0
  1378. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +3 -1
  1379. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +6 -4
  1380. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +24 -17
  1381. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +20 -18
  1382. package/vscode/src/vs/workbench/contrib/files/browser/views/media/openeditors.css.js +2 -0
  1383. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +14 -12
  1384. package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +7 -5
  1385. package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +3 -1
  1386. package/vscode/src/vs/workbench/contrib/files/common/explorerFileNestingTrie.js +1 -0
  1387. package/vscode/src/vs/workbench/contrib/files/common/explorerModel.js +2 -0
  1388. package/vscode/src/vs/workbench/contrib/files/common/files.js +16 -14
  1389. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +4 -3
  1390. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +22 -20
  1391. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +5 -4
  1392. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +3 -1
  1393. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +7 -5
  1394. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +38 -43
  1395. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +28 -11
  1396. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSavingService.service.js +2 -0
  1397. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +3 -1
  1398. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.js +2 -0
  1399. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +3 -1
  1400. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +6 -70
  1401. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +26 -10
  1402. package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +3 -1
  1403. package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveDocumentService.service.js +2 -0
  1404. package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveEditorInput.js +2 -0
  1405. package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveHistoryService.service.js +2 -0
  1406. package/vscode/src/vs/workbench/contrib/issue/browser/issueTroubleshoot.service.js +2 -0
  1407. package/vscode/src/vs/workbench/contrib/issue/common/issue.service.js +2 -0
  1408. package/vscode/src/vs/workbench/contrib/list/browser/list.contribution.js +2 -0
  1409. package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +4 -2
  1410. package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +7 -5
  1411. package/vscode/src/vs/workbench/contrib/logs/common/defaultLogLevels.service.js +2 -0
  1412. package/vscode/src/vs/workbench/contrib/logs/common/logsActions.js +206 -0
  1413. package/vscode/src/vs/workbench/contrib/mappedEdits/common/mappedEdits.contribution.js +1 -0
  1414. package/vscode/src/vs/workbench/contrib/markdown/browser/markdownDocumentRenderer.js +4 -2
  1415. package/vscode/src/vs/workbench/contrib/markdown/browser/markedGfmHeadingIdPlugin.js +1 -0
  1416. package/vscode/src/vs/workbench/contrib/markers/common/markers.js +2 -0
  1417. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +3 -1
  1418. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +31 -29
  1419. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeMarkers/mergeMarkersController.js +2 -0
  1420. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/diffComputer.js +2 -0
  1421. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/editing.js +2 -0
  1422. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/lineRange.js +2 -0
  1423. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mapping.js +2 -0
  1424. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +5 -3
  1425. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/modifiedBaseRange.js +3 -1
  1426. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/rangeUtils.js +2 -0
  1427. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +2 -0
  1428. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/telemetry.js +2 -0
  1429. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/utils.js +4 -2
  1430. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +24 -22
  1431. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/fixedZoneWidget.js +2 -0
  1432. package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +10 -8
  1433. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +3 -1
  1434. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +5 -3
  1435. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.js +2 -0
  1436. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.js +2 -0
  1437. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +3 -1
  1438. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +12 -10
  1439. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/notebookVisibleCellObserver.js +2 -0
  1440. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findFilters.js +2 -0
  1441. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.css.js +2 -0
  1442. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +22 -20
  1443. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +8 -6
  1444. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.js +2 -0
  1445. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +12 -10
  1446. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.js +2 -0
  1447. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCellStatusBarService.service.js +2 -0
  1448. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +6 -3
  1449. package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.js +6 -2
  1450. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +5 -3
  1451. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +5 -1
  1452. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverService.service.js +2 -0
  1453. package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.js +1 -0
  1454. package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.service.js +2 -0
  1455. package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.js +1 -0
  1456. package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service.js +2 -0
  1457. package/vscode/src/vs/workbench/contrib/notebook/common/notebookKernelService.js +1 -0
  1458. package/vscode/src/vs/workbench/contrib/notebook/common/notebookKernelService.service.js +2 -0
  1459. package/vscode/src/vs/workbench/contrib/notebook/common/notebookKeymapService.service.js +2 -0
  1460. package/vscode/src/vs/workbench/contrib/notebook/common/notebookLoggingService.service.js +2 -0
  1461. package/vscode/src/vs/workbench/contrib/notebook/common/notebookPerformance.js +1 -0
  1462. package/vscode/src/vs/workbench/contrib/notebook/common/notebookRange.js +1 -0
  1463. package/vscode/src/vs/workbench/contrib/notebook/common/notebookRendererMessagingService.service.js +2 -0
  1464. package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.js +1 -0
  1465. package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.js +2 -0
  1466. package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookWorkerService.js +1 -0
  1467. package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookWorkerService.service.js +2 -0
  1468. package/vscode/src/vs/workbench/contrib/outline/browser/outline.js +2 -0
  1469. package/vscode/src/vs/workbench/contrib/output/common/outputChannelModelService.service.js +2 -0
  1470. package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +7 -5
  1471. package/vscode/src/vs/workbench/contrib/preferences/browser/media/keybindings.css.js +2 -0
  1472. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +14 -12
  1473. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +13 -11
  1474. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +52 -50
  1475. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +3 -1
  1476. package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +22 -11
  1477. package/vscode/src/vs/workbench/contrib/preferences/common/preferences.service.js +2 -0
  1478. package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +23 -21
  1479. package/vscode/src/vs/workbench/contrib/remote/browser/media/tunnelView.css.js +2 -0
  1480. package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +19 -17
  1481. package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +19 -17
  1482. package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +70 -68
  1483. package/vscode/src/vs/workbench/contrib/remote/browser/urlFinder.js +2 -0
  1484. package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +4 -2
  1485. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +45 -36
  1486. package/vscode/src/vs/workbench/contrib/scm/browser/media/dirtydiffDecorator.css.js +2 -0
  1487. package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +16 -14
  1488. package/vscode/src/vs/workbench/contrib/scm/browser/util.js +2 -0
  1489. package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.service.js +2 -0
  1490. package/vscode/src/vs/workbench/contrib/scm/common/scm.js +1 -0
  1491. package/vscode/src/vs/workbench/contrib/scm/common/scm.service.js +2 -0
  1492. package/vscode/src/vs/workbench/contrib/search/browser/AISearch/aiSearchModelBase.js +7 -0
  1493. package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +14 -16
  1494. package/vscode/src/vs/workbench/contrib/search/browser/media/anythingQuickAccess.css.js +2 -0
  1495. package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchModelBase.js +23 -0
  1496. package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchService.js +3 -1
  1497. package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/searchNotebookHelpers.js +3 -1
  1498. package/vscode/src/vs/workbench/contrib/search/browser/replace.service.js +2 -0
  1499. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +8 -5
  1500. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +18 -17
  1501. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +359 -0
  1502. package/vscode/src/vs/workbench/contrib/search/browser/searchCompare.js +117 -0
  1503. package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +29 -0
  1504. package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/searchTreeCommon.js +110 -0
  1505. package/vscode/src/vs/workbench/contrib/search/browser/{searchModel.service.js → searchTreeModel/searchViewModelWorkbenchService.service.js} +3 -1
  1506. package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +4 -2
  1507. package/vscode/src/vs/workbench/contrib/search/common/cacheState.js +2 -0
  1508. package/vscode/src/vs/workbench/contrib/search/common/cellSearchModel.js +2 -0
  1509. package/vscode/src/vs/workbench/contrib/search/common/constants.js +2 -0
  1510. package/vscode/src/vs/workbench/contrib/search/common/notebookSearch.service.js +2 -0
  1511. package/vscode/src/vs/workbench/contrib/search/common/search.js +2 -0
  1512. package/vscode/src/vs/workbench/contrib/search/common/searchHistoryService.service.js +2 -0
  1513. package/vscode/src/vs/workbench/contrib/search/common/searchNotebookHelpers.js +2 -0
  1514. package/vscode/src/vs/workbench/contrib/searchEditor/browser/constants.js +2 -0
  1515. package/vscode/src/vs/workbench/contrib/share/common/share.service.js +2 -0
  1516. package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +3 -1
  1517. package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +4 -2
  1518. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +5 -3
  1519. package/vscode/src/vs/workbench/contrib/snippets/browser/snippets.service.js +2 -0
  1520. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +5 -3
  1521. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +13 -11
  1522. package/vscode/src/vs/workbench/contrib/snippets/browser/tabCompletion.js +3 -1
  1523. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +31 -29
  1524. package/vscode/src/vs/workbench/contrib/speech/common/speechService.service.js +2 -0
  1525. package/vscode/src/vs/workbench/contrib/tags/browser/workspaceTagsService.js +2 -0
  1526. package/vscode/src/vs/workbench/contrib/tags/common/workspaceTags.service.js +2 -0
  1527. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +7 -5
  1528. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +7 -5
  1529. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.js +2 -0
  1530. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +5 -3
  1531. package/vscode/src/vs/workbench/contrib/terminal/browser/detachedTerminal.js +98 -0
  1532. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +17 -28
  1533. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +5 -1
  1534. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.js +2 -0
  1535. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcon.js +2 -0
  1536. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProcessExtHostProxy.js +2 -0
  1537. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermAddonImporter.d.ts +24 -0
  1538. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +28 -18
  1539. package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.service.js +2 -0
  1540. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +0 -3
  1541. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.js +2 -0
  1542. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +26 -24
  1543. package/vscode/src/vs/workbench/contrib/terminal/common/terminalExtensionPoints.service.js +2 -0
  1544. package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/links.service.js +2 -0
  1545. package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.js +1 -0
  1546. package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.service.js +2 -0
  1547. package/vscode/src/vs/workbench/contrib/testing/common/getComputedState.js +3 -1
  1548. package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.js +2 -0
  1549. package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.service.js +2 -0
  1550. package/vscode/src/vs/workbench/contrib/testing/common/testExplorerFilterState.service.js +2 -0
  1551. package/vscode/src/vs/workbench/contrib/testing/common/testId.js +1 -0
  1552. package/vscode/src/vs/workbench/contrib/testing/common/testItemCollection.js +3 -1
  1553. package/vscode/src/vs/workbench/contrib/testing/common/testProfileService.service.js +2 -0
  1554. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +6 -4
  1555. package/vscode/src/vs/workbench/contrib/testing/common/testResultService.service.js +2 -0
  1556. package/vscode/src/vs/workbench/contrib/testing/common/testResultStorage.service.js +2 -0
  1557. package/vscode/src/vs/workbench/contrib/testing/common/testService.service.js +2 -0
  1558. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +2 -0
  1559. package/vscode/src/vs/workbench/contrib/testing/common/testingContinuousRunService.service.js +2 -0
  1560. package/vscode/src/vs/workbench/contrib/testing/common/testingDecorations.service.js +2 -0
  1561. package/vscode/src/vs/workbench/contrib/testing/common/testingPeekOpener.service.js +2 -0
  1562. package/vscode/src/vs/workbench/contrib/testing/common/testingStates.js +2 -0
  1563. package/vscode/src/vs/workbench/contrib/timeline/common/timeline.js +2 -0
  1564. package/vscode/src/vs/workbench/contrib/timeline/common/timeline.service.js +2 -0
  1565. package/vscode/src/vs/workbench/contrib/typeHierarchy/common/typeHierarchy.js +2 -0
  1566. package/vscode/src/vs/workbench/contrib/update/common/update.js +1 -0
  1567. package/vscode/src/vs/workbench/contrib/url/browser/trustedDomainService.js +3 -1
  1568. package/vscode/src/vs/workbench/contrib/url/browser/trustedDomainService.service.js +2 -0
  1569. package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +8 -6
  1570. package/vscode/src/vs/workbench/contrib/url/common/urlGlob.js +1 -0
  1571. package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +6 -4
  1572. package/vscode/src/vs/workbench/contrib/webview/browser/webview.js +2 -0
  1573. package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.js +2 -0
  1574. package/vscode/src/vs/workbench/contrib/webview/browser/webviewWindowDragMonitor.js +2 -0
  1575. package/vscode/src/vs/workbench/contrib/webview/common/webview.js +2 -0
  1576. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +3 -1
  1577. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput.js +2 -0
  1578. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewIconManager.js +4 -1
  1579. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.js +3 -1
  1580. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.js +2 -0
  1581. package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewService.service.js +2 -0
  1582. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.service.js +2 -0
  1583. package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +4 -2
  1584. package/vscode/src/vs/workbench/services/accessibility/common/accessibleViewInformationService.service.js +2 -0
  1585. package/vscode/src/vs/workbench/services/activity/browser/activityService.js +145 -0
  1586. package/vscode/src/vs/workbench/services/activity/common/activity.js +6 -4
  1587. package/vscode/src/vs/workbench/services/activity/common/activity.service.js +2 -0
  1588. package/vscode/src/vs/workbench/services/aiEmbeddingVector/common/aiEmbeddingVectorService.service.js +2 -0
  1589. package/vscode/src/vs/workbench/services/aiRelatedInformation/common/aiRelatedInformation.js +1 -0
  1590. package/vscode/src/vs/workbench/services/aiRelatedInformation/common/aiRelatedInformation.service.js +2 -0
  1591. package/vscode/src/vs/workbench/services/assignment/common/assignmentService.service.js +2 -0
  1592. package/vscode/src/vs/workbench/services/authentication/browser/authenticationAccessService.service.js +2 -0
  1593. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +6 -4
  1594. package/vscode/src/vs/workbench/services/authentication/browser/authenticationUsageService.service.js +2 -0
  1595. package/vscode/src/vs/workbench/services/authentication/common/authentication.js +1 -0
  1596. package/vscode/src/vs/workbench/services/authentication/common/authentication.service.js +2 -0
  1597. package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +10 -8
  1598. package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.service.js +2 -0
  1599. package/vscode/src/vs/workbench/services/banner/browser/bannerService.service.js +2 -0
  1600. package/vscode/src/vs/workbench/services/configuration/common/configuration.js +1 -0
  1601. package/vscode/src/vs/workbench/services/configuration/common/configuration.service.js +2 -0
  1602. package/vscode/src/vs/workbench/services/configuration/common/jsonEditing.service.js +2 -0
  1603. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.js +2 -0
  1604. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.service.js +2 -0
  1605. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +18 -16
  1606. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +3 -1
  1607. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +19 -17
  1608. package/vscode/src/vs/workbench/services/decorations/common/decorations.service.js +2 -0
  1609. package/vscode/src/vs/workbench/services/driver/browser/driver.js +2 -0
  1610. package/vscode/src/vs/workbench/services/editor/browser/codeEditorService.js +2 -0
  1611. package/vscode/src/vs/workbench/services/editor/browser/editorService.js +4 -2
  1612. package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.js +2 -0
  1613. package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.service.js +2 -0
  1614. package/vscode/src/vs/workbench/services/editor/common/editorGroupColumn.js +2 -0
  1615. package/vscode/src/vs/workbench/services/editor/common/editorGroupFinder.js +3 -1
  1616. package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.js +2 -0
  1617. package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.service.js +2 -0
  1618. package/vscode/src/vs/workbench/services/editor/common/editorPaneService.service.js +2 -0
  1619. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +3 -1
  1620. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.service.js +2 -0
  1621. package/vscode/src/vs/workbench/services/editor/common/editorService.js +2 -0
  1622. package/vscode/src/vs/workbench/services/editor/common/editorService.service.js +2 -0
  1623. package/vscode/src/vs/workbench/services/environment/browser/environmentService.service.js +2 -0
  1624. package/vscode/src/vs/workbench/services/environment/common/environmentService.service.js +2 -0
  1625. package/vscode/src/vs/workbench/services/extensionManagement/browser/extensionBisect.service.js +2 -0
  1626. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionFeatures.js +2 -0
  1627. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionFeatures.service.js +2 -0
  1628. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +3 -1
  1629. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.js +3 -1
  1630. package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.service.js +2 -0
  1631. package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +8 -6
  1632. package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.service.js +2 -0
  1633. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.service.js +2 -0
  1634. package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.js +2 -0
  1635. package/vscode/src/vs/workbench/services/extensions/common/extensionHostKind.js +2 -0
  1636. package/vscode/src/vs/workbench/services/extensions/common/extensionHostProtocol.js +2 -0
  1637. package/vscode/src/vs/workbench/services/extensions/common/extensionManifestPropertiesService.js +2 -0
  1638. package/vscode/src/vs/workbench/services/extensions/common/extensionManifestPropertiesService.service.js +2 -0
  1639. package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocation.js +1 -0
  1640. package/vscode/src/vs/workbench/services/extensions/common/extensions.js +2 -0
  1641. package/vscode/src/vs/workbench/services/extensions/common/extensions.service.js +2 -0
  1642. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +85 -83
  1643. package/vscode/src/vs/workbench/services/extensions/common/lazyPromise.js +3 -1
  1644. package/vscode/src/vs/workbench/services/extensions/common/proxyIdentifier.js +1 -0
  1645. package/vscode/src/vs/workbench/services/extensions/common/rpcProtocol.js +5 -3
  1646. package/vscode/src/vs/workbench/services/extensions/common/workspaceContains.js +2 -0
  1647. package/vscode/src/vs/workbench/services/extensions/worker/polyfillNestedWorker.js +1 -0
  1648. package/vscode/src/vs/workbench/services/files/common/elevatedFileService.service.js +2 -0
  1649. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +7 -5
  1650. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.js +2 -0
  1651. package/vscode/src/vs/workbench/services/history/common/history.js +1 -0
  1652. package/vscode/src/vs/workbench/services/history/common/history.service.js +2 -0
  1653. package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +4 -1
  1654. package/vscode/src/vs/workbench/services/host/browser/host.service.js +2 -0
  1655. package/vscode/src/vs/workbench/services/integrity/common/integrity.service.js +2 -0
  1656. package/vscode/src/vs/workbench/services/keybinding/browser/unboundCommands.js +2 -0
  1657. package/vscode/src/vs/workbench/services/keybinding/common/fallbackKeyboardMapper.js +3 -1
  1658. package/vscode/src/vs/workbench/services/keybinding/common/keybindingEditing.service.js +2 -0
  1659. package/vscode/src/vs/workbench/services/language/common/languageService.js +30 -28
  1660. package/vscode/src/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.js +1 -0
  1661. package/vscode/src/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.service.js +2 -0
  1662. package/vscode/src/vs/workbench/services/languageStatus/common/languageStatusService.service.js +2 -0
  1663. package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +3 -4
  1664. package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.js +2 -0
  1665. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.js +1 -0
  1666. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.service.js +2 -0
  1667. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.js +2 -0
  1668. package/vscode/src/vs/workbench/services/localization/common/locale.service.js +2 -0
  1669. package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -0
  1670. package/vscode/src/vs/workbench/services/notebook/common/notebookDocumentService.js +3 -1
  1671. package/vscode/src/vs/workbench/services/notebook/common/notebookDocumentService.service.js +2 -0
  1672. package/vscode/src/vs/workbench/services/outline/browser/outline.service.js +2 -0
  1673. package/vscode/src/vs/workbench/services/output/common/output.js +2 -0
  1674. package/vscode/src/vs/workbench/services/output/common/output.service.js +2 -0
  1675. package/vscode/src/vs/workbench/services/panecomposite/browser/panecomposite.service.d.ts +4 -0
  1676. package/vscode/src/vs/workbench/services/panecomposite/browser/panecomposite.service.js +2 -0
  1677. package/vscode/src/vs/workbench/services/path/common/pathService.service.js +2 -0
  1678. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +4 -2
  1679. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +12 -10
  1680. package/vscode/src/vs/workbench/services/preferences/common/preferences.js +2 -0
  1681. package/vscode/src/vs/workbench/services/preferences/common/preferences.service.js +2 -0
  1682. package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +4 -2
  1683. package/vscode/src/vs/workbench/services/progress/browser/progressIndicator.js +2 -0
  1684. package/vscode/src/vs/workbench/services/remote/common/remoteAgentService.service.js +2 -0
  1685. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +10 -8
  1686. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.service.js +2 -0
  1687. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +9 -7
  1688. package/vscode/src/vs/workbench/services/search/common/fileSearchManager.js +10 -8
  1689. package/vscode/src/vs/workbench/services/search/common/folderQuerySearchTree.js +50 -0
  1690. package/vscode/src/vs/workbench/services/search/common/ignoreFile.js +2 -0
  1691. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +4 -2
  1692. package/vscode/src/vs/workbench/services/search/common/search.js +2 -0
  1693. package/vscode/src/vs/workbench/services/search/common/search.service.js +2 -0
  1694. package/vscode/src/vs/workbench/services/search/common/searchExtConversionTypes.js +2 -0
  1695. package/vscode/src/vs/workbench/services/search/common/searchExtTypes.js +1 -0
  1696. package/vscode/src/vs/workbench/services/search/common/textSearchManager.js +9 -8
  1697. package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.js +1 -0
  1698. package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.service.js +2 -0
  1699. package/vscode/src/vs/workbench/services/storage/browser/storageService.js +3 -1
  1700. package/vscode/src/vs/workbench/services/terminal/common/embedderTerminalService.service.js +2 -0
  1701. package/vscode/src/vs/workbench/services/textMate/browser/textMateTokenizationFeature.service.js +2 -0
  1702. package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +11 -9
  1703. package/vscode/src/vs/workbench/services/textMate/common/TMHelper.js +1 -0
  1704. package/vscode/src/vs/workbench/services/textfile/common/encoding.js +3 -1
  1705. package/vscode/src/vs/workbench/services/textfile/common/textEditorService.js +2 -0
  1706. package/vscode/src/vs/workbench/services/textfile/common/textEditorService.service.js +2 -0
  1707. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +11 -3
  1708. package/vscode/src/vs/workbench/services/textfile/common/textfiles.js +2 -0
  1709. package/vscode/src/vs/workbench/services/textfile/common/textfiles.service.js +2 -0
  1710. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +28 -26
  1711. package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +31 -58
  1712. package/vscode/src/vs/workbench/services/themes/common/hostColorSchemeService.service.js +2 -0
  1713. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +15 -13
  1714. package/vscode/src/vs/workbench/services/themes/common/plistParser.js +1 -0
  1715. package/vscode/src/vs/workbench/services/themes/common/textMateScopeMatcher.js +1 -0
  1716. package/vscode/src/vs/workbench/services/themes/common/themeCompatibility.js +2 -0
  1717. package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.js +2 -0
  1718. package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.service.js +2 -0
  1719. package/vscode/src/vs/workbench/services/timer/browser/timerService.service.js +2 -0
  1720. package/vscode/src/vs/workbench/services/title/browser/titleService.service.js +2 -0
  1721. package/vscode/src/vs/workbench/services/treeSitter/browser/treeSitterTokenizationFeature.service.js +2 -0
  1722. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorInput.js +2 -0
  1723. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorModel.js +2 -0
  1724. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.service.js +2 -0
  1725. package/vscode/src/vs/workbench/services/userActivity/common/userActivityService.service.js +2 -0
  1726. package/vscode/src/vs/workbench/services/userData/browser/userDataInit.service.js +2 -0
  1727. package/vscode/src/vs/workbench/services/userDataProfile/browser/iconSelectBox.js +3 -1
  1728. package/vscode/src/vs/workbench/services/userDataProfile/common/remoteUserDataProfiles.service.js +2 -0
  1729. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +6 -5
  1730. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.service.d.ts +0 -1
  1731. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.service.js +2 -0
  1732. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +15 -1
  1733. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileService.js +2 -8
  1734. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +14 -12
  1735. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.service.js +2 -0
  1736. package/vscode/src/vs/workbench/services/views/browser/viewsService.js +10 -8
  1737. package/vscode/src/vs/workbench/services/views/common/viewsService.service.js +2 -0
  1738. package/vscode/src/vs/workbench/services/workingCopy/common/resourceWorkingCopy.js +2 -0
  1739. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +26 -18
  1740. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopy.js +1 -0
  1741. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.service.js +2 -0
  1742. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.service.js +2 -0
  1743. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.js +2 -0
  1744. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyHistory.service.js +2 -0
  1745. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.service.js +2 -0
  1746. package/vscode/src/vs/workbench/services/workspaces/browser/workspaces.js +2 -0
  1747. package/vscode/src/vs/workbench/services/workspaces/common/workspaceEditing.service.js +2 -0
  1748. package/vscode/src/vs/workbench/services/workspaces/common/workspaceIdentityService.service.js +2 -0
  1749. package/vscode/src/vs/workbench/services/workspaces/common/workspaceTrust.js +2 -0
  1750. package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +29 -4
  1751. package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +13 -1
  1752. package/vscode-dts/vscode.proposed.chatProvider.d.ts +1 -1
  1753. package/vscode-dts/vscode.proposed.chatReferenceBinaryData.d.ts +33 -0
  1754. package/vscode-dts/vscode.proposed.inlineEdit.d.ts +2 -0
  1755. package/vscode-dts/vscode.proposed.lmTools.d.ts +1 -225
  1756. package/vscode-dts/vscode.proposed.mappedEditsProvider.d.ts +4 -1
  1757. package/vscode-dts/vscode.proposed.notebookExecution.d.ts +1 -1
  1758. package/vscode-dts/vscode.proposed.scmActionButton.d.ts +1 -2
  1759. package/workbench.js +2 -0
  1760. package/workers/extensionHost.worker.js +1 -1
  1761. package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.css.js +0 -4
  1762. package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.js +0 -289
  1763. package/vscode/src/vs/base/common/amd.js +0 -102
  1764. package/vscode/src/vs/editor/contrib/inlineEdit/browser/commandIds.js +0 -5
  1765. package/vscode/src/vs/editor/contrib/inlineEdit/browser/commands.js +0 -145
  1766. package/vscode/src/vs/editor/contrib/inlineEdit/browser/ghostTextWidget.js +0 -194
  1767. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEdit.contribution.js +0 -9
  1768. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEdit.css.js +0 -4
  1769. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditController.js +0 -347
  1770. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditHintsWidget.css.js +0 -4
  1771. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditHintsWidget.js +0 -198
  1772. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditSideBySideWidget.css.js +0 -4
  1773. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditSideBySideWidget.js +0 -301
  1774. package/vscode/src/vs/platform/actions/browser/buttonbar.js +0 -158
  1775. package/vscode/src/vs/platform/layout/browser/zIndexRegistry.js +0 -60
  1776. package/vscode/src/vs/platform/terminal/common/terminalStrings.js +0 -16
  1777. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +0 -290
  1778. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +0 -761
  1779. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsModel.js +0 -140
  1780. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +0 -425
  1781. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +0 -2132
  1782. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +0 -1433
  1783. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +0 -155
  1784. package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +0 -328
  1785. package/vscode/src/vs/workbench/browser/parts/editor/editorTitleControl.js +0 -156
  1786. package/vscode/src/vs/workbench/browser/parts/editor/media/breadcrumbscontrol.css.js +0 -4
  1787. package/vscode/src/vs/workbench/browser/parts/editor/media/editorgroupview.css.js +0 -4
  1788. package/vscode/src/vs/workbench/browser/parts/editor/media/editortitlecontrol.css.js +0 -4
  1789. package/vscode/src/vs/workbench/browser/parts/editor/media/multieditortabscontrol.css.js +0 -4
  1790. package/vscode/src/vs/workbench/browser/parts/editor/media/singleeditortabscontrol.css.js +0 -4
  1791. package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +0 -1766
  1792. package/vscode/src/vs/workbench/browser/parts/editor/multiRowEditorTabsControl.js +0 -162
  1793. package/vscode/src/vs/workbench/browser/parts/editor/noEditorTabsControl.js +0 -60
  1794. package/vscode/src/vs/workbench/browser/parts/editor/singleEditorTabsControl.js +0 -255
  1795. package/vscode/src/vs/workbench/browser/parts/notifications/media/notificationsActions.css.js +0 -4
  1796. package/vscode/src/vs/workbench/browser/parts/notifications/media/notificationsCenter.css.js +0 -4
  1797. package/vscode/src/vs/workbench/browser/parts/notifications/media/notificationsList.css.js +0 -4
  1798. package/vscode/src/vs/workbench/browser/parts/notifications/media/notificationsToasts.css.js +0 -4
  1799. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +0 -145
  1800. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +0 -71
  1801. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +0 -293
  1802. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +0 -289
  1803. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +0 -203
  1804. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +0 -167
  1805. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsTelemetry.js +0 -36
  1806. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +0 -436
  1807. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +0 -420
  1808. package/vscode/src/vs/workbench/browser/web.api.js +0 -8
  1809. package/vscode/src/vs/workbench/common/editor/filteredEditorGroupModel.js +0 -110
  1810. package/vscode/src/vs/workbench/common/notifications.js +0 -472
  1811. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +0 -414
  1812. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.js +0 -17
  1813. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatConstants.js +0 -5
  1814. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +0 -182
  1815. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +0 -308
  1816. package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +0 -8
  1817. package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +0 -96
  1818. package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +0 -111
  1819. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js +0 -169
  1820. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCodeCitationContentPart.js +0 -48
  1821. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCollections.js +0 -27
  1822. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCommandContentPart.js +0 -34
  1823. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationContentPart.js +0 -57
  1824. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationWidget.js +0 -47
  1825. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownContentPart.js +0 -145
  1826. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatProgressContentPart.js +0 -37
  1827. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatReferencesContentPart.js +0 -371
  1828. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTaskContentPart.js +0 -37
  1829. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.js +0 -114
  1830. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.service.js +0 -3
  1831. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatToolInvocationPart.js +0 -68
  1832. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.js +0 -170
  1833. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatWarningContentPart.js +0 -34
  1834. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/media/chatConfirmationWidget.css.js +0 -4
  1835. package/vscode/src/vs/workbench/contrib/chat/browser/chatDragAndDrop.js +0 -206
  1836. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditingService.js +0 -752
  1837. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +0 -167
  1838. package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +0 -49
  1839. package/vscode/src/vs/workbench/contrib/chat/browser/chatImagePaste.js +0 -73
  1840. package/vscode/src/vs/workbench/contrib/chat/browser/chatInlineAnchorWidget.js +0 -228
  1841. package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +0 -943
  1842. package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +0 -853
  1843. package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer.js +0 -241
  1844. package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownRenderer.js +0 -109
  1845. package/vscode/src/vs/workbench/contrib/chat/browser/chatOptions.js +0 -81
  1846. package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +0 -872
  1847. package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.css.js +0 -4
  1848. package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +0 -740
  1849. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatContextAttachments.js +0 -53
  1850. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +0 -242
  1851. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariablesConstant.js +0 -2
  1852. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputCompletions.js +0 -532
  1853. package/vscode/src/vs/workbench/contrib/chat/browser/media/chat.css.js +0 -4
  1854. package/vscode/src/vs/workbench/contrib/chat/browser/media/chatAgentHover.css.js +0 -4
  1855. package/vscode/src/vs/workbench/contrib/chat/browser/media/chatInlineAnchorWidget.css.js +0 -4
  1856. package/vscode/src/vs/workbench/contrib/chat/common/annotations.js +0 -129
  1857. package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +0 -20
  1858. package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +0 -852
  1859. package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +0 -177
  1860. package/vscode/src/vs/workbench/contrib/chat/common/chatParticipantContribTypes.js +0 -2
  1861. package/vscode/src/vs/workbench/contrib/chat/common/chatRequestParser.js +0 -227
  1862. package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +0 -331
  1863. package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.js +0 -35
  1864. package/vscode/src/vs/workbench/contrib/chat/common/codeBlockModelCollection.js +0 -155
  1865. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +0 -46
  1866. package/vscode/src/vs/workbench/contrib/comments/browser/commentFormActions.js +0 -75
  1867. package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +0 -102
  1868. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +0 -674
  1869. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +0 -305
  1870. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadAdditionalActions.js +0 -77
  1871. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +0 -260
  1872. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +0 -111
  1873. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadRangeDecorator.js +0 -107
  1874. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +0 -349
  1875. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +0 -423
  1876. package/vscode/src/vs/workbench/contrib/comments/browser/comments.js +0 -3
  1877. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +0 -1369
  1878. package/vscode/src/vs/workbench/contrib/comments/browser/commentsFilterOptions.js +0 -17
  1879. package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +0 -126
  1880. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +0 -444
  1881. package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +0 -527
  1882. package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +0 -218
  1883. package/vscode/src/vs/workbench/contrib/comments/browser/media/panel.css.js +0 -4
  1884. package/vscode/src/vs/workbench/contrib/comments/browser/media/review.css.js +0 -4
  1885. package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +0 -104
  1886. package/vscode/src/vs/workbench/contrib/comments/browser/timestamp.js +0 -55
  1887. package/vscode/src/vs/workbench/contrib/comments/common/commentModel.js +0 -72
  1888. package/vscode/src/vs/workbench/contrib/comments/common/commentsConfiguration.js +0 -2
  1889. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +0 -751
  1890. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +0 -534
  1891. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.service.js +0 -3
  1892. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +0 -1753
  1893. package/vscode/src/vs/workbench/contrib/debug/browser/debugANSIHandling.js +0 -370
  1894. package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +0 -964
  1895. package/vscode/src/vs/workbench/contrib/debug/browser/debugExpressionRenderer.js +0 -160
  1896. package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +0 -100
  1897. package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +0 -264
  1898. package/vscode/src/vs/workbench/contrib/debug/browser/media/breakpointWidget.css.js +0 -4
  1899. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +0 -1666
  1900. package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +0 -123
  1901. package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +0 -31
  1902. package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +0 -81
  1903. package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +0 -295
  1904. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +0 -548
  1905. package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChat.css.js +0 -4
  1906. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +0 -152
  1907. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/cellOutputClipboard.js +0 -49
  1908. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findMatchDecorationModel.js +0 -128
  1909. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findModel.js +0 -415
  1910. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +0 -580
  1911. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +0 -153
  1912. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +0 -17
  1913. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +0 -761
  1914. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +0 -317
  1915. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +0 -253
  1916. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.js +0 -52
  1917. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +0 -1735
  1918. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +0 -264
  1919. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.js +0 -793
  1920. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.js +0 -113
  1921. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/editorHeightCalculator.js +0 -59
  1922. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.js +0 -37
  1923. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiff.css.js +0 -4
  1924. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +0 -732
  1925. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +0 -29
  1926. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +0 -556
  1927. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.js +0 -186
  1928. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffViewModel.js +0 -508
  1929. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.js +0 -263
  1930. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditorInput.js +0 -45
  1931. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/unchangedEditorRegions.js +0 -36
  1932. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebook.css.js +0 -4
  1933. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellChat.css.js +0 -4
  1934. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellEditorHint.css.js +0 -4
  1935. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellInsertToolbar.css.js +0 -4
  1936. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellOutput.css.js +0 -4
  1937. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellStatusBar.css.js +0 -4
  1938. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellTitleToolbar.css.js +0 -4
  1939. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookDnd.css.js +0 -4
  1940. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookEditorStickyScroll.css.js +0 -4
  1941. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookFocusIndicator.css.js +0 -4
  1942. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookFolding.css.js +0 -4
  1943. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookKernelActionViewItem.css.js +0 -4
  1944. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookOutline.css.js +0 -4
  1945. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookToolbar.css.js +0 -4
  1946. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +0 -100
  1947. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorExtensions.js +0 -29
  1948. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +0 -2675
  1949. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +0 -32
  1950. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookLogger.js +0 -17
  1951. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.js +0 -645
  1952. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookViewEvents.js +0 -27
  1953. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellPart.js +0 -129
  1954. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.js +0 -99
  1955. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +0 -137
  1956. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellContextKeys.js +0 -208
  1957. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDecorations.js +0 -35
  1958. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDnd.js +0 -377
  1959. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDragRenderer.js +0 -97
  1960. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +0 -224
  1961. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellExecution.js +0 -93
  1962. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocus.js +0 -20
  1963. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocusIndicator.js +0 -85
  1964. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +0 -677
  1965. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellProgressBar.js +0 -59
  1966. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.js +0 -318
  1967. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbarStickyScroll.js +0 -23
  1968. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.js +0 -240
  1969. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatPart.js +0 -21
  1970. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +0 -497
  1971. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +0 -80
  1972. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +0 -108
  1973. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellInput.js +0 -29
  1974. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +0 -45
  1975. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +0 -112
  1976. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +0 -448
  1977. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellAnchor.js +0 -53
  1978. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellEditorPool.js +0 -114
  1979. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +0 -1196
  1980. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.js +0 -250
  1981. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +0 -1663
  1982. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +0 -351
  1983. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +0 -2304
  1984. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewThemeMapping.js +0 -65
  1985. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +0 -571
  1986. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellEditorOptions.js +0 -87
  1987. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputViewModel.js +0 -64
  1988. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellSelectionCollection.js +0 -40
  1989. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +0 -439
  1990. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/eventDispatcher.js +0 -31
  1991. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/foldingModel.js +0 -257
  1992. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +0 -252
  1993. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSourceFactory.service.js +0 -3
  1994. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +0 -820
  1995. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/viewContext.js +0 -8
  1996. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +0 -386
  1997. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.js +0 -602
  1998. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorWidgetContextKeys.js +0 -164
  1999. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookHorizontalTracker.js +0 -47
  2000. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +0 -590
  2001. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +0 -167
  2002. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookOverviewRuler.js +0 -100
  2003. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookTopCellToolbar.js +0 -124
  2004. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +0 -136
  2005. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellOutputTextModel.js +0 -101
  2006. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellTextModel.js +0 -405
  2007. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel.js +0 -85
  2008. package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiffEditorInput.js +0 -105
  2009. package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +0 -2222
  2010. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.js +0 -5
  2011. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +0 -198
  2012. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +0 -224
  2013. package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +0 -168
  2014. package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminal.accessibility.js +0 -4
  2015. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatControllerHolder.js +0 -5
  2016. package/vscode/src/vs/workbench/contrib/terminalContrib/find/common/terminal.find.js +0 -11
  2017. package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminal.suggest.js +0 -11
  2018. package/vscode/src/vs/workbench/services/search/common/replace.js +0 -203
  2019. package/vscode/src/vs/workbench/services/search/common/searchHelpers.js +0 -72
  2020. package/vscode-dts/vscode.proposed.contribChatParticipantDetection.d.ts +0 -7
@@ -1,1735 +0,0 @@
1
- import { __decorate, __param } from '../../../../../../../../external/tslib/tslib.es6.js';
2
- import { addDisposableListener, scheduleAtNextAnimationFrame, getWindow, append, $, reset, h } from '../../../../../base/browser/dom.js';
3
- import { Disposable, DisposableStore } from '../../../../../base/common/lifecycle.js';
4
- import { Schemas } from '../../../../../base/common/network.js';
5
- import { IInstantiationService } from '../../../../../platform/instantiation/common/instantiation.js';
6
- import { NotebookDocumentMetadataViewModel, PropertyFoldingState, outputEqual, OUTPUT_EDITOR_HEIGHT_MAGIC, SideBySideDiffElementViewModel, getFormattedOutputJSON } from './diffElementViewModel.js';
7
- import { NOTEBOOK_DIFF_METADATA, DiffSide, NOTEBOOK_DIFF_CELL_PROPERTY, NOTEBOOK_DIFF_CELL_PROPERTY_EXPANDED, DIFF_CELL_MARGIN, NOTEBOOK_DIFF_CELL_INPUT, NOTEBOOK_DIFF_CELL_IGNORE_WHITESPACE } from './notebookDiffEditorBrowser.js';
8
- import { CodeEditorWidget } from '../../../../../editor/browser/widget/codeEditor/codeEditorWidget.js';
9
- import { IModelService } from '../../../../../editor/common/services/model.js';
10
- import { ILanguageService } from '../../../../../editor/common/languages/language.js';
11
- import { CellUri } from '../../common/notebookCommon.js';
12
- import { IContextMenuService } from '../../../../../platform/contextview/browser/contextView.service.js';
13
- import { MenuId, MenuItemAction } from '../../../../../platform/actions/common/actions.js';
14
- import { IMenuService } from '../../../../../platform/actions/common/actions.service.js';
15
- import { IKeybindingService } from '../../../../../platform/keybinding/common/keybinding.service.js';
16
- import { INotificationService } from '../../../../../platform/notification/common/notification.service.js';
17
- import { createAndFillInActionBarActions } from '../../../../../platform/actions/browser/menuEntryActionViewItem.js';
18
- import { IContextKeyService } from '../../../../../platform/contextkey/common/contextkey.service.js';
19
- import { CodiconActionViewItem } from '../view/cellParts/cellActionView.js';
20
- import { collapsedIcon, expandedIcon } from '../notebookIcons.js';
21
- import { OutputContainer } from './diffElementOutputs.js';
22
- import { EditorExtensionsRegistry } from '../../../../../editor/browser/editorExtensions.js';
23
- import { ContextMenuController } from '../../../../../editor/contrib/contextmenu/browser/contextmenu.js';
24
- import { SnippetController2 } from '../../../../../editor/contrib/snippet/browser/snippetController2.js';
25
- import { SuggestController } from '../../../../../editor/contrib/suggest/browser/suggestController.js';
26
- import { MenuPreventer } from '../../../codeEditor/browser/menuPreventer.js';
27
- import { SelectionClipboardContributionID } from '../../../codeEditor/browser/selectionClipboard.js';
28
- import { TabCompletionController } from '../../../snippets/browser/tabCompletion.js';
29
- import { renderIcon, renderLabelWithIcons } from '../../../../../base/browser/ui/iconLabel/iconLabels.js';
30
- import { ITextModelService } from '../../../../../editor/common/services/resolverService.js';
31
- import { IConfigurationService } from '../../../../../platform/configuration/common/configuration.service.js';
32
- import { IThemeService } from '../../../../../platform/theme/common/themeService.service.js';
33
- import { WorkbenchToolBar } from '../../../../../platform/actions/browser/toolbar.js';
34
- import { ITelemetryService } from '../../../../../platform/telemetry/common/telemetry.service.js';
35
- import { fixedDiffEditorOptions, getEditorPadding, fixedEditorOptions } from './diffCellEditorOptions.js';
36
- import { IAccessibilityService } from '../../../../../platform/accessibility/common/accessibility.service.js';
37
- import { DiffEditorWidget } from '../../../../../editor/browser/widget/diffEditor/diffEditorWidget.js';
38
- import { ICommandService } from '../../../../../platform/commands/common/commands.service.js';
39
- import { localize } from '../../../../../nls.js';
40
- import { Emitter } from '../../../../../base/common/event.js';
41
- import { ITextResourceConfigurationService } from '../../../../../editor/common/services/textResourceConfiguration.js';
42
- import { getFormattedMetadataJSON } from '../../common/model/notebookCellTextModel.js';
43
- import { getUnchangedRegionSettings } from './unchangedEditorRegions.js';
44
- function getOptimizedNestedCodeEditorWidgetOptions() {
45
- return {
46
- isSimpleWidget: false,
47
- contributions: EditorExtensionsRegistry.getSomeEditorContributions([
48
- MenuPreventer.ID,
49
- SelectionClipboardContributionID,
50
- ContextMenuController.ID,
51
- SuggestController.ID,
52
- SnippetController2.ID,
53
- TabCompletionController.ID,
54
- ])
55
- };
56
- }
57
- class CellDiffPlaceholderElement extends Disposable {
58
- constructor(placeholder, templateData) {
59
- super();
60
- templateData.body.classList.remove('left', 'right', 'full');
61
- const text = (placeholder.hiddenCells.length === 1) ?
62
- ( localize(11616, '{0} hidden cell', placeholder.hiddenCells.length)) :
63
- ( localize(11617, '{0} hidden cells', placeholder.hiddenCells.length));
64
- templateData.placeholder.innerText = text;
65
- this._register(addDisposableListener(templateData.placeholder, 'dblclick', (e) => {
66
- if (e.button !== 0) {
67
- return;
68
- }
69
- e.preventDefault();
70
- placeholder.showHiddenCells();
71
- }));
72
- this._register(templateData.marginOverlay.onAction(() => placeholder.showHiddenCells()));
73
- templateData.marginOverlay.show();
74
- }
75
- }
76
- let PropertyHeader = class PropertyHeader extends Disposable {
77
- constructor(cell, propertyHeaderContainer, notebookEditor, accessor, contextMenuService, keybindingService, commandService, notificationService, menuService, contextKeyService, themeService, telemetryService, accessibilityService) {
78
- super();
79
- this.cell = cell;
80
- this.propertyHeaderContainer = propertyHeaderContainer;
81
- this.notebookEditor = notebookEditor;
82
- this.accessor = accessor;
83
- this.contextMenuService = contextMenuService;
84
- this.keybindingService = keybindingService;
85
- this.commandService = commandService;
86
- this.notificationService = notificationService;
87
- this.menuService = menuService;
88
- this.contextKeyService = contextKeyService;
89
- this.themeService = themeService;
90
- this.telemetryService = telemetryService;
91
- this.accessibilityService = accessibilityService;
92
- }
93
- buildHeader() {
94
- this._foldingIndicator = append(this.propertyHeaderContainer, $('.property-folding-indicator'));
95
- this._foldingIndicator.classList.add(this.accessor.prefix);
96
- const metadataStatus = append(this.propertyHeaderContainer, $('div.property-status'));
97
- this._statusSpan = append(metadataStatus, $('span'));
98
- this._description = append(metadataStatus, $('span.property-description'));
99
- const cellToolbarContainer = append(this.propertyHeaderContainer, $('div.property-toolbar'));
100
- this._toolbar = this._register(( (new WorkbenchToolBar(cellToolbarContainer, {
101
- actionViewItemProvider: (action, options) => {
102
- if (action instanceof MenuItemAction) {
103
- const item = ( (new CodiconActionViewItem(
104
- action,
105
- { hoverDelegate: options.hoverDelegate },
106
- this.keybindingService,
107
- this.notificationService,
108
- this.contextKeyService,
109
- this.themeService,
110
- this.contextMenuService,
111
- this.accessibilityService
112
- )));
113
- return item;
114
- }
115
- return undefined;
116
- }
117
- }, this.menuService, this.contextKeyService, this.contextMenuService, this.keybindingService, this.commandService, this.telemetryService))));
118
- this._toolbar.context = this.cell;
119
- const scopedContextKeyService = this.contextKeyService.createScoped(cellToolbarContainer);
120
- this._register(scopedContextKeyService);
121
- this._propertyChanged = NOTEBOOK_DIFF_CELL_PROPERTY.bindTo(scopedContextKeyService);
122
- this._propertyExpanded = NOTEBOOK_DIFF_CELL_PROPERTY_EXPANDED.bindTo(scopedContextKeyService);
123
- this._menu = this._register(this.menuService.createMenu(this.accessor.menuId, scopedContextKeyService));
124
- this._register(this._menu.onDidChange(() => this.updateMenu()));
125
- this._register(this.notebookEditor.onMouseUp(e => {
126
- if (!e.event.target || e.target !== this.cell) {
127
- return;
128
- }
129
- const target = e.event.target;
130
- if (target === this.propertyHeaderContainer ||
131
- target === this._foldingIndicator || this._foldingIndicator.contains(target) ||
132
- target === metadataStatus || metadataStatus.contains(target)) {
133
- const oldFoldingState = this.accessor.getFoldingState();
134
- this.accessor.updateFoldingState(oldFoldingState === PropertyFoldingState.Expanded ? PropertyFoldingState.Collapsed : PropertyFoldingState.Expanded);
135
- this._updateFoldingIcon();
136
- this.accessor.updateInfoRendering(this.cell.renderOutput);
137
- }
138
- }));
139
- this.refresh();
140
- this.accessor.updateInfoRendering(this.cell.renderOutput);
141
- }
142
- refresh() {
143
- this.updateMenu();
144
- this._updateFoldingIcon();
145
- const metadataChanged = this.accessor.checkIfModified();
146
- if (this._propertyChanged) {
147
- this._propertyChanged.set(!!metadataChanged);
148
- }
149
- if (metadataChanged) {
150
- this._statusSpan.textContent = this.accessor.changedLabel;
151
- this._statusSpan.style.fontWeight = 'bold';
152
- if (metadataChanged.reason) {
153
- this._description.textContent = metadataChanged.reason;
154
- }
155
- this.propertyHeaderContainer.classList.add('modified');
156
- }
157
- else {
158
- this._statusSpan.textContent = this.accessor.unChangedLabel;
159
- this._statusSpan.style.fontWeight = 'normal';
160
- this._description.textContent = '';
161
- this.propertyHeaderContainer.classList.remove('modified');
162
- }
163
- }
164
- updateMenu() {
165
- const metadataChanged = this.accessor.checkIfModified();
166
- if (metadataChanged) {
167
- const actions = [];
168
- createAndFillInActionBarActions(this._menu, { shouldForwardArgs: true }, actions);
169
- this._toolbar.setActions(actions);
170
- }
171
- else {
172
- this._toolbar.setActions([]);
173
- }
174
- }
175
- _updateFoldingIcon() {
176
- if (this.accessor.getFoldingState() === PropertyFoldingState.Collapsed) {
177
- reset(this._foldingIndicator, renderIcon(collapsedIcon));
178
- this._propertyExpanded?.set(false);
179
- }
180
- else {
181
- reset(this._foldingIndicator, renderIcon(expandedIcon));
182
- this._propertyExpanded?.set(true);
183
- }
184
- }
185
- };
186
- PropertyHeader = ( (__decorate([
187
- ( (__param(4, IContextMenuService))),
188
- ( (__param(5, IKeybindingService))),
189
- ( (__param(6, ICommandService))),
190
- ( (__param(7, INotificationService))),
191
- ( (__param(8, IMenuService))),
192
- ( (__param(9, IContextKeyService))),
193
- ( (__param(10, IThemeService))),
194
- ( (__param(11, ITelemetryService))),
195
- ( (__param(12, IAccessibilityService)))
196
- ], PropertyHeader)));
197
- let NotebookDocumentMetadataElement = class NotebookDocumentMetadataElement extends Disposable {
198
- constructor(notebookEditor, viewModel, templateData, instantiationService, textModelService, menuService, contextKeyService, textConfigurationService, configurationService) {
199
- super();
200
- this.notebookEditor = notebookEditor;
201
- this.viewModel = viewModel;
202
- this.templateData = templateData;
203
- this.instantiationService = instantiationService;
204
- this.textModelService = textModelService;
205
- this.menuService = menuService;
206
- this.contextKeyService = contextKeyService;
207
- this.textConfigurationService = textConfigurationService;
208
- this.configurationService = configurationService;
209
- this._editor = templateData.sourceEditor;
210
- this._cellHeaderContainer = this.templateData.cellHeaderContainer;
211
- this._editorContainer = this.templateData.editorContainer;
212
- this._diffEditorContainer = this.templateData.diffEditorContainer;
213
- this._editorViewStateChanged = false;
214
- this._register(viewModel.onDidLayoutChange(e => {
215
- this.layout(e);
216
- this.updateBorders();
217
- }));
218
- this.buildBody();
219
- this.updateBorders();
220
- }
221
- buildBody() {
222
- const body = this.templateData.body;
223
- body.classList.remove('full');
224
- body.classList.add('full');
225
- this.updateSourceEditor();
226
- if (this.viewModel instanceof NotebookDocumentMetadataViewModel) {
227
- this._register(this.viewModel.modifiedMetadata.onDidChange(e => {
228
- this._cellHeader.refresh();
229
- }));
230
- }
231
- }
232
- layoutNotebookCell() {
233
- this.notebookEditor.layoutNotebookCell(this.viewModel, this.viewModel.layoutInfo.totalHeight);
234
- }
235
- updateBorders() {
236
- this.templateData.leftBorder.style.height = `${this.viewModel.layoutInfo.totalHeight - 32}px`;
237
- this.templateData.rightBorder.style.height = `${this.viewModel.layoutInfo.totalHeight - 32}px`;
238
- this.templateData.bottomBorder.style.top = `${this.viewModel.layoutInfo.totalHeight - 32}px`;
239
- }
240
- updateSourceEditor() {
241
- this._cellHeaderContainer.style.display = 'flex';
242
- this._cellHeaderContainer.innerText = '';
243
- this._editorContainer.classList.add('diff');
244
- const updateSourceEditor = () => {
245
- if (this.viewModel.cellFoldingState === PropertyFoldingState.Collapsed) {
246
- this._editorContainer.style.display = 'none';
247
- this.viewModel.editorHeight = 0;
248
- return;
249
- }
250
- const lineHeight = this.notebookEditor.getLayoutInfo().fontInfo.lineHeight || 17;
251
- const editorHeight = this.viewModel.layoutInfo.editorHeight !== 0 ? this.viewModel.layoutInfo.editorHeight : this.viewModel.computeInputEditorHeight(lineHeight);
252
- this._editorContainer.style.height = `${editorHeight}px`;
253
- this._editorContainer.style.display = 'block';
254
- const contentHeight = this._editor.getContentHeight();
255
- if (contentHeight >= 0) {
256
- this.viewModel.editorHeight = contentHeight;
257
- }
258
- return editorHeight;
259
- };
260
- const renderSourceEditor = () => {
261
- const editorHeight = updateSourceEditor();
262
- if (!editorHeight) {
263
- return;
264
- }
265
- const lineCount = this.viewModel.modifiedMetadata.textBuffer.getLineCount();
266
- const options = {
267
- padding: getEditorPadding(lineCount)
268
- };
269
- const unchangedRegions = this._register(getUnchangedRegionSettings(this.configurationService));
270
- if (unchangedRegions.options.enabled) {
271
- options.hideUnchangedRegions = unchangedRegions.options;
272
- }
273
- this._editor.updateOptions(options);
274
- this._register(unchangedRegions.onDidChangeEnablement(() => {
275
- options.hideUnchangedRegions = unchangedRegions.options;
276
- this._editor.updateOptions(options);
277
- }));
278
- this._editor.layout({
279
- width: this.notebookEditor.getLayoutInfo().width - 2 * DIFF_CELL_MARGIN,
280
- height: editorHeight
281
- });
282
- this._register(this._editor.onDidContentSizeChange((e) => {
283
- if (this.viewModel.cellFoldingState === PropertyFoldingState.Expanded && e.contentHeightChanged && this.viewModel.layoutInfo.editorHeight !== e.contentHeight) {
284
- this.viewModel.editorHeight = e.contentHeight;
285
- }
286
- }));
287
- this._initializeSourceDiffEditor();
288
- };
289
- this._cellHeader = this._register(this.instantiationService.createInstance(PropertyHeader, this.viewModel, this._cellHeaderContainer, this.notebookEditor, {
290
- updateInfoRendering: () => renderSourceEditor(),
291
- checkIfModified: () => {
292
- return this.viewModel.originalMetadata.getHash() !== this.viewModel.modifiedMetadata.getHash() ? { reason: undefined } : false;
293
- },
294
- getFoldingState: () => this.viewModel.cellFoldingState,
295
- updateFoldingState: (state) => this.viewModel.cellFoldingState = state,
296
- unChangedLabel: 'Notebook Metadata',
297
- changedLabel: 'Notebook Metadata changed',
298
- prefix: 'metadata',
299
- menuId: MenuId.NotebookDiffDocumentMetadata
300
- }));
301
- this._cellHeader.buildHeader();
302
- renderSourceEditor();
303
- const scopedContextKeyService = this.contextKeyService.createScoped(this.templateData.inputToolbarContainer);
304
- this._register(scopedContextKeyService);
305
- const inputChanged = NOTEBOOK_DIFF_METADATA.bindTo(scopedContextKeyService);
306
- inputChanged.set(this.viewModel.originalMetadata.getHash() !== this.viewModel.modifiedMetadata.getHash());
307
- this._toolbar = this.templateData.toolbar;
308
- this._toolbar.context = this.viewModel;
309
- const refreshToolbar = () => {
310
- const hasChanges = this.viewModel.originalMetadata.getHash() !== this.viewModel.modifiedMetadata.getHash();
311
- inputChanged.set(hasChanges);
312
- if (hasChanges) {
313
- const actions = [];
314
- const menu = this.menuService.getMenuActions(MenuId.NotebookDiffDocumentMetadata, scopedContextKeyService, { shouldForwardArgs: true });
315
- createAndFillInActionBarActions(menu, actions);
316
- this._toolbar.setActions(actions);
317
- }
318
- else {
319
- this._toolbar.setActions([]);
320
- }
321
- };
322
- this._register(this.viewModel.modifiedMetadata.onDidChange(() => {
323
- refreshToolbar();
324
- }));
325
- refreshToolbar();
326
- }
327
- async _initializeSourceDiffEditor() {
328
- const [originalRef, modifiedRef] = await Promise.all([
329
- this.textModelService.createModelReference(this.viewModel.originalMetadata.uri),
330
- this.textModelService.createModelReference(this.viewModel.modifiedMetadata.uri)
331
- ]);
332
- if (this._store.isDisposed) {
333
- originalRef.dispose();
334
- modifiedRef.dispose();
335
- return;
336
- }
337
- this._register(originalRef);
338
- this._register(modifiedRef);
339
- const vm = this._register(this._editor.createViewModel({
340
- original: originalRef.object.textEditorModel,
341
- modified: modifiedRef.object.textEditorModel,
342
- }));
343
- await vm.waitForDiff();
344
- this._editor.setModel(vm);
345
- const handleViewStateChange = () => {
346
- this._editorViewStateChanged = true;
347
- };
348
- const handleScrollChange = (e) => {
349
- if (e.scrollTopChanged || e.scrollLeftChanged) {
350
- this._editorViewStateChanged = true;
351
- }
352
- };
353
- this.updateEditorOptionsForWhitespace();
354
- this._register(this._editor.getOriginalEditor().onDidChangeCursorSelection(handleViewStateChange));
355
- this._register(this._editor.getOriginalEditor().onDidScrollChange(handleScrollChange));
356
- this._register(this._editor.getModifiedEditor().onDidChangeCursorSelection(handleViewStateChange));
357
- this._register(this._editor.getModifiedEditor().onDidScrollChange(handleScrollChange));
358
- const editorViewState = this.viewModel.getSourceEditorViewState();
359
- if (editorViewState) {
360
- this._editor.restoreViewState(editorViewState);
361
- }
362
- const contentHeight = this._editor.getContentHeight();
363
- this.viewModel.editorHeight = contentHeight;
364
- }
365
- updateEditorOptionsForWhitespace() {
366
- const editor = this._editor;
367
- const uri = editor.getModel()?.modified.uri || editor.getModel()?.original.uri;
368
- if (!uri) {
369
- return;
370
- }
371
- const ignoreTrimWhitespace = this.textConfigurationService.getValue(uri, 'diffEditor.ignoreTrimWhitespace');
372
- editor.updateOptions({ ignoreTrimWhitespace });
373
- this._register(this.textConfigurationService.onDidChangeConfiguration(e => {
374
- if (e.affectsConfiguration(uri, 'diffEditor') &&
375
- ( (e.affectedKeys.has('diffEditor.ignoreTrimWhitespace')))) {
376
- const ignoreTrimWhitespace = this.textConfigurationService.getValue(uri, 'diffEditor.ignoreTrimWhitespace');
377
- editor.updateOptions({ ignoreTrimWhitespace });
378
- }
379
- }));
380
- }
381
- layout(state) {
382
- scheduleAtNextAnimationFrame(getWindow(this._diffEditorContainer), () => {
383
- if (state.editorHeight) {
384
- this._editorContainer.style.height = `${this.viewModel.layoutInfo.editorHeight}px`;
385
- this._editor.layout({
386
- width: this._editor.getViewWidth(),
387
- height: this.viewModel.layoutInfo.editorHeight
388
- });
389
- }
390
- if (state.outerWidth) {
391
- this._editorContainer.style.height = `${this.viewModel.layoutInfo.editorHeight}px`;
392
- this._editor.layout();
393
- }
394
- this.layoutNotebookCell();
395
- });
396
- }
397
- dispose() {
398
- this._editor.setModel(null);
399
- if (this._editorViewStateChanged) {
400
- this.viewModel.saveSpirceEditorViewState(this._editor.saveViewState());
401
- }
402
- super.dispose();
403
- }
404
- };
405
- NotebookDocumentMetadataElement = ( (__decorate([
406
- ( (__param(3, IInstantiationService))),
407
- ( (__param(4, ITextModelService))),
408
- ( (__param(5, IMenuService))),
409
- ( (__param(6, IContextKeyService))),
410
- ( (__param(7, ITextResourceConfigurationService))),
411
- ( (__param(8, IConfigurationService)))
412
- ], NotebookDocumentMetadataElement)));
413
- class AbstractElementRenderer extends Disposable {
414
- constructor(notebookEditor, cell, templateData, style, instantiationService, languageService, modelService, textModelService, contextMenuService, keybindingService, notificationService, menuService, contextKeyService, configurationService, textConfigurationService) {
415
- super();
416
- this.notebookEditor = notebookEditor;
417
- this.cell = cell;
418
- this.templateData = templateData;
419
- this.style = style;
420
- this.instantiationService = instantiationService;
421
- this.languageService = languageService;
422
- this.modelService = modelService;
423
- this.textModelService = textModelService;
424
- this.contextMenuService = contextMenuService;
425
- this.keybindingService = keybindingService;
426
- this.notificationService = notificationService;
427
- this.menuService = menuService;
428
- this.contextKeyService = contextKeyService;
429
- this.configurationService = configurationService;
430
- this.textConfigurationService = textConfigurationService;
431
- this._metadataLocalDisposable = this._register(( (new DisposableStore())));
432
- this._outputLocalDisposable = this._register(( (new DisposableStore())));
433
- this._ignoreMetadata = false;
434
- this._ignoreOutputs = false;
435
- this._isDisposed = false;
436
- this._metadataEditorDisposeStore = this._register(( (new DisposableStore())));
437
- this._outputEditorDisposeStore = this._register(( (new DisposableStore())));
438
- this._register(cell.onDidLayoutChange(e => {
439
- this.layout(e);
440
- }));
441
- this._register(cell.onDidLayoutChange(e => this.updateBorders()));
442
- this.init();
443
- this.buildBody();
444
- this._register(cell.onDidStateChange(() => {
445
- this.updateOutputRendering(this.cell.renderOutput);
446
- }));
447
- }
448
- buildBody() {
449
- const body = this.templateData.body;
450
- this._diffEditorContainer = this.templateData.diffEditorContainer;
451
- body.classList.remove('left', 'right', 'full');
452
- switch (this.style) {
453
- case 'left':
454
- body.classList.add('left');
455
- break;
456
- case 'right':
457
- body.classList.add('right');
458
- break;
459
- default:
460
- body.classList.add('full');
461
- break;
462
- }
463
- this.styleContainer(this._diffEditorContainer);
464
- this.updateSourceEditor();
465
- if (this.cell.modified) {
466
- this._register(this.cell.modified.textModel.onDidChangeContent(() => this._cellHeader.refresh()));
467
- }
468
- this._ignoreMetadata = this.configurationService.getValue('notebook.diff.ignoreMetadata');
469
- if (this._ignoreMetadata) {
470
- this._disposeMetadata();
471
- }
472
- else {
473
- this._buildMetadata();
474
- }
475
- this._ignoreOutputs = this.configurationService.getValue('notebook.diff.ignoreOutputs') || !!(this.notebookEditor.textModel?.transientOptions.transientOutputs);
476
- if (this._ignoreOutputs) {
477
- this._disposeOutput();
478
- }
479
- else {
480
- this._buildOutput();
481
- }
482
- this._register(this.configurationService.onDidChangeConfiguration(e => {
483
- let metadataLayoutChange = false;
484
- let outputLayoutChange = false;
485
- if (e.affectsConfiguration('notebook.diff.ignoreMetadata')) {
486
- const newValue = this.configurationService.getValue('notebook.diff.ignoreMetadata');
487
- if (newValue !== undefined && this._ignoreMetadata !== newValue) {
488
- this._ignoreMetadata = newValue;
489
- this._metadataLocalDisposable.clear();
490
- if (this.configurationService.getValue('notebook.diff.ignoreMetadata')) {
491
- this._disposeMetadata();
492
- }
493
- else {
494
- this.cell.metadataStatusHeight = 25;
495
- this._buildMetadata();
496
- this.updateMetadataRendering();
497
- metadataLayoutChange = true;
498
- }
499
- }
500
- }
501
- if (e.affectsConfiguration('notebook.diff.ignoreOutputs')) {
502
- const newValue = this.configurationService.getValue('notebook.diff.ignoreOutputs');
503
- if (newValue !== undefined && this._ignoreOutputs !== (newValue || this.notebookEditor.textModel?.transientOptions.transientOutputs)) {
504
- this._ignoreOutputs = newValue || !!(this.notebookEditor.textModel?.transientOptions.transientOutputs);
505
- this._outputLocalDisposable.clear();
506
- if (this._ignoreOutputs) {
507
- this._disposeOutput();
508
- this.cell.layoutChange();
509
- }
510
- else {
511
- this.cell.outputStatusHeight = 25;
512
- this._buildOutput();
513
- outputLayoutChange = true;
514
- }
515
- }
516
- }
517
- if (metadataLayoutChange || outputLayoutChange) {
518
- this.layout({ metadataHeight: metadataLayoutChange, outputTotalHeight: outputLayoutChange });
519
- }
520
- }));
521
- }
522
- updateMetadataRendering() {
523
- if (this.cell.metadataFoldingState === PropertyFoldingState.Expanded) {
524
- this._metadataInfoContainer.style.display = 'block';
525
- if (!this._metadataEditorContainer || !this._metadataEditor) {
526
- this._metadataEditorContainer = append(this._metadataInfoContainer, $('.metadata-editor-container'));
527
- this._buildMetadataEditor();
528
- }
529
- else {
530
- this.cell.metadataHeight = this._metadataEditor.getContentHeight();
531
- }
532
- }
533
- else {
534
- this._metadataInfoContainer.style.display = 'none';
535
- this.cell.metadataHeight = 0;
536
- }
537
- }
538
- updateOutputRendering(renderRichOutput) {
539
- if (this.cell.outputFoldingState === PropertyFoldingState.Expanded) {
540
- this._outputInfoContainer.style.display = 'block';
541
- if (renderRichOutput) {
542
- this._hideOutputsRaw();
543
- this._buildOutputRendererContainer();
544
- this._showOutputsRenderer();
545
- this._showOutputsEmptyView();
546
- }
547
- else {
548
- this._hideOutputsRenderer();
549
- this._buildOutputRawContainer();
550
- this._showOutputsRaw();
551
- }
552
- }
553
- else {
554
- this._outputInfoContainer.style.display = 'none';
555
- this._hideOutputsRaw();
556
- this._hideOutputsRenderer();
557
- this._hideOutputsEmptyView();
558
- }
559
- }
560
- _buildOutputRawContainer() {
561
- if (!this._outputEditorContainer) {
562
- this._outputEditorContainer = append(this._outputInfoContainer, $('.output-editor-container'));
563
- this._buildOutputEditor();
564
- }
565
- }
566
- _showOutputsRaw() {
567
- if (this._outputEditorContainer) {
568
- this._outputEditorContainer.style.display = 'block';
569
- this.cell.rawOutputHeight = this._outputEditor.getContentHeight();
570
- }
571
- }
572
- _showOutputsEmptyView() {
573
- this.cell.layoutChange();
574
- }
575
- _hideOutputsRaw() {
576
- if (this._outputEditorContainer) {
577
- this._outputEditorContainer.style.display = 'none';
578
- this.cell.rawOutputHeight = 0;
579
- }
580
- }
581
- _hideOutputsEmptyView() {
582
- this.cell.layoutChange();
583
- }
584
- _applySanitizedMetadataChanges(currentMetadata, newMetadata) {
585
- const result = {};
586
- try {
587
- const newMetadataObj = JSON.parse(newMetadata);
588
- const keys = ( (new Set([...( (Object.keys(newMetadataObj)))])));
589
- for (const key of keys) {
590
- switch (key) {
591
- case 'inputCollapsed':
592
- case 'outputCollapsed':
593
- if (typeof newMetadataObj[key] === 'boolean') {
594
- result[key] = newMetadataObj[key];
595
- }
596
- else {
597
- result[key] = currentMetadata[key];
598
- }
599
- break;
600
- default:
601
- result[key] = newMetadataObj[key];
602
- break;
603
- }
604
- }
605
- const index = this.notebookEditor.textModel.cells.indexOf(this.cell.modified.textModel);
606
- if (index < 0) {
607
- return;
608
- }
609
- this.notebookEditor.textModel.applyEdits([
610
- { editType: 3 , index, metadata: result }
611
- ], true, undefined, () => undefined, undefined, true);
612
- }
613
- catch {
614
- }
615
- }
616
- async _buildMetadataEditor() {
617
- this._metadataEditorDisposeStore.clear();
618
- if (this.cell instanceof SideBySideDiffElementViewModel) {
619
- this._metadataEditor = this.instantiationService.createInstance(DiffEditorWidget, this._metadataEditorContainer, {
620
- ...fixedDiffEditorOptions,
621
- overflowWidgetsDomNode: this.notebookEditor.getOverflowContainerDomNode(),
622
- readOnly: false,
623
- originalEditable: false,
624
- ignoreTrimWhitespace: false,
625
- automaticLayout: false,
626
- dimension: {
627
- height: this.cell.layoutInfo.metadataHeight,
628
- width: this.cell.getComputedCellContainerWidth(this.notebookEditor.getLayoutInfo(), true, true)
629
- }
630
- }, {
631
- originalEditor: getOptimizedNestedCodeEditorWidgetOptions(),
632
- modifiedEditor: getOptimizedNestedCodeEditorWidgetOptions()
633
- });
634
- const unchangedRegions = this._register(getUnchangedRegionSettings(this.configurationService));
635
- if (unchangedRegions.options.enabled) {
636
- this._metadataEditor.updateOptions({ hideUnchangedRegions: unchangedRegions.options });
637
- }
638
- this._metadataEditorDisposeStore.add(unchangedRegions.onDidChangeEnablement(() => {
639
- if (this._metadataEditor) {
640
- this._metadataEditor.updateOptions({ hideUnchangedRegions: unchangedRegions.options });
641
- }
642
- }));
643
- this.layout({ metadataHeight: true });
644
- this._metadataEditorDisposeStore.add(this._metadataEditor);
645
- this._metadataEditorContainer?.classList.add('diff');
646
- const [originalMetadataModel, modifiedMetadataModel] = await Promise.all([
647
- this.textModelService.createModelReference(CellUri.generateCellPropertyUri(this.cell.originalDocument.uri, this.cell.original.handle, Schemas.vscodeNotebookCellMetadata)),
648
- this.textModelService.createModelReference(CellUri.generateCellPropertyUri(this.cell.modifiedDocument.uri, this.cell.modified.handle, Schemas.vscodeNotebookCellMetadata))
649
- ]);
650
- this._metadataEditorDisposeStore.add(originalMetadataModel);
651
- this._metadataEditorDisposeStore.add(modifiedMetadataModel);
652
- const vm = this._metadataEditor.createViewModel({
653
- original: originalMetadataModel.object.textEditorModel,
654
- modified: modifiedMetadataModel.object.textEditorModel
655
- });
656
- await vm.waitForDiff();
657
- this._metadataEditor.setModel(vm);
658
- this.cell.metadataHeight = this._metadataEditor.getContentHeight();
659
- this._metadataEditorDisposeStore.add(this._metadataEditor.onDidContentSizeChange((e) => {
660
- if (e.contentHeightChanged && this.cell.metadataFoldingState === PropertyFoldingState.Expanded) {
661
- this.cell.metadataHeight = e.contentHeight;
662
- }
663
- }));
664
- let respondingToContentChange = false;
665
- this._metadataEditorDisposeStore.add(modifiedMetadataModel.object.textEditorModel.onDidChangeContent(() => {
666
- respondingToContentChange = true;
667
- const value = modifiedMetadataModel.object.textEditorModel.getValue();
668
- this._applySanitizedMetadataChanges(this.cell.modified.metadata, value);
669
- this._metadataHeader.refresh();
670
- respondingToContentChange = false;
671
- }));
672
- this._metadataEditorDisposeStore.add(this.cell.modified.textModel.onDidChangeMetadata(() => {
673
- if (respondingToContentChange) {
674
- return;
675
- }
676
- const modifiedMetadataSource = getFormattedMetadataJSON(this.notebookEditor.textModel?.transientOptions.transientCellMetadata, this.cell.modified?.metadata || {}, this.cell.modified?.language);
677
- modifiedMetadataModel.object.textEditorModel.setValue(modifiedMetadataSource);
678
- }));
679
- return;
680
- }
681
- else {
682
- this._metadataEditor = this.instantiationService.createInstance(CodeEditorWidget, this._metadataEditorContainer, {
683
- ...fixedEditorOptions,
684
- dimension: {
685
- width: this.cell.getComputedCellContainerWidth(this.notebookEditor.getLayoutInfo(), false, true),
686
- height: this.cell.layoutInfo.metadataHeight
687
- },
688
- overflowWidgetsDomNode: this.notebookEditor.getOverflowContainerDomNode(),
689
- readOnly: false
690
- }, {});
691
- this.layout({ metadataHeight: true });
692
- this._metadataEditorDisposeStore.add(this._metadataEditor);
693
- const mode = this.languageService.createById('jsonc');
694
- const originalMetadataSource = getFormattedMetadataJSON(this.notebookEditor.textModel?.transientOptions.transientCellMetadata, this.cell.type === 'insert'
695
- ? this.cell.modified.metadata || {}
696
- : this.cell.original.metadata || {});
697
- const uri = this.cell.type === 'insert'
698
- ? this.cell.modified.uri
699
- : this.cell.original.uri;
700
- const handle = this.cell.type === 'insert'
701
- ? this.cell.modified.handle
702
- : this.cell.original.handle;
703
- const modelUri = CellUri.generateCellPropertyUri(uri, handle, Schemas.vscodeNotebookCellMetadata);
704
- const metadataModel = this.modelService.createModel(originalMetadataSource, mode, modelUri, false);
705
- this._metadataEditor.setModel(metadataModel);
706
- this._metadataEditorDisposeStore.add(metadataModel);
707
- this.cell.metadataHeight = this._metadataEditor.getContentHeight();
708
- this._metadataEditorDisposeStore.add(this._metadataEditor.onDidContentSizeChange((e) => {
709
- if (e.contentHeightChanged && this.cell.metadataFoldingState === PropertyFoldingState.Expanded) {
710
- this.cell.metadataHeight = e.contentHeight;
711
- }
712
- }));
713
- }
714
- }
715
- _buildOutputEditor() {
716
- this._outputEditorDisposeStore.clear();
717
- if ((this.cell.type === 'modified' || this.cell.type === 'unchanged') && !this.notebookEditor.textModel.transientOptions.transientOutputs) {
718
- const originalOutputsSource = getFormattedOutputJSON(this.cell.original?.outputs || []);
719
- const modifiedOutputsSource = getFormattedOutputJSON(this.cell.modified?.outputs || []);
720
- if (originalOutputsSource !== modifiedOutputsSource) {
721
- const mode = this.languageService.createById('json');
722
- const originalModel = this.modelService.createModel(originalOutputsSource, mode, undefined, true);
723
- const modifiedModel = this.modelService.createModel(modifiedOutputsSource, mode, undefined, true);
724
- this._outputEditorDisposeStore.add(originalModel);
725
- this._outputEditorDisposeStore.add(modifiedModel);
726
- const lineHeight = this.notebookEditor.getLayoutInfo().fontInfo.lineHeight || 17;
727
- const lineCount = Math.max(originalModel.getLineCount(), modifiedModel.getLineCount());
728
- this._outputEditor = this.instantiationService.createInstance(DiffEditorWidget, this._outputEditorContainer, {
729
- ...fixedDiffEditorOptions,
730
- overflowWidgetsDomNode: this.notebookEditor.getOverflowContainerDomNode(),
731
- readOnly: true,
732
- ignoreTrimWhitespace: false,
733
- automaticLayout: false,
734
- dimension: {
735
- height: Math.min(OUTPUT_EDITOR_HEIGHT_MAGIC, this.cell.layoutInfo.rawOutputHeight || lineHeight * lineCount),
736
- width: this.cell.getComputedCellContainerWidth(this.notebookEditor.getLayoutInfo(), false, true)
737
- },
738
- accessibilityVerbose: this.configurationService.getValue("accessibility.verbosity.diffEditor" ) ?? false
739
- }, {
740
- originalEditor: getOptimizedNestedCodeEditorWidgetOptions(),
741
- modifiedEditor: getOptimizedNestedCodeEditorWidgetOptions()
742
- });
743
- this._outputEditorDisposeStore.add(this._outputEditor);
744
- this._outputEditorContainer?.classList.add('diff');
745
- this._outputEditor.setModel({
746
- original: originalModel,
747
- modified: modifiedModel
748
- });
749
- this._outputEditor.restoreViewState(this.cell.getOutputEditorViewState());
750
- this.cell.rawOutputHeight = this._outputEditor.getContentHeight();
751
- this._outputEditorDisposeStore.add(this._outputEditor.onDidContentSizeChange((e) => {
752
- if (e.contentHeightChanged && this.cell.outputFoldingState === PropertyFoldingState.Expanded) {
753
- this.cell.rawOutputHeight = e.contentHeight;
754
- }
755
- }));
756
- this._outputEditorDisposeStore.add(this.cell.modified.textModel.onDidChangeOutputs(() => {
757
- const modifiedOutputsSource = getFormattedOutputJSON(this.cell.modified?.outputs || []);
758
- modifiedModel.setValue(modifiedOutputsSource);
759
- this._outputHeader.refresh();
760
- }));
761
- return;
762
- }
763
- }
764
- this._outputEditor = this.instantiationService.createInstance(CodeEditorWidget, this._outputEditorContainer, {
765
- ...fixedEditorOptions,
766
- dimension: {
767
- width: Math.min(OUTPUT_EDITOR_HEIGHT_MAGIC, this.cell.getComputedCellContainerWidth(this.notebookEditor.getLayoutInfo(), false, this.cell.type === 'unchanged' || this.cell.type === 'modified') - 32),
768
- height: this.cell.layoutInfo.rawOutputHeight
769
- },
770
- overflowWidgetsDomNode: this.notebookEditor.getOverflowContainerDomNode()
771
- }, {});
772
- this._outputEditorDisposeStore.add(this._outputEditor);
773
- const mode = this.languageService.createById('json');
774
- const originaloutputSource = getFormattedOutputJSON(this.notebookEditor.textModel.transientOptions.transientOutputs
775
- ? []
776
- : this.cell.type === 'insert'
777
- ? this.cell.modified?.outputs || []
778
- : this.cell.original?.outputs || []);
779
- const outputModel = this.modelService.createModel(originaloutputSource, mode, undefined, true);
780
- this._outputEditorDisposeStore.add(outputModel);
781
- this._outputEditor.setModel(outputModel);
782
- this._outputEditor.restoreViewState(this.cell.getOutputEditorViewState());
783
- this.cell.rawOutputHeight = this._outputEditor.getContentHeight();
784
- this._outputEditorDisposeStore.add(this._outputEditor.onDidContentSizeChange((e) => {
785
- if (e.contentHeightChanged && this.cell.outputFoldingState === PropertyFoldingState.Expanded) {
786
- this.cell.rawOutputHeight = e.contentHeight;
787
- }
788
- }));
789
- }
790
- layoutNotebookCell() {
791
- this.notebookEditor.layoutNotebookCell(this.cell, this.cell.layoutInfo.totalHeight);
792
- }
793
- updateBorders() {
794
- this.templateData.leftBorder.style.height = `${this.cell.layoutInfo.totalHeight - 32}px`;
795
- this.templateData.rightBorder.style.height = `${this.cell.layoutInfo.totalHeight - 32}px`;
796
- this.templateData.bottomBorder.style.top = `${this.cell.layoutInfo.totalHeight - 32}px`;
797
- }
798
- dispose() {
799
- if (this._outputEditor) {
800
- this.cell.saveOutputEditorViewState(this._outputEditor.saveViewState());
801
- }
802
- if (this._metadataEditor) {
803
- this.cell.saveMetadataEditorViewState(this._metadataEditor.saveViewState());
804
- }
805
- this._metadataEditorDisposeStore.dispose();
806
- this._outputEditorDisposeStore.dispose();
807
- this._isDisposed = true;
808
- super.dispose();
809
- }
810
- }
811
- class SingleSideDiffElement extends AbstractElementRenderer {
812
- constructor(notebookEditor, cell, templateData, style, instantiationService, languageService, modelService, textModelService, contextMenuService, keybindingService, notificationService, menuService, contextKeyService, configurationService, textConfigurationService) {
813
- super(notebookEditor, cell, templateData, style, instantiationService, languageService, modelService, textModelService, contextMenuService, keybindingService, notificationService, menuService, contextKeyService, configurationService, textConfigurationService);
814
- this.cell = cell;
815
- this.templateData = templateData;
816
- this.updateBorders();
817
- }
818
- init() {
819
- this._diagonalFill = this.templateData.diagonalFill;
820
- }
821
- buildBody() {
822
- const body = this.templateData.body;
823
- this._diffEditorContainer = this.templateData.diffEditorContainer;
824
- body.classList.remove('left', 'right', 'full');
825
- switch (this.style) {
826
- case 'left':
827
- body.classList.add('left');
828
- break;
829
- case 'right':
830
- body.classList.add('right');
831
- break;
832
- default:
833
- body.classList.add('full');
834
- break;
835
- }
836
- this.styleContainer(this._diffEditorContainer);
837
- this.updateSourceEditor();
838
- if (this.configurationService.getValue('notebook.diff.ignoreMetadata')) {
839
- this._disposeMetadata();
840
- }
841
- else {
842
- this._buildMetadata();
843
- }
844
- if (this.configurationService.getValue('notebook.diff.ignoreOutputs') || this.notebookEditor.textModel?.transientOptions.transientOutputs) {
845
- this._disposeOutput();
846
- }
847
- else {
848
- this._buildOutput();
849
- }
850
- this._register(this.configurationService.onDidChangeConfiguration(e => {
851
- let metadataLayoutChange = false;
852
- let outputLayoutChange = false;
853
- if (e.affectsConfiguration('notebook.diff.ignoreMetadata')) {
854
- this._metadataLocalDisposable.clear();
855
- if (this.configurationService.getValue('notebook.diff.ignoreMetadata')) {
856
- this._disposeMetadata();
857
- }
858
- else {
859
- this.cell.metadataStatusHeight = 25;
860
- this._buildMetadata();
861
- this.updateMetadataRendering();
862
- metadataLayoutChange = true;
863
- }
864
- }
865
- if (e.affectsConfiguration('notebook.diff.ignoreOutputs')) {
866
- this._outputLocalDisposable.clear();
867
- if (this.configurationService.getValue('notebook.diff.ignoreOutputs') || this.notebookEditor.textModel?.transientOptions.transientOutputs) {
868
- this._disposeOutput();
869
- }
870
- else {
871
- this.cell.outputStatusHeight = 25;
872
- this._buildOutput();
873
- outputLayoutChange = true;
874
- }
875
- }
876
- if (metadataLayoutChange || outputLayoutChange) {
877
- this.layout({ metadataHeight: metadataLayoutChange, outputTotalHeight: outputLayoutChange });
878
- }
879
- }));
880
- }
881
- updateSourceEditor() {
882
- this._cellHeaderContainer = this.templateData.cellHeaderContainer;
883
- this._cellHeaderContainer.style.display = 'flex';
884
- this._cellHeaderContainer.innerText = '';
885
- this._editorContainer = this.templateData.editorContainer;
886
- this._editorContainer.classList.add('diff');
887
- const renderSourceEditor = () => {
888
- if (this.cell.cellFoldingState === PropertyFoldingState.Collapsed) {
889
- this._editorContainer.style.display = 'none';
890
- this.cell.editorHeight = 0;
891
- return;
892
- }
893
- const lineHeight = this.notebookEditor.getLayoutInfo().fontInfo.lineHeight || 17;
894
- const editorHeight = this.cell.computeInputEditorHeight(lineHeight);
895
- this._editorContainer.style.height = `${editorHeight}px`;
896
- this._editorContainer.style.display = 'block';
897
- if (this._editor) {
898
- const contentHeight = this._editor.getContentHeight();
899
- if (contentHeight >= 0) {
900
- this.cell.editorHeight = contentHeight;
901
- }
902
- return;
903
- }
904
- this._editor = this.templateData.sourceEditor;
905
- this._editor.layout({
906
- width: (this.notebookEditor.getLayoutInfo().width - 2 * DIFF_CELL_MARGIN) / 2 - 18,
907
- height: editorHeight
908
- });
909
- this._editor.updateOptions({ readOnly: this.readonly });
910
- this.cell.editorHeight = editorHeight;
911
- this._register(this._editor.onDidContentSizeChange((e) => {
912
- if (this.cell.cellFoldingState === PropertyFoldingState.Expanded && e.contentHeightChanged && this.cell.layoutInfo.editorHeight !== e.contentHeight) {
913
- this.cell.editorHeight = e.contentHeight;
914
- }
915
- }));
916
- this._initializeSourceDiffEditor(this.nestedCellViewModel);
917
- };
918
- this._cellHeader = this._register(this.instantiationService.createInstance(PropertyHeader, this.cell, this._cellHeaderContainer, this.notebookEditor, {
919
- updateInfoRendering: () => renderSourceEditor(),
920
- checkIfModified: () => ({ reason: undefined }),
921
- getFoldingState: () => this.cell.cellFoldingState,
922
- updateFoldingState: (state) => this.cell.cellFoldingState = state,
923
- unChangedLabel: 'Input',
924
- changedLabel: 'Input',
925
- prefix: 'input',
926
- menuId: MenuId.NotebookDiffCellInputTitle
927
- }));
928
- this._cellHeader.buildHeader();
929
- renderSourceEditor();
930
- this._initializeSourceDiffEditor(this.nestedCellViewModel);
931
- }
932
- calculateDiagonalFillHeight() {
933
- return this.cell.layoutInfo.cellStatusHeight + this.cell.layoutInfo.editorHeight + this.cell.layoutInfo.editorMargin + this.cell.layoutInfo.metadataStatusHeight + this.cell.layoutInfo.metadataHeight + this.cell.layoutInfo.outputTotalHeight + this.cell.layoutInfo.outputStatusHeight;
934
- }
935
- async _initializeSourceDiffEditor(modifiedCell) {
936
- const modifiedRef = await this.textModelService.createModelReference(modifiedCell.uri);
937
- if (this._isDisposed) {
938
- return;
939
- }
940
- const modifiedTextModel = modifiedRef.object.textEditorModel;
941
- this._register(modifiedRef);
942
- this._editor.setModel(modifiedTextModel);
943
- const editorViewState = this.cell.getSourceEditorViewState();
944
- if (editorViewState) {
945
- this._editor.restoreViewState(editorViewState);
946
- }
947
- const contentHeight = this._editor.getContentHeight();
948
- this.cell.editorHeight = contentHeight;
949
- const height = `${this.calculateDiagonalFillHeight()}px`;
950
- if (this._diagonalFill.style.height !== height) {
951
- this._diagonalFill.style.height = height;
952
- }
953
- }
954
- _disposeMetadata() {
955
- this.cell.metadataStatusHeight = 0;
956
- this.cell.metadataHeight = 0;
957
- this.templateData.cellHeaderContainer.style.display = 'none';
958
- this.templateData.metadataHeaderContainer.style.display = 'none';
959
- this.templateData.metadataInfoContainer.style.display = 'none';
960
- this._metadataEditor = undefined;
961
- }
962
- _buildMetadata() {
963
- this._metadataHeaderContainer = this.templateData.metadataHeaderContainer;
964
- this._metadataInfoContainer = this.templateData.metadataInfoContainer;
965
- this._metadataHeaderContainer.style.display = 'flex';
966
- this._metadataInfoContainer.style.display = 'block';
967
- this._metadataHeaderContainer.innerText = '';
968
- this._metadataInfoContainer.innerText = '';
969
- this._metadataHeader = this.instantiationService.createInstance(PropertyHeader, this.cell, this._metadataHeaderContainer, this.notebookEditor, {
970
- updateInfoRendering: this.updateMetadataRendering.bind(this),
971
- checkIfModified: () => {
972
- return this.cell.checkMetadataIfModified();
973
- },
974
- getFoldingState: () => {
975
- return this.cell.metadataFoldingState;
976
- },
977
- updateFoldingState: (state) => {
978
- this.cell.metadataFoldingState = state;
979
- },
980
- unChangedLabel: 'Metadata',
981
- changedLabel: 'Metadata changed',
982
- prefix: 'metadata',
983
- menuId: MenuId.NotebookDiffCellMetadataTitle
984
- });
985
- this._metadataLocalDisposable.add(this._metadataHeader);
986
- this._metadataHeader.buildHeader();
987
- }
988
- _buildOutput() {
989
- this.templateData.outputHeaderContainer.style.display = 'flex';
990
- this.templateData.outputInfoContainer.style.display = 'block';
991
- this._outputHeaderContainer = this.templateData.outputHeaderContainer;
992
- this._outputInfoContainer = this.templateData.outputInfoContainer;
993
- this._outputHeaderContainer.innerText = '';
994
- this._outputInfoContainer.innerText = '';
995
- this._outputHeader = this.instantiationService.createInstance(PropertyHeader, this.cell, this._outputHeaderContainer, this.notebookEditor, {
996
- updateInfoRendering: this.updateOutputRendering.bind(this),
997
- checkIfModified: () => {
998
- return this.cell.checkIfOutputsModified();
999
- },
1000
- getFoldingState: () => {
1001
- return this.cell.outputFoldingState;
1002
- },
1003
- updateFoldingState: (state) => {
1004
- this.cell.outputFoldingState = state;
1005
- },
1006
- unChangedLabel: 'Outputs',
1007
- changedLabel: 'Outputs changed',
1008
- prefix: 'output',
1009
- menuId: MenuId.NotebookDiffCellOutputsTitle
1010
- });
1011
- this._outputLocalDisposable.add(this._outputHeader);
1012
- this._outputHeader.buildHeader();
1013
- }
1014
- _disposeOutput() {
1015
- this._hideOutputsRaw();
1016
- this._hideOutputsRenderer();
1017
- this._hideOutputsEmptyView();
1018
- this.cell.rawOutputHeight = 0;
1019
- this.cell.outputMetadataHeight = 0;
1020
- this.cell.outputStatusHeight = 0;
1021
- this.templateData.outputHeaderContainer.style.display = 'none';
1022
- this.templateData.outputInfoContainer.style.display = 'none';
1023
- this._outputViewContainer = undefined;
1024
- }
1025
- }
1026
- let DeletedElement = class DeletedElement extends SingleSideDiffElement {
1027
- constructor(notebookEditor, cell, templateData, languageService, modelService, textModelService, instantiationService, contextMenuService, keybindingService, notificationService, menuService, contextKeyService, configurationService, textConfigurationService) {
1028
- super(notebookEditor, cell, templateData, 'left', instantiationService, languageService, modelService, textModelService, contextMenuService, keybindingService, notificationService, menuService, contextKeyService, configurationService, textConfigurationService);
1029
- }
1030
- get nestedCellViewModel() {
1031
- return this.cell.original;
1032
- }
1033
- get readonly() {
1034
- return true;
1035
- }
1036
- styleContainer(container) {
1037
- container.classList.remove('inserted');
1038
- container.classList.add('removed');
1039
- }
1040
- layout(state) {
1041
- scheduleAtNextAnimationFrame(getWindow(this._diffEditorContainer), () => {
1042
- if ((state.editorHeight || state.outerWidth) && this._editor) {
1043
- this._editorContainer.style.height = `${this.cell.layoutInfo.editorHeight}px`;
1044
- this._editor.layout({
1045
- width: this.cell.getComputedCellContainerWidth(this.notebookEditor.getLayoutInfo(), false, false),
1046
- height: this.cell.layoutInfo.editorHeight
1047
- });
1048
- }
1049
- if (state.outerWidth && this._editor) {
1050
- this._editorContainer.style.height = `${this.cell.layoutInfo.editorHeight}px`;
1051
- this._editor.layout();
1052
- }
1053
- if (state.metadataHeight || state.outerWidth) {
1054
- this._metadataEditor?.layout({
1055
- width: this.cell.getComputedCellContainerWidth(this.notebookEditor.getLayoutInfo(), false, false),
1056
- height: this.cell.layoutInfo.metadataHeight
1057
- });
1058
- }
1059
- if (state.outputTotalHeight || state.outerWidth) {
1060
- this._outputEditor?.layout({
1061
- width: this.cell.getComputedCellContainerWidth(this.notebookEditor.getLayoutInfo(), false, false),
1062
- height: this.cell.layoutInfo.outputTotalHeight
1063
- });
1064
- }
1065
- if (this._diagonalFill) {
1066
- this._diagonalFill.style.height = `${this.calculateDiagonalFillHeight()}px`;
1067
- }
1068
- this.layoutNotebookCell();
1069
- });
1070
- }
1071
- _buildOutputRendererContainer() {
1072
- if (!this._outputViewContainer) {
1073
- this._outputViewContainer = append(this._outputInfoContainer, $('.output-view-container'));
1074
- this._outputEmptyElement = append(this._outputViewContainer, $('.output-empty-view'));
1075
- const span = append(this._outputEmptyElement, $('span'));
1076
- span.innerText = 'No outputs to render';
1077
- if (!this.cell.original?.outputs.length) {
1078
- this._outputEmptyElement.style.display = 'block';
1079
- }
1080
- else {
1081
- this._outputEmptyElement.style.display = 'none';
1082
- }
1083
- this.cell.layoutChange();
1084
- this._outputLeftView = this.instantiationService.createInstance(OutputContainer, this.notebookEditor, this.notebookEditor.textModel, this.cell, this.cell.original, DiffSide.Original, this._outputViewContainer);
1085
- this._register(this._outputLeftView);
1086
- this._outputLeftView.render();
1087
- const removedOutputRenderListener = this.notebookEditor.onDidDynamicOutputRendered(e => {
1088
- if (( (e.cell.uri.toString())) === ( (this.cell.original.uri.toString()))) {
1089
- this.notebookEditor.deltaCellOutputContainerClassNames(DiffSide.Original, this.cell.original.id, ['nb-cellDeleted'], []);
1090
- removedOutputRenderListener.dispose();
1091
- }
1092
- });
1093
- this._register(removedOutputRenderListener);
1094
- }
1095
- this._outputViewContainer.style.display = 'block';
1096
- }
1097
- _decorate() {
1098
- this.notebookEditor.deltaCellOutputContainerClassNames(DiffSide.Original, this.cell.original.id, ['nb-cellDeleted'], []);
1099
- }
1100
- _showOutputsRenderer() {
1101
- if (this._outputViewContainer) {
1102
- this._outputViewContainer.style.display = 'block';
1103
- this._outputLeftView?.showOutputs();
1104
- this._decorate();
1105
- }
1106
- }
1107
- _hideOutputsRenderer() {
1108
- if (this._outputViewContainer) {
1109
- this._outputViewContainer.style.display = 'none';
1110
- this._outputLeftView?.hideOutputs();
1111
- }
1112
- }
1113
- dispose() {
1114
- if (this._editor) {
1115
- this.cell.saveSpirceEditorViewState(this._editor.saveViewState());
1116
- }
1117
- super.dispose();
1118
- }
1119
- };
1120
- DeletedElement = ( (__decorate([
1121
- ( (__param(3, ILanguageService))),
1122
- ( (__param(4, IModelService))),
1123
- ( (__param(5, ITextModelService))),
1124
- ( (__param(6, IInstantiationService))),
1125
- ( (__param(7, IContextMenuService))),
1126
- ( (__param(8, IKeybindingService))),
1127
- ( (__param(9, INotificationService))),
1128
- ( (__param(10, IMenuService))),
1129
- ( (__param(11, IContextKeyService))),
1130
- ( (__param(12, IConfigurationService))),
1131
- ( (__param(13, ITextResourceConfigurationService)))
1132
- ], DeletedElement)));
1133
- let InsertElement = class InsertElement extends SingleSideDiffElement {
1134
- constructor(notebookEditor, cell, templateData, instantiationService, languageService, modelService, textModelService, contextMenuService, keybindingService, notificationService, menuService, contextKeyService, configurationService, textConfigurationService) {
1135
- super(notebookEditor, cell, templateData, 'right', instantiationService, languageService, modelService, textModelService, contextMenuService, keybindingService, notificationService, menuService, contextKeyService, configurationService, textConfigurationService);
1136
- }
1137
- get nestedCellViewModel() {
1138
- return this.cell.modified;
1139
- }
1140
- get readonly() {
1141
- return false;
1142
- }
1143
- styleContainer(container) {
1144
- container.classList.remove('removed');
1145
- container.classList.add('inserted');
1146
- }
1147
- _buildOutputRendererContainer() {
1148
- if (!this._outputViewContainer) {
1149
- this._outputViewContainer = append(this._outputInfoContainer, $('.output-view-container'));
1150
- this._outputEmptyElement = append(this._outputViewContainer, $('.output-empty-view'));
1151
- this._outputEmptyElement.innerText = 'No outputs to render';
1152
- if (!this.cell.modified?.outputs.length) {
1153
- this._outputEmptyElement.style.display = 'block';
1154
- }
1155
- else {
1156
- this._outputEmptyElement.style.display = 'none';
1157
- }
1158
- this.cell.layoutChange();
1159
- this._outputRightView = this.instantiationService.createInstance(OutputContainer, this.notebookEditor, this.notebookEditor.textModel, this.cell, this.cell.modified, DiffSide.Modified, this._outputViewContainer);
1160
- this._register(this._outputRightView);
1161
- this._outputRightView.render();
1162
- const insertOutputRenderListener = this.notebookEditor.onDidDynamicOutputRendered(e => {
1163
- if (( (e.cell.uri.toString())) === ( (this.cell.modified.uri.toString()))) {
1164
- this.notebookEditor.deltaCellOutputContainerClassNames(DiffSide.Modified, this.cell.modified.id, ['nb-cellAdded'], []);
1165
- insertOutputRenderListener.dispose();
1166
- }
1167
- });
1168
- this._register(insertOutputRenderListener);
1169
- }
1170
- this._outputViewContainer.style.display = 'block';
1171
- }
1172
- _decorate() {
1173
- this.notebookEditor.deltaCellOutputContainerClassNames(DiffSide.Modified, this.cell.modified.id, ['nb-cellAdded'], []);
1174
- }
1175
- _showOutputsRenderer() {
1176
- if (this._outputViewContainer) {
1177
- this._outputViewContainer.style.display = 'block';
1178
- this._outputRightView?.showOutputs();
1179
- this._decorate();
1180
- }
1181
- }
1182
- _hideOutputsRenderer() {
1183
- if (this._outputViewContainer) {
1184
- this._outputViewContainer.style.display = 'none';
1185
- this._outputRightView?.hideOutputs();
1186
- }
1187
- }
1188
- layout(state) {
1189
- scheduleAtNextAnimationFrame(getWindow(this._diffEditorContainer), () => {
1190
- if ((state.editorHeight || state.outerWidth) && this._editor) {
1191
- this._editorContainer.style.height = `${this.cell.layoutInfo.editorHeight}px`;
1192
- this._editor.layout({
1193
- width: this.cell.getComputedCellContainerWidth(this.notebookEditor.getLayoutInfo(), false, false),
1194
- height: this.cell.layoutInfo.editorHeight
1195
- });
1196
- }
1197
- if (state.outerWidth && this._editor) {
1198
- this._editorContainer.style.height = `${this.cell.layoutInfo.editorHeight}px`;
1199
- this._editor.layout();
1200
- }
1201
- if (state.metadataHeight || state.outerWidth) {
1202
- this._metadataEditor?.layout({
1203
- width: this.cell.getComputedCellContainerWidth(this.notebookEditor.getLayoutInfo(), false, true),
1204
- height: this.cell.layoutInfo.metadataHeight
1205
- });
1206
- }
1207
- if (state.outputTotalHeight || state.outerWidth) {
1208
- this._outputEditor?.layout({
1209
- width: this.cell.getComputedCellContainerWidth(this.notebookEditor.getLayoutInfo(), false, false),
1210
- height: this.cell.layoutInfo.outputTotalHeight
1211
- });
1212
- }
1213
- this.layoutNotebookCell();
1214
- if (this._diagonalFill) {
1215
- this._diagonalFill.style.height = `${this.calculateDiagonalFillHeight()}px`;
1216
- }
1217
- });
1218
- }
1219
- dispose() {
1220
- if (this._editor) {
1221
- this.cell.saveSpirceEditorViewState(this._editor.saveViewState());
1222
- }
1223
- super.dispose();
1224
- }
1225
- };
1226
- InsertElement = ( (__decorate([
1227
- ( (__param(3, IInstantiationService))),
1228
- ( (__param(4, ILanguageService))),
1229
- ( (__param(5, IModelService))),
1230
- ( (__param(6, ITextModelService))),
1231
- ( (__param(7, IContextMenuService))),
1232
- ( (__param(8, IKeybindingService))),
1233
- ( (__param(9, INotificationService))),
1234
- ( (__param(10, IMenuService))),
1235
- ( (__param(11, IContextKeyService))),
1236
- ( (__param(12, IConfigurationService))),
1237
- ( (__param(13, ITextResourceConfigurationService)))
1238
- ], InsertElement)));
1239
- let ModifiedElement = class ModifiedElement extends AbstractElementRenderer {
1240
- constructor(notebookEditor, cell, templateData, instantiationService, languageService, modelService, textModelService, contextMenuService, keybindingService, notificationService, menuService, contextKeyService, configurationService, textConfigurationService) {
1241
- super(notebookEditor, cell, templateData, 'full', instantiationService, languageService, modelService, textModelService, contextMenuService, keybindingService, notificationService, menuService, contextKeyService, configurationService, textConfigurationService);
1242
- this.cell = cell;
1243
- this.templateData = templateData;
1244
- this._editorViewStateChanged = false;
1245
- this.updateBorders();
1246
- }
1247
- init() { }
1248
- styleContainer(container) {
1249
- container.classList.remove('inserted', 'removed');
1250
- }
1251
- buildBody() {
1252
- super.buildBody();
1253
- if (this.cell.displayIconToHideUnmodifiedCells) {
1254
- this._register(this.templateData.marginOverlay.onAction(() => this.cell.hideUnchangedCells()));
1255
- this.templateData.marginOverlay.show();
1256
- }
1257
- else {
1258
- this.templateData.marginOverlay.hide();
1259
- }
1260
- }
1261
- _disposeMetadata() {
1262
- this.cell.metadataStatusHeight = 0;
1263
- this.cell.metadataHeight = 0;
1264
- this.templateData.metadataHeaderContainer.style.display = 'none';
1265
- this.templateData.metadataInfoContainer.style.display = 'none';
1266
- this._metadataEditor = undefined;
1267
- }
1268
- _buildMetadata() {
1269
- this._metadataHeaderContainer = this.templateData.metadataHeaderContainer;
1270
- this._metadataInfoContainer = this.templateData.metadataInfoContainer;
1271
- this._metadataHeaderContainer.style.display = 'flex';
1272
- this._metadataInfoContainer.style.display = 'block';
1273
- this._metadataHeaderContainer.innerText = '';
1274
- this._metadataInfoContainer.innerText = '';
1275
- this._metadataHeader = this.instantiationService.createInstance(PropertyHeader, this.cell, this._metadataHeaderContainer, this.notebookEditor, {
1276
- updateInfoRendering: this.updateMetadataRendering.bind(this),
1277
- checkIfModified: () => {
1278
- return this.cell.checkMetadataIfModified();
1279
- },
1280
- getFoldingState: () => {
1281
- return this.cell.metadataFoldingState;
1282
- },
1283
- updateFoldingState: (state) => {
1284
- this.cell.metadataFoldingState = state;
1285
- },
1286
- unChangedLabel: 'Metadata',
1287
- changedLabel: 'Metadata changed',
1288
- prefix: 'metadata',
1289
- menuId: MenuId.NotebookDiffCellMetadataTitle
1290
- });
1291
- this._metadataLocalDisposable.add(this._metadataHeader);
1292
- this._metadataHeader.buildHeader();
1293
- }
1294
- _disposeOutput() {
1295
- this._hideOutputsRaw();
1296
- this._hideOutputsRenderer();
1297
- this._hideOutputsEmptyView();
1298
- this.cell.rawOutputHeight = 0;
1299
- this.cell.outputMetadataHeight = 0;
1300
- this.cell.outputStatusHeight = 0;
1301
- this.templateData.outputHeaderContainer.style.display = 'none';
1302
- this.templateData.outputInfoContainer.style.display = 'none';
1303
- this._outputViewContainer = undefined;
1304
- }
1305
- _buildOutput() {
1306
- this.templateData.outputHeaderContainer.style.display = 'flex';
1307
- this.templateData.outputInfoContainer.style.display = 'block';
1308
- this._outputHeaderContainer = this.templateData.outputHeaderContainer;
1309
- this._outputInfoContainer = this.templateData.outputInfoContainer;
1310
- this._outputHeaderContainer.innerText = '';
1311
- this._outputInfoContainer.innerText = '';
1312
- if (this.cell.checkIfOutputsModified()) {
1313
- this._outputInfoContainer.classList.add('modified');
1314
- }
1315
- else {
1316
- this._outputInfoContainer.classList.remove('modified');
1317
- }
1318
- this._outputHeader = this.instantiationService.createInstance(PropertyHeader, this.cell, this._outputHeaderContainer, this.notebookEditor, {
1319
- updateInfoRendering: this.updateOutputRendering.bind(this),
1320
- checkIfModified: () => {
1321
- return this.cell.checkIfOutputsModified();
1322
- },
1323
- getFoldingState: () => {
1324
- return this.cell.outputFoldingState;
1325
- },
1326
- updateFoldingState: (state) => {
1327
- this.cell.outputFoldingState = state;
1328
- },
1329
- unChangedLabel: 'Outputs',
1330
- changedLabel: 'Outputs changed',
1331
- prefix: 'output',
1332
- menuId: MenuId.NotebookDiffCellOutputsTitle
1333
- });
1334
- this._outputLocalDisposable.add(this._outputHeader);
1335
- this._outputHeader.buildHeader();
1336
- }
1337
- _buildOutputRendererContainer() {
1338
- if (!this._outputViewContainer) {
1339
- this._outputViewContainer = append(this._outputInfoContainer, $('.output-view-container'));
1340
- this._outputEmptyElement = append(this._outputViewContainer, $('.output-empty-view'));
1341
- this._outputEmptyElement.innerText = 'No outputs to render';
1342
- if (!this.cell.checkIfOutputsModified() && this.cell.modified.outputs.length === 0) {
1343
- this._outputEmptyElement.style.display = 'block';
1344
- }
1345
- else {
1346
- this._outputEmptyElement.style.display = 'none';
1347
- }
1348
- this.cell.layoutChange();
1349
- this._register(this.cell.modified.textModel.onDidChangeOutputs(() => {
1350
- if (!this.cell.checkIfOutputsModified() && this.cell.modified.outputs.length === 0) {
1351
- this._outputEmptyElement.style.display = 'block';
1352
- }
1353
- else {
1354
- this._outputEmptyElement.style.display = 'none';
1355
- }
1356
- this._decorate();
1357
- }));
1358
- this._outputLeftContainer = append(this._outputViewContainer, $('.output-view-container-left'));
1359
- this._outputRightContainer = append(this._outputViewContainer, $('.output-view-container-right'));
1360
- this._outputMetadataContainer = append(this._outputViewContainer, $('.output-view-container-metadata'));
1361
- const outputModified = this.cell.checkIfOutputsModified();
1362
- const outputMetadataChangeOnly = outputModified
1363
- && outputModified.kind === 1
1364
- && this.cell.original.outputs.length === 1
1365
- && this.cell.modified.outputs.length === 1
1366
- && outputEqual(this.cell.original.outputs[0], this.cell.modified.outputs[0]) === 1 ;
1367
- if (outputModified && !outputMetadataChangeOnly) {
1368
- const originalOutputRenderListener = this.notebookEditor.onDidDynamicOutputRendered(e => {
1369
- if (( (e.cell.uri.toString())) === ( (this.cell.original.uri.toString())) && this.cell.checkIfOutputsModified()) {
1370
- this.notebookEditor.deltaCellOutputContainerClassNames(DiffSide.Original, this.cell.original.id, ['nb-cellDeleted'], []);
1371
- originalOutputRenderListener.dispose();
1372
- }
1373
- });
1374
- const modifiedOutputRenderListener = this.notebookEditor.onDidDynamicOutputRendered(e => {
1375
- if (( (e.cell.uri.toString())) === ( (this.cell.modified.uri.toString())) && this.cell.checkIfOutputsModified()) {
1376
- this.notebookEditor.deltaCellOutputContainerClassNames(DiffSide.Modified, this.cell.modified.id, ['nb-cellAdded'], []);
1377
- modifiedOutputRenderListener.dispose();
1378
- }
1379
- });
1380
- this._register(originalOutputRenderListener);
1381
- this._register(modifiedOutputRenderListener);
1382
- }
1383
- this._outputLeftView = this.instantiationService.createInstance(OutputContainer, this.notebookEditor, this.notebookEditor.textModel, this.cell, this.cell.original, DiffSide.Original, this._outputLeftContainer);
1384
- this._outputLeftView.render();
1385
- this._register(this._outputLeftView);
1386
- this._outputRightView = this.instantiationService.createInstance(OutputContainer, this.notebookEditor, this.notebookEditor.textModel, this.cell, this.cell.modified, DiffSide.Modified, this._outputRightContainer);
1387
- this._outputRightView.render();
1388
- this._register(this._outputRightView);
1389
- if (outputModified && !outputMetadataChangeOnly) {
1390
- this._decorate();
1391
- }
1392
- if (outputMetadataChangeOnly) {
1393
- this._outputMetadataContainer.style.top = `${this.cell.layoutInfo.rawOutputHeight}px`;
1394
- this._outputMetadataEditor = this.instantiationService.createInstance(DiffEditorWidget, this._outputMetadataContainer, {
1395
- ...fixedDiffEditorOptions,
1396
- overflowWidgetsDomNode: this.notebookEditor.getOverflowContainerDomNode(),
1397
- readOnly: true,
1398
- ignoreTrimWhitespace: false,
1399
- automaticLayout: false,
1400
- dimension: {
1401
- height: OUTPUT_EDITOR_HEIGHT_MAGIC,
1402
- width: this.cell.getComputedCellContainerWidth(this.notebookEditor.getLayoutInfo(), false, true)
1403
- }
1404
- }, {
1405
- originalEditor: getOptimizedNestedCodeEditorWidgetOptions(),
1406
- modifiedEditor: getOptimizedNestedCodeEditorWidgetOptions()
1407
- });
1408
- this._register(this._outputMetadataEditor);
1409
- const originalOutputMetadataSource = JSON.stringify(this.cell.original.outputs[0].metadata ?? {}, undefined, '\t');
1410
- const modifiedOutputMetadataSource = JSON.stringify(this.cell.modified.outputs[0].metadata ?? {}, undefined, '\t');
1411
- const mode = this.languageService.createById('json');
1412
- const originalModel = this.modelService.createModel(originalOutputMetadataSource, mode, undefined, true);
1413
- const modifiedModel = this.modelService.createModel(modifiedOutputMetadataSource, mode, undefined, true);
1414
- this._outputMetadataEditor.setModel({
1415
- original: originalModel,
1416
- modified: modifiedModel
1417
- });
1418
- this.cell.outputMetadataHeight = this._outputMetadataEditor.getContentHeight();
1419
- this._register(this._outputMetadataEditor.onDidContentSizeChange((e) => {
1420
- this.cell.outputMetadataHeight = e.contentHeight;
1421
- }));
1422
- }
1423
- }
1424
- this._outputViewContainer.style.display = 'block';
1425
- }
1426
- _decorate() {
1427
- if (this.cell.checkIfOutputsModified()) {
1428
- this.notebookEditor.deltaCellOutputContainerClassNames(DiffSide.Original, this.cell.original.id, ['nb-cellDeleted'], []);
1429
- this.notebookEditor.deltaCellOutputContainerClassNames(DiffSide.Modified, this.cell.modified.id, ['nb-cellAdded'], []);
1430
- }
1431
- else {
1432
- this.notebookEditor.deltaCellOutputContainerClassNames(DiffSide.Original, this.cell.original.id, [], ['nb-cellDeleted']);
1433
- this.notebookEditor.deltaCellOutputContainerClassNames(DiffSide.Modified, this.cell.modified.id, [], ['nb-cellAdded']);
1434
- }
1435
- }
1436
- _showOutputsRenderer() {
1437
- if (this._outputViewContainer) {
1438
- this._outputViewContainer.style.display = 'block';
1439
- this._outputLeftView?.showOutputs();
1440
- this._outputRightView?.showOutputs();
1441
- this._outputMetadataEditor?.layout({
1442
- width: this._editor?.getViewWidth() || this.cell.getComputedCellContainerWidth(this.notebookEditor.getLayoutInfo(), false, true),
1443
- height: this.cell.layoutInfo.outputMetadataHeight
1444
- });
1445
- this._decorate();
1446
- }
1447
- }
1448
- _hideOutputsRenderer() {
1449
- if (this._outputViewContainer) {
1450
- this._outputViewContainer.style.display = 'none';
1451
- this._outputLeftView?.hideOutputs();
1452
- this._outputRightView?.hideOutputs();
1453
- }
1454
- }
1455
- updateSourceEditor() {
1456
- this._cellHeaderContainer = this.templateData.cellHeaderContainer;
1457
- this._cellHeaderContainer.style.display = 'flex';
1458
- this._cellHeaderContainer.innerText = '';
1459
- const modifiedCell = this.cell.modified;
1460
- this._editorContainer = this.templateData.editorContainer;
1461
- this._editorContainer.classList.add('diff');
1462
- const renderSourceEditor = () => {
1463
- if (this.cell.cellFoldingState === PropertyFoldingState.Collapsed) {
1464
- this._editorContainer.style.display = 'none';
1465
- this.cell.editorHeight = 0;
1466
- return;
1467
- }
1468
- const lineCount = modifiedCell.textModel.textBuffer.getLineCount();
1469
- const lineHeight = this.notebookEditor.getLayoutInfo().fontInfo.lineHeight || 17;
1470
- const editorHeight = this.cell.layoutInfo.editorHeight !== 0 ? this.cell.layoutInfo.editorHeight : this.cell.computeInputEditorHeight(lineHeight);
1471
- this._editorContainer.style.height = `${editorHeight}px`;
1472
- this._editorContainer.style.display = 'block';
1473
- if (this._editor) {
1474
- const contentHeight = this._editor.getContentHeight();
1475
- if (contentHeight >= 0) {
1476
- this.cell.editorHeight = contentHeight;
1477
- }
1478
- return;
1479
- }
1480
- this._editor = this.templateData.sourceEditor;
1481
- const options = {
1482
- padding: getEditorPadding(lineCount)
1483
- };
1484
- const unchangedRegions = this._register(getUnchangedRegionSettings(this.configurationService));
1485
- if (unchangedRegions.options.enabled) {
1486
- options.hideUnchangedRegions = unchangedRegions.options;
1487
- }
1488
- this._editor.updateOptions(options);
1489
- this._register(unchangedRegions.onDidChangeEnablement(() => {
1490
- options.hideUnchangedRegions = unchangedRegions.options;
1491
- this._editor?.updateOptions(options);
1492
- }));
1493
- this._editor.layout({
1494
- width: this.notebookEditor.getLayoutInfo().width - 2 * DIFF_CELL_MARGIN,
1495
- height: editorHeight
1496
- });
1497
- this._register(this._editor.onDidContentSizeChange((e) => {
1498
- if (this.cell.cellFoldingState === PropertyFoldingState.Expanded && e.contentHeightChanged && this.cell.layoutInfo.editorHeight !== e.contentHeight) {
1499
- this.cell.editorHeight = e.contentHeight;
1500
- }
1501
- }));
1502
- this._initializeSourceDiffEditor();
1503
- };
1504
- this._cellHeader = this._register(this.instantiationService.createInstance(PropertyHeader, this.cell, this._cellHeaderContainer, this.notebookEditor, {
1505
- updateInfoRendering: () => renderSourceEditor(),
1506
- checkIfModified: () => {
1507
- return this.cell.modified?.textModel.getTextBufferHash() !== this.cell.original?.textModel.getTextBufferHash() ? { reason: undefined } : false;
1508
- },
1509
- getFoldingState: () => this.cell.cellFoldingState,
1510
- updateFoldingState: (state) => this.cell.cellFoldingState = state,
1511
- unChangedLabel: 'Input',
1512
- changedLabel: 'Input changed',
1513
- prefix: 'input',
1514
- menuId: MenuId.NotebookDiffCellInputTitle
1515
- }));
1516
- this._cellHeader.buildHeader();
1517
- renderSourceEditor();
1518
- const scopedContextKeyService = this.contextKeyService.createScoped(this.templateData.inputToolbarContainer);
1519
- this._register(scopedContextKeyService);
1520
- const inputChanged = NOTEBOOK_DIFF_CELL_INPUT.bindTo(scopedContextKeyService);
1521
- inputChanged.set(this.cell.modified.textModel.getTextBufferHash() !== this.cell.original.textModel.getTextBufferHash());
1522
- const ignoreWhitespace = NOTEBOOK_DIFF_CELL_IGNORE_WHITESPACE.bindTo(scopedContextKeyService);
1523
- const ignore = this.textConfigurationService.getValue(this.cell.modified.uri, 'diffEditor.ignoreTrimWhitespace');
1524
- ignoreWhitespace.set(ignore);
1525
- this._toolbar = this.templateData.toolbar;
1526
- this._toolbar.context = this.cell;
1527
- const refreshToolbar = () => {
1528
- const ignore = this.textConfigurationService.getValue(this.cell.modified.uri, 'diffEditor.ignoreTrimWhitespace');
1529
- ignoreWhitespace.set(ignore);
1530
- const hasChanges = this.cell.modified.textModel.getTextBufferHash() !== this.cell.original.textModel.getTextBufferHash();
1531
- inputChanged.set(hasChanges);
1532
- if (hasChanges) {
1533
- const actions = [];
1534
- const menu = this.menuService.getMenuActions(MenuId.NotebookDiffCellInputTitle, scopedContextKeyService, { shouldForwardArgs: true });
1535
- createAndFillInActionBarActions(menu, actions);
1536
- this._toolbar.setActions(actions);
1537
- }
1538
- else {
1539
- this._toolbar.setActions([]);
1540
- }
1541
- };
1542
- this._register(this.cell.modified.textModel.onDidChangeContent(() => refreshToolbar()));
1543
- this._register(this.textConfigurationService.onDidChangeConfiguration(e => {
1544
- if (e.affectsConfiguration(this.cell.modified.uri, 'diffEditor') &&
1545
- ( (e.affectedKeys.has('diffEditor.ignoreTrimWhitespace')))) {
1546
- refreshToolbar();
1547
- }
1548
- }));
1549
- refreshToolbar();
1550
- }
1551
- async _initializeSourceDiffEditor() {
1552
- const [originalRef, modifiedRef] = await Promise.all([
1553
- this.textModelService.createModelReference(this.cell.original.uri),
1554
- this.textModelService.createModelReference(this.cell.modified.uri)
1555
- ]);
1556
- this._register(originalRef);
1557
- this._register(modifiedRef);
1558
- if (this._isDisposed) {
1559
- originalRef.dispose();
1560
- modifiedRef.dispose();
1561
- return;
1562
- }
1563
- const vm = this._register(this._editor.createViewModel({
1564
- original: originalRef.object.textEditorModel,
1565
- modified: modifiedRef.object.textEditorModel,
1566
- }));
1567
- await vm.waitForDiff();
1568
- this._editor.setModel(vm);
1569
- const handleViewStateChange = () => {
1570
- this._editorViewStateChanged = true;
1571
- };
1572
- const handleScrollChange = (e) => {
1573
- if (e.scrollTopChanged || e.scrollLeftChanged) {
1574
- this._editorViewStateChanged = true;
1575
- }
1576
- };
1577
- this.updateEditorOptionsForWhitespace();
1578
- this._register(this._editor.getOriginalEditor().onDidChangeCursorSelection(handleViewStateChange));
1579
- this._register(this._editor.getOriginalEditor().onDidScrollChange(handleScrollChange));
1580
- this._register(this._editor.getModifiedEditor().onDidChangeCursorSelection(handleViewStateChange));
1581
- this._register(this._editor.getModifiedEditor().onDidScrollChange(handleScrollChange));
1582
- const editorViewState = this.cell.getSourceEditorViewState();
1583
- if (editorViewState) {
1584
- this._editor.restoreViewState(editorViewState);
1585
- }
1586
- const contentHeight = this._editor.getContentHeight();
1587
- this.cell.editorHeight = contentHeight;
1588
- }
1589
- updateEditorOptionsForWhitespace() {
1590
- const editor = this._editor;
1591
- if (!editor) {
1592
- return;
1593
- }
1594
- const uri = editor.getModel()?.modified.uri || editor.getModel()?.original.uri;
1595
- if (!uri) {
1596
- return;
1597
- }
1598
- const ignoreTrimWhitespace = this.textConfigurationService.getValue(uri, 'diffEditor.ignoreTrimWhitespace');
1599
- editor.updateOptions({ ignoreTrimWhitespace });
1600
- this._register(this.textConfigurationService.onDidChangeConfiguration(e => {
1601
- if (e.affectsConfiguration(uri, 'diffEditor') &&
1602
- ( (e.affectedKeys.has('diffEditor.ignoreTrimWhitespace')))) {
1603
- const ignoreTrimWhitespace = this.textConfigurationService.getValue(uri, 'diffEditor.ignoreTrimWhitespace');
1604
- editor.updateOptions({ ignoreTrimWhitespace });
1605
- }
1606
- }));
1607
- }
1608
- layout(state) {
1609
- scheduleAtNextAnimationFrame(getWindow(this._diffEditorContainer), () => {
1610
- if (state.editorHeight && this._editor) {
1611
- this._editorContainer.style.height = `${this.cell.layoutInfo.editorHeight}px`;
1612
- this._editor.layout({
1613
- width: this._editor.getViewWidth(),
1614
- height: this.cell.layoutInfo.editorHeight
1615
- });
1616
- }
1617
- if (state.outerWidth && this._editor) {
1618
- this._editorContainer.style.height = `${this.cell.layoutInfo.editorHeight}px`;
1619
- this._editor.layout();
1620
- }
1621
- if (state.metadataHeight || state.outerWidth) {
1622
- if (this._metadataEditorContainer) {
1623
- this._metadataEditorContainer.style.height = `${this.cell.layoutInfo.metadataHeight}px`;
1624
- this._metadataEditor?.layout({
1625
- width: this._editor?.getViewWidth() || this.cell.getComputedCellContainerWidth(this.notebookEditor.getLayoutInfo(), false, true),
1626
- height: this.cell.layoutInfo.metadataHeight
1627
- });
1628
- }
1629
- }
1630
- if (state.outputTotalHeight || state.outerWidth) {
1631
- if (this._outputEditorContainer) {
1632
- this._outputEditorContainer.style.height = `${this.cell.layoutInfo.outputTotalHeight}px`;
1633
- this._outputEditor?.layout({
1634
- width: this._editor?.getViewWidth() || this.cell.getComputedCellContainerWidth(this.notebookEditor.getLayoutInfo(), false, true),
1635
- height: this.cell.layoutInfo.outputTotalHeight
1636
- });
1637
- }
1638
- if (this._outputMetadataContainer) {
1639
- this._outputMetadataContainer.style.height = `${this.cell.layoutInfo.outputMetadataHeight}px`;
1640
- this._outputMetadataContainer.style.top = `${this.cell.layoutInfo.outputTotalHeight - this.cell.layoutInfo.outputMetadataHeight}px`;
1641
- this._outputMetadataEditor?.layout({
1642
- width: this._editor?.getViewWidth() || this.cell.getComputedCellContainerWidth(this.notebookEditor.getLayoutInfo(), false, true),
1643
- height: this.cell.layoutInfo.outputMetadataHeight
1644
- });
1645
- }
1646
- }
1647
- this.layoutNotebookCell();
1648
- });
1649
- }
1650
- dispose() {
1651
- if (this._editor) {
1652
- this._editor.setModel(null);
1653
- }
1654
- if (this._editor && this._editorViewStateChanged) {
1655
- this.cell.saveSpirceEditorViewState(this._editor.saveViewState());
1656
- }
1657
- super.dispose();
1658
- }
1659
- };
1660
- ModifiedElement = ( (__decorate([
1661
- ( (__param(3, IInstantiationService))),
1662
- ( (__param(4, ILanguageService))),
1663
- ( (__param(5, IModelService))),
1664
- ( (__param(6, ITextModelService))),
1665
- ( (__param(7, IContextMenuService))),
1666
- ( (__param(8, IKeybindingService))),
1667
- ( (__param(9, INotificationService))),
1668
- ( (__param(10, IMenuService))),
1669
- ( (__param(11, IContextKeyService))),
1670
- ( (__param(12, IConfigurationService))),
1671
- ( (__param(13, ITextResourceConfigurationService)))
1672
- ], ModifiedElement)));
1673
- class CollapsedCellOverlayWidget extends Disposable {
1674
- constructor(container) {
1675
- super();
1676
- this.container = container;
1677
- this._nodes = h('div.diff-hidden-cells', [
1678
- h('div.center@content', { style: { display: 'flex' } }, [
1679
- $('a', {
1680
- title: ( localize(11618, 'Show Unchanged Cells')),
1681
- role: 'button',
1682
- onclick: () => { this._action.fire(); }
1683
- }, ...renderLabelWithIcons('$(unfold)'))
1684
- ]),
1685
- ]);
1686
- this._action = this._register(( (new Emitter())));
1687
- this.onAction = this._action.event;
1688
- this._nodes.root.style.display = 'none';
1689
- container.appendChild(this._nodes.root);
1690
- }
1691
- show() {
1692
- this._nodes.root.style.display = 'block';
1693
- }
1694
- hide() {
1695
- this._nodes.root.style.display = 'none';
1696
- }
1697
- dispose() {
1698
- this.hide();
1699
- this.container.removeChild(this._nodes.root);
1700
- reset(this._nodes.root);
1701
- super.dispose();
1702
- }
1703
- }
1704
- class UnchangedCellOverlayWidget extends Disposable {
1705
- constructor(container) {
1706
- super();
1707
- this.container = container;
1708
- this._nodes = h('div.diff-hidden-cells', [
1709
- h('div.center@content', { style: { display: 'flex' } }, [
1710
- $('a', {
1711
- title: ( localize(11619, 'Hide Unchanged Cells')),
1712
- role: 'button',
1713
- onclick: () => { this._action.fire(); }
1714
- }, ...renderLabelWithIcons('$(fold)')),
1715
- ]),
1716
- ]);
1717
- this._action = this._register(( (new Emitter())));
1718
- this.onAction = this._action.event;
1719
- this._nodes.root.style.display = 'none';
1720
- container.appendChild(this._nodes.root);
1721
- }
1722
- show() {
1723
- this._nodes.root.style.display = 'block';
1724
- }
1725
- hide() {
1726
- this._nodes.root.style.display = 'none';
1727
- }
1728
- dispose() {
1729
- this.hide();
1730
- this.container.removeChild(this._nodes.root);
1731
- reset(this._nodes.root);
1732
- super.dispose();
1733
- }
1734
- }
1735
- export { CellDiffPlaceholderElement, CollapsedCellOverlayWidget, DeletedElement, InsertElement, ModifiedElement, NotebookDocumentMetadataElement, UnchangedCellOverlayWidget, getOptimizedNestedCodeEditorWidgetOptions };