@codingame/monaco-vscode-api 4.5.1 → 5.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 (886) hide show
  1. package/api.js +1 -1
  2. package/extensions.d.ts +2 -3
  3. package/extensions.js +10 -2
  4. package/lifecycle.js +6 -0
  5. package/localExtensionHost.d.ts +4 -1
  6. package/missing-services.js +41 -25
  7. package/package.json +8 -8
  8. package/service-override/tools/editor.js +31 -8
  9. package/service-override/tools/views.d.ts +1 -1
  10. package/service-override/tools/views.js +2 -3
  11. package/service-override/views.d.ts +0 -1
  12. package/services.d.ts +3 -3
  13. package/services.js +4 -3
  14. package/vscode/src/vs/base/browser/defaultWorkerFactory.js +4 -2
  15. package/vscode/src/vs/base/browser/dom.js +3 -3
  16. package/vscode/src/vs/base/browser/iframe.js +3 -1
  17. package/vscode/src/vs/base/browser/indexedDB.js +2 -2
  18. package/vscode/src/vs/base/browser/markdownRenderer.js +9 -3
  19. package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +6 -11
  20. package/vscode/src/vs/base/browser/ui/button/button.js +18 -21
  21. package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css.js +1 -1
  22. package/vscode/src/vs/base/browser/ui/contextview/contextview.js +1 -1
  23. package/vscode/src/vs/base/browser/ui/dialog/dialog.js +168 -165
  24. package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +2 -2
  25. package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +7 -10
  26. package/vscode/src/vs/base/browser/ui/findinput/findInput.js +19 -18
  27. package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +4 -15
  28. package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +13 -16
  29. package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.js +2 -2
  30. package/vscode/src/vs/{platform/hover/browser → base/browser/ui/hover}/hover.d.ts +64 -4
  31. package/vscode/src/vs/base/browser/ui/hover/hoverDelegate.d.ts +1 -1
  32. package/vscode/src/vs/base/browser/ui/hover/hoverDelegate2.js +13 -0
  33. package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css.js +1 -1
  34. package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +39 -25
  35. package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +15 -2
  36. package/vscode/src/vs/base/browser/ui/iconLabel/simpleIconLabel.js +2 -2
  37. package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.css.js +4 -0
  38. package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.js +239 -0
  39. package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +21 -41
  40. package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +5 -4
  41. package/vscode/src/vs/base/browser/ui/list/listView.js +11 -9
  42. package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +33 -0
  43. package/vscode/src/vs/base/browser/ui/list/listWidget.js +11 -8
  44. package/vscode/src/vs/base/browser/ui/list/rowCache.js +2 -2
  45. package/vscode/src/vs/base/browser/ui/menu/menu.js +1 -0
  46. package/vscode/src/vs/base/browser/ui/menu/menubar.css.js +1 -1
  47. package/vscode/src/vs/base/browser/ui/menu/menubar.js +24 -23
  48. package/vscode/src/vs/base/browser/ui/progressbar/progressAccessibilitySignal.js +13 -0
  49. package/vscode/src/vs/base/browser/ui/progressbar/progressbar.js +7 -1
  50. package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +1 -1
  51. package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +14 -17
  52. package/vscode/src/vs/base/browser/ui/splitview/paneview.js +25 -25
  53. package/vscode/src/vs/base/browser/ui/splitview/splitview.js +10 -10
  54. package/vscode/src/vs/base/browser/ui/table/tableWidget.js +3 -3
  55. package/vscode/src/vs/base/browser/ui/toggle/toggle.js +8 -2
  56. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +1 -1
  57. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +11 -10
  58. package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +188 -156
  59. package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +7 -7
  60. package/vscode/src/vs/base/browser/ui/tree/compressedObjectTreeModel.js +2 -2
  61. package/vscode/src/vs/base/browser/ui/tree/dataTree.js +2 -2
  62. package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.js +6 -6
  63. package/vscode/src/vs/base/browser/ui/tree/media/tree.css.js +1 -1
  64. package/vscode/src/vs/base/browser/ui/tree/objectTree.js +7 -5
  65. package/vscode/src/vs/base/browser/ui/tree/objectTreeModel.js +4 -4
  66. package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +2 -1
  67. package/vscode/src/vs/base/common/actions.js +6 -5
  68. package/vscode/src/vs/base/common/arrays.js +2 -2
  69. package/vscode/src/vs/base/common/arraysFind.js +10 -8
  70. package/vscode/src/vs/base/common/assert.js +2 -2
  71. package/vscode/src/vs/base/common/async.js +11 -6
  72. package/vscode/src/vs/base/common/buffer.js +2 -2
  73. package/vscode/src/vs/base/common/cache.js +29 -10
  74. package/vscode/src/vs/base/common/cancellation.js +6 -1
  75. package/vscode/src/vs/base/common/codicons.d.ts +3 -0
  76. package/vscode/src/vs/base/common/codiconsLibrary.js +3 -0
  77. package/vscode/src/vs/base/common/codiconsUtil.js +1 -1
  78. package/vscode/src/vs/base/common/color.js +2 -2
  79. package/vscode/src/vs/base/common/controlFlow.js +48 -0
  80. package/vscode/src/vs/base/common/date.js +70 -284
  81. package/vscode/src/vs/base/common/decorators.js +2 -2
  82. package/vscode/src/vs/base/common/diff/diff.js +1 -1
  83. package/vscode/src/vs/base/common/equals.js +44 -0
  84. package/vscode/src/vs/base/common/errorMessage.js +12 -22
  85. package/vscode/src/vs/base/common/errors.js +2 -2
  86. package/vscode/src/vs/base/common/event.d.ts +11 -1
  87. package/vscode/src/vs/base/common/event.js +28 -3
  88. package/vscode/src/vs/base/common/extpath.js +1 -1
  89. package/vscode/src/vs/base/common/filters.js +1 -1
  90. package/vscode/src/vs/base/common/history.js +1 -1
  91. package/vscode/src/vs/base/common/jsonEdit.js +6 -4
  92. package/vscode/src/vs/base/common/jsonErrorMessages.js +10 -45
  93. package/vscode/src/vs/base/common/keyCodes.js +3 -1
  94. package/vscode/src/vs/base/common/keybindingLabels.js +29 -108
  95. package/vscode/src/vs/base/common/labels.js +2 -2
  96. package/vscode/src/vs/base/common/lifecycle.js +6 -6
  97. package/vscode/src/vs/base/common/map.js +64 -15
  98. package/vscode/src/vs/base/common/network.js +2 -0
  99. package/vscode/src/vs/base/common/objects.js +4 -1
  100. package/vscode/src/vs/base/common/observableInternal/autorun.js +1 -10
  101. package/vscode/src/vs/base/common/observableInternal/base.js +22 -10
  102. package/vscode/src/vs/base/common/observableInternal/derived.js +8 -8
  103. package/vscode/src/vs/base/common/observableInternal/promise.js +19 -1
  104. package/vscode/src/vs/base/common/observableInternal/utils.js +30 -52
  105. package/vscode/src/vs/base/common/path.js +2 -2
  106. package/vscode/src/vs/base/common/platform.js +7 -26
  107. package/vscode/src/vs/base/common/product.d.ts +1 -0
  108. package/vscode/src/vs/base/common/stream.js +1 -1
  109. package/vscode/src/vs/base/common/strings.js +3 -3
  110. package/vscode/src/vs/base/common/ternarySearchTree.js +3 -3
  111. package/vscode/src/vs/base/common/types.d.ts +5 -1
  112. package/vscode/src/vs/base/common/types.js +7 -5
  113. package/vscode/src/vs/base/common/uri.js +11 -5
  114. package/vscode/src/vs/base/common/worker/simpleWorker.js +7 -7
  115. package/vscode/src/vs/base/parts/ipc/common/ipc.net.js +1 -1
  116. package/vscode/src/vs/editor/browser/config/editorConfiguration.js +4 -3
  117. package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +47 -42
  118. package/vscode/src/vs/editor/browser/coreCommands.js +104 -115
  119. package/vscode/src/vs/editor/browser/editorExtensions.js +24 -35
  120. package/vscode/src/vs/editor/browser/observableUtilities.js +58 -0
  121. package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.js +2 -2
  122. package/vscode/src/vs/editor/browser/services/bulkEditService.js +1 -1
  123. package/vscode/src/vs/editor/browser/services/editorWorkerService.js +1 -1
  124. package/vscode/src/vs/editor/browser/services/hoverService/hoverService.js +121 -2
  125. package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +18 -22
  126. package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +80 -0
  127. package/vscode/src/vs/editor/browser/services/openerService.js +1 -1
  128. package/vscode/src/vs/editor/browser/stableEditorScroll.js +37 -1
  129. package/vscode/src/vs/editor/browser/view/viewLayer.js +1 -1
  130. package/vscode/src/vs/editor/browser/view.js +6 -6
  131. package/vscode/src/vs/editor/browser/viewParts/lines/viewLine.js +1 -1
  132. package/vscode/src/vs/editor/browser/viewParts/lines/viewLines.js +2 -2
  133. package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharRendererFactory.js +1 -1
  134. package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.js +1 -1
  135. package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorContributions.js +1 -1
  136. package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +139 -131
  137. package/vscode/src/vs/editor/browser/widget/codeEditor/editor.css.js +1 -1
  138. package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +25 -68
  139. package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +66 -99
  140. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorDecorations.js +1 -0
  141. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +16 -13
  142. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorSash.js +1 -0
  143. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +15 -34
  144. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +25 -41
  145. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +1 -0
  146. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +3 -0
  147. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +3 -10
  148. package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.js +9 -1
  149. package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +6 -6
  150. package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +28 -51
  151. package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +42 -33
  152. package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +1 -0
  153. package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +14 -20
  154. package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +8 -19
  155. package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +1 -0
  156. package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +1 -0
  157. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +4 -15
  158. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.js +3 -2
  159. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.js +17 -8
  160. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.js +1 -0
  161. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +28 -20
  162. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/style.css.js +1 -1
  163. package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +83 -154
  164. package/vscode/src/vs/editor/common/config/editorOptions.js +863 -1427
  165. package/vscode/src/vs/editor/common/core/editorColorRegistry.js +112 -255
  166. package/vscode/src/vs/editor/common/core/lineRange.d.ts +12 -0
  167. package/vscode/src/vs/editor/common/core/lineRange.js +32 -2
  168. package/vscode/src/vs/editor/common/core/offsetRange.js +3 -3
  169. package/vscode/src/vs/editor/common/core/textEdit.d.ts +21 -0
  170. package/vscode/src/vs/editor/common/core/textEdit.js +14 -2
  171. package/vscode/src/vs/editor/common/core/textLength.d.ts +29 -0
  172. package/vscode/src/vs/editor/common/core/textLength.js +6 -0
  173. package/vscode/src/vs/editor/common/cursor/cursorCollection.js +3 -3
  174. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js +1 -1
  175. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +11 -1
  176. package/vscode/src/vs/editor/common/diff/legacyLinesDiffComputer.js +1 -1
  177. package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +11 -0
  178. package/vscode/src/vs/editor/common/diff/rangeMapping.js +34 -3
  179. package/vscode/src/vs/editor/common/editorContextKeys.js +80 -239
  180. package/vscode/src/vs/editor/common/languages/modesRegistry.js +5 -8
  181. package/vscode/src/vs/editor/common/languages/supports/tokenization.js +2 -2
  182. package/vscode/src/vs/editor/common/languages.d.ts +50 -10
  183. package/vscode/src/vs/editor/common/languages.js +79 -72
  184. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/ast.js +12 -12
  185. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/concat23Trees.js +2 -2
  186. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/nodeReader.js +1 -1
  187. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/parser.js +2 -2
  188. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/tokenizer.js +1 -1
  189. package/vscode/src/vs/editor/common/model/editStack.js +47 -36
  190. package/vscode/src/vs/editor/common/model/guidesTextModelPart.js +3 -3
  191. package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.js +2 -2
  192. package/vscode/src/vs/editor/common/model/textModel.js +9 -9
  193. package/vscode/src/vs/editor/common/model/textModelPart.js +1 -1
  194. package/vscode/src/vs/editor/common/model/textModelTokens.js +2 -2
  195. package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +1 -1
  196. package/vscode/src/vs/editor/common/services/editorSimpleWorker.js +2 -2
  197. package/vscode/src/vs/editor/common/services/languageFeatureDebounce.js +1 -1
  198. package/vscode/src/vs/editor/common/services/languageFeatures.d.ts +2 -2
  199. package/vscode/src/vs/editor/common/services/languageFeaturesService.js +1 -1
  200. package/vscode/src/vs/editor/common/services/modelService.js +1 -1
  201. package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +11 -1
  202. package/vscode/src/vs/editor/common/standaloneStrings.js +56 -115
  203. package/vscode/src/vs/editor/common/textModelGuides.js +1 -1
  204. package/vscode/src/vs/editor/common/tokens/contiguousMultilineTokens.js +2 -2
  205. package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +1 -1
  206. package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +79 -67
  207. package/vscode/src/vs/editor/common/viewModel/modelLineProjection.js +12 -12
  208. package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +3 -0
  209. package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +12 -31
  210. package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +25 -40
  211. package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +4 -11
  212. package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +3 -6
  213. package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +28 -76
  214. package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +36 -25
  215. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +54 -143
  216. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +8 -7
  217. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +51 -42
  218. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +25 -54
  219. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +5 -0
  220. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +16 -28
  221. package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.js +1 -1
  222. package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +30 -37
  223. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorContributions.js +1 -1
  224. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +24 -31
  225. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions.js +25 -25
  226. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerWidget.js +1 -1
  227. package/vscode/src/vs/editor/contrib/comment/browser/comment.js +11 -34
  228. package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +39 -72
  229. package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +15 -14
  230. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +6 -13
  231. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +33 -50
  232. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +38 -69
  233. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +4 -3
  234. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +22 -29
  235. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +7 -0
  236. package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +8 -7
  237. package/vscode/src/vs/editor/contrib/find/browser/findController.js +92 -124
  238. package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +63 -147
  239. package/vscode/src/vs/editor/contrib/folding/browser/folding.js +51 -117
  240. package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +13 -32
  241. package/vscode/src/vs/editor/contrib/folding/browser/foldingRanges.js +2 -2
  242. package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +4 -15
  243. package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +28 -35
  244. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +21 -52
  245. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +38 -77
  246. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +109 -246
  247. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +21 -23
  248. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +40 -30
  249. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +23 -34
  250. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +31 -42
  251. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +33 -39
  252. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +24 -23
  253. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverComputer.js +74 -0
  254. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +332 -0
  255. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverStatusBar.js +34 -0
  256. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverTypes.js +39 -0
  257. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidget.js +355 -0
  258. package/vscode/src/vs/editor/contrib/hover/browser/getHover.js +11 -14
  259. package/vscode/src/vs/editor/contrib/hover/browser/hover.css.js +1 -1
  260. package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +13 -0
  261. package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +354 -0
  262. package/vscode/src/vs/editor/contrib/hover/browser/hoverContribution.js +42 -0
  263. package/vscode/src/vs/editor/contrib/hover/browser/hoverController.js +320 -0
  264. package/vscode/src/vs/editor/contrib/hover/browser/marginHoverComputer.js +48 -0
  265. package/vscode/src/vs/editor/contrib/hover/browser/{marginHover.js → marginHoverWidget.js} +14 -48
  266. package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +273 -55
  267. package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +19 -37
  268. package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +11 -18
  269. package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +62 -85
  270. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHints.js +1 -1
  271. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +87 -102
  272. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/commands.js +31 -63
  273. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/ghostTextWidget.js +1 -0
  274. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +45 -43
  275. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys.js +12 -18
  276. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +52 -34
  277. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +41 -68
  278. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.js +26 -24
  279. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsSource.js +39 -70
  280. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/singleTextEdit.js +1 -1
  281. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/suggestWidgetInlineCompletionProvider.js +3 -3
  282. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +4 -1
  283. package/vscode/src/vs/editor/contrib/inlineEdit/browser/ghostTextWidget.js +1 -0
  284. package/vscode/src/vs/editor/contrib/inlineEdit/browser/hoverParticipant.js +1 -0
  285. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditController.js +4 -2
  286. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditHintsWidget.js +5 -3
  287. package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgressWidget.css.js +1 -1
  288. package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +2 -5
  289. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +135 -234
  290. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +26 -33
  291. package/vscode/src/vs/editor/contrib/links/browser/links.js +32 -64
  292. package/vscode/src/vs/editor/contrib/message/browser/messageController.js +13 -16
  293. package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +122 -195
  294. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +17 -20
  295. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +16 -32
  296. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +43 -86
  297. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +10 -24
  298. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +46 -170
  299. package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +3 -10
  300. package/vscode/src/vs/editor/contrib/rename/browser/rename.js +71 -81
  301. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.css.js +1 -1
  302. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +195 -78
  303. package/vscode/src/vs/editor/contrib/sectionHeaders/browser/sectionHeaders.js +5 -0
  304. package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +73 -86
  305. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +26 -41
  306. package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.js +1 -1
  307. package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +13 -80
  308. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +26 -55
  309. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +13 -6
  310. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.js +0 -2
  311. package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +55 -72
  312. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +161 -147
  313. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +43 -95
  314. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +21 -28
  315. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +16 -23
  316. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetStatus.js +11 -10
  317. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +67 -66
  318. package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +13 -13
  319. package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +3 -6
  320. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +72 -136
  321. package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +11 -26
  322. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +19 -22
  323. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +66 -59
  324. package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +72 -51
  325. package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +1 -1
  326. package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.js +26 -19
  327. package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +40 -18
  328. package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.js +2 -2
  329. package/vscode/src/vs/nls.js +1 -4
  330. package/vscode/src/vs/platform/accessibility/common/accessibility.d.ts +1 -9
  331. package/vscode/src/vs/platform/accessibility/common/accessibility.js +2 -1
  332. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +15 -9
  333. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +172 -338
  334. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.service.d.ts +12 -5
  335. package/vscode/src/vs/platform/accessibilitySignal/browser/progressAccessibilitySignalScheduler.js +25 -0
  336. package/vscode/src/vs/platform/action/common/actionCommonCategories.js +9 -16
  337. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +21 -41
  338. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +22 -49
  339. package/vscode/src/vs/platform/actions/browser/buttonbar.js +27 -29
  340. package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +1 -1
  341. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +40 -51
  342. package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +4 -1
  343. package/vscode/src/vs/platform/actions/browser/toolbar.js +74 -56
  344. package/vscode/src/vs/platform/actions/common/actions.contribution.js +5 -0
  345. package/vscode/src/vs/platform/actions/common/actions.d.ts +3 -1
  346. package/vscode/src/vs/platform/actions/common/actions.js +18 -6
  347. package/vscode/src/vs/platform/actions/common/menuResetAction.js +21 -0
  348. package/vscode/src/vs/platform/actions/common/menuService.js +76 -56
  349. package/vscode/src/vs/platform/commands/common/commands.js +2 -2
  350. package/vscode/src/vs/platform/configuration/common/configuration.js +4 -0
  351. package/vscode/src/vs/platform/configuration/common/configurationModels.js +44 -33
  352. package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +38 -61
  353. package/vscode/src/vs/platform/configuration/common/configurations.js +12 -10
  354. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +68 -51
  355. package/vscode/src/vs/platform/contextkey/common/contextkey.js +168 -130
  356. package/vscode/src/vs/platform/contextkey/common/contextkeys.js +14 -45
  357. package/vscode/src/vs/platform/contextkey/common/scanner.js +12 -26
  358. package/vscode/src/vs/platform/contextview/browser/contextView.d.ts +4 -1
  359. package/vscode/src/vs/platform/contextview/browser/contextView.service.d.ts +2 -3
  360. package/vscode/src/vs/platform/contextview/browser/contextViewService.js +10 -8
  361. package/vscode/src/vs/platform/dialogs/common/dialogs.js +18 -33
  362. package/vscode/src/vs/platform/dnd/browser/dnd.js +24 -19
  363. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +0 -1
  364. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +9 -15
  365. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +2 -6
  366. package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +335 -0
  367. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +916 -0
  368. package/vscode/src/vs/platform/extensions/common/extensionValidator.js +36 -43
  369. package/vscode/src/vs/platform/extensions/common/extensions.d.ts +5 -0
  370. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +23 -16
  371. package/vscode/src/vs/platform/files/common/files.d.ts +14 -1
  372. package/vscode/src/vs/platform/files/common/files.js +41 -58
  373. package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +28 -21
  374. package/vscode/src/vs/platform/hover/browser/hover.js +2 -2
  375. package/vscode/src/vs/platform/hover/browser/hover.service.d.ts +2 -31
  376. package/vscode/src/vs/platform/instantiation/common/instantiation.d.ts +9 -0
  377. package/vscode/src/vs/platform/instantiation/common/instantiation.js +1 -1
  378. package/vscode/src/vs/platform/instantiation/common/instantiationService.js +49 -15
  379. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +21 -20
  380. package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +75 -6
  381. package/vscode/src/vs/platform/layout/browser/zIndexRegistry.js +4 -2
  382. package/vscode/src/vs/platform/list/browser/listService.js +159 -189
  383. package/vscode/src/vs/platform/log/common/log.js +23 -20
  384. package/vscode/src/vs/platform/markers/common/markerService.js +8 -4
  385. package/vscode/src/vs/platform/markers/common/markers.js +15 -14
  386. package/vscode/src/vs/platform/opener/browser/link.js +6 -4
  387. package/vscode/src/vs/platform/product/common/product.js +1 -1
  388. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +36 -49
  389. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +183 -193
  390. package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +122 -105
  391. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +9 -8
  392. package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +5 -12
  393. package/vscode/src/vs/platform/request/common/request.js +31 -40
  394. package/vscode/src/vs/platform/telemetry/common/gdprTypings.d.ts +0 -1
  395. package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -0
  396. package/vscode/src/vs/platform/terminal/common/capabilities/capabilities.d.ts +5 -0
  397. package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/promptInputModel.d.ts +30 -0
  398. package/vscode/src/vs/platform/terminal/common/terminal.js +3 -1
  399. package/vscode/src/vs/platform/theme/browser/defaultStyles.js +6 -0
  400. package/vscode/src/vs/platform/theme/browser/iconsStyleSheet.js +13 -11
  401. package/vscode/src/vs/platform/theme/common/colors/baseColors.js +28 -59
  402. package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +9 -40
  403. package/vscode/src/vs/platform/theme/common/colors/editorColors.js +151 -350
  404. package/vscode/src/vs/platform/theme/common/colors/inputColors.js +51 -170
  405. package/vscode/src/vs/platform/theme/common/colors/listColors.js +63 -90
  406. package/vscode/src/vs/platform/theme/common/colors/menuColors.js +8 -35
  407. package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +14 -53
  408. package/vscode/src/vs/platform/theme/common/colors/miscColors.js +13 -32
  409. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +14 -37
  410. package/vscode/src/vs/platform/theme/common/colors/searchColors.js +6 -13
  411. package/vscode/src/vs/platform/theme/common/iconRegistry.js +9 -24
  412. package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +64 -207
  413. package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +111 -114
  414. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +52 -55
  415. package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +20 -5
  416. package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +25 -32
  417. package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +7 -1
  418. package/vscode/src/vs/platform/userDataSync/common/userDataSyncStoreService.js +173 -35
  419. package/vscode/src/vs/platform/workspace/common/workspace.js +8 -9
  420. package/vscode/src/vs/platform/workspaces/common/workspaces.js +1 -1
  421. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +31 -31
  422. package/vscode/src/vs/workbench/api/common/extHost.protocol.js +2 -6
  423. package/vscode/src/vs/workbench/api/common/extHostAiRelatedInformation.js +2 -2
  424. package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +2 -2
  425. package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +4 -4
  426. package/vscode/src/vs/workbench/api/common/extHostBulkEdits.js +2 -1
  427. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +71 -54
  428. package/vscode/src/vs/workbench/api/common/extHostChatVariables.js +4 -4
  429. package/vscode/src/vs/workbench/api/common/extHostCodeInsets.js +1 -1
  430. package/vscode/src/vs/workbench/api/common/extHostCommands.js +9 -5
  431. package/vscode/src/vs/workbench/api/common/extHostConfiguration.js +19 -7
  432. package/vscode/src/vs/workbench/api/common/extHostCustomEditors.js +17 -15
  433. package/vscode/src/vs/workbench/api/common/extHostDebugService.js +43 -27
  434. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +37 -34
  435. package/vscode/src/vs/workbench/api/common/extHostDocumentContentProviders.js +1 -1
  436. package/vscode/src/vs/workbench/api/common/extHostDocumentData.js +6 -4
  437. package/vscode/src/vs/workbench/api/common/extHostDocumentSaveParticipant.js +2 -1
  438. package/vscode/src/vs/workbench/api/common/extHostDocuments.js +5 -5
  439. package/vscode/src/vs/workbench/api/common/extHostDocumentsAndEditors.js +1 -1
  440. package/vscode/src/vs/workbench/api/common/extHostEditorTabs.js +13 -9
  441. package/vscode/src/vs/workbench/api/common/extHostEmbeddingVector.js +3 -3
  442. package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.js +2 -2
  443. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +22 -7
  444. package/vscode/src/vs/workbench/api/common/extHostFileSystem.js +16 -16
  445. package/vscode/src/vs/workbench/api/common/extHostFileSystemConsumer.js +4 -4
  446. package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.js +19 -1
  447. package/vscode/src/vs/workbench/api/common/extHostInlineChat.js +4 -2
  448. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +356 -214
  449. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +88 -44
  450. package/vscode/src/vs/workbench/api/common/extHostLanguages.js +2 -2
  451. package/vscode/src/vs/workbench/api/common/extHostLogService.js +6 -13
  452. package/vscode/src/vs/workbench/api/common/extHostManagedSockets.js +1 -1
  453. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +20 -14
  454. package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +2 -2
  455. package/vscode/src/vs/workbench/api/common/extHostNotebookDocumentSaveParticipant.js +3 -2
  456. package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +20 -18
  457. package/vscode/src/vs/workbench/api/common/extHostNotebookRenderers.js +3 -1
  458. package/vscode/src/vs/workbench/api/common/extHostOutput.js +4 -4
  459. package/vscode/src/vs/workbench/api/common/extHostProfileContentHandler.js +3 -3
  460. package/vscode/src/vs/workbench/api/common/extHostSCM.js +4 -2
  461. package/vscode/src/vs/workbench/api/common/extHostSearch.js +8 -6
  462. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +41 -38
  463. package/vscode/src/vs/workbench/api/common/extHostTask.js +15 -11
  464. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +22 -21
  465. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +109 -94
  466. package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +52 -36
  467. package/vscode/src/vs/workbench/api/common/extHostTestItem.js +1 -1
  468. package/vscode/src/vs/workbench/api/common/extHostTesting.js +19 -35
  469. package/vscode/src/vs/workbench/api/common/extHostTestingPrivateApi.js +1 -1
  470. package/vscode/src/vs/workbench/api/common/extHostTextEditor.js +6 -6
  471. package/vscode/src/vs/workbench/api/common/extHostTextEditors.js +4 -4
  472. package/vscode/src/vs/workbench/api/common/extHostTimeline.js +1 -1
  473. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +23 -11
  474. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +31 -36
  475. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +142 -146
  476. package/vscode/src/vs/workbench/api/common/extHostTypes.js +103 -45
  477. package/vscode/src/vs/workbench/api/common/extHostUriOpener.js +6 -4
  478. package/vscode/src/vs/workbench/api/common/extHostUrls.js +1 -1
  479. package/vscode/src/vs/workbench/api/common/extHostWebview.js +1 -1
  480. package/vscode/src/vs/workbench/api/common/extHostWebviewMessaging.js +1 -1
  481. package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.js +3 -3
  482. package/vscode/src/vs/workbench/api/common/extHostWebviewView.js +4 -4
  483. package/vscode/src/vs/workbench/api/common/extHostWindow.js +3 -5
  484. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +51 -48
  485. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +29 -44
  486. package/vscode/src/vs/workbench/api/worker/extHostExtensionService.js +3 -3
  487. package/vscode/src/vs/workbench/api/worker/extensionHostWorker.js +2 -2
  488. package/vscode/src/vs/workbench/browser/actions/developerActions.js +93 -157
  489. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +287 -621
  490. package/vscode/src/vs/workbench/browser/actions/media/actions.css.js +1 -1
  491. package/vscode/src/vs/workbench/browser/actions/textInputActions.js +31 -30
  492. package/vscode/src/vs/workbench/browser/actions/widgetNavigationCommands.js +30 -6
  493. package/vscode/src/vs/workbench/browser/actions/windowActions.js +49 -123
  494. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +63 -119
  495. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +11 -26
  496. package/vscode/src/vs/workbench/browser/editor.js +62 -55
  497. package/vscode/src/vs/workbench/browser/labels.js +44 -52
  498. package/vscode/src/vs/workbench/browser/part.js +2 -2
  499. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +23 -56
  500. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +72 -115
  501. package/vscode/src/vs/workbench/browser/parts/compositePart.d.ts +3 -1
  502. package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +12 -17
  503. package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +11 -18
  504. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +51 -198
  505. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +60 -101
  506. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +51 -48
  507. package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +29 -40
  508. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +176 -684
  509. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +51 -104
  510. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +76 -93
  511. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +26 -77
  512. package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +19 -27
  513. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +41 -60
  514. package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +86 -94
  515. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +124 -353
  516. package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +21 -30
  517. package/vscode/src/vs/workbench/browser/parts/editor/media/editorquickaccess.css.js +1 -1
  518. package/vscode/src/vs/workbench/browser/parts/editor/media/multieditortabscontrol.css.js +1 -1
  519. package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +57 -79
  520. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +34 -31
  521. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +2 -5
  522. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +27 -24
  523. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +21 -18
  524. package/vscode/src/vs/workbench/browser/parts/editor/textResourceEditor.js +1 -1
  525. package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +144 -142
  526. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +42 -109
  527. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +11 -10
  528. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +25 -52
  529. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +24 -59
  530. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +22 -30
  531. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +21 -61
  532. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +23 -25
  533. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +38 -54
  534. package/vscode/src/vs/workbench/browser/parts/paneCompositePart.d.ts +4 -3
  535. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +58 -196
  536. package/vscode/src/vs/workbench/browser/parts/panel/panelPart.d.ts +2 -1
  537. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.d.ts +3 -1
  538. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +73 -124
  539. package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +19 -30
  540. package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +9 -8
  541. package/vscode/src/vs/workbench/browser/parts/views/media/views.css.js +1 -1
  542. package/vscode/src/vs/workbench/browser/parts/views/treeView.js +328 -198
  543. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +13 -16
  544. package/vscode/src/vs/workbench/browser/parts/views/viewPane.d.ts +14 -3
  545. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +118 -101
  546. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +68 -85
  547. package/vscode/src/vs/workbench/browser/quickaccess.js +12 -12
  548. package/vscode/src/vs/workbench/browser/workbench.contribution.js +394 -596
  549. package/vscode/src/vs/workbench/common/configuration.js +33 -52
  550. package/vscode/src/vs/workbench/common/contextkeys.js +117 -348
  551. package/vscode/src/vs/workbench/common/contributions.js +9 -3
  552. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +14 -15
  553. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +18 -15
  554. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +14 -11
  555. package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.js +1 -1
  556. package/vscode/src/vs/workbench/common/editor.js +31 -36
  557. package/vscode/src/vs/workbench/common/theme.js +408 -409
  558. package/vscode/src/vs/workbench/common/views.d.ts +2 -0
  559. package/vscode/src/vs/workbench/common/views.js +36 -35
  560. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +280 -495
  561. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +876 -0
  562. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +90 -53
  563. package/vscode/src/vs/workbench/contrib/accessibility/browser/{accessibilityContributions.js → accessibleViewContributions.js} +163 -27
  564. package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +3 -3
  565. package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkCellEdits.js +2 -2
  566. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +55 -54
  567. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +73 -201
  568. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +84 -26
  569. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +32 -65
  570. package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +8 -2
  571. package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +21 -37
  572. package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +101 -0
  573. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +23 -27
  574. package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +8 -12
  575. package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +69 -74
  576. package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +270 -171
  577. package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer.js +42 -5
  578. package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +15 -30
  579. package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.css.js +1 -1
  580. package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +398 -59
  581. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +55 -21
  582. package/vscode/src/vs/workbench/contrib/chat/browser/media/chat.css.js +1 -1
  583. package/vscode/src/vs/workbench/contrib/chat/browser/media/chatAgentHover.css.js +4 -0
  584. package/vscode/src/vs/workbench/contrib/chat/common/annotations.js +4 -9
  585. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +101 -11
  586. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.js +2 -1
  587. package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +7 -30
  588. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +35 -65
  589. package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +105 -84
  590. package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +1 -14
  591. package/vscode/src/vs/workbench/contrib/chat/common/chatParticipantContribTypes.js +2 -0
  592. package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +7 -9
  593. package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.service.js +3 -0
  594. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +33 -40
  595. package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +24 -61
  596. package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +11 -34
  597. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +23 -39
  598. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +24 -34
  599. package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +24 -68
  600. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +14 -17
  601. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +25 -45
  602. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +47 -55
  603. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +4 -11
  604. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +13 -28
  605. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +4 -11
  606. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +4 -11
  607. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +29 -41
  608. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +14 -37
  609. package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +11 -14
  610. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +102 -104
  611. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +41 -43
  612. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +21 -20
  613. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +9 -20
  614. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +20 -22
  615. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +3 -3
  616. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +33 -64
  617. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +121 -137
  618. package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +16 -19
  619. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +56 -82
  620. package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +145 -79
  621. package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +16 -51
  622. package/vscode/src/vs/workbench/contrib/comments/browser/media/review.css.js +1 -1
  623. package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +30 -44
  624. package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +23 -2
  625. package/vscode/src/vs/workbench/contrib/comments/browser/timestamp.js +2 -3
  626. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +24 -51
  627. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +22 -17
  628. package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +55 -30
  629. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +84 -242
  630. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +33 -74
  631. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +263 -435
  632. package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +14 -13
  633. package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +20 -67
  634. package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +967 -0
  635. package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +62 -273
  636. package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +101 -0
  637. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +12 -17
  638. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +231 -291
  639. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +147 -141
  640. package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +13 -14
  641. package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +4 -11
  642. package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +82 -0
  643. package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +25 -22
  644. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +620 -1088
  645. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +42 -69
  646. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +10 -13
  647. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +9 -15
  648. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +32 -29
  649. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +9 -12
  650. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +26 -35
  651. package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +8 -11
  652. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +38 -49
  653. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +60 -107
  654. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +71 -100
  655. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +201 -379
  656. package/vscode/src/vs/workbench/contrib/files/browser/{fileCommands.save.js → fileCommands._save.js} +10 -13
  657. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +11 -22
  658. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +151 -244
  659. package/vscode/src/vs/workbench/contrib/files/browser/{files.configuration.contribution.js → files.contribution._configuration.js} +105 -156
  660. package/vscode/src/vs/workbench/contrib/files/browser/{files.editorPane.contribution.js → files.contribution._editorPane.js} +24 -31
  661. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +22 -23
  662. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +14 -25
  663. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +63 -78
  664. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +122 -155
  665. package/vscode/src/vs/workbench/contrib/files/browser/views/media/openeditors.css.js +1 -1
  666. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +60 -83
  667. package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +36 -26
  668. package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +8 -16
  669. package/vscode/src/vs/workbench/contrib/files/common/files.js +61 -84
  670. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +11 -14
  671. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +58 -106
  672. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +9 -22
  673. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +6 -9
  674. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +15 -26
  675. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +99 -231
  676. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatContentWidget.js +10 -7
  677. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +147 -164
  678. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +9 -31
  679. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +352 -111
  680. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +100 -128
  681. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +111 -103
  682. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +24 -19
  683. package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChat.css.js +1 -1
  684. package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChatContentWidget.css.js +1 -1
  685. package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +4 -32
  686. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +85 -168
  687. package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveEditorInput.js +5 -1
  688. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +15 -18
  689. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +75 -145
  690. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeMarkers/mergeMarkersController.js +1 -0
  691. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/diffComputer.js +1 -1
  692. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/lineRange.js +1 -1
  693. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mapping.js +1 -1
  694. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +64 -53
  695. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/modifiedBaseRange.js +2 -2
  696. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +7 -7
  697. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/utils.js +2 -48
  698. package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +19 -50
  699. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +2 -5
  700. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +82 -74
  701. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.js +7 -11
  702. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +112 -0
  703. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +97 -157
  704. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +40 -60
  705. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findModel.js +1 -1
  706. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +67 -122
  707. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +21 -37
  708. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +36 -43
  709. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +9 -7
  710. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +11 -18
  711. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +53 -67
  712. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +12 -27
  713. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +96 -153
  714. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +8 -19
  715. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +18 -45
  716. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +7 -14
  717. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +94 -53
  718. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +164 -216
  719. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -135
  720. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.js +17 -5
  721. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.js +6 -4
  722. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +5 -5
  723. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +20 -29
  724. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +63 -82
  725. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.js +5 -4
  726. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.js +2 -0
  727. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +16 -20
  728. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +8 -23
  729. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +11 -14
  730. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +8 -16
  731. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +13 -21
  732. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +20 -24
  733. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellAnchor.js +2 -3
  734. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +5 -5
  735. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.js +1 -1
  736. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +111 -101
  737. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +66 -73
  738. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +35 -7
  739. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +17 -2
  740. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellEditorOptions.js +6 -4
  741. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +3 -3
  742. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +1 -1
  743. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineProviderFactory.service.js +3 -0
  744. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +2 -2
  745. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +17 -14
  746. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.js +2 -1
  747. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +48 -101
  748. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +15 -19
  749. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +1 -1
  750. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellTextModel.js +52 -16
  751. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +3 -1
  752. package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.js +2 -2
  753. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +21 -23
  754. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +30 -17
  755. package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +32 -44
  756. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +16 -51
  757. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +57 -94
  758. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +52 -231
  759. package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +34 -105
  760. package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +128 -158
  761. package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +19 -82
  762. package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +254 -447
  763. package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +9 -16
  764. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +146 -181
  765. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +2 -5
  766. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +51 -62
  767. package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +2 -3
  768. package/vscode/src/vs/workbench/contrib/search/common/cellSearchModel.js +1 -1
  769. package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +2 -5
  770. package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +3 -10
  771. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +18 -17
  772. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +18 -24
  773. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +71 -70
  774. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +36 -146
  775. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +18 -23
  776. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +19 -23
  777. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +134 -123
  778. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +7 -14
  779. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +24 -6
  780. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.js +2 -1
  781. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +19 -26
  782. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +8 -9
  783. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm-private.d.ts +2 -20
  784. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +3 -1
  785. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +10 -29
  786. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +44 -80
  787. package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +106 -138
  788. package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.js +1 -0
  789. package/vscode/src/vs/workbench/contrib/testing/common/testId.js +1 -1
  790. package/vscode/src/vs/workbench/contrib/testing/common/testItemCollection.js +15 -5
  791. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +51 -34
  792. package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +4 -11
  793. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +20 -23
  794. package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +6 -9
  795. package/vscode/src/vs/workbench/services/accessibility/common/accessibleViewInformationService.service.d.ts +9 -0
  796. package/vscode/src/vs/workbench/services/accessibility/common/accessibleViewInformationService.service.js +3 -0
  797. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +18 -8
  798. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +23 -62
  799. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +3 -2
  800. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +99 -18
  801. package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.js +30 -16
  802. package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +15 -4
  803. package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.service.d.ts +20 -1
  804. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +9 -8
  805. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionFeatures.js +1 -1
  806. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +3 -6
  807. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.d.ts +0 -1
  808. package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +40 -57
  809. package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.d.ts +4 -1
  810. package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.js +1 -1
  811. package/vscode/src/vs/workbench/services/extensions/common/extensionHostManagers.d.ts +4 -1
  812. package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocation.d.ts +1 -1
  813. package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +8 -2
  814. package/vscode/src/vs/workbench/services/extensions/common/extensions.js +8 -3
  815. package/vscode/src/vs/workbench/services/extensions/common/extensions.service.d.ts +4 -1
  816. package/vscode/src/vs/workbench/services/extensions/common/extensionsApiProposals.js +3 -3
  817. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +176 -223
  818. package/vscode/src/vs/workbench/services/extensions/common/rpcProtocol.js +5 -3
  819. package/vscode/src/vs/workbench/services/extensions/worker/polyfillNestedWorker.js +1 -1
  820. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +35 -38
  821. package/vscode/src/vs/workbench/services/language/common/languageService.js +75 -134
  822. package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +6 -4
  823. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.js +1 -1
  824. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +6 -13
  825. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +80 -66
  826. package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +8 -15
  827. package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +79 -72
  828. package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +54 -141
  829. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +30 -42
  830. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +92 -101
  831. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +50 -45
  832. package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +15 -30
  833. package/vscode/src/vs/workbench/services/textfile/common/encoding.js +4 -1
  834. package/vscode/src/vs/workbench/services/textfile/common/textEditorService.js +3 -1
  835. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +32 -35
  836. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +48 -83
  837. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +26 -45
  838. package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.js +1 -0
  839. package/vscode/src/vs/workbench/services/userDataProfile/browser/iconSelectBox.js +97 -0
  840. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +14 -23
  841. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +2 -5
  842. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +22 -62
  843. package/vscode/src/vs/workbench/services/views/browser/viewsService.js +49 -78
  844. package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopy.d.ts +7 -2
  845. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +50 -89
  846. package/vscode-dts/vscode.proposed.chatParticipant.d.ts +23 -45
  847. package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +65 -91
  848. package/vscode-dts/vscode.proposed.chatProvider.d.ts +9 -0
  849. package/vscode-dts/vscode.proposed.chatTab.d.ts +1 -5
  850. package/vscode-dts/vscode.proposed.contribAccessibilityHelpContent.d.ts +15 -0
  851. package/vscode-dts/vscode.proposed.debugFocus.d.ts +4 -4
  852. package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +2 -2
  853. package/vscode-dts/vscode.proposed.documentPaste.d.ts +144 -43
  854. package/vscode-dts/vscode.proposed.editorHoverVerbosityLevel.d.ts +76 -0
  855. package/vscode-dts/vscode.proposed.interactive.d.ts +1 -17
  856. package/vscode-dts/vscode.proposed.languageModels.d.ts +56 -11
  857. package/vscode-dts/vscode.proposed.newSymbolNamesProvider.d.ts +12 -1
  858. package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +4 -4
  859. package/vscode-dts/vscode.proposed.speech.d.ts +2 -1
  860. package/vscode-dts/vscode.proposed.terminalShellIntegration.d.ts +144 -38
  861. package/vscode-dts/vscode.proposed.testPreserveFocus.d.ts +28 -0
  862. package/tools/l10n.js +0 -177
  863. package/vscode/src/vs/base/browser/ui/hover/updatableHoverWidget.d.ts +0 -21
  864. package/vscode/src/vs/base/browser/ui/hover/updatableHoverWidget.js +0 -215
  865. package/vscode/src/vs/editor/browser/services/hoverService/hoverService.d.ts +0 -32
  866. package/vscode/src/vs/editor/contrib/hover/browser/contentHover.js +0 -838
  867. package/vscode/src/vs/editor/contrib/hover/browser/hover.js +0 -685
  868. package/vscode/src/vs/platform/accessibility/common/accessibility.service.d.ts +0 -19
  869. package/vscode/src/vs/workbench/api/common/extHostChat.js +0 -54
  870. package/vscode/src/vs/workbench/api/common/extHostIssueReporter.js +0 -70
  871. package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignal.contribution.js +0 -308
  872. package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignalDebuggerContribution.js +0 -49
  873. package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignalLineFeatureContribution.js +0 -178
  874. package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/commands.js +0 -164
  875. package/vscode/src/vs/workbench/contrib/chat/common/chatContributionService.service.js +0 -3
  876. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatFileCreationWidget.js +0 -223
  877. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/OutlineEntry.js +0 -95
  878. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +0 -113
  879. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineProvider.js +0 -224
  880. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalConfigHelper.d.ts +0 -48
  881. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEvents.js +0 -47
  882. package/vscode-dts/vscode.proposed.dropMetadata.d.ts +0 -65
  883. package/vscode-dts/vscode.proposed.handleIssueUri.d.ts +0 -57
  884. package/vscode-dts/vscode.proposed.windowActivity.d.ts +0 -17
  885. /package/vscode/src/vs/workbench/browser/parts/editor/{editor.autosave.contribution.js → editor.contribution._autosave.js} +0 -0
  886. /package/vscode/src/vs/workbench/contrib/files/browser/{files.fileEditorFactory.contribution.js → files.contribution._fileEditorFactory.js} +0 -0
@@ -11,371 +11,140 @@ import { Schemas } from '../../base/common/network.js';
11
11
  import { DEFAULT_EDITOR_ASSOCIATION } from './editor.js';
12
12
  import { isLinux } from '../../base/common/platform.js';
13
13
  var ResourceContextKey_1;
14
- const WorkbenchStateContext = ( new RawContextKey('workbenchState', undefined, { type: 'string', description: ( localizeWithPath(
15
- 'vs/workbench/common/contextkeys',
16
- 'workbenchState',
14
+ const _moduleId = "vs/workbench/common/contextkeys";
15
+ const WorkbenchStateContext = ( (new RawContextKey('workbenchState', undefined, { type: 'string', description: ( localizeWithPath(
16
+ _moduleId,
17
+ 0,
17
18
  "The kind of workspace opened in the window, either 'empty' (no workspace), 'folder' (single folder) or 'workspace' (multi-root workspace)"
18
- )) }));
19
- const WorkspaceFolderCountContext = ( new RawContextKey('workspaceFolderCount', 0, ( localizeWithPath(
20
- 'vs/workbench/common/contextkeys',
21
- 'workspaceFolderCount',
22
- "The number of root folders in the workspace"
23
- ))));
24
- const OpenFolderWorkspaceSupportContext = ( new RawContextKey('openFolderWorkspaceSupport', true, true));
25
- const EnterMultiRootWorkspaceSupportContext = ( new RawContextKey('enterMultiRootWorkspaceSupport', true, true));
26
- const EmptyWorkspaceSupportContext = ( new RawContextKey('emptyWorkspaceSupport', true, true));
27
- const DirtyWorkingCopiesContext = ( new RawContextKey('dirtyWorkingCopies', false, ( localizeWithPath(
28
- 'vs/workbench/common/contextkeys',
29
- 'dirtyWorkingCopies',
30
- "Whether there are any working copies with unsaved changes"
31
- ))));
32
- const RemoteNameContext = ( new RawContextKey('remoteName', '', ( localizeWithPath(
33
- 'vs/workbench/common/contextkeys',
34
- 'remoteName',
19
+ )) })));
20
+ const WorkspaceFolderCountContext = ( (new RawContextKey('workspaceFolderCount', 0, ( localizeWithPath(_moduleId, 1, "The number of root folders in the workspace")))));
21
+ const OpenFolderWorkspaceSupportContext = ( (new RawContextKey('openFolderWorkspaceSupport', true, true)));
22
+ const EnterMultiRootWorkspaceSupportContext = ( (new RawContextKey('enterMultiRootWorkspaceSupport', true, true)));
23
+ const EmptyWorkspaceSupportContext = ( (new RawContextKey('emptyWorkspaceSupport', true, true)));
24
+ const DirtyWorkingCopiesContext = ( (new RawContextKey('dirtyWorkingCopies', false, ( localizeWithPath(_moduleId, 2, "Whether there are any working copies with unsaved changes")))));
25
+ const RemoteNameContext = ( (new RawContextKey('remoteName', '', ( localizeWithPath(
26
+ _moduleId,
27
+ 3,
35
28
  "The name of the remote the window is connected to or an empty string if not connected to any remote"
36
- ))));
37
- const VirtualWorkspaceContext = ( new RawContextKey('virtualWorkspace', '', ( localizeWithPath(
38
- 'vs/workbench/common/contextkeys',
39
- 'virtualWorkspace',
29
+ )))));
30
+ const VirtualWorkspaceContext = ( (new RawContextKey('virtualWorkspace', '', ( localizeWithPath(
31
+ _moduleId,
32
+ 4,
40
33
  "The scheme of the current workspace is from a virtual file system or an empty string."
41
- ))));
42
- const TemporaryWorkspaceContext = ( new RawContextKey('temporaryWorkspace', false, ( localizeWithPath(
43
- 'vs/workbench/common/contextkeys',
44
- 'temporaryWorkspace',
34
+ )))));
35
+ const TemporaryWorkspaceContext = ( (new RawContextKey('temporaryWorkspace', false, ( localizeWithPath(
36
+ _moduleId,
37
+ 5,
45
38
  "The scheme of the current workspace is from a temporary file system."
46
- ))));
47
- const IsMainWindowFullscreenContext = ( new RawContextKey('isFullscreen', false, ( localizeWithPath(
48
- 'vs/workbench/common/contextkeys',
49
- 'isFullscreen',
50
- "Whether the main window is in fullscreen mode"
51
- ))));
52
- const IsAuxiliaryWindowFocusedContext = ( new RawContextKey('isAuxiliaryWindowFocusedContext', false, ( localizeWithPath(
53
- 'vs/workbench/common/contextkeys',
54
- 'isAuxiliaryWindowFocusedContext',
55
- "Whether an auxiliary window is focused"
56
- ))));
57
- const HasWebFileSystemAccess = ( new RawContextKey('hasWebFileSystemAccess', false, true));
58
- const EmbedderIdentifierContext = ( new RawContextKey('embedderIdentifier', undefined, ( localizeWithPath(
59
- 'vs/workbench/common/contextkeys',
60
- 'embedderIdentifier',
39
+ )))));
40
+ const IsMainWindowFullscreenContext = ( (new RawContextKey('isFullscreen', false, ( localizeWithPath(_moduleId, 6, "Whether the main window is in fullscreen mode")))));
41
+ const IsAuxiliaryWindowFocusedContext = ( (new RawContextKey('isAuxiliaryWindowFocusedContext', false, ( localizeWithPath(_moduleId, 7, "Whether an auxiliary window is focused")))));
42
+ const HasWebFileSystemAccess = ( (new RawContextKey('hasWebFileSystemAccess', false, true)));
43
+ const EmbedderIdentifierContext = ( (new RawContextKey('embedderIdentifier', undefined, ( localizeWithPath(
44
+ _moduleId,
45
+ 8,
61
46
  'The identifier of the embedder according to the product service, if one is defined'
62
- ))));
63
- const ActiveEditorDirtyContext = ( new RawContextKey('activeEditorIsDirty', false, ( localizeWithPath(
64
- 'vs/workbench/common/contextkeys',
65
- 'activeEditorIsDirty',
66
- "Whether the active editor has unsaved changes"
67
- ))));
68
- const ActiveEditorPinnedContext = ( new RawContextKey('activeEditorIsNotPreview', false, ( localizeWithPath(
69
- 'vs/workbench/common/contextkeys',
70
- 'activeEditorIsNotPreview',
71
- "Whether the active editor is not in preview mode"
72
- ))));
73
- const ActiveEditorFirstInGroupContext = ( new RawContextKey('activeEditorIsFirstInGroup', false, ( localizeWithPath(
74
- 'vs/workbench/common/contextkeys',
75
- 'activeEditorIsFirstInGroup',
76
- "Whether the active editor is the first one in its group"
77
- ))));
78
- const ActiveEditorLastInGroupContext = ( new RawContextKey('activeEditorIsLastInGroup', false, ( localizeWithPath(
79
- 'vs/workbench/common/contextkeys',
80
- 'activeEditorIsLastInGroup',
81
- "Whether the active editor is the last one in its group"
82
- ))));
83
- const ActiveEditorStickyContext = ( new RawContextKey('activeEditorIsPinned', false, ( localizeWithPath(
84
- 'vs/workbench/common/contextkeys',
85
- 'activeEditorIsPinned',
86
- "Whether the active editor is pinned"
87
- ))));
88
- const ActiveEditorReadonlyContext = ( new RawContextKey('activeEditorIsReadonly', false, ( localizeWithPath(
89
- 'vs/workbench/common/contextkeys',
90
- 'activeEditorIsReadonly',
91
- "Whether the active editor is read-only"
92
- ))));
93
- const ActiveCompareEditorCanSwapContext = ( new RawContextKey('activeCompareEditorCanSwap', false, ( localizeWithPath(
94
- 'vs/workbench/common/contextkeys',
95
- 'activeCompareEditorCanSwap',
96
- "Whether the active compare editor can swap sides"
97
- ))));
98
- const ActiveEditorCanToggleReadonlyContext = ( new RawContextKey('activeEditorCanToggleReadonly', true, ( localizeWithPath(
99
- 'vs/workbench/common/contextkeys',
100
- 'activeEditorCanToggleReadonly',
47
+ )))));
48
+ const ActiveEditorDirtyContext = ( (new RawContextKey('activeEditorIsDirty', false, ( localizeWithPath(_moduleId, 9, "Whether the active editor has unsaved changes")))));
49
+ const ActiveEditorPinnedContext = ( (new RawContextKey('activeEditorIsNotPreview', false, ( localizeWithPath(_moduleId, 10, "Whether the active editor is not in preview mode")))));
50
+ const ActiveEditorFirstInGroupContext = ( (new RawContextKey('activeEditorIsFirstInGroup', false, ( localizeWithPath(_moduleId, 11, "Whether the active editor is the first one in its group")))));
51
+ const ActiveEditorLastInGroupContext = ( (new RawContextKey('activeEditorIsLastInGroup', false, ( localizeWithPath(_moduleId, 12, "Whether the active editor is the last one in its group")))));
52
+ const ActiveEditorStickyContext = ( (new RawContextKey('activeEditorIsPinned', false, ( localizeWithPath(_moduleId, 13, "Whether the active editor is pinned")))));
53
+ const ActiveEditorReadonlyContext = ( (new RawContextKey('activeEditorIsReadonly', false, ( localizeWithPath(_moduleId, 14, "Whether the active editor is read-only")))));
54
+ const ActiveCompareEditorCanSwapContext = ( (new RawContextKey('activeCompareEditorCanSwap', false, ( localizeWithPath(_moduleId, 15, "Whether the active compare editor can swap sides")))));
55
+ const ActiveEditorCanToggleReadonlyContext = ( (new RawContextKey('activeEditorCanToggleReadonly', true, ( localizeWithPath(
56
+ _moduleId,
57
+ 16,
101
58
  "Whether the active editor can toggle between being read-only or writeable"
102
- ))));
103
- const ActiveEditorCanRevertContext = ( new RawContextKey('activeEditorCanRevert', false, ( localizeWithPath(
104
- 'vs/workbench/common/contextkeys',
105
- 'activeEditorCanRevert',
106
- "Whether the active editor can revert"
107
- ))));
108
- const ActiveEditorCanSplitInGroupContext = ( new RawContextKey('activeEditorCanSplitInGroup', true));
109
- const ActiveEditorContext = ( new RawContextKey('activeEditor', null, { type: 'string', description: ( localizeWithPath(
110
- 'vs/workbench/common/contextkeys',
111
- 'activeEditor',
112
- "The identifier of the active editor"
113
- )) }));
114
- const ActiveEditorAvailableEditorIdsContext = ( new RawContextKey('activeEditorAvailableEditorIds', '', ( localizeWithPath(
115
- 'vs/workbench/common/contextkeys',
116
- 'activeEditorAvailableEditorIds',
59
+ )))));
60
+ const ActiveEditorCanRevertContext = ( (new RawContextKey('activeEditorCanRevert', false, ( localizeWithPath(_moduleId, 17, "Whether the active editor can revert")))));
61
+ const ActiveEditorCanSplitInGroupContext = ( (new RawContextKey('activeEditorCanSplitInGroup', true)));
62
+ const ActiveEditorContext = ( (new RawContextKey('activeEditor', null, { type: 'string', description: ( localizeWithPath(_moduleId, 18, "The identifier of the active editor")) })));
63
+ const ActiveEditorAvailableEditorIdsContext = ( (new RawContextKey('activeEditorAvailableEditorIds', '', ( localizeWithPath(
64
+ _moduleId,
65
+ 19,
117
66
  "The available editor identifiers that are usable for the active editor"
118
- ))));
119
- const TextCompareEditorVisibleContext = ( new RawContextKey('textCompareEditorVisible', false, ( localizeWithPath(
120
- 'vs/workbench/common/contextkeys',
121
- 'textCompareEditorVisible',
122
- "Whether a text compare editor is visible"
123
- ))));
124
- const TextCompareEditorActiveContext = ( new RawContextKey('textCompareEditorActive', false, ( localizeWithPath(
125
- 'vs/workbench/common/contextkeys',
126
- 'textCompareEditorActive',
127
- "Whether a text compare editor is active"
128
- ))));
129
- const SideBySideEditorActiveContext = ( new RawContextKey('sideBySideEditorActive', false, ( localizeWithPath(
130
- 'vs/workbench/common/contextkeys',
131
- 'sideBySideEditorActive',
132
- "Whether a side by side editor is active"
133
- ))));
134
- const EditorGroupEditorsCountContext = ( new RawContextKey('groupEditorsCount', 0, ( localizeWithPath(
135
- 'vs/workbench/common/contextkeys',
136
- 'groupEditorsCount',
137
- "The number of opened editor groups"
138
- ))));
139
- const ActiveEditorGroupEmptyContext = ( new RawContextKey('activeEditorGroupEmpty', false, ( localizeWithPath(
140
- 'vs/workbench/common/contextkeys',
141
- 'activeEditorGroupEmpty',
142
- "Whether the active editor group is empty"
143
- ))));
144
- const ActiveEditorGroupIndexContext = ( new RawContextKey('activeEditorGroupIndex', 0, ( localizeWithPath(
145
- 'vs/workbench/common/contextkeys',
146
- 'activeEditorGroupIndex',
147
- "The index of the active editor group"
148
- ))));
149
- const ActiveEditorGroupLastContext = ( new RawContextKey('activeEditorGroupLast', false, ( localizeWithPath(
150
- 'vs/workbench/common/contextkeys',
151
- 'activeEditorGroupLast',
152
- "Whether the active editor group is the last group"
153
- ))));
154
- const ActiveEditorGroupLockedContext = ( new RawContextKey('activeEditorGroupLocked', false, ( localizeWithPath(
155
- 'vs/workbench/common/contextkeys',
156
- 'activeEditorGroupLocked',
157
- "Whether the active editor group is locked"
158
- ))));
159
- const MultipleEditorGroupsContext = ( new RawContextKey('multipleEditorGroups', false, ( localizeWithPath(
160
- 'vs/workbench/common/contextkeys',
161
- 'multipleEditorGroups',
162
- "Whether there are multiple editor groups opened"
163
- ))));
164
- const EditorPartMultipleEditorGroupsContext = ( new RawContextKey('editorPartMultipleEditorGroups', false, ( localizeWithPath(
165
- 'vs/workbench/common/contextkeys',
166
- 'editorPartMultipleEditorGroups',
67
+ )))));
68
+ const TextCompareEditorVisibleContext = ( (new RawContextKey('textCompareEditorVisible', false, ( localizeWithPath(_moduleId, 20, "Whether a text compare editor is visible")))));
69
+ const TextCompareEditorActiveContext = ( (new RawContextKey('textCompareEditorActive', false, ( localizeWithPath(_moduleId, 21, "Whether a text compare editor is active")))));
70
+ const SideBySideEditorActiveContext = ( (new RawContextKey('sideBySideEditorActive', false, ( localizeWithPath(_moduleId, 22, "Whether a side by side editor is active")))));
71
+ const EditorGroupEditorsCountContext = ( (new RawContextKey('groupEditorsCount', 0, ( localizeWithPath(_moduleId, 23, "The number of opened editor groups")))));
72
+ const ActiveEditorGroupEmptyContext = ( (new RawContextKey('activeEditorGroupEmpty', false, ( localizeWithPath(_moduleId, 24, "Whether the active editor group is empty")))));
73
+ const ActiveEditorGroupIndexContext = ( (new RawContextKey('activeEditorGroupIndex', 0, ( localizeWithPath(_moduleId, 25, "The index of the active editor group")))));
74
+ const ActiveEditorGroupLastContext = ( (new RawContextKey('activeEditorGroupLast', false, ( localizeWithPath(_moduleId, 26, "Whether the active editor group is the last group")))));
75
+ const ActiveEditorGroupLockedContext = ( (new RawContextKey('activeEditorGroupLocked', false, ( localizeWithPath(_moduleId, 27, "Whether the active editor group is locked")))));
76
+ const MultipleEditorGroupsContext = ( (new RawContextKey('multipleEditorGroups', false, ( localizeWithPath(_moduleId, 28, "Whether there are multiple editor groups opened")))));
77
+ const EditorPartMultipleEditorGroupsContext = ( (new RawContextKey('editorPartMultipleEditorGroups', false, ( localizeWithPath(
78
+ _moduleId,
79
+ 29,
167
80
  "Whether there are multiple editor groups opened in an editor part"
168
- ))));
169
- const EditorPartMaximizedEditorGroupContext = ( new RawContextKey('editorPartMaximizedEditorGroup', false, ( localizeWithPath(
170
- 'vs/workbench/common/contextkeys',
171
- 'editorPartEditorGroupMaximized',
172
- "Editor Part has a maximized group"
173
- ))));
174
- const IsAuxiliaryEditorPartContext = ( new RawContextKey('isAuxiliaryEditorPart', false, ( localizeWithPath(
175
- 'vs/workbench/common/contextkeys',
176
- 'isAuxiliaryEditorPart',
177
- "Editor Part is in an auxiliary window"
178
- ))));
179
- const EditorsVisibleContext = ( new RawContextKey('editorIsOpen', false, ( localizeWithPath(
180
- 'vs/workbench/common/contextkeys',
181
- 'editorIsOpen',
182
- "Whether an editor is open"
183
- ))));
184
- const InEditorZenModeContext = ( new RawContextKey('inZenMode', false, ( localizeWithPath(
185
- 'vs/workbench/common/contextkeys',
186
- 'inZenMode',
187
- "Whether Zen mode is enabled"
188
- ))));
189
- const IsMainEditorCenteredLayoutContext = ( new RawContextKey('isCenteredLayout', false, ( localizeWithPath(
190
- 'vs/workbench/common/contextkeys',
191
- 'isMainEditorCenteredLayout',
192
- "Whether centered layout is enabled for the main editor"
193
- ))));
194
- const SplitEditorsVertically = ( new RawContextKey('splitEditorsVertically', false, ( localizeWithPath(
195
- 'vs/workbench/common/contextkeys',
196
- 'splitEditorsVertically',
197
- "Whether editors split vertically"
198
- ))));
199
- const MainEditorAreaVisibleContext = ( new RawContextKey('mainEditorAreaVisible', true, ( localizeWithPath(
200
- 'vs/workbench/common/contextkeys',
201
- 'mainEditorAreaVisible',
202
- "Whether the editor area in the main window is visible"
203
- ))));
204
- const EditorTabsVisibleContext = ( new RawContextKey('editorTabsVisible', true, ( localizeWithPath(
205
- 'vs/workbench/common/contextkeys',
206
- 'editorTabsVisible',
207
- "Whether editor tabs are visible"
208
- ))));
209
- const SideBarVisibleContext = ( new RawContextKey('sideBarVisible', false, ( localizeWithPath(
210
- 'vs/workbench/common/contextkeys',
211
- 'sideBarVisible',
212
- "Whether the sidebar is visible"
213
- ))));
214
- const SidebarFocusContext = ( new RawContextKey('sideBarFocus', false, ( localizeWithPath(
215
- 'vs/workbench/common/contextkeys',
216
- 'sideBarFocus',
217
- "Whether the sidebar has keyboard focus"
218
- ))));
219
- const ActiveViewletContext = ( new RawContextKey('activeViewlet', '', ( localizeWithPath(
220
- 'vs/workbench/common/contextkeys',
221
- 'activeViewlet',
222
- "The identifier of the active viewlet"
223
- ))));
224
- const StatusBarFocused = ( new RawContextKey('statusBarFocused', false, ( localizeWithPath(
225
- 'vs/workbench/common/contextkeys',
226
- 'statusBarFocused',
227
- "Whether the status bar has keyboard focus"
228
- ))));
229
- const TitleBarStyleContext = ( new RawContextKey('titleBarStyle', isLinux ? 'native' : 'custom', ( localizeWithPath(
230
- 'vs/workbench/common/contextkeys',
231
- 'titleBarStyle',
232
- "Style of the window title bar"
233
- ))));
234
- const TitleBarVisibleContext = ( new RawContextKey('titleBarVisible', false, ( localizeWithPath(
235
- 'vs/workbench/common/contextkeys',
236
- 'titleBarVisible',
237
- "Whether the title bar is visible"
238
- ))));
239
- const BannerFocused = ( new RawContextKey('bannerFocused', false, ( localizeWithPath(
240
- 'vs/workbench/common/contextkeys',
241
- 'bannerFocused',
242
- "Whether the banner has keyboard focus"
243
- ))));
244
- const NotificationFocusedContext = ( new RawContextKey('notificationFocus', true, ( localizeWithPath(
245
- 'vs/workbench/common/contextkeys',
246
- 'notificationFocus',
247
- "Whether a notification has keyboard focus"
248
- ))));
249
- const NotificationsCenterVisibleContext = ( new RawContextKey('notificationCenterVisible', false, ( localizeWithPath(
250
- 'vs/workbench/common/contextkeys',
251
- 'notificationCenterVisible',
252
- "Whether the notifications center is visible"
253
- ))));
254
- const NotificationsToastsVisibleContext = ( new RawContextKey('notificationToastsVisible', false, ( localizeWithPath(
255
- 'vs/workbench/common/contextkeys',
256
- 'notificationToastsVisible',
257
- "Whether a notification toast is visible"
258
- ))));
259
- const ActiveAuxiliaryContext = ( new RawContextKey('activeAuxiliary', '', ( localizeWithPath(
260
- 'vs/workbench/common/contextkeys',
261
- 'activeAuxiliary',
262
- "The identifier of the active auxiliary panel"
263
- ))));
264
- const AuxiliaryBarFocusContext = ( new RawContextKey('auxiliaryBarFocus', false, ( localizeWithPath(
265
- 'vs/workbench/common/contextkeys',
266
- 'auxiliaryBarFocus',
267
- "Whether the auxiliary bar has keyboard focus"
268
- ))));
269
- const AuxiliaryBarVisibleContext = ( new RawContextKey('auxiliaryBarVisible', false, ( localizeWithPath(
270
- 'vs/workbench/common/contextkeys',
271
- 'auxiliaryBarVisible',
272
- "Whether the auxiliary bar is visible"
273
- ))));
274
- const ActivePanelContext = ( new RawContextKey('activePanel', '', ( localizeWithPath(
275
- 'vs/workbench/common/contextkeys',
276
- 'activePanel',
277
- "The identifier of the active panel"
278
- ))));
279
- const PanelFocusContext = ( new RawContextKey('panelFocus', false, ( localizeWithPath(
280
- 'vs/workbench/common/contextkeys',
281
- 'panelFocus',
282
- "Whether the panel has keyboard focus"
283
- ))));
284
- const PanelPositionContext = ( new RawContextKey('panelPosition', 'bottom', ( localizeWithPath(
285
- 'vs/workbench/common/contextkeys',
286
- 'panelPosition',
287
- "The position of the panel, always 'bottom'"
288
- ))));
289
- const PanelAlignmentContext = ( new RawContextKey('panelAlignment', 'center', ( localizeWithPath(
290
- 'vs/workbench/common/contextkeys',
291
- 'panelAlignment',
81
+ )))));
82
+ const EditorPartMaximizedEditorGroupContext = ( (new RawContextKey('editorPartMaximizedEditorGroup', false, ( localizeWithPath(_moduleId, 30, "Editor Part has a maximized group")))));
83
+ const IsAuxiliaryEditorPartContext = ( (new RawContextKey('isAuxiliaryEditorPart', false, ( localizeWithPath(_moduleId, 31, "Editor Part is in an auxiliary window")))));
84
+ const EditorsVisibleContext = ( (new RawContextKey('editorIsOpen', false, ( localizeWithPath(_moduleId, 32, "Whether an editor is open")))));
85
+ const InEditorZenModeContext = ( (new RawContextKey('inZenMode', false, ( localizeWithPath(_moduleId, 33, "Whether Zen mode is enabled")))));
86
+ const IsMainEditorCenteredLayoutContext = ( (new RawContextKey('isCenteredLayout', false, ( localizeWithPath(_moduleId, 34, "Whether centered layout is enabled for the main editor")))));
87
+ const SplitEditorsVertically = ( (new RawContextKey('splitEditorsVertically', false, ( localizeWithPath(_moduleId, 35, "Whether editors split vertically")))));
88
+ const MainEditorAreaVisibleContext = ( (new RawContextKey('mainEditorAreaVisible', true, ( localizeWithPath(_moduleId, 36, "Whether the editor area in the main window is visible")))));
89
+ const EditorTabsVisibleContext = ( (new RawContextKey('editorTabsVisible', true, ( localizeWithPath(_moduleId, 37, "Whether editor tabs are visible")))));
90
+ const SideBarVisibleContext = ( (new RawContextKey('sideBarVisible', false, ( localizeWithPath(_moduleId, 38, "Whether the sidebar is visible")))));
91
+ const SidebarFocusContext = ( (new RawContextKey('sideBarFocus', false, ( localizeWithPath(_moduleId, 39, "Whether the sidebar has keyboard focus")))));
92
+ const ActiveViewletContext = ( (new RawContextKey('activeViewlet', '', ( localizeWithPath(_moduleId, 40, "The identifier of the active viewlet")))));
93
+ const StatusBarFocused = ( (new RawContextKey('statusBarFocused', false, ( localizeWithPath(_moduleId, 41, "Whether the status bar has keyboard focus")))));
94
+ const TitleBarStyleContext = ( (new RawContextKey('titleBarStyle', isLinux ? 'native' : 'custom', ( localizeWithPath(_moduleId, 42, "Style of the window title bar")))));
95
+ const TitleBarVisibleContext = ( (new RawContextKey('titleBarVisible', false, ( localizeWithPath(_moduleId, 43, "Whether the title bar is visible")))));
96
+ const BannerFocused = ( (new RawContextKey('bannerFocused', false, ( localizeWithPath(_moduleId, 44, "Whether the banner has keyboard focus")))));
97
+ const NotificationFocusedContext = ( (new RawContextKey('notificationFocus', true, ( localizeWithPath(_moduleId, 45, "Whether a notification has keyboard focus")))));
98
+ const NotificationsCenterVisibleContext = ( (new RawContextKey('notificationCenterVisible', false, ( localizeWithPath(_moduleId, 46, "Whether the notifications center is visible")))));
99
+ const NotificationsToastsVisibleContext = ( (new RawContextKey('notificationToastsVisible', false, ( localizeWithPath(_moduleId, 47, "Whether a notification toast is visible")))));
100
+ const ActiveAuxiliaryContext = ( (new RawContextKey('activeAuxiliary', '', ( localizeWithPath(_moduleId, 48, "The identifier of the active auxiliary panel")))));
101
+ const AuxiliaryBarFocusContext = ( (new RawContextKey('auxiliaryBarFocus', false, ( localizeWithPath(_moduleId, 49, "Whether the auxiliary bar has keyboard focus")))));
102
+ const AuxiliaryBarVisibleContext = ( (new RawContextKey('auxiliaryBarVisible', false, ( localizeWithPath(_moduleId, 50, "Whether the auxiliary bar is visible")))));
103
+ const ActivePanelContext = ( (new RawContextKey('activePanel', '', ( localizeWithPath(_moduleId, 51, "The identifier of the active panel")))));
104
+ const PanelFocusContext = ( (new RawContextKey('panelFocus', false, ( localizeWithPath(_moduleId, 52, "Whether the panel has keyboard focus")))));
105
+ const PanelPositionContext = ( (new RawContextKey('panelPosition', 'bottom', ( localizeWithPath(_moduleId, 53, "The position of the panel, always 'bottom'")))));
106
+ const PanelAlignmentContext = ( (new RawContextKey('panelAlignment', 'center', ( localizeWithPath(
107
+ _moduleId,
108
+ 54,
292
109
  "The alignment of the panel, either 'center', 'left', 'right' or 'justify'"
293
- ))));
294
- const PanelVisibleContext = ( new RawContextKey('panelVisible', false, ( localizeWithPath(
295
- 'vs/workbench/common/contextkeys',
296
- 'panelVisible',
297
- "Whether the panel is visible"
298
- ))));
299
- const PanelMaximizedContext = ( new RawContextKey('panelMaximized', false, ( localizeWithPath(
300
- 'vs/workbench/common/contextkeys',
301
- 'panelMaximized',
302
- "Whether the panel is maximized"
303
- ))));
304
- const FocusedViewContext = ( new RawContextKey('focusedView', '', ( localizeWithPath(
305
- 'vs/workbench/common/contextkeys',
306
- 'focusedView',
307
- "The identifier of the view that has keyboard focus"
308
- ))));
110
+ )))));
111
+ const PanelVisibleContext = ( (new RawContextKey('panelVisible', false, ( localizeWithPath(_moduleId, 55, "Whether the panel is visible")))));
112
+ const PanelMaximizedContext = ( (new RawContextKey('panelMaximized', false, ( localizeWithPath(_moduleId, 56, "Whether the panel is maximized")))));
113
+ const FocusedViewContext = ( (new RawContextKey('focusedView', '', ( localizeWithPath(_moduleId, 57, "The identifier of the view that has keyboard focus")))));
309
114
  function getVisbileViewContextKey(viewId) { return `view.${viewId}.visible`; }
310
115
  let ResourceContextKey = class ResourceContextKey {
311
116
  static { ResourceContextKey_1 = this; }
312
- static { this.Scheme = ( new RawContextKey('resourceScheme', undefined, { type: 'string', description: ( localizeWithPath(
313
- 'vs/workbench/common/contextkeys',
314
- 'resourceScheme',
315
- "The scheme of the resource"
316
- )) })); }
317
- static { this.Filename = ( new RawContextKey(
117
+ static { this.Scheme = ( (new RawContextKey('resourceScheme', undefined, { type: 'string', description: ( localizeWithPath(_moduleId, 58, "The scheme of the resource")) }))); }
118
+ static { this.Filename = ( (new RawContextKey(
318
119
  'resourceFilename',
319
120
  undefined,
320
- { type: 'string', description: ( localizeWithPath(
321
- 'vs/workbench/common/contextkeys',
322
- 'resourceFilename',
323
- "The file name of the resource"
324
- )) }
325
- )); }
326
- static { this.Dirname = ( new RawContextKey(
121
+ { type: 'string', description: ( localizeWithPath(_moduleId, 59, "The file name of the resource")) }
122
+ ))); }
123
+ static { this.Dirname = ( (new RawContextKey(
327
124
  'resourceDirname',
328
125
  undefined,
329
- { type: 'string', description: ( localizeWithPath(
330
- 'vs/workbench/common/contextkeys',
331
- 'resourceDirname',
332
- "The folder name the resource is contained in"
333
- )) }
334
- )); }
335
- static { this.Path = ( new RawContextKey('resourcePath', undefined, { type: 'string', description: ( localizeWithPath(
336
- 'vs/workbench/common/contextkeys',
337
- 'resourcePath',
338
- "The full path of the resource"
339
- )) })); }
340
- static { this.LangId = ( new RawContextKey('resourceLangId', undefined, { type: 'string', description: ( localizeWithPath(
341
- 'vs/workbench/common/contextkeys',
342
- 'resourceLangId',
343
- "The language identifier of the resource"
344
- )) })); }
345
- static { this.Resource = ( new RawContextKey('resource', undefined, { type: 'URI', description: ( localizeWithPath(
346
- 'vs/workbench/common/contextkeys',
347
- 'resource',
348
- "The full value of the resource including scheme and path"
349
- )) })); }
350
- static { this.Extension = ( new RawContextKey(
126
+ { type: 'string', description: ( localizeWithPath(_moduleId, 60, "The folder name the resource is contained in")) }
127
+ ))); }
128
+ static { this.Path = ( (new RawContextKey('resourcePath', undefined, { type: 'string', description: ( localizeWithPath(_moduleId, 61, "The full path of the resource")) }))); }
129
+ static { this.LangId = ( (new RawContextKey('resourceLangId', undefined, { type: 'string', description: ( localizeWithPath(_moduleId, 62, "The language identifier of the resource")) }))); }
130
+ static { this.Resource = ( (new RawContextKey('resource', undefined, { type: 'URI', description: ( localizeWithPath(_moduleId, 63, "The full value of the resource including scheme and path")) }))); }
131
+ static { this.Extension = ( (new RawContextKey(
351
132
  'resourceExtname',
352
133
  undefined,
353
- { type: 'string', description: ( localizeWithPath(
354
- 'vs/workbench/common/contextkeys',
355
- 'resourceExtname',
356
- "The extension name of the resource"
357
- )) }
358
- )); }
359
- static { this.HasResource = ( new RawContextKey('resourceSet', undefined, { type: 'boolean', description: ( localizeWithPath(
360
- 'vs/workbench/common/contextkeys',
361
- 'resourceSet',
362
- "Whether a resource is present or not"
363
- )) })); }
364
- static { this.IsFileSystemResource = ( new RawContextKey(
134
+ { type: 'string', description: ( localizeWithPath(_moduleId, 64, "The extension name of the resource")) }
135
+ ))); }
136
+ static { this.HasResource = ( (new RawContextKey('resourceSet', undefined, { type: 'boolean', description: ( localizeWithPath(_moduleId, 65, "Whether a resource is present or not")) }))); }
137
+ static { this.IsFileSystemResource = ( (new RawContextKey(
365
138
  'isFileSystemResource',
366
139
  undefined,
367
- { type: 'boolean', description: ( localizeWithPath(
368
- 'vs/workbench/common/contextkeys',
369
- 'isFileSystemResource',
370
- "Whether the resource is backed by a file system provider"
371
- )) }
372
- )); }
140
+ { type: 'boolean', description: ( localizeWithPath(_moduleId, 66, "Whether the resource is backed by a file system provider")) }
141
+ ))); }
373
142
  constructor(_contextKeyService, _fileService, _languageService, _modelService) {
374
143
  this._contextKeyService = _contextKeyService;
375
144
  this._fileService = _fileService;
376
145
  this._languageService = _languageService;
377
146
  this._modelService = _modelService;
378
- this._disposables = ( new DisposableStore());
147
+ this._disposables = ( (new DisposableStore()));
379
148
  this._schemeKey = ResourceContextKey_1.Scheme.bindTo(this._contextKeyService);
380
149
  this._filenameKey = ResourceContextKey_1.Filename.bindTo(this._contextKeyService);
381
150
  this._dirnameKey = ResourceContextKey_1.Dirname.bindTo(this._contextKeyService);
@@ -419,7 +188,7 @@ let ResourceContextKey = class ResourceContextKey {
419
188
  }
420
189
  this._value = value;
421
190
  this._contextKeyService.bufferChangeEvents(() => {
422
- this._resourceKey.set(value ? ( value.toString()) : null);
191
+ this._resourceKey.set(value ? ( (value.toString())) : null);
423
192
  this._schemeKey.set(value ? value.scheme : null);
424
193
  this._filenameKey.set(value ? basename(value) : null);
425
194
  this._dirnameKey.set(value ? this.uriToPath(dirname(value)) : null);
@@ -454,19 +223,19 @@ let ResourceContextKey = class ResourceContextKey {
454
223
  return this._value;
455
224
  }
456
225
  };
457
- ResourceContextKey = ResourceContextKey_1 = ( __decorate([
458
- ( __param(0, IContextKeyService)),
459
- ( __param(1, IFileService)),
460
- ( __param(2, ILanguageService)),
461
- ( __param(3, IModelService))
462
- ], ResourceContextKey));
226
+ ResourceContextKey = ResourceContextKey_1 = ( (__decorate([
227
+ ( (__param(0, IContextKeyService))),
228
+ ( (__param(1, IFileService))),
229
+ ( (__param(2, ILanguageService))),
230
+ ( (__param(3, IModelService)))
231
+ ], ResourceContextKey)));
463
232
  function applyAvailableEditorIds(contextKey, editor, editorResolverService) {
464
233
  if (!editor) {
465
234
  contextKey.set('');
466
235
  return;
467
236
  }
468
237
  const editorResource = editor.resource;
469
- const editors = editorResource ? ( editorResolverService.getEditors(editorResource).map(editor => editor.id)) : [];
238
+ const editors = editorResource ? ( (editorResolverService.getEditors(editorResource).map(editor => editor.id))) : [];
470
239
  if (editorResource?.scheme === Schemas.untitled && editor.editorId !== DEFAULT_EDITOR_ASSOCIATION.id) {
471
240
  contextKey.set('');
472
241
  }
@@ -94,11 +94,15 @@ class WorkbenchContributionsRegistry extends Disposable {
94
94
  const logService = this.logService;
95
95
  const environmentService = this.environmentService;
96
96
  if (!instantiationService || !lifecycleService || !logService || !environmentService) {
97
- throw new Error(`IWorkbenchContributionsRegistry#getContribution('${id}'): cannot be called before registry started`);
97
+ throw ( new Error(
98
+ `IWorkbenchContributionsRegistry#getContribution('${id}'): cannot be called before registry started`
99
+ ));
98
100
  }
99
101
  const contribution = this.contributionsById.get(id);
100
102
  if (!contribution) {
101
- throw new Error(`IWorkbenchContributionsRegistry#getContribution('${id}'): contribution with that identifier is unknown.`);
103
+ throw ( new Error(
104
+ `IWorkbenchContributionsRegistry#getContribution('${id}'): contribution with that identifier is unknown.`
105
+ ));
102
106
  }
103
107
  if (lifecycleService.phase < 3 ) {
104
108
  logService.warn(`IWorkbenchContributionsRegistry#getContribution('${id}'): contribution instantiated before LifecyclePhase.Restored!`);
@@ -106,7 +110,9 @@ class WorkbenchContributionsRegistry extends Disposable {
106
110
  this.safeCreateContribution(instantiationService, logService, environmentService, contribution, lifecycleService.phase);
107
111
  const instance = this.instancesById.get(id);
108
112
  if (!instance) {
109
- throw new Error(`IWorkbenchContributionsRegistry#getContribution('${id}'): failed to create contribution.`);
113
+ throw ( new Error(
114
+ `IWorkbenchContributionsRegistry#getContribution('${id}'): failed to create contribution.`
115
+ ));
110
116
  }
111
117
  return instance;
112
118
  }
@@ -9,6 +9,7 @@ import { IEditorService } from '../../services/editor/common/editorService.servi
9
9
  import { shorten } from '../../../base/common/labels.js';
10
10
  import { isResolvedEditorModel } from '../../../platform/editor/common/editor.js';
11
11
  var DiffEditorInput_1;
12
+ const _moduleId = "vs/workbench/common/editor/diffEditorInput";
12
13
  let DiffEditorInput = class DiffEditorInput extends SideBySideEditorInput {
13
14
  static { DiffEditorInput_1 = this; }
14
15
  static { this.ID = 'workbench.editors.diffEditorInput'; }
@@ -42,13 +43,7 @@ let DiffEditorInput = class DiffEditorInput extends SideBySideEditorInput {
42
43
  else {
43
44
  const originalName = this.original.getName();
44
45
  const modifiedName = this.modified.getName();
45
- name = ( localizeWithPath(
46
- 'vs/workbench/common/editor/diffEditorInput',
47
- 'sideBySideLabels',
48
- "{0} ↔ {1}",
49
- originalName,
50
- modifiedName
51
- ));
46
+ name = ( localizeWithPath(_moduleId, 0, "{0} ↔ {1}", originalName, modifiedName));
52
47
  forceDescription = originalName === modifiedName;
53
48
  }
54
49
  let shortDescription;
@@ -134,12 +129,16 @@ let DiffEditorInput = class DiffEditorInput extends SideBySideEditorInput {
134
129
  this.modified.resolve()
135
130
  ]);
136
131
  if (modifiedEditorModel instanceof BaseTextEditorModel && originalEditorModel instanceof BaseTextEditorModel) {
137
- return ( new TextDiffEditorModel(originalEditorModel, modifiedEditorModel));
132
+ return (
133
+ (new TextDiffEditorModel(originalEditorModel, modifiedEditorModel))
134
+ );
138
135
  }
139
- return ( new DiffEditorModel(
140
- isResolvedEditorModel(originalEditorModel) ? originalEditorModel : undefined,
141
- isResolvedEditorModel(modifiedEditorModel) ? modifiedEditorModel : undefined
142
- ));
136
+ return (
137
+ (new DiffEditorModel(
138
+ isResolvedEditorModel(originalEditorModel) ? originalEditorModel : undefined,
139
+ isResolvedEditorModel(modifiedEditorModel) ? modifiedEditorModel : undefined
140
+ ))
141
+ );
143
142
  }
144
143
  toUntyped(options) {
145
144
  const untyped = super.toUntyped(options);
@@ -172,9 +171,9 @@ let DiffEditorInput = class DiffEditorInput extends SideBySideEditorInput {
172
171
  super.dispose();
173
172
  }
174
173
  };
175
- DiffEditorInput = DiffEditorInput_1 = ( __decorate([
176
- ( __param(5, IEditorService))
177
- ], DiffEditorInput));
174
+ DiffEditorInput = DiffEditorInput_1 = ( (__decorate([
175
+ ( (__param(5, IEditorService)))
176
+ ], DiffEditorInput)));
178
177
  class DiffEditorInputSerializer extends AbstractSideBySideEditorInputSerializer {
179
178
  createEditorInput(instantiationService, name, description, secondaryInput, primaryInput) {
180
179
  return instantiationService.createInstance(DiffEditorInput, name, description, secondaryInput, primaryInput, undefined);