@codingame/monaco-vscode-api 4.5.1 → 4.5.2

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 (640) hide show
  1. package/extensions.js +10 -2
  2. package/package.json +8 -8
  3. package/services.js +1 -0
  4. package/vscode/src/vs/base/browser/defaultWorkerFactory.js +4 -2
  5. package/vscode/src/vs/base/browser/dom.js +3 -3
  6. package/vscode/src/vs/base/browser/iframe.js +3 -1
  7. package/vscode/src/vs/base/browser/indexedDB.js +2 -2
  8. package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +4 -9
  9. package/vscode/src/vs/base/browser/ui/button/button.js +16 -19
  10. package/vscode/src/vs/base/browser/ui/dialog/dialog.js +168 -165
  11. package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +5 -8
  12. package/vscode/src/vs/base/browser/ui/findinput/findInput.js +19 -18
  13. package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +4 -15
  14. package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +13 -16
  15. package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +10 -12
  16. package/vscode/src/vs/base/browser/ui/hover/updatableHoverWidget.js +13 -14
  17. package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +19 -39
  18. package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +3 -2
  19. package/vscode/src/vs/base/browser/ui/list/listView.js +6 -6
  20. package/vscode/src/vs/base/browser/ui/list/listWidget.js +7 -7
  21. package/vscode/src/vs/base/browser/ui/list/rowCache.js +2 -2
  22. package/vscode/src/vs/base/browser/ui/menu/menubar.js +24 -23
  23. package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +1 -1
  24. package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +12 -15
  25. package/vscode/src/vs/base/browser/ui/splitview/paneview.js +25 -25
  26. package/vscode/src/vs/base/browser/ui/splitview/splitview.js +10 -10
  27. package/vscode/src/vs/base/browser/ui/table/tableWidget.js +1 -1
  28. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +11 -10
  29. package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +177 -152
  30. package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +7 -7
  31. package/vscode/src/vs/base/browser/ui/tree/compressedObjectTreeModel.js +2 -2
  32. package/vscode/src/vs/base/browser/ui/tree/dataTree.js +2 -2
  33. package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.js +6 -6
  34. package/vscode/src/vs/base/browser/ui/tree/objectTree.js +1 -1
  35. package/vscode/src/vs/base/browser/ui/tree/objectTreeModel.js +4 -4
  36. package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +2 -1
  37. package/vscode/src/vs/base/common/actions.js +6 -5
  38. package/vscode/src/vs/base/common/arrays.js +2 -2
  39. package/vscode/src/vs/base/common/arraysFind.js +3 -1
  40. package/vscode/src/vs/base/common/assert.js +2 -2
  41. package/vscode/src/vs/base/common/async.js +3 -3
  42. package/vscode/src/vs/base/common/buffer.js +2 -2
  43. package/vscode/src/vs/base/common/codiconsUtil.js +1 -1
  44. package/vscode/src/vs/base/common/color.js +2 -2
  45. package/vscode/src/vs/base/common/date.js +70 -284
  46. package/vscode/src/vs/base/common/decorators.js +2 -2
  47. package/vscode/src/vs/base/common/diff/diff.js +1 -1
  48. package/vscode/src/vs/base/common/errorMessage.js +12 -22
  49. package/vscode/src/vs/base/common/errors.js +2 -2
  50. package/vscode/src/vs/base/common/event.js +2 -2
  51. package/vscode/src/vs/base/common/extpath.js +1 -1
  52. package/vscode/src/vs/base/common/filters.js +1 -1
  53. package/vscode/src/vs/base/common/history.js +1 -1
  54. package/vscode/src/vs/base/common/jsonEdit.js +6 -4
  55. package/vscode/src/vs/base/common/jsonErrorMessages.js +10 -45
  56. package/vscode/src/vs/base/common/keyCodes.js +3 -1
  57. package/vscode/src/vs/base/common/keybindingLabels.js +29 -108
  58. package/vscode/src/vs/base/common/labels.js +2 -2
  59. package/vscode/src/vs/base/common/lifecycle.js +5 -5
  60. package/vscode/src/vs/base/common/map.js +11 -11
  61. package/vscode/src/vs/base/common/objects.js +1 -1
  62. package/vscode/src/vs/base/common/path.js +2 -2
  63. package/vscode/src/vs/base/common/platform.js +7 -26
  64. package/vscode/src/vs/base/common/stream.js +1 -1
  65. package/vscode/src/vs/base/common/strings.js +2 -2
  66. package/vscode/src/vs/base/common/ternarySearchTree.js +3 -3
  67. package/vscode/src/vs/base/common/types.js +7 -5
  68. package/vscode/src/vs/base/common/uri.js +11 -5
  69. package/vscode/src/vs/base/common/worker/simpleWorker.js +7 -7
  70. package/vscode/src/vs/base/parts/ipc/common/ipc.net.js +1 -1
  71. package/vscode/src/vs/editor/browser/config/editorConfiguration.js +1 -1
  72. package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +47 -42
  73. package/vscode/src/vs/editor/browser/coreCommands.js +104 -115
  74. package/vscode/src/vs/editor/browser/editorExtensions.js +24 -35
  75. package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.js +2 -2
  76. package/vscode/src/vs/editor/browser/services/bulkEditService.js +1 -1
  77. package/vscode/src/vs/editor/browser/services/editorWorkerService.js +1 -1
  78. package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +18 -22
  79. package/vscode/src/vs/editor/browser/services/openerService.js +1 -1
  80. package/vscode/src/vs/editor/browser/view/viewLayer.js +1 -1
  81. package/vscode/src/vs/editor/browser/view.js +6 -6
  82. package/vscode/src/vs/editor/browser/viewParts/lines/viewLine.js +1 -1
  83. package/vscode/src/vs/editor/browser/viewParts/lines/viewLines.js +2 -2
  84. package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharRendererFactory.js +1 -1
  85. package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.js +1 -1
  86. package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorContributions.js +1 -1
  87. package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +129 -128
  88. package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +25 -68
  89. package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +66 -99
  90. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +10 -9
  91. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +15 -34
  92. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +25 -41
  93. package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.js +1 -1
  94. package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +27 -51
  95. package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +40 -31
  96. package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +13 -20
  97. package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +8 -19
  98. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +4 -15
  99. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +1 -1
  100. package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +83 -154
  101. package/vscode/src/vs/editor/common/config/editorOptions.js +863 -1427
  102. package/vscode/src/vs/editor/common/core/editorColorRegistry.js +110 -253
  103. package/vscode/src/vs/editor/common/core/lineRange.js +4 -2
  104. package/vscode/src/vs/editor/common/core/offsetRange.js +3 -3
  105. package/vscode/src/vs/editor/common/core/textEdit.js +1 -1
  106. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js +1 -1
  107. package/vscode/src/vs/editor/common/diff/legacyLinesDiffComputer.js +1 -1
  108. package/vscode/src/vs/editor/common/editorContextKeys.js +80 -239
  109. package/vscode/src/vs/editor/common/languages/modesRegistry.js +5 -8
  110. package/vscode/src/vs/editor/common/languages/supports/tokenization.js +2 -2
  111. package/vscode/src/vs/editor/common/languages.js +68 -71
  112. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/ast.js +12 -12
  113. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/concat23Trees.js +2 -2
  114. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/nodeReader.js +1 -1
  115. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/parser.js +2 -2
  116. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/tokenizer.js +1 -1
  117. package/vscode/src/vs/editor/common/model/editStack.js +47 -36
  118. package/vscode/src/vs/editor/common/model/guidesTextModelPart.js +3 -3
  119. package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.js +2 -2
  120. package/vscode/src/vs/editor/common/model/textModel.js +9 -9
  121. package/vscode/src/vs/editor/common/model/textModelPart.js +1 -1
  122. package/vscode/src/vs/editor/common/model/textModelTokens.js +2 -2
  123. package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +1 -1
  124. package/vscode/src/vs/editor/common/services/editorSimpleWorker.js +2 -2
  125. package/vscode/src/vs/editor/common/services/modelService.js +1 -1
  126. package/vscode/src/vs/editor/common/standaloneStrings.js +56 -115
  127. package/vscode/src/vs/editor/common/textModelGuides.js +1 -1
  128. package/vscode/src/vs/editor/common/tokens/contiguousMultilineTokens.js +2 -2
  129. package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +1 -1
  130. package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +79 -67
  131. package/vscode/src/vs/editor/common/viewModel/modelLineProjection.js +12 -12
  132. package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +12 -31
  133. package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +25 -40
  134. package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +4 -11
  135. package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +3 -6
  136. package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +28 -76
  137. package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +36 -25
  138. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +54 -143
  139. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +8 -7
  140. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +30 -37
  141. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +25 -54
  142. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +15 -28
  143. package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.js +1 -1
  144. package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +30 -37
  145. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +24 -31
  146. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions.js +7 -24
  147. package/vscode/src/vs/editor/contrib/comment/browser/comment.js +11 -34
  148. package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +37 -70
  149. package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +15 -14
  150. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +6 -13
  151. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +33 -50
  152. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +37 -68
  153. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +4 -3
  154. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +20 -27
  155. package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +8 -7
  156. package/vscode/src/vs/editor/contrib/find/browser/findController.js +83 -120
  157. package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +59 -143
  158. package/vscode/src/vs/editor/contrib/folding/browser/folding.js +51 -117
  159. package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +13 -32
  160. package/vscode/src/vs/editor/contrib/folding/browser/foldingRanges.js +2 -2
  161. package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +4 -15
  162. package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +28 -35
  163. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +21 -52
  164. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +38 -77
  165. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +109 -246
  166. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +21 -23
  167. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +40 -30
  168. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +23 -34
  169. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +31 -42
  170. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +33 -39
  171. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +24 -23
  172. package/vscode/src/vs/editor/contrib/hover/browser/hover.js +31 -95
  173. package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +41 -32
  174. package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +18 -37
  175. package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +11 -18
  176. package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +29 -76
  177. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHints.js +1 -1
  178. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +80 -99
  179. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/commands.js +30 -63
  180. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +45 -42
  181. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys.js +11 -18
  182. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +28 -23
  183. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +39 -60
  184. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.js +2 -2
  185. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/singleTextEdit.js +1 -1
  186. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +3 -1
  187. package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +2 -5
  188. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +135 -234
  189. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +26 -33
  190. package/vscode/src/vs/editor/contrib/links/browser/links.js +32 -64
  191. package/vscode/src/vs/editor/contrib/message/browser/messageController.js +13 -16
  192. package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +122 -195
  193. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +17 -20
  194. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +16 -32
  195. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +43 -86
  196. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +10 -24
  197. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +46 -170
  198. package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +3 -10
  199. package/vscode/src/vs/editor/contrib/rename/browser/rename.js +54 -76
  200. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +37 -45
  201. package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +73 -86
  202. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +23 -38
  203. package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.js +1 -1
  204. package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +13 -80
  205. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +20 -56
  206. package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +55 -72
  207. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +161 -147
  208. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +43 -95
  209. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +21 -28
  210. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +16 -23
  211. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetStatus.js +11 -10
  212. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +67 -66
  213. package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +6 -13
  214. package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +3 -6
  215. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +72 -136
  216. package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +11 -26
  217. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +19 -22
  218. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +66 -59
  219. package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +72 -51
  220. package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +1 -1
  221. package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.js +3 -1
  222. package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +7 -7
  223. package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.js +2 -2
  224. package/vscode/src/vs/nls.js +1 -4
  225. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +88 -255
  226. package/vscode/src/vs/platform/action/common/actionCommonCategories.js +9 -16
  227. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +21 -41
  228. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +18 -45
  229. package/vscode/src/vs/platform/actions/browser/buttonbar.js +19 -24
  230. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +40 -51
  231. package/vscode/src/vs/platform/actions/browser/toolbar.js +24 -23
  232. package/vscode/src/vs/platform/actions/common/actions.contribution.js +5 -0
  233. package/vscode/src/vs/platform/actions/common/actions.js +4 -2
  234. package/vscode/src/vs/platform/actions/common/menuResetAction.js +21 -0
  235. package/vscode/src/vs/platform/actions/common/menuService.js +49 -51
  236. package/vscode/src/vs/platform/commands/common/commands.js +2 -2
  237. package/vscode/src/vs/platform/configuration/common/configurationModels.js +1 -1
  238. package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +38 -61
  239. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +68 -51
  240. package/vscode/src/vs/platform/contextkey/common/contextkey.js +168 -130
  241. package/vscode/src/vs/platform/contextkey/common/contextkeys.js +14 -45
  242. package/vscode/src/vs/platform/contextkey/common/scanner.js +12 -26
  243. package/vscode/src/vs/platform/dialogs/common/dialogs.js +18 -33
  244. package/vscode/src/vs/platform/dnd/browser/dnd.js +24 -19
  245. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +8 -15
  246. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +2 -6
  247. package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +335 -0
  248. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +915 -0
  249. package/vscode/src/vs/platform/extensions/common/extensionValidator.js +36 -43
  250. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +23 -16
  251. package/vscode/src/vs/platform/files/common/files.js +41 -58
  252. package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +28 -21
  253. package/vscode/src/vs/platform/hover/browser/hover.js +2 -2
  254. package/vscode/src/vs/platform/instantiation/common/instantiation.js +1 -1
  255. package/vscode/src/vs/platform/instantiation/common/instantiationService.js +7 -7
  256. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +21 -20
  257. package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +75 -6
  258. package/vscode/src/vs/platform/layout/browser/zIndexRegistry.js +4 -2
  259. package/vscode/src/vs/platform/list/browser/listService.js +159 -189
  260. package/vscode/src/vs/platform/log/common/log.js +20 -19
  261. package/vscode/src/vs/platform/markers/common/markerService.js +1 -1
  262. package/vscode/src/vs/platform/markers/common/markers.js +15 -14
  263. package/vscode/src/vs/platform/product/common/product.js +1 -1
  264. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +34 -47
  265. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +183 -193
  266. package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +107 -98
  267. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +9 -8
  268. package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +5 -12
  269. package/vscode/src/vs/platform/request/common/request.js +31 -40
  270. package/vscode/src/vs/platform/terminal/common/terminal.js +3 -1
  271. package/vscode/src/vs/platform/theme/common/colors/baseColors.js +28 -59
  272. package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +9 -40
  273. package/vscode/src/vs/platform/theme/common/colors/editorColors.js +151 -350
  274. package/vscode/src/vs/platform/theme/common/colors/inputColors.js +51 -170
  275. package/vscode/src/vs/platform/theme/common/colors/listColors.js +63 -90
  276. package/vscode/src/vs/platform/theme/common/colors/menuColors.js +8 -35
  277. package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +14 -53
  278. package/vscode/src/vs/platform/theme/common/colors/miscColors.js +13 -32
  279. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +14 -37
  280. package/vscode/src/vs/platform/theme/common/colors/searchColors.js +6 -13
  281. package/vscode/src/vs/platform/theme/common/iconRegistry.js +9 -24
  282. package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +64 -207
  283. package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +111 -114
  284. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +51 -54
  285. package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +20 -5
  286. package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +25 -32
  287. package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +7 -1
  288. package/vscode/src/vs/platform/userDataSync/common/userDataSyncStoreService.js +173 -35
  289. package/vscode/src/vs/platform/workspace/common/workspace.js +8 -9
  290. package/vscode/src/vs/platform/workspaces/common/workspaces.js +1 -1
  291. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +3 -3
  292. package/vscode/src/vs/workbench/api/common/extHostAiRelatedInformation.js +2 -2
  293. package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +2 -2
  294. package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +4 -4
  295. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +55 -46
  296. package/vscode/src/vs/workbench/api/common/extHostCodeInsets.js +1 -1
  297. package/vscode/src/vs/workbench/api/common/extHostCommands.js +9 -5
  298. package/vscode/src/vs/workbench/api/common/extHostConfiguration.js +10 -4
  299. package/vscode/src/vs/workbench/api/common/extHostCustomEditors.js +17 -15
  300. package/vscode/src/vs/workbench/api/common/extHostDebugService.js +40 -24
  301. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +37 -34
  302. package/vscode/src/vs/workbench/api/common/extHostDocumentContentProviders.js +1 -1
  303. package/vscode/src/vs/workbench/api/common/extHostDocumentData.js +6 -4
  304. package/vscode/src/vs/workbench/api/common/extHostDocuments.js +5 -5
  305. package/vscode/src/vs/workbench/api/common/extHostDocumentsAndEditors.js +1 -1
  306. package/vscode/src/vs/workbench/api/common/extHostEditorTabs.js +12 -8
  307. package/vscode/src/vs/workbench/api/common/extHostEmbeddingVector.js +3 -3
  308. package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.js +2 -2
  309. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +22 -7
  310. package/vscode/src/vs/workbench/api/common/extHostFileSystem.js +16 -16
  311. package/vscode/src/vs/workbench/api/common/extHostFileSystemConsumer.js +4 -4
  312. package/vscode/src/vs/workbench/api/common/extHostInlineChat.js +4 -2
  313. package/vscode/src/vs/workbench/api/common/extHostIssueReporter.js +9 -9
  314. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +272 -200
  315. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +49 -42
  316. package/vscode/src/vs/workbench/api/common/extHostLanguages.js +2 -2
  317. package/vscode/src/vs/workbench/api/common/extHostLogService.js +6 -13
  318. package/vscode/src/vs/workbench/api/common/extHostManagedSockets.js +1 -1
  319. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +20 -14
  320. package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +2 -2
  321. package/vscode/src/vs/workbench/api/common/extHostNotebookDocumentSaveParticipant.js +1 -1
  322. package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +20 -18
  323. package/vscode/src/vs/workbench/api/common/extHostNotebookRenderers.js +3 -1
  324. package/vscode/src/vs/workbench/api/common/extHostOutput.js +4 -4
  325. package/vscode/src/vs/workbench/api/common/extHostProfileContentHandler.js +3 -3
  326. package/vscode/src/vs/workbench/api/common/extHostSCM.js +4 -2
  327. package/vscode/src/vs/workbench/api/common/extHostSearch.js +8 -6
  328. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +41 -38
  329. package/vscode/src/vs/workbench/api/common/extHostTask.js +15 -11
  330. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +22 -21
  331. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +109 -94
  332. package/vscode/src/vs/workbench/api/common/extHostTestItem.js +1 -1
  333. package/vscode/src/vs/workbench/api/common/extHostTesting.js +9 -7
  334. package/vscode/src/vs/workbench/api/common/extHostTestingPrivateApi.js +1 -1
  335. package/vscode/src/vs/workbench/api/common/extHostTextEditor.js +6 -6
  336. package/vscode/src/vs/workbench/api/common/extHostTextEditors.js +4 -4
  337. package/vscode/src/vs/workbench/api/common/extHostTimeline.js +1 -1
  338. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +17 -10
  339. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +31 -36
  340. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +11 -11
  341. package/vscode/src/vs/workbench/api/common/extHostTypes.js +31 -27
  342. package/vscode/src/vs/workbench/api/common/extHostUriOpener.js +6 -4
  343. package/vscode/src/vs/workbench/api/common/extHostUrls.js +1 -1
  344. package/vscode/src/vs/workbench/api/common/extHostWebview.js +1 -1
  345. package/vscode/src/vs/workbench/api/common/extHostWebviewMessaging.js +1 -1
  346. package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.js +3 -3
  347. package/vscode/src/vs/workbench/api/common/extHostWebviewView.js +4 -4
  348. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +51 -48
  349. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +29 -44
  350. package/vscode/src/vs/workbench/api/worker/extHostExtensionService.js +3 -3
  351. package/vscode/src/vs/workbench/api/worker/extensionHostWorker.js +2 -2
  352. package/vscode/src/vs/workbench/browser/actions/developerActions.js +93 -157
  353. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +270 -614
  354. package/vscode/src/vs/workbench/browser/actions/textInputActions.js +31 -30
  355. package/vscode/src/vs/workbench/browser/actions/windowActions.js +49 -123
  356. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +63 -119
  357. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +11 -26
  358. package/vscode/src/vs/workbench/browser/editor.js +62 -55
  359. package/vscode/src/vs/workbench/browser/labels.js +40 -51
  360. package/vscode/src/vs/workbench/browser/part.js +2 -2
  361. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +23 -56
  362. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +72 -115
  363. package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +12 -17
  364. package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +11 -18
  365. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +51 -198
  366. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +60 -101
  367. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +51 -48
  368. package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +10 -33
  369. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +176 -684
  370. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +51 -104
  371. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +61 -91
  372. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +26 -77
  373. package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +19 -27
  374. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +41 -60
  375. package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +86 -94
  376. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +124 -353
  377. package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +21 -30
  378. package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +45 -48
  379. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +34 -31
  380. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +2 -5
  381. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +27 -24
  382. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +21 -18
  383. package/vscode/src/vs/workbench/browser/parts/editor/textResourceEditor.js +1 -1
  384. package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +117 -135
  385. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +42 -109
  386. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +11 -10
  387. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +25 -52
  388. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +24 -59
  389. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +22 -30
  390. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +21 -61
  391. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +23 -25
  392. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +32 -50
  393. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +58 -196
  394. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +73 -124
  395. package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +19 -30
  396. package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +6 -5
  397. package/vscode/src/vs/workbench/browser/parts/views/treeView.js +152 -141
  398. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +13 -16
  399. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +62 -72
  400. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +68 -85
  401. package/vscode/src/vs/workbench/browser/quickaccess.js +12 -12
  402. package/vscode/src/vs/workbench/browser/workbench.contribution.js +381 -589
  403. package/vscode/src/vs/workbench/common/configuration.js +33 -52
  404. package/vscode/src/vs/workbench/common/contextkeys.js +117 -348
  405. package/vscode/src/vs/workbench/common/contributions.js +9 -3
  406. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +14 -15
  407. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +18 -15
  408. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +14 -11
  409. package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.js +1 -1
  410. package/vscode/src/vs/workbench/common/editor.js +31 -36
  411. package/vscode/src/vs/workbench/common/theme.js +359 -406
  412. package/vscode/src/vs/workbench/common/views.js +36 -35
  413. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +221 -488
  414. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +4 -22
  415. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +37 -52
  416. package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignal.contribution.js +56 -127
  417. package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/commands.js +18 -41
  418. package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkCellEdits.js +2 -2
  419. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +55 -54
  420. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +27 -71
  421. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +13 -18
  422. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +13 -45
  423. package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +2 -1
  424. package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +21 -37
  425. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +17 -22
  426. package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +8 -12
  427. package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +40 -52
  428. package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +83 -138
  429. package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +2 -2
  430. package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +31 -52
  431. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +20 -19
  432. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +6 -6
  433. package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +7 -30
  434. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +29 -64
  435. package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +14 -8
  436. package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +1 -1
  437. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +33 -40
  438. package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +24 -61
  439. package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +11 -34
  440. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +22 -38
  441. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +23 -34
  442. package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +23 -67
  443. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +14 -17
  444. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +25 -45
  445. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +47 -55
  446. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +4 -11
  447. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +13 -28
  448. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +4 -11
  449. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +4 -11
  450. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +29 -41
  451. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +14 -37
  452. package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +11 -14
  453. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +82 -88
  454. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +19 -22
  455. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +17 -16
  456. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +9 -20
  457. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +15 -18
  458. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +33 -64
  459. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +108 -124
  460. package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +16 -19
  461. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +43 -79
  462. package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +46 -61
  463. package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +16 -51
  464. package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +30 -44
  465. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +24 -51
  466. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +22 -17
  467. package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +18 -21
  468. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +84 -242
  469. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +33 -74
  470. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +220 -412
  471. package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +14 -13
  472. package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +20 -67
  473. package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +62 -273
  474. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +12 -17
  475. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +227 -290
  476. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +147 -141
  477. package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +13 -14
  478. package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +4 -11
  479. package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +25 -22
  480. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +617 -1086
  481. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +42 -69
  482. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +10 -13
  483. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +9 -15
  484. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +32 -29
  485. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +9 -12
  486. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +26 -35
  487. package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +8 -11
  488. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +38 -49
  489. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +60 -107
  490. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +71 -100
  491. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +161 -373
  492. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.save.js +10 -13
  493. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +11 -22
  494. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +151 -244
  495. package/vscode/src/vs/workbench/contrib/files/browser/files.configuration.contribution.js +105 -156
  496. package/vscode/src/vs/workbench/contrib/files/browser/files.editorPane.contribution.js +10 -17
  497. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +18 -21
  498. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +14 -25
  499. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +52 -72
  500. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +122 -155
  501. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +55 -78
  502. package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +22 -25
  503. package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +8 -16
  504. package/vscode/src/vs/workbench/contrib/files/common/files.js +61 -84
  505. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +11 -14
  506. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +58 -106
  507. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +9 -22
  508. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +6 -9
  509. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +15 -26
  510. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +122 -171
  511. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +53 -78
  512. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatFileCreationWidget.js +19 -30
  513. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +7 -7
  514. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +46 -67
  515. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +56 -65
  516. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +7 -10
  517. package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +3 -1
  518. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +78 -165
  519. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +14 -18
  520. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +74 -145
  521. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/diffComputer.js +1 -1
  522. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/lineRange.js +1 -1
  523. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mapping.js +1 -1
  524. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +64 -53
  525. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/modifiedBaseRange.js +2 -2
  526. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +3 -3
  527. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/utils.js +1 -1
  528. package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +19 -50
  529. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +2 -5
  530. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +58 -55
  531. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.js +2 -2
  532. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +97 -157
  533. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +40 -60
  534. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findModel.js +1 -1
  535. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +57 -120
  536. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +19 -35
  537. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +36 -43
  538. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +2 -5
  539. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +11 -18
  540. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +50 -63
  541. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +12 -27
  542. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +90 -152
  543. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +8 -19
  544. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +18 -45
  545. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +6 -14
  546. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +58 -49
  547. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +155 -210
  548. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -135
  549. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +17 -26
  550. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +63 -82
  551. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +16 -20
  552. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +8 -23
  553. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +11 -14
  554. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +8 -16
  555. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +12 -20
  556. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +20 -24
  557. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +5 -5
  558. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.js +1 -1
  559. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +89 -100
  560. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +66 -73
  561. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +1 -1
  562. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +2 -2
  563. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +3 -3
  564. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +1 -1
  565. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +10 -13
  566. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +2 -2
  567. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +48 -101
  568. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +15 -19
  569. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +1 -1
  570. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +21 -23
  571. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +6 -6
  572. package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +32 -44
  573. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +16 -51
  574. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +52 -91
  575. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +52 -231
  576. package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +34 -105
  577. package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +128 -156
  578. package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +19 -82
  579. package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +250 -445
  580. package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +9 -16
  581. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +123 -180
  582. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +2 -5
  583. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +21 -62
  584. package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +2 -2
  585. package/vscode/src/vs/workbench/contrib/search/common/cellSearchModel.js +1 -1
  586. package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +2 -5
  587. package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +3 -10
  588. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +18 -17
  589. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +18 -24
  590. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +71 -70
  591. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +35 -146
  592. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +18 -23
  593. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +19 -23
  594. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +134 -123
  595. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +19 -26
  596. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +10 -29
  597. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +42 -78
  598. package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +106 -138
  599. package/vscode/src/vs/workbench/contrib/testing/common/testId.js +1 -1
  600. package/vscode/src/vs/workbench/contrib/testing/common/testItemCollection.js +5 -5
  601. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +36 -31
  602. package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +4 -11
  603. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +20 -23
  604. package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +6 -9
  605. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +18 -8
  606. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +23 -62
  607. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +3 -2
  608. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +99 -18
  609. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +9 -8
  610. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionFeatures.js +1 -1
  611. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +3 -6
  612. package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +40 -57
  613. package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.js +1 -1
  614. package/vscode/src/vs/workbench/services/extensions/common/extensions.js +6 -2
  615. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +176 -223
  616. package/vscode/src/vs/workbench/services/extensions/common/rpcProtocol.js +5 -3
  617. package/vscode/src/vs/workbench/services/extensions/worker/polyfillNestedWorker.js +1 -1
  618. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +35 -38
  619. package/vscode/src/vs/workbench/services/language/common/languageService.js +55 -119
  620. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.js +1 -1
  621. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +6 -13
  622. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +33 -60
  623. package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +8 -15
  624. package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +79 -72
  625. package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +54 -141
  626. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +30 -42
  627. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +92 -101
  628. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +50 -45
  629. package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +15 -30
  630. package/vscode/src/vs/workbench/services/textfile/common/encoding.js +4 -1
  631. package/vscode/src/vs/workbench/services/textfile/common/textEditorService.js +3 -1
  632. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +32 -35
  633. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +48 -83
  634. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +26 -45
  635. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +14 -23
  636. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +2 -5
  637. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +22 -62
  638. package/vscode/src/vs/workbench/services/views/browser/viewsService.js +49 -78
  639. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +48 -87
  640. package/tools/l10n.js +0 -177
@@ -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);