@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
@@ -1,254 +1,95 @@
1
1
  import { localizeWithPath } from '../../nls.js';
2
2
  import { RawContextKey } from '../../platform/contextkey/common/contextkey.js';
3
+ const _moduleId = "vs/editor/common/editorContextKeys";
3
4
  var EditorContextKeys;
4
- ( (function(EditorContextKeys) {
5
- EditorContextKeys.editorSimpleInput = ( new RawContextKey('editorSimpleInput', false, true));
6
- EditorContextKeys.editorTextFocus = ( new RawContextKey('editorTextFocus', false, ( localizeWithPath(
7
- 'vs/editor/common/editorContextKeys',
8
- 'editorTextFocus',
9
- "Whether the editor text has focus (cursor is blinking)"
10
- ))));
11
- EditorContextKeys.focus = ( new RawContextKey('editorFocus', false, ( localizeWithPath(
12
- 'vs/editor/common/editorContextKeys',
13
- 'editorFocus',
5
+ ( ((function(EditorContextKeys) {
6
+ EditorContextKeys.editorSimpleInput = ( (new RawContextKey('editorSimpleInput', false, true)));
7
+ EditorContextKeys.editorTextFocus = ( (new RawContextKey('editorTextFocus', false, ( localizeWithPath(_moduleId, 0, "Whether the editor text has focus (cursor is blinking)")))));
8
+ EditorContextKeys.focus = ( (new RawContextKey('editorFocus', false, ( localizeWithPath(
9
+ _moduleId,
10
+ 1,
14
11
  "Whether the editor or an editor widget has focus (e.g. focus is in the find widget)"
15
- ))));
16
- EditorContextKeys.textInputFocus = ( new RawContextKey('textInputFocus', false, ( localizeWithPath(
17
- 'vs/editor/common/editorContextKeys',
18
- 'textInputFocus',
12
+ )))));
13
+ EditorContextKeys.textInputFocus = ( (new RawContextKey('textInputFocus', false, ( localizeWithPath(
14
+ _moduleId,
15
+ 2,
19
16
  "Whether an editor or a rich text input has focus (cursor is blinking)"
20
- ))));
21
- EditorContextKeys.readOnly = ( new RawContextKey('editorReadonly', false, ( localizeWithPath(
22
- 'vs/editor/common/editorContextKeys',
23
- 'editorReadonly',
24
- "Whether the editor is read-only"
25
- ))));
26
- EditorContextKeys.inDiffEditor = ( new RawContextKey('inDiffEditor', false, ( localizeWithPath(
27
- 'vs/editor/common/editorContextKeys',
28
- 'inDiffEditor',
29
- "Whether the context is a diff editor"
30
- ))));
31
- EditorContextKeys.isEmbeddedDiffEditor = ( new RawContextKey('isEmbeddedDiffEditor', false, ( localizeWithPath(
32
- 'vs/editor/common/editorContextKeys',
33
- 'isEmbeddedDiffEditor',
34
- "Whether the context is an embedded diff editor"
35
- ))));
36
- EditorContextKeys.inMultiDiffEditor = ( new RawContextKey('inMultiDiffEditor', false, ( localizeWithPath(
37
- 'vs/editor/common/editorContextKeys',
38
- 'inMultiDiffEditor',
39
- "Whether the context is a multi diff editor"
40
- ))));
41
- EditorContextKeys.multiDiffEditorAllCollapsed = ( new RawContextKey('multiDiffEditorAllCollapsed', undefined, ( localizeWithPath(
42
- 'vs/editor/common/editorContextKeys',
43
- 'multiDiffEditorAllCollapsed',
44
- "Whether all files in multi diff editor are collapsed"
45
- ))));
46
- EditorContextKeys.hasChanges = ( new RawContextKey('diffEditorHasChanges', false, ( localizeWithPath(
47
- 'vs/editor/common/editorContextKeys',
48
- 'diffEditorHasChanges',
49
- "Whether the diff editor has changes"
50
- ))));
51
- EditorContextKeys.comparingMovedCode = ( new RawContextKey('comparingMovedCode', false, ( localizeWithPath(
52
- 'vs/editor/common/editorContextKeys',
53
- 'comparingMovedCode',
54
- "Whether a moved code block is selected for comparison"
55
- ))));
56
- EditorContextKeys.accessibleDiffViewerVisible = ( new RawContextKey('accessibleDiffViewerVisible', false, ( localizeWithPath(
57
- 'vs/editor/common/editorContextKeys',
58
- 'accessibleDiffViewerVisible',
59
- "Whether the accessible diff viewer is visible"
60
- ))));
61
- EditorContextKeys.diffEditorRenderSideBySideInlineBreakpointReached = ( new RawContextKey('diffEditorRenderSideBySideInlineBreakpointReached', false, ( localizeWithPath(
62
- 'vs/editor/common/editorContextKeys',
63
- 'diffEditorRenderSideBySideInlineBreakpointReached',
17
+ )))));
18
+ EditorContextKeys.readOnly = ( (new RawContextKey('editorReadonly', false, ( localizeWithPath(_moduleId, 3, "Whether the editor is read-only")))));
19
+ EditorContextKeys.inDiffEditor = ( (new RawContextKey('inDiffEditor', false, ( localizeWithPath(_moduleId, 4, "Whether the context is a diff editor")))));
20
+ EditorContextKeys.isEmbeddedDiffEditor = ( (new RawContextKey('isEmbeddedDiffEditor', false, ( localizeWithPath(_moduleId, 5, "Whether the context is an embedded diff editor")))));
21
+ EditorContextKeys.inMultiDiffEditor = ( (new RawContextKey('inMultiDiffEditor', false, ( localizeWithPath(_moduleId, 6, "Whether the context is a multi diff editor")))));
22
+ EditorContextKeys.multiDiffEditorAllCollapsed = ( (new RawContextKey('multiDiffEditorAllCollapsed', undefined, ( localizeWithPath(_moduleId, 7, "Whether all files in multi diff editor are collapsed")))));
23
+ EditorContextKeys.hasChanges = ( (new RawContextKey('diffEditorHasChanges', false, ( localizeWithPath(_moduleId, 8, "Whether the diff editor has changes")))));
24
+ EditorContextKeys.comparingMovedCode = ( (new RawContextKey('comparingMovedCode', false, ( localizeWithPath(_moduleId, 9, "Whether a moved code block is selected for comparison")))));
25
+ EditorContextKeys.accessibleDiffViewerVisible = ( (new RawContextKey('accessibleDiffViewerVisible', false, ( localizeWithPath(_moduleId, 10, "Whether the accessible diff viewer is visible")))));
26
+ EditorContextKeys.diffEditorRenderSideBySideInlineBreakpointReached = ( (new RawContextKey('diffEditorRenderSideBySideInlineBreakpointReached', false, ( localizeWithPath(
27
+ _moduleId,
28
+ 11,
64
29
  "Whether the diff editor render side by side inline breakpoint is reached"
65
- ))));
66
- EditorContextKeys.diffEditorInlineMode = ( new RawContextKey('diffEditorInlineMode', false, ( localizeWithPath(
67
- 'vs/editor/common/editorContextKeys',
68
- 'diffEditorInlineMode',
69
- "Whether inline mode is active"
70
- ))));
71
- EditorContextKeys.diffEditorOriginalWritable = ( new RawContextKey('diffEditorOriginalWritable', false, ( localizeWithPath(
72
- 'vs/editor/common/editorContextKeys',
73
- 'diffEditorOriginalWritable',
74
- "Whether modified is writable in the diff editor"
75
- ))));
76
- EditorContextKeys.diffEditorModifiedWritable = ( new RawContextKey('diffEditorModifiedWritable', false, ( localizeWithPath(
77
- 'vs/editor/common/editorContextKeys',
78
- 'diffEditorModifiedWritable',
79
- "Whether modified is writable in the diff editor"
80
- ))));
81
- EditorContextKeys.diffEditorOriginalUri = ( new RawContextKey('diffEditorOriginalUri', '', ( localizeWithPath(
82
- 'vs/editor/common/editorContextKeys',
83
- 'diffEditorOriginalUri',
84
- "The uri of the original document"
85
- ))));
86
- EditorContextKeys.diffEditorModifiedUri = ( new RawContextKey('diffEditorModifiedUri', '', ( localizeWithPath(
87
- 'vs/editor/common/editorContextKeys',
88
- 'diffEditorModifiedUri',
89
- "The uri of the modified document"
90
- ))));
91
- EditorContextKeys.columnSelection = ( new RawContextKey('editorColumnSelection', false, ( localizeWithPath(
92
- 'vs/editor/common/editorContextKeys',
93
- 'editorColumnSelection',
94
- "Whether `editor.columnSelection` is enabled"
95
- ))));
96
- EditorContextKeys.writable = ( EditorContextKeys.readOnly.toNegated());
97
- EditorContextKeys.hasNonEmptySelection = ( new RawContextKey('editorHasSelection', false, ( localizeWithPath(
98
- 'vs/editor/common/editorContextKeys',
99
- 'editorHasSelection',
100
- "Whether the editor has text selected"
101
- ))));
102
- EditorContextKeys.hasOnlyEmptySelection = ( EditorContextKeys.hasNonEmptySelection.toNegated());
103
- EditorContextKeys.hasMultipleSelections = ( new RawContextKey('editorHasMultipleSelections', false, ( localizeWithPath(
104
- 'vs/editor/common/editorContextKeys',
105
- 'editorHasMultipleSelections',
106
- "Whether the editor has multiple selections"
107
- ))));
108
- EditorContextKeys.hasSingleSelection = ( EditorContextKeys.hasMultipleSelections.toNegated());
109
- EditorContextKeys.tabMovesFocus = ( new RawContextKey('editorTabMovesFocus', false, ( localizeWithPath(
110
- 'vs/editor/common/editorContextKeys',
111
- 'editorTabMovesFocus',
112
- "Whether `Tab` will move focus out of the editor"
113
- ))));
114
- EditorContextKeys.tabDoesNotMoveFocus = ( EditorContextKeys.tabMovesFocus.toNegated());
115
- EditorContextKeys.isInEmbeddedEditor = ( new RawContextKey('isInEmbeddedEditor', false, true));
116
- EditorContextKeys.canUndo = ( new RawContextKey('canUndo', false, true));
117
- EditorContextKeys.canRedo = ( new RawContextKey('canRedo', false, true));
118
- EditorContextKeys.hoverVisible = ( new RawContextKey('editorHoverVisible', false, ( localizeWithPath(
119
- 'vs/editor/common/editorContextKeys',
120
- 'editorHoverVisible',
121
- "Whether the editor hover is visible"
122
- ))));
123
- EditorContextKeys.hoverFocused = ( new RawContextKey('editorHoverFocused', false, ( localizeWithPath(
124
- 'vs/editor/common/editorContextKeys',
125
- 'editorHoverFocused',
126
- "Whether the editor hover is focused"
127
- ))));
128
- EditorContextKeys.stickyScrollFocused = ( new RawContextKey('stickyScrollFocused', false, ( localizeWithPath(
129
- 'vs/editor/common/editorContextKeys',
130
- 'stickyScrollFocused',
131
- "Whether the sticky scroll is focused"
132
- ))));
133
- EditorContextKeys.stickyScrollVisible = ( new RawContextKey('stickyScrollVisible', false, ( localizeWithPath(
134
- 'vs/editor/common/editorContextKeys',
135
- 'stickyScrollVisible',
136
- "Whether the sticky scroll is visible"
137
- ))));
138
- EditorContextKeys.standaloneColorPickerVisible = ( new RawContextKey('standaloneColorPickerVisible', false, ( localizeWithPath(
139
- 'vs/editor/common/editorContextKeys',
140
- 'standaloneColorPickerVisible',
141
- "Whether the standalone color picker is visible"
142
- ))));
143
- EditorContextKeys.standaloneColorPickerFocused = ( new RawContextKey('standaloneColorPickerFocused', false, ( localizeWithPath(
144
- 'vs/editor/common/editorContextKeys',
145
- 'standaloneColorPickerFocused',
146
- "Whether the standalone color picker is focused"
147
- ))));
148
- EditorContextKeys.inCompositeEditor = ( new RawContextKey('inCompositeEditor', undefined, ( localizeWithPath(
149
- 'vs/editor/common/editorContextKeys',
150
- 'inCompositeEditor',
30
+ )))));
31
+ EditorContextKeys.diffEditorInlineMode = ( (new RawContextKey('diffEditorInlineMode', false, ( localizeWithPath(_moduleId, 12, "Whether inline mode is active")))));
32
+ EditorContextKeys.diffEditorOriginalWritable = ( (new RawContextKey('diffEditorOriginalWritable', false, ( localizeWithPath(_moduleId, 13, "Whether modified is writable in the diff editor")))));
33
+ EditorContextKeys.diffEditorModifiedWritable = ( (new RawContextKey('diffEditorModifiedWritable', false, ( localizeWithPath(_moduleId, 14, "Whether modified is writable in the diff editor")))));
34
+ EditorContextKeys.diffEditorOriginalUri = ( (new RawContextKey('diffEditorOriginalUri', '', ( localizeWithPath(_moduleId, 15, "The uri of the original document")))));
35
+ EditorContextKeys.diffEditorModifiedUri = ( (new RawContextKey('diffEditorModifiedUri', '', ( localizeWithPath(_moduleId, 16, "The uri of the modified document")))));
36
+ EditorContextKeys.columnSelection = ( (new RawContextKey('editorColumnSelection', false, ( localizeWithPath(_moduleId, 17, "Whether `editor.columnSelection` is enabled")))));
37
+ EditorContextKeys.writable = ( (EditorContextKeys.readOnly.toNegated()));
38
+ EditorContextKeys.hasNonEmptySelection = ( (new RawContextKey('editorHasSelection', false, ( localizeWithPath(_moduleId, 18, "Whether the editor has text selected")))));
39
+ EditorContextKeys.hasOnlyEmptySelection = ( (EditorContextKeys.hasNonEmptySelection.toNegated()));
40
+ EditorContextKeys.hasMultipleSelections = ( (new RawContextKey('editorHasMultipleSelections', false, ( localizeWithPath(_moduleId, 19, "Whether the editor has multiple selections")))));
41
+ EditorContextKeys.hasSingleSelection = ( (EditorContextKeys.hasMultipleSelections.toNegated()));
42
+ EditorContextKeys.tabMovesFocus = ( (new RawContextKey('editorTabMovesFocus', false, ( localizeWithPath(_moduleId, 20, "Whether `Tab` will move focus out of the editor")))));
43
+ EditorContextKeys.tabDoesNotMoveFocus = ( (EditorContextKeys.tabMovesFocus.toNegated()));
44
+ EditorContextKeys.isInEmbeddedEditor = ( (new RawContextKey('isInEmbeddedEditor', false, true)));
45
+ EditorContextKeys.canUndo = ( (new RawContextKey('canUndo', false, true)));
46
+ EditorContextKeys.canRedo = ( (new RawContextKey('canRedo', false, true)));
47
+ EditorContextKeys.hoverVisible = ( (new RawContextKey('editorHoverVisible', false, ( localizeWithPath(_moduleId, 21, "Whether the editor hover is visible")))));
48
+ EditorContextKeys.hoverFocused = ( (new RawContextKey('editorHoverFocused', false, ( localizeWithPath(_moduleId, 22, "Whether the editor hover is focused")))));
49
+ EditorContextKeys.stickyScrollFocused = ( (new RawContextKey('stickyScrollFocused', false, ( localizeWithPath(_moduleId, 23, "Whether the sticky scroll is focused")))));
50
+ EditorContextKeys.stickyScrollVisible = ( (new RawContextKey('stickyScrollVisible', false, ( localizeWithPath(_moduleId, 24, "Whether the sticky scroll is visible")))));
51
+ EditorContextKeys.standaloneColorPickerVisible = ( (new RawContextKey('standaloneColorPickerVisible', false, ( localizeWithPath(_moduleId, 25, "Whether the standalone color picker is visible")))));
52
+ EditorContextKeys.standaloneColorPickerFocused = ( (new RawContextKey('standaloneColorPickerFocused', false, ( localizeWithPath(_moduleId, 26, "Whether the standalone color picker is focused")))));
53
+ EditorContextKeys.inCompositeEditor = ( (new RawContextKey('inCompositeEditor', undefined, ( localizeWithPath(
54
+ _moduleId,
55
+ 27,
151
56
  "Whether the editor is part of a larger editor (e.g. notebooks)"
152
- ))));
153
- EditorContextKeys.notInCompositeEditor = ( EditorContextKeys.inCompositeEditor.toNegated());
154
- EditorContextKeys.languageId = ( new RawContextKey('editorLangId', '', ( localizeWithPath(
155
- 'vs/editor/common/editorContextKeys',
156
- 'editorLangId',
157
- "The language identifier of the editor"
158
- ))));
159
- EditorContextKeys.hasCompletionItemProvider = ( new RawContextKey('editorHasCompletionItemProvider', false, ( localizeWithPath(
160
- 'vs/editor/common/editorContextKeys',
161
- 'editorHasCompletionItemProvider',
162
- "Whether the editor has a completion item provider"
163
- ))));
164
- EditorContextKeys.hasCodeActionsProvider = ( new RawContextKey('editorHasCodeActionsProvider', false, ( localizeWithPath(
165
- 'vs/editor/common/editorContextKeys',
166
- 'editorHasCodeActionsProvider',
167
- "Whether the editor has a code actions provider"
168
- ))));
169
- EditorContextKeys.hasCodeLensProvider = ( new RawContextKey('editorHasCodeLensProvider', false, ( localizeWithPath(
170
- 'vs/editor/common/editorContextKeys',
171
- 'editorHasCodeLensProvider',
172
- "Whether the editor has a code lens provider"
173
- ))));
174
- EditorContextKeys.hasDefinitionProvider = ( new RawContextKey('editorHasDefinitionProvider', false, ( localizeWithPath(
175
- 'vs/editor/common/editorContextKeys',
176
- 'editorHasDefinitionProvider',
177
- "Whether the editor has a definition provider"
178
- ))));
179
- EditorContextKeys.hasDeclarationProvider = ( new RawContextKey('editorHasDeclarationProvider', false, ( localizeWithPath(
180
- 'vs/editor/common/editorContextKeys',
181
- 'editorHasDeclarationProvider',
182
- "Whether the editor has a declaration provider"
183
- ))));
184
- EditorContextKeys.hasImplementationProvider = ( new RawContextKey('editorHasImplementationProvider', false, ( localizeWithPath(
185
- 'vs/editor/common/editorContextKeys',
186
- 'editorHasImplementationProvider',
187
- "Whether the editor has an implementation provider"
188
- ))));
189
- EditorContextKeys.hasTypeDefinitionProvider = ( new RawContextKey('editorHasTypeDefinitionProvider', false, ( localizeWithPath(
190
- 'vs/editor/common/editorContextKeys',
191
- 'editorHasTypeDefinitionProvider',
192
- "Whether the editor has a type definition provider"
193
- ))));
194
- EditorContextKeys.hasHoverProvider = ( new RawContextKey('editorHasHoverProvider', false, ( localizeWithPath(
195
- 'vs/editor/common/editorContextKeys',
196
- 'editorHasHoverProvider',
197
- "Whether the editor has a hover provider"
198
- ))));
199
- EditorContextKeys.hasDocumentHighlightProvider = ( new RawContextKey('editorHasDocumentHighlightProvider', false, ( localizeWithPath(
200
- 'vs/editor/common/editorContextKeys',
201
- 'editorHasDocumentHighlightProvider',
202
- "Whether the editor has a document highlight provider"
203
- ))));
204
- EditorContextKeys.hasDocumentSymbolProvider = ( new RawContextKey('editorHasDocumentSymbolProvider', false, ( localizeWithPath(
205
- 'vs/editor/common/editorContextKeys',
206
- 'editorHasDocumentSymbolProvider',
207
- "Whether the editor has a document symbol provider"
208
- ))));
209
- EditorContextKeys.hasReferenceProvider = ( new RawContextKey('editorHasReferenceProvider', false, ( localizeWithPath(
210
- 'vs/editor/common/editorContextKeys',
211
- 'editorHasReferenceProvider',
212
- "Whether the editor has a reference provider"
213
- ))));
214
- EditorContextKeys.hasRenameProvider = ( new RawContextKey('editorHasRenameProvider', false, ( localizeWithPath(
215
- 'vs/editor/common/editorContextKeys',
216
- 'editorHasRenameProvider',
217
- "Whether the editor has a rename provider"
218
- ))));
219
- EditorContextKeys.hasSignatureHelpProvider = ( new RawContextKey('editorHasSignatureHelpProvider', false, ( localizeWithPath(
220
- 'vs/editor/common/editorContextKeys',
221
- 'editorHasSignatureHelpProvider',
222
- "Whether the editor has a signature help provider"
223
- ))));
224
- EditorContextKeys.hasInlayHintsProvider = ( new RawContextKey('editorHasInlayHintsProvider', false, ( localizeWithPath(
225
- 'vs/editor/common/editorContextKeys',
226
- 'editorHasInlayHintsProvider',
227
- "Whether the editor has an inline hints provider"
228
- ))));
229
- EditorContextKeys.hasDocumentFormattingProvider = ( new RawContextKey('editorHasDocumentFormattingProvider', false, ( localizeWithPath(
230
- 'vs/editor/common/editorContextKeys',
231
- 'editorHasDocumentFormattingProvider',
232
- "Whether the editor has a document formatting provider"
233
- ))));
234
- EditorContextKeys.hasDocumentSelectionFormattingProvider = ( new RawContextKey('editorHasDocumentSelectionFormattingProvider', false, ( localizeWithPath(
235
- 'vs/editor/common/editorContextKeys',
236
- 'editorHasDocumentSelectionFormattingProvider',
57
+ )))));
58
+ EditorContextKeys.notInCompositeEditor = ( (EditorContextKeys.inCompositeEditor.toNegated()));
59
+ EditorContextKeys.languageId = ( (new RawContextKey('editorLangId', '', ( localizeWithPath(_moduleId, 28, "The language identifier of the editor")))));
60
+ EditorContextKeys.hasCompletionItemProvider = ( (new RawContextKey('editorHasCompletionItemProvider', false, ( localizeWithPath(_moduleId, 29, "Whether the editor has a completion item provider")))));
61
+ EditorContextKeys.hasCodeActionsProvider = ( (new RawContextKey('editorHasCodeActionsProvider', false, ( localizeWithPath(_moduleId, 30, "Whether the editor has a code actions provider")))));
62
+ EditorContextKeys.hasCodeLensProvider = ( (new RawContextKey('editorHasCodeLensProvider', false, ( localizeWithPath(_moduleId, 31, "Whether the editor has a code lens provider")))));
63
+ EditorContextKeys.hasDefinitionProvider = ( (new RawContextKey('editorHasDefinitionProvider', false, ( localizeWithPath(_moduleId, 32, "Whether the editor has a definition provider")))));
64
+ EditorContextKeys.hasDeclarationProvider = ( (new RawContextKey('editorHasDeclarationProvider', false, ( localizeWithPath(_moduleId, 33, "Whether the editor has a declaration provider")))));
65
+ EditorContextKeys.hasImplementationProvider = ( (new RawContextKey('editorHasImplementationProvider', false, ( localizeWithPath(_moduleId, 34, "Whether the editor has an implementation provider")))));
66
+ EditorContextKeys.hasTypeDefinitionProvider = ( (new RawContextKey('editorHasTypeDefinitionProvider', false, ( localizeWithPath(_moduleId, 35, "Whether the editor has a type definition provider")))));
67
+ EditorContextKeys.hasHoverProvider = ( (new RawContextKey('editorHasHoverProvider', false, ( localizeWithPath(_moduleId, 36, "Whether the editor has a hover provider")))));
68
+ EditorContextKeys.hasDocumentHighlightProvider = ( (new RawContextKey('editorHasDocumentHighlightProvider', false, ( localizeWithPath(_moduleId, 37, "Whether the editor has a document highlight provider")))));
69
+ EditorContextKeys.hasDocumentSymbolProvider = ( (new RawContextKey('editorHasDocumentSymbolProvider', false, ( localizeWithPath(_moduleId, 38, "Whether the editor has a document symbol provider")))));
70
+ EditorContextKeys.hasReferenceProvider = ( (new RawContextKey('editorHasReferenceProvider', false, ( localizeWithPath(_moduleId, 39, "Whether the editor has a reference provider")))));
71
+ EditorContextKeys.hasRenameProvider = ( (new RawContextKey('editorHasRenameProvider', false, ( localizeWithPath(_moduleId, 40, "Whether the editor has a rename provider")))));
72
+ EditorContextKeys.hasSignatureHelpProvider = ( (new RawContextKey('editorHasSignatureHelpProvider', false, ( localizeWithPath(_moduleId, 41, "Whether the editor has a signature help provider")))));
73
+ EditorContextKeys.hasInlayHintsProvider = ( (new RawContextKey('editorHasInlayHintsProvider', false, ( localizeWithPath(_moduleId, 42, "Whether the editor has an inline hints provider")))));
74
+ EditorContextKeys.hasDocumentFormattingProvider = ( (new RawContextKey('editorHasDocumentFormattingProvider', false, ( localizeWithPath(_moduleId, 43, "Whether the editor has a document formatting provider")))));
75
+ EditorContextKeys.hasDocumentSelectionFormattingProvider = ( (new RawContextKey('editorHasDocumentSelectionFormattingProvider', false, ( localizeWithPath(
76
+ _moduleId,
77
+ 44,
237
78
  "Whether the editor has a document selection formatting provider"
238
- ))));
239
- EditorContextKeys.hasMultipleDocumentFormattingProvider = ( new RawContextKey('editorHasMultipleDocumentFormattingProvider', false, ( localizeWithPath(
240
- 'vs/editor/common/editorContextKeys',
241
- 'editorHasMultipleDocumentFormattingProvider',
79
+ )))));
80
+ EditorContextKeys.hasMultipleDocumentFormattingProvider = ( (new RawContextKey('editorHasMultipleDocumentFormattingProvider', false, ( localizeWithPath(
81
+ _moduleId,
82
+ 45,
242
83
  "Whether the editor has multiple document formatting providers"
243
- ))));
244
- EditorContextKeys.hasMultipleDocumentSelectionFormattingProvider = ( new RawContextKey(
84
+ )))));
85
+ EditorContextKeys.hasMultipleDocumentSelectionFormattingProvider = ( (new RawContextKey(
245
86
  'editorHasMultipleDocumentSelectionFormattingProvider',
246
87
  false,
247
88
  ( localizeWithPath(
248
- 'vs/editor/common/editorContextKeys',
249
- 'editorHasMultipleDocumentSelectionFormattingProvider',
89
+ _moduleId,
90
+ 46,
250
91
  "Whether the editor has multiple document selection formatting providers"
251
92
  ))
252
- ));
253
- })(EditorContextKeys || (EditorContextKeys = {})));
93
+ )));
94
+ })(EditorContextKeys || (EditorContextKeys = {}))));
254
95
  export { EditorContextKeys };
@@ -3,12 +3,13 @@ import { Emitter } from '../../../base/common/event.js';
3
3
  import { Registry } from '../../../platform/registry/common/platform.js';
4
4
  import { Mimes } from '../../../base/common/mime.js';
5
5
  import { Extensions as Extensions$1 } from '../../../platform/configuration/common/configurationRegistry.js';
6
+ const _moduleId = "vs/editor/common/languages/modesRegistry";
6
7
  const Extensions = {
7
8
  ModesRegistry: 'editor.modesRegistry'
8
9
  };
9
10
  class EditorModesRegistry {
10
11
  constructor() {
11
- this._onDidChangeLanguages = ( new Emitter());
12
+ this._onDidChangeLanguages = ( (new Emitter()));
12
13
  this.onDidChangeLanguages = this._onDidChangeLanguages.event;
13
14
  this._languages = [];
14
15
  }
@@ -30,21 +31,17 @@ class EditorModesRegistry {
30
31
  return this._languages;
31
32
  }
32
33
  }
33
- const ModesRegistry = ( new EditorModesRegistry());
34
+ const ModesRegistry = ( (new EditorModesRegistry()));
34
35
  Registry.add(Extensions.ModesRegistry, ModesRegistry);
35
36
  const PLAINTEXT_LANGUAGE_ID = 'plaintext';
36
37
  const PLAINTEXT_EXTENSION = '.txt';
37
38
  ModesRegistry.registerLanguage({
38
39
  id: PLAINTEXT_LANGUAGE_ID,
39
40
  extensions: [PLAINTEXT_EXTENSION],
40
- aliases: [( localizeWithPath(
41
- 'vs/editor/common/languages/modesRegistry',
42
- 'plainText.alias',
43
- "Plain Text"
44
- )), 'text'],
41
+ aliases: [( localizeWithPath(_moduleId, 0, "Plain Text")), 'text'],
45
42
  mimetypes: [Mimes.text]
46
43
  });
47
- ( Registry.as(Extensions$1.Configuration))
44
+ ( (Registry.as(Extensions$1.Configuration)))
48
45
  .registerDefaultConfigurations([{
49
46
  overrides: {
50
47
  '[plaintext]': {
@@ -101,7 +101,7 @@ class ColorMap {
101
101
  }
102
102
  const match = color.match(colorRegExp);
103
103
  if (!match) {
104
- throw new Error('Illegal value for token color: ' + color);
104
+ throw ( new Error('Illegal value for token color: ' + color));
105
105
  }
106
106
  color = match[1].toUpperCase();
107
107
  let value = this._color2id.get(color);
@@ -167,7 +167,7 @@ function toStandardTokenType(tokenType) {
167
167
  case 'regexp':
168
168
  return 3 ;
169
169
  }
170
- throw new Error('Unexpected match for standard token type!');
170
+ throw ( new Error('Unexpected match for standard token type!'));
171
171
  }
172
172
  function strcmp(a, b) {
173
173
  if (a < b) {