@codingame/monaco-vscode-api 7.1.0 → 7.1.1

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 (682) hide show
  1. package/api.js +60 -10
  2. package/extensions.d.ts +9 -0
  3. package/l10n.d.ts +13 -1
  4. package/l10n.js +3 -2
  5. package/missing-services.js +35 -21
  6. package/package.json +9 -9
  7. package/services.js +2 -2
  8. package/vscode/src/vs/base/browser/browser.js +4 -1
  9. package/vscode/src/vs/base/browser/defaultWorkerFactory.js +7 -1
  10. package/vscode/src/vs/base/browser/dom.js +8 -1
  11. package/vscode/src/vs/base/browser/markdownRenderer.js +1 -1
  12. package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.d.ts +1 -0
  13. package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +13 -6
  14. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +1 -1
  15. package/vscode/src/vs/base/browser/ui/button/button.js +2 -3
  16. package/vscode/src/vs/base/browser/ui/dialog/dialog.js +7 -8
  17. package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +2 -3
  18. package/vscode/src/vs/base/browser/ui/findinput/findInput.js +2 -3
  19. package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +4 -5
  20. package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +3 -4
  21. package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css.js +1 -1
  22. package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +3 -5
  23. package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.js +3 -4
  24. package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +7 -8
  25. package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +2 -3
  26. package/vscode/src/vs/base/browser/ui/list/listView.js +2 -2
  27. package/vscode/src/vs/base/browser/ui/menu/menubar.js +2 -3
  28. package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +4 -5
  29. package/vscode/src/vs/base/browser/ui/splitview/paneview.js +2 -3
  30. package/vscode/src/vs/base/browser/ui/table/tableWidget.js +1 -1
  31. package/vscode/src/vs/base/browser/ui/toggle/toggle.css.js +1 -1
  32. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +2 -3
  33. package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +11 -12
  34. package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +2 -3
  35. package/vscode/src/vs/base/common/actions.js +2 -3
  36. package/vscode/src/vs/base/common/arrays.js +7 -1
  37. package/vscode/src/vs/base/common/date.js +61 -63
  38. package/vscode/src/vs/base/common/errorMessage.js +8 -22
  39. package/vscode/src/vs/base/common/event.d.ts +16 -0
  40. package/vscode/src/vs/base/common/event.js +4 -0
  41. package/vscode/src/vs/base/common/hotReload.js +13 -1
  42. package/vscode/src/vs/base/common/hotReloadHelpers.js +25 -0
  43. package/vscode/src/vs/base/common/jsonErrorMessages.js +10 -11
  44. package/vscode/src/vs/base/common/jsonSchema.js +122 -0
  45. package/vscode/src/vs/base/common/keybindingLabels.js +21 -22
  46. package/vscode/src/vs/base/common/labels.js +2 -2
  47. package/vscode/src/vs/base/common/network.js +1 -1
  48. package/vscode/src/vs/base/common/observableInternal/base.d.ts +1 -0
  49. package/vscode/src/vs/base/common/observableInternal/base.js +6 -0
  50. package/vscode/src/vs/base/common/observableInternal/utils.js +4 -1
  51. package/vscode/src/vs/base/common/path.d.ts +1 -1
  52. package/vscode/src/vs/base/common/path.js +20 -17
  53. package/vscode/src/vs/base/common/performance.js +78 -15
  54. package/vscode/src/vs/base/common/platform.js +14 -17
  55. package/vscode/src/vs/base/common/prefixTree.d.ts +2 -0
  56. package/vscode/src/vs/base/common/prefixTree.js +3 -0
  57. package/vscode/src/vs/base/common/product.d.ts +3 -7
  58. package/vscode/src/vs/base/common/uri.js +3 -0
  59. package/vscode/src/vs/base/parts/ipc/common/ipc.net.js +6 -3
  60. package/vscode/src/vs/editor/browser/controller/mouseHandler.js +66 -18
  61. package/vscode/src/vs/editor/browser/controller/mouseTarget.js +18 -5
  62. package/vscode/src/vs/editor/browser/controller/pointerHandler.js +3 -3
  63. package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +9 -13
  64. package/vscode/src/vs/editor/browser/coreCommands.js +4 -5
  65. package/vscode/src/vs/editor/browser/editorExtensions.js +7 -8
  66. package/vscode/src/vs/editor/browser/observableCodeEditor.js +2 -0
  67. package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +2 -3
  68. package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +2 -3
  69. package/vscode/src/vs/editor/browser/view.js +3 -1
  70. package/vscode/src/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.js +1 -2
  71. package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +4 -6
  72. package/vscode/src/vs/editor/browser/widget/codeEditor/editor.css.js +1 -1
  73. package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +13 -14
  74. package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +17 -38
  75. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorDecorations.js +20 -2
  76. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +6 -6
  77. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +11 -2
  78. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +10 -13
  79. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +6 -7
  80. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +37 -3
  81. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +4 -2
  82. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +33 -23
  83. package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +91 -41
  84. package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +9 -14
  85. package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +1 -1
  86. package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +3 -4
  87. package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +7 -13
  88. package/vscode/src/vs/editor/browser/widget/diffEditor/style.css.js +1 -1
  89. package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +80 -21
  90. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +4 -5
  91. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.js +24 -18
  92. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.js +26 -13
  93. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.js +4 -1
  94. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +8 -4
  95. package/vscode/src/vs/editor/common/config/diffEditor.js +2 -0
  96. package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +86 -115
  97. package/vscode/src/vs/editor/common/config/editorOptions.d.ts +11 -1
  98. package/vscode/src/vs/editor/common/config/editorOptions.js +547 -932
  99. package/vscode/src/vs/editor/common/core/editorColorRegistry.js +102 -144
  100. package/vscode/src/vs/editor/common/core/lineRange.js +1 -1
  101. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js +11 -0
  102. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js +2 -2
  103. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +8 -3
  104. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js +34 -34
  105. package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +7 -0
  106. package/vscode/src/vs/editor/common/diff/rangeMapping.js +40 -0
  107. package/vscode/src/vs/editor/common/editorContextKeys.js +52 -69
  108. package/vscode/src/vs/editor/common/languageFeatureRegistry.d.ts +1 -1
  109. package/vscode/src/vs/editor/common/languageFeatureRegistry.js +27 -14
  110. package/vscode/src/vs/editor/common/languages/modesRegistry.js +2 -3
  111. package/vscode/src/vs/editor/common/languages.d.ts +4 -0
  112. package/vscode/src/vs/editor/common/languages.js +28 -29
  113. package/vscode/src/vs/editor/common/model/editStack.js +2 -3
  114. package/vscode/src/vs/editor/common/model/guidesTextModelPart.js +1 -1
  115. package/vscode/src/vs/editor/common/standaloneStrings.js +57 -54
  116. package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +3 -9
  117. package/vscode/src/vs/editor/common/viewModel/modelLineProjection.js +1 -1
  118. package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +7 -14
  119. package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +7 -12
  120. package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +3 -4
  121. package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +2 -3
  122. package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +18 -19
  123. package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +2 -3
  124. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -53
  125. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +22 -10
  126. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +8 -9
  127. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +9 -10
  128. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.css.js +1 -1
  129. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +183 -9
  130. package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.js +4 -5
  131. package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +3 -4
  132. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +2 -3
  133. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +3 -4
  134. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions.js +10 -13
  135. package/vscode/src/vs/editor/contrib/comment/browser/comment.js +7 -8
  136. package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +12 -15
  137. package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +3 -4
  138. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +5 -7
  139. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -11
  140. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +9 -10
  141. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +3 -5
  142. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +4 -5
  143. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +3 -16
  144. package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +3 -5
  145. package/vscode/src/vs/editor/contrib/find/browser/findController.js +20 -24
  146. package/vscode/src/vs/editor/contrib/find/browser/findModel.js +6 -1
  147. package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +31 -35
  148. package/vscode/src/vs/editor/contrib/folding/browser/folding.js +20 -21
  149. package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +11 -25
  150. package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +4 -5
  151. package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +3 -4
  152. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +9 -10
  153. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +18 -25
  154. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +46 -47
  155. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToSymbol.js +42 -17
  156. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +3 -4
  157. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +5 -13
  158. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +4 -5
  159. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +4 -5
  160. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +15 -22
  161. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +7 -11
  162. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +5 -7
  163. package/vscode/src/vs/editor/contrib/hover/browser/getHover.js +8 -4
  164. package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +24 -38
  165. package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +3 -4
  166. package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +25 -27
  167. package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +12 -15
  168. package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +6 -7
  169. package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +3 -4
  170. package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +21 -22
  171. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +9 -10
  172. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/commands.js +12 -13
  173. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/ghostTextWidget.js +2 -2
  174. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +3 -4
  175. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys.js +7 -10
  176. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.js +51 -42
  177. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +3 -5
  178. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +6 -7
  179. package/vscode/src/vs/editor/contrib/inlineEdit/browser/ghostTextWidget.js +12 -16
  180. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEdit.contribution.js +0 -3
  181. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEdit.css.js +1 -1
  182. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditController.js +58 -39
  183. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditHintsWidget.js +1 -1
  184. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditSideBySideWidget.css.js +4 -0
  185. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditSideBySideWidget.js +301 -0
  186. package/vscode/src/vs/editor/contrib/inlineEdits/browser/commands.js +7 -8
  187. package/vscode/src/vs/editor/contrib/inlineEdits/browser/consts.js +3 -4
  188. package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEditsController.js +1 -1
  189. package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEditsWidget.js +1 -1
  190. package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +2 -3
  191. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -32
  192. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +3 -4
  193. package/vscode/src/vs/editor/contrib/links/browser/links.js +12 -14
  194. package/vscode/src/vs/editor/contrib/message/browser/messageController.js +2 -3
  195. package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +23 -24
  196. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.css.js +1 -1
  197. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +2 -3
  198. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +11 -12
  199. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +20 -35
  200. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +5 -56
  201. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.css.js +1 -1
  202. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.js +71 -0
  203. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +8 -11
  204. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +35 -41
  205. package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +3 -4
  206. package/vscode/src/vs/editor/contrib/rename/browser/rename.js +13 -25
  207. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +9 -11
  208. package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +5 -6
  209. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +5 -6
  210. package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +5 -6
  211. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +13 -15
  212. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +1 -1
  213. package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +10 -20
  214. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +12 -14
  215. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +19 -32
  216. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +3 -4
  217. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +3 -4
  218. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +67 -101
  219. package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +6 -12
  220. package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +2 -3
  221. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +30 -49
  222. package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +7 -9
  223. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +18 -27
  224. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +5 -6
  225. package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +2 -3
  226. package/vscode/src/vs/nls.js +27 -21
  227. package/vscode/src/vs/platform/accessibility/browser/accessibleView.js +15 -9
  228. package/vscode/src/vs/platform/accessibility/browser/accessibleViewRegistry.js +1 -16
  229. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +0 -1
  230. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +53 -56
  231. package/vscode/src/vs/platform/action/common/actionCommonCategories.js +7 -8
  232. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +5 -6
  233. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +8 -9
  234. package/vscode/src/vs/platform/actions/browser/buttonbar.js +4 -5
  235. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +43 -13
  236. package/vscode/src/vs/platform/actions/browser/toolbar.js +5 -6
  237. package/vscode/src/vs/platform/actions/common/actions.d.ts +4 -0
  238. package/vscode/src/vs/platform/actions/common/actions.js +4 -0
  239. package/vscode/src/vs/platform/actions/common/actions.service.d.ts +14 -1
  240. package/vscode/src/vs/platform/actions/common/menuResetAction.js +2 -3
  241. package/vscode/src/vs/platform/actions/common/menuService.js +52 -21
  242. package/vscode/src/vs/platform/configuration/common/configurationModels.js +11 -3
  243. package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +14 -8
  244. package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +180 -146
  245. package/vscode/src/vs/platform/configuration/common/configurations.js +2 -2
  246. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +2 -3
  247. package/vscode/src/vs/platform/contextkey/common/contextkey.js +13 -21
  248. package/vscode/src/vs/platform/contextkey/common/contextkeys.js +10 -15
  249. package/vscode/src/vs/platform/contextkey/common/scanner.js +7 -16
  250. package/vscode/src/vs/platform/contextview/browser/contextMenuService.js +2 -3
  251. package/vscode/src/vs/platform/dialogs/common/dialogs.js +11 -13
  252. package/vscode/src/vs/platform/dnd/browser/dnd.js +3 -5
  253. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +7 -1
  254. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +3 -5
  255. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +3 -2
  256. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +2 -3
  257. package/vscode/src/vs/platform/extensionManagement/common/extensionStorage.js +1 -1
  258. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +25 -33
  259. package/vscode/src/vs/platform/extensions/common/extensionValidator.js +33 -67
  260. package/vscode/src/vs/platform/extensions/common/extensions.d.ts +3 -18
  261. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +31 -0
  262. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +3 -8
  263. package/vscode/src/vs/platform/files/common/files.js +7 -8
  264. package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +2 -3
  265. package/vscode/src/vs/platform/instantiation/common/instantiationService.js +5 -0
  266. package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.d.ts +10 -0
  267. package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.js +8 -0
  268. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +9 -14
  269. package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +2 -3
  270. package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +4 -5
  271. package/vscode/src/vs/platform/list/browser/listService.js +43 -71
  272. package/vscode/src/vs/platform/log/common/log.js +7 -8
  273. package/vscode/src/vs/platform/markers/common/markers.js +4 -5
  274. package/vscode/src/vs/platform/observable/common/wrapInReloadableClass.js +51 -0
  275. package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css.js +1 -1
  276. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +39 -32
  277. package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +7 -11
  278. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +14 -11
  279. package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +99 -142
  280. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +3 -5
  281. package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +3 -4
  282. package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +16 -1
  283. package/vscode/src/vs/platform/quickinput/common/quickInput.js +6 -1
  284. package/vscode/src/vs/platform/request/common/request.js +23 -36
  285. package/vscode/src/vs/platform/theme/browser/defaultStyles.js +11 -2
  286. package/vscode/src/vs/platform/theme/common/colorUtils.js +3 -4
  287. package/vscode/src/vs/platform/theme/common/colors/baseColors.js +27 -37
  288. package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +10 -11
  289. package/vscode/src/vs/platform/theme/common/colors/editorColors.js +120 -207
  290. package/vscode/src/vs/platform/theme/common/colors/inputColors.js +53 -61
  291. package/vscode/src/vs/platform/theme/common/colors/listColors.js +51 -98
  292. package/vscode/src/vs/platform/theme/common/colors/menuColors.js +8 -9
  293. package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +13 -15
  294. package/vscode/src/vs/platform/theme/common/colors/miscColors.js +12 -16
  295. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +13 -17
  296. package/vscode/src/vs/platform/theme/common/colors/searchColors.js +4 -9
  297. package/vscode/src/vs/platform/theme/common/iconRegistry.js +7 -9
  298. package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +49 -56
  299. package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +35 -55
  300. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +2 -3
  301. package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +5 -8
  302. package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +38 -19
  303. package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +3 -5
  304. package/vscode/src/vs/platform/workspace/common/workspace.js +2 -3
  305. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +88 -8
  306. package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +60 -0
  307. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +48 -18
  308. package/vscode/src/vs/workbench/api/common/extHostComments.js +26 -4
  309. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +4 -6
  310. package/vscode/src/vs/workbench/api/common/extHostDocumentData.js +3 -0
  311. package/vscode/src/vs/workbench/api/common/extHostEmbedding.js +1 -0
  312. package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.js +6 -5
  313. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +19 -17
  314. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +45 -48
  315. package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +2 -1
  316. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +2 -3
  317. package/vscode/src/vs/workbench/api/common/extHostLogService.js +2 -3
  318. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +3 -9
  319. package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +3 -0
  320. package/vscode/src/vs/workbench/api/common/extHostNotebookEditor.js +3 -0
  321. package/vscode/src/vs/workbench/api/common/extHostQuickOpen.js +12 -8
  322. package/vscode/src/vs/workbench/api/common/extHostSCM.js +5 -5
  323. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +4 -6
  324. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +3 -5
  325. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +2 -8
  326. package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +4 -4
  327. package/vscode/src/vs/workbench/api/common/extHostTesting.js +69 -6
  328. package/vscode/src/vs/workbench/api/common/extHostTextEditor.js +4 -1
  329. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +2 -3
  330. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +3 -4
  331. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +41 -11
  332. package/vscode/src/vs/workbench/api/common/extHostTypes.js +78 -23
  333. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +10 -5
  334. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +19 -30
  335. package/vscode/src/vs/workbench/browser/actions/developerActions.js +41 -59
  336. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +161 -132
  337. package/vscode/src/vs/workbench/browser/actions/textInputActions.js +7 -8
  338. package/vscode/src/vs/workbench/browser/actions/windowActions.js +30 -43
  339. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +22 -23
  340. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +5 -6
  341. package/vscode/src/vs/workbench/browser/actions.js +2 -3
  342. package/vscode/src/vs/workbench/browser/editor.js +3 -4
  343. package/vscode/src/vs/workbench/browser/labels.js +3 -4
  344. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +12 -17
  345. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +16 -25
  346. package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +2 -3
  347. package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +5 -7
  348. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +45 -53
  349. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +12 -13
  350. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +2 -3
  351. package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +7 -8
  352. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +153 -156
  353. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +206 -329
  354. package/vscode/src/vs/workbench/browser/parts/editor/editorCommandsContext.js +134 -0
  355. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +17 -17
  356. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +14 -15
  357. package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +3 -4
  358. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +15 -23
  359. package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +8 -11
  360. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +63 -75
  361. package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +3 -4
  362. package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +16 -17
  363. package/vscode/src/vs/workbench/browser/parts/editor/multiRowEditorTabsControl.js +1 -3
  364. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +2 -3
  365. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +2 -3
  366. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +6 -9
  367. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +2 -3
  368. package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +17 -19
  369. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +18 -19
  370. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +7 -11
  371. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +7 -8
  372. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +10 -11
  373. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +9 -24
  374. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +16 -28
  375. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +4 -11
  376. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +6 -13
  377. package/vscode/src/vs/workbench/browser/parts/panel/media/panelpart.css.js +1 -1
  378. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +48 -49
  379. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +20 -22
  380. package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +3 -4
  381. package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +2 -3
  382. package/vscode/src/vs/workbench/browser/parts/views/treeView.js +55 -49
  383. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +2 -3
  384. package/vscode/src/vs/workbench/browser/parts/views/viewPane.d.ts +2 -2
  385. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +12 -11
  386. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +11 -11
  387. package/vscode/src/vs/workbench/browser/quickaccess.js +2 -3
  388. package/vscode/src/vs/workbench/browser/window.js +20 -28
  389. package/vscode/src/vs/workbench/browser/workbench.contribution.js +376 -584
  390. package/vscode/src/vs/workbench/common/configuration.js +15 -19
  391. package/vscode/src/vs/workbench/common/contextkeys.js +87 -100
  392. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +2 -3
  393. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +2 -9
  394. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +3 -5
  395. package/vscode/src/vs/workbench/common/editor.d.ts +5 -2
  396. package/vscode/src/vs/workbench/common/editor.js +5 -6
  397. package/vscode/src/vs/workbench/common/theme.js +281 -450
  398. package/vscode/src/vs/workbench/common/views.js +7 -11
  399. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +207 -284
  400. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +50 -16
  401. package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +5 -2
  402. package/vscode/src/vs/workbench/contrib/accessibility/common/accessibilityCommands.js +1 -0
  403. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +29 -15
  404. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.js +17 -0
  405. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +5 -6
  406. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +10 -15
  407. package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +2 -3
  408. package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +26 -27
  409. package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +3 -4
  410. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js +119 -0
  411. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCodeCitationContentPart.js +48 -0
  412. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCommandContentPart.js +2 -3
  413. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationContentPart.js +11 -6
  414. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatReferencesContentPart.js +62 -33
  415. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTaskContentPart.js +2 -2
  416. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.js +5 -5
  417. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.js +2 -3
  418. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +3 -4
  419. package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +2 -3
  420. package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +47 -26
  421. package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +64 -37
  422. package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownRenderer.js +2 -0
  423. package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +36 -20
  424. package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +32 -29
  425. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +8 -8
  426. package/vscode/src/vs/workbench/contrib/chat/browser/media/chat.css.js +1 -1
  427. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +0 -1
  428. package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +7 -8
  429. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +17 -28
  430. package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +59 -9
  431. package/vscode/src/vs/workbench/contrib/chat/common/chatRequestParser.js +10 -3
  432. package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +9 -1
  433. package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +16 -6
  434. package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.js +1 -1
  435. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +8 -14
  436. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActions.contribution.js +3 -1
  437. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +80 -23
  438. package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +11 -12
  439. package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +7 -8
  440. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +5 -6
  441. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +25 -30
  442. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +5 -7
  443. package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +11 -12
  444. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +5 -11
  445. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +7 -8
  446. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +45 -13
  447. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +3 -4
  448. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +5 -6
  449. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +3 -4
  450. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +3 -4
  451. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +6 -7
  452. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +9 -11
  453. package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +10 -15
  454. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +5 -6
  455. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +14 -49
  456. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +21 -18
  457. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +4 -5
  458. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +8 -13
  459. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +43 -25
  460. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +27 -39
  461. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +10 -14
  462. package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +2 -3
  463. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +15 -18
  464. package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +25 -29
  465. package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +10 -11
  466. package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +11 -15
  467. package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +1 -0
  468. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -17
  469. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +6 -9
  470. package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +2 -3
  471. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +33 -36
  472. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +18 -22
  473. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +77 -97
  474. package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +15 -17
  475. package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +13 -14
  476. package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +35 -40
  477. package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +58 -75
  478. package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +4 -5
  479. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +2 -3
  480. package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +8 -1
  481. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +90 -205
  482. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +28 -11
  483. package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +2 -3
  484. package/vscode/src/vs/workbench/contrib/debug/common/debugUtils.js +1 -1
  485. package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +3 -4
  486. package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +2 -3
  487. package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +5 -6
  488. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +342 -359
  489. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +35 -74
  490. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +8 -19
  491. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +3 -4
  492. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +5 -7
  493. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +7 -14
  494. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +6 -8
  495. package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +2 -3
  496. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +12 -20
  497. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +28 -38
  498. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +18 -22
  499. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +108 -168
  500. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +55 -30
  501. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +9 -9
  502. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +45 -59
  503. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +102 -151
  504. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +3 -4
  505. package/vscode/src/vs/workbench/contrib/files/browser/files.js +21 -12
  506. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +2 -3
  507. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +6 -8
  508. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +9 -10
  509. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +20 -29
  510. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +54 -35
  511. package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +7 -10
  512. package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +2 -3
  513. package/vscode/src/vs/workbench/contrib/files/common/files.js +19 -40
  514. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +5 -7
  515. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +28 -36
  516. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +5 -6
  517. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +2 -3
  518. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +5 -10
  519. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +23 -25
  520. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatContentWidget.js +20 -6
  521. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +26 -88
  522. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +2 -34
  523. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +7 -8
  524. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +13 -33
  525. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +2 -3
  526. package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChat.css.js +1 -1
  527. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +51 -91
  528. package/vscode/src/vs/workbench/contrib/issue/common/issue.service.js +2 -1
  529. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +2 -3
  530. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +40 -56
  531. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +3 -4
  532. package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +9 -10
  533. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +2 -3
  534. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +43 -46
  535. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.js +6 -5
  536. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +3 -4
  537. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +8 -14
  538. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +18 -19
  539. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +4 -5
  540. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +3 -4
  541. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +30 -5
  542. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +7 -13
  543. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +16 -6
  544. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +9 -11
  545. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +4 -5
  546. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +5 -7
  547. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +13 -18
  548. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +29 -54
  549. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +29 -30
  550. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellPart.js +1 -1
  551. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +11 -18
  552. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +5 -6
  553. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +54 -24
  554. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +3 -9
  555. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +5 -6
  556. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +2 -3
  557. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +4 -10
  558. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +3 -4
  559. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +3 -9
  560. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +5 -6
  561. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +2 -3
  562. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +22 -13
  563. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +8 -0
  564. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputViewModel.js +17 -0
  565. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +13 -25
  566. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +51 -43
  567. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +2 -2
  568. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +18 -26
  569. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +3 -4
  570. package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.js +3 -1
  571. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -3
  572. package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +4 -10
  573. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +14 -24
  574. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +12 -12
  575. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +50 -51
  576. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +3 -2
  577. package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +24 -31
  578. package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +27 -39
  579. package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +18 -23
  580. package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +68 -80
  581. package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +3 -4
  582. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +26 -57
  583. package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +11 -12
  584. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +2 -3
  585. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +14 -16
  586. package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +1 -1
  587. package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +3 -4
  588. package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +2 -3
  589. package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +3 -4
  590. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +5 -19
  591. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +4 -5
  592. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +17 -29
  593. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +30 -31
  594. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +9 -13
  595. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +9 -13
  596. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +5 -7
  597. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +5 -0
  598. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +1 -0
  599. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +5 -14
  600. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +33 -34
  601. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +2 -0
  602. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +1 -1
  603. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +9 -15
  604. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +37 -51
  605. package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +21 -37
  606. package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +29 -34
  607. package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminal.suggest.js +4 -0
  608. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +16 -13
  609. package/vscode/src/vs/workbench/contrib/testing/common/testId.js +1 -1
  610. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +6 -7
  611. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.d.ts +23 -1
  612. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +23 -1
  613. package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +7 -8
  614. package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +4 -5
  615. package/vscode/src/vs/workbench/contrib/webview/browser/webviewWindowDragMonitor.js +21 -2
  616. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +2 -3
  617. package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +3 -8
  618. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +17 -11
  619. package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +23 -25
  620. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +21 -34
  621. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +3 -5
  622. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +35 -53
  623. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +3 -5
  624. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +2 -3
  625. package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +7 -8
  626. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +145 -236
  627. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +14 -19
  628. package/vscode/src/vs/workbench/services/language/common/languageService.js +40 -57
  629. package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +2 -1
  630. package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +8 -2
  631. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.d.ts +34 -4
  632. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.js +6 -1
  633. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.js +3 -3
  634. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +3 -4
  635. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +8 -9
  636. package/vscode/src/vs/workbench/services/preferences/common/preferences.d.ts +1 -3
  637. package/vscode/src/vs/workbench/services/preferences/common/preferences.js +2 -1
  638. package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +5 -2
  639. package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +3 -4
  640. package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.d.ts +5 -3
  641. package/vscode/src/vs/workbench/services/remote/common/remoteAgentService.d.ts +1 -0
  642. package/vscode/src/vs/workbench/services/remote/common/remoteAgentService.service.d.ts +4 -0
  643. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +14 -20
  644. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +9 -9
  645. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +2 -8
  646. package/vscode/src/vs/workbench/services/search/common/search.js +1 -1
  647. package/vscode/src/vs/workbench/services/search/common/searchExtTypes.js +41 -1
  648. package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +12 -27
  649. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +4 -5
  650. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +34 -50
  651. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +22 -31
  652. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorModel.js +1 -1
  653. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +4 -5
  654. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +2 -3
  655. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +12 -13
  656. package/vscode/src/vs/workbench/services/views/browser/viewsService.js +8 -9
  657. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +25 -33
  658. package/vscode-dts/vscode.proposed.aiTextSearchProviderNew.d.ts +119 -0
  659. package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +61 -3
  660. package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +26 -0
  661. package/vscode-dts/vscode.proposed.commentReveal.d.ts +21 -8
  662. package/vscode-dts/vscode.proposed.commentThreadApplicability.d.ts +0 -2
  663. package/vscode-dts/vscode.proposed.contribSourceControlHistoryItemChangesMenu.d.ts +7 -0
  664. package/vscode-dts/vscode.proposed.fileComments.d.ts +1 -1
  665. package/vscode-dts/vscode.proposed.fileSearchProviderNew.d.ts +100 -0
  666. package/vscode-dts/vscode.proposed.findFiles2New.d.ts +80 -0
  667. package/vscode-dts/vscode.proposed.findTextInFilesNew.d.ts +143 -0
  668. package/vscode-dts/vscode.proposed.lmTools.d.ts +5 -0
  669. package/vscode-dts/vscode.proposed.quickInputButtonLocation.d.ts +29 -0
  670. package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +2 -0
  671. package/vscode-dts/vscode.proposed.testMessageStackTrace.d.ts +38 -0
  672. package/vscode-dts/vscode.proposed.testRelatedCode.d.ts +36 -0
  673. package/vscode-dts/vscode.proposed.textSearchCompleteNew.d.ts +46 -0
  674. package/vscode-dts/vscode.proposed.textSearchProviderNew.d.ts +234 -0
  675. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/model.js +0 -14
  676. package/vscode/src/vs/editor/contrib/inlineEdit/browser/hoverParticipant.js +0 -115
  677. package/vscode/src/vs/platform/issue/common/issue.service.js +0 -3
  678. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +0 -570
  679. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +0 -207
  680. package/vscode/src/vs/workbench/contrib/testing/common/observableValue.js +0 -30
  681. package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +0 -1016
  682. package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +0 -390
@@ -1,5 +1,5 @@
1
1
  import { __decorate, __param } from '../../../../../external/tslib/tslib.es6.js';
2
- import { localizeWithPath } from '../../nls.js';
2
+ import { localize } from '../../nls.js';
3
3
  import { ConfigurationScope, Extensions as Extensions$1 } from '../../platform/configuration/common/configurationRegistry.js';
4
4
  import { Registry } from '../../platform/registry/common/platform.js';
5
5
  import { WorkbenchState } from '../../platform/workspace/common/workspace.js';
@@ -13,36 +13,35 @@ import { isWindows, OperatingSystem } from '../../base/common/platform.js';
13
13
  import { equals } from '../../base/common/objects.js';
14
14
  import { DeferredPromise } from '../../base/common/async.js';
15
15
  import { IUserDataProfilesService } from '../../platform/userDataProfile/common/userDataProfile.service.js';
16
- const _moduleId = "vs/workbench/common/configuration";
17
16
  const applicationConfigurationNodeBase = ( (Object.freeze({
18
17
  'id': 'application',
19
18
  'order': 100,
20
- 'title': ( localizeWithPath(_moduleId, 0, "Application")),
19
+ 'title': ( localize(4699, "Application")),
21
20
  'type': 'object'
22
21
  })));
23
22
  const workbenchConfigurationNodeBase = ( (Object.freeze({
24
23
  'id': 'workbench',
25
24
  'order': 7,
26
- 'title': ( localizeWithPath(_moduleId, 1, "Workbench")),
25
+ 'title': ( localize(4700, "Workbench")),
27
26
  'type': 'object',
28
27
  })));
29
28
  const securityConfigurationNodeBase = ( (Object.freeze({
30
29
  'id': 'security',
31
30
  'scope': ConfigurationScope.APPLICATION,
32
- 'title': ( localizeWithPath(_moduleId, 2, "Security")),
31
+ 'title': ( localize(4701, "Security")),
33
32
  'type': 'object',
34
33
  'order': 7
35
34
  })));
36
35
  const problemsConfigurationNodeBase = ( (Object.freeze({
37
36
  'id': 'problems',
38
- 'title': ( localizeWithPath(_moduleId, 3, "Problems")),
37
+ 'title': ( localize(4702, "Problems")),
39
38
  'type': 'object',
40
39
  'order': 101
41
40
  })));
42
41
  const windowConfigurationNodeBase = ( (Object.freeze({
43
42
  'id': 'window',
44
43
  'order': 8,
45
- 'title': ( localizeWithPath(_moduleId, 4, "Window")),
44
+ 'title': ( localize(4703, "Window")),
46
45
  'type': 'object',
47
46
  })));
48
47
  const Extensions = {
@@ -179,12 +178,11 @@ let DynamicWorkbenchSecurityConfiguration = class DynamicWorkbenchSecurityConfig
179
178
  'items': {
180
179
  'type': 'string',
181
180
  'pattern': '^[^\\\\]+$',
182
- 'patternErrorMessage': ( localizeWithPath(_moduleId, 5, 'UNC host names must not contain backslashes.'))
181
+ 'patternErrorMessage': ( localize(4704, 'UNC host names must not contain backslashes.'))
183
182
  },
184
183
  'default': [],
185
- 'markdownDescription': ( localizeWithPath(
186
- _moduleId,
187
- 6,
184
+ 'markdownDescription': ( localize(
185
+ 4705,
188
186
  'A set of UNC host names (without leading or trailing backslash, for example `192.168.0.1` or `my-server`) to allow without user confirmation. If a UNC host is being accessed that is not allowed via this setting or has not been acknowledged via user confirmation, an error will occur and the operation stopped. A restart is required when changing this setting. Find out more about this setting at https://aka.ms/vscode-windows-unc.'
189
187
  )),
190
188
  'scope': ConfigurationScope.MACHINE
@@ -192,9 +190,8 @@ let DynamicWorkbenchSecurityConfiguration = class DynamicWorkbenchSecurityConfig
192
190
  'security.restrictUNCAccess': {
193
191
  'type': 'boolean',
194
192
  'default': true,
195
- 'markdownDescription': ( localizeWithPath(
196
- _moduleId,
197
- 7,
193
+ 'markdownDescription': ( localize(
194
+ 4706,
198
195
  'If enabled, only allows access to UNC host names that are allowed by the `#security.allowedUNCHosts#` setting or after user confirmation. Find out more about this setting at https://aka.ms/vscode-windows-unc.'
199
196
  )),
200
197
  'scope': ConfigurationScope.MACHINE
@@ -233,11 +230,10 @@ let DynamicWindowConfiguration = class DynamicWindowConfiguration extends Dispos
233
230
  'type': ['string', 'null'],
234
231
  'default': null,
235
232
  'enum': [...( (this.userDataProfilesService.profiles.map(profile => profile.name))), null],
236
- 'enumItemLabels': [...( (this.userDataProfilesService.profiles.map(p => ''))), ( localizeWithPath(_moduleId, 8, "Active Window"))],
237
- 'description': ( localizeWithPath(
238
- _moduleId,
239
- 9,
240
- "Specifies the profile to use when opening a new window. If a profile name is provided, the new window will use that profile. If no profile name is provided, the new window will use the profile of the active window or the default profile if no active window exists."
233
+ 'enumItemLabels': [...( (this.userDataProfilesService.profiles.map(p => ''))), ( localize(4707, "Active Window"))],
234
+ 'description': ( localize(
235
+ 4708,
236
+ "Specifies the profile to use when opening a new window. If a profile name is provided, the new window will use that profile. If no profile name is provided, the new window will use the profile of the active window or the Default profile if no active window exists."
241
237
  )),
242
238
  'scope': ConfigurationScope.APPLICATION,
243
239
  }
@@ -1,6 +1,6 @@
1
1
  import { __decorate, __param } from '../../../../../external/tslib/tslib.es6.js';
2
2
  import { DisposableStore } from '../../base/common/lifecycle.js';
3
- import { localizeWithPath } from '../../nls.js';
3
+ import { localize } from '../../nls.js';
4
4
  import { RawContextKey } from '../../platform/contextkey/common/contextkey.js';
5
5
  import { IContextKeyService } from '../../platform/contextkey/common/contextkey.service.js';
6
6
  import { isEqual, basename, dirname, extname } from '../../base/common/resources.js';
@@ -11,143 +11,130 @@ 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 _moduleId = "vs/workbench/common/contextkeys";
15
- const WorkbenchStateContext = ( (new RawContextKey('workbenchState', undefined, { type: 'string', description: ( localizeWithPath(
16
- _moduleId,
17
- 0,
14
+ const WorkbenchStateContext = ( (new RawContextKey('workbenchState', undefined, { type: 'string', description: ( localize(
15
+ 487,
18
16
  "The kind of workspace opened in the window, either 'empty' (no workspace), 'folder' (single folder) or 'workspace' (multi-root workspace)"
19
17
  )) })));
20
- const WorkspaceFolderCountContext = ( (new RawContextKey('workspaceFolderCount', 0, ( localizeWithPath(_moduleId, 1, "The number of root folders in the workspace")))));
18
+ const WorkspaceFolderCountContext = ( (new RawContextKey('workspaceFolderCount', 0, ( localize(488, "The number of root folders in the workspace")))));
21
19
  const OpenFolderWorkspaceSupportContext = ( (new RawContextKey('openFolderWorkspaceSupport', true, true)));
22
20
  const EnterMultiRootWorkspaceSupportContext = ( (new RawContextKey('enterMultiRootWorkspaceSupport', true, true)));
23
21
  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,
22
+ const DirtyWorkingCopiesContext = ( (new RawContextKey('dirtyWorkingCopies', false, ( localize(489, "Whether there are any working copies with unsaved changes")))));
23
+ const RemoteNameContext = ( (new RawContextKey('remoteName', '', ( localize(
24
+ 490,
28
25
  "The name of the remote the window is connected to or an empty string if not connected to any remote"
29
26
  )))));
30
- const VirtualWorkspaceContext = ( (new RawContextKey('virtualWorkspace', '', ( localizeWithPath(
31
- _moduleId,
32
- 4,
27
+ const VirtualWorkspaceContext = ( (new RawContextKey('virtualWorkspace', '', ( localize(
28
+ 491,
33
29
  "The scheme of the current workspace is from a virtual file system or an empty string."
34
30
  )))));
35
- const TemporaryWorkspaceContext = ( (new RawContextKey('temporaryWorkspace', false, ( localizeWithPath(
36
- _moduleId,
37
- 5,
31
+ const TemporaryWorkspaceContext = ( (new RawContextKey('temporaryWorkspace', false, ( localize(
32
+ 492,
38
33
  "The scheme of the current workspace is from a temporary file system."
39
34
  )))));
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")))));
35
+ const IsMainWindowFullscreenContext = ( (new RawContextKey('isFullscreen', false, ( localize(493, "Whether the main window is in fullscreen mode")))));
36
+ const IsAuxiliaryWindowFocusedContext = ( (new RawContextKey('isAuxiliaryWindowFocusedContext', false, ( localize(494, "Whether an auxiliary window is focused")))));
42
37
  const HasWebFileSystemAccess = ( (new RawContextKey('hasWebFileSystemAccess', false, true)));
43
- const EmbedderIdentifierContext = ( (new RawContextKey('embedderIdentifier', undefined, ( localizeWithPath(
44
- _moduleId,
45
- 8,
38
+ const EmbedderIdentifierContext = ( (new RawContextKey('embedderIdentifier', undefined, ( localize(
39
+ 495,
46
40
  'The identifier of the embedder according to the product service, if one is defined'
47
41
  )))));
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,
42
+ const ActiveEditorDirtyContext = ( (new RawContextKey('activeEditorIsDirty', false, ( localize(496, "Whether the active editor has unsaved changes")))));
43
+ const ActiveEditorPinnedContext = ( (new RawContextKey('activeEditorIsNotPreview', false, ( localize(497, "Whether the active editor is not in preview mode")))));
44
+ const ActiveEditorFirstInGroupContext = ( (new RawContextKey('activeEditorIsFirstInGroup', false, ( localize(498, "Whether the active editor is the first one in its group")))));
45
+ const ActiveEditorLastInGroupContext = ( (new RawContextKey('activeEditorIsLastInGroup', false, ( localize(499, "Whether the active editor is the last one in its group")))));
46
+ const ActiveEditorStickyContext = ( (new RawContextKey('activeEditorIsPinned', false, ( localize(500, "Whether the active editor is pinned")))));
47
+ const ActiveEditorReadonlyContext = ( (new RawContextKey('activeEditorIsReadonly', false, ( localize(501, "Whether the active editor is read-only")))));
48
+ const ActiveCompareEditorCanSwapContext = ( (new RawContextKey('activeCompareEditorCanSwap', false, ( localize(502, "Whether the active compare editor can swap sides")))));
49
+ const ActiveEditorCanToggleReadonlyContext = ( (new RawContextKey('activeEditorCanToggleReadonly', true, ( localize(
50
+ 503,
58
51
  "Whether the active editor can toggle between being read-only or writeable"
59
52
  )))));
60
- const ActiveEditorCanRevertContext = ( (new RawContextKey('activeEditorCanRevert', false, ( localizeWithPath(_moduleId, 17, "Whether the active editor can revert")))));
53
+ const ActiveEditorCanRevertContext = ( (new RawContextKey('activeEditorCanRevert', false, ( localize(504, "Whether the active editor can revert")))));
61
54
  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,
55
+ const ActiveEditorContext = ( (new RawContextKey('activeEditor', null, { type: 'string', description: ( localize(505, "The identifier of the active editor")) })));
56
+ const ActiveEditorAvailableEditorIdsContext = ( (new RawContextKey('activeEditorAvailableEditorIds', '', ( localize(
57
+ 506,
66
58
  "The available editor identifiers that are usable for the active editor"
67
59
  )))));
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 MultipleEditorsSelectedInGroupContext = ( (new RawContextKey('multipleEditorsSelectedInGroup', false, ( localizeWithPath(
78
- _moduleId,
79
- 29,
80
- "Whether multiple editors have been selected in an editor group"
81
- )))));
82
- const TwoEditorsSelectedInGroupContext = ( (new RawContextKey('twoEditorsSelectedInGroup', false, ( localizeWithPath(
83
- _moduleId,
84
- 30,
85
- "Whether exactly two editors have been selected in an editor group"
86
- )))));
87
- const EditorPartMultipleEditorGroupsContext = ( (new RawContextKey('editorPartMultipleEditorGroups', false, ( localizeWithPath(
88
- _moduleId,
89
- 31,
90
- "Whether there are multiple editor groups opened in an editor part"
91
- )))));
92
- const EditorPartMaximizedEditorGroupContext = ( (new RawContextKey('editorPartMaximizedEditorGroup', false, ( localizeWithPath(_moduleId, 32, "Editor Part has a maximized group")))));
93
- const IsAuxiliaryEditorPartContext = ( (new RawContextKey('isAuxiliaryEditorPart', false, ( localizeWithPath(_moduleId, 33, "Editor Part is in an auxiliary window")))));
94
- const EditorsVisibleContext = ( (new RawContextKey('editorIsOpen', false, ( localizeWithPath(_moduleId, 34, "Whether an editor is open")))));
95
- const InEditorZenModeContext = ( (new RawContextKey('inZenMode', false, ( localizeWithPath(_moduleId, 35, "Whether Zen mode is enabled")))));
96
- const IsMainEditorCenteredLayoutContext = ( (new RawContextKey('isCenteredLayout', false, ( localizeWithPath(_moduleId, 36, "Whether centered layout is enabled for the main editor")))));
97
- const SplitEditorsVertically = ( (new RawContextKey('splitEditorsVertically', false, ( localizeWithPath(_moduleId, 37, "Whether editors split vertically")))));
98
- const MainEditorAreaVisibleContext = ( (new RawContextKey('mainEditorAreaVisible', true, ( localizeWithPath(_moduleId, 38, "Whether the editor area in the main window is visible")))));
99
- const EditorTabsVisibleContext = ( (new RawContextKey('editorTabsVisible', true, ( localizeWithPath(_moduleId, 39, "Whether editor tabs are visible")))));
100
- const SideBarVisibleContext = ( (new RawContextKey('sideBarVisible', false, ( localizeWithPath(_moduleId, 40, "Whether the sidebar is visible")))));
101
- const SidebarFocusContext = ( (new RawContextKey('sideBarFocus', false, ( localizeWithPath(_moduleId, 41, "Whether the sidebar has keyboard focus")))));
102
- const ActiveViewletContext = ( (new RawContextKey('activeViewlet', '', ( localizeWithPath(_moduleId, 42, "The identifier of the active viewlet")))));
103
- const StatusBarFocused = ( (new RawContextKey('statusBarFocused', false, ( localizeWithPath(_moduleId, 43, "Whether the status bar has keyboard focus")))));
104
- const TitleBarStyleContext = ( (new RawContextKey('titleBarStyle', isLinux ? 'native' : 'custom', ( localizeWithPath(_moduleId, 44, "Style of the window title bar")))));
105
- const TitleBarVisibleContext = ( (new RawContextKey('titleBarVisible', false, ( localizeWithPath(_moduleId, 45, "Whether the title bar is visible")))));
106
- const BannerFocused = ( (new RawContextKey('bannerFocused', false, ( localizeWithPath(_moduleId, 46, "Whether the banner has keyboard focus")))));
107
- const NotificationFocusedContext = ( (new RawContextKey('notificationFocus', true, ( localizeWithPath(_moduleId, 47, "Whether a notification has keyboard focus")))));
108
- const NotificationsCenterVisibleContext = ( (new RawContextKey('notificationCenterVisible', false, ( localizeWithPath(_moduleId, 48, "Whether the notifications center is visible")))));
109
- const NotificationsToastsVisibleContext = ( (new RawContextKey('notificationToastsVisible', false, ( localizeWithPath(_moduleId, 49, "Whether a notification toast is visible")))));
110
- const ActiveAuxiliaryContext = ( (new RawContextKey('activeAuxiliary', '', ( localizeWithPath(_moduleId, 50, "The identifier of the active auxiliary panel")))));
111
- const AuxiliaryBarFocusContext = ( (new RawContextKey('auxiliaryBarFocus', false, ( localizeWithPath(_moduleId, 51, "Whether the auxiliary bar has keyboard focus")))));
112
- const AuxiliaryBarVisibleContext = ( (new RawContextKey('auxiliaryBarVisible', false, ( localizeWithPath(_moduleId, 52, "Whether the auxiliary bar is visible")))));
113
- const ActivePanelContext = ( (new RawContextKey('activePanel', '', ( localizeWithPath(_moduleId, 53, "The identifier of the active panel")))));
114
- const PanelFocusContext = ( (new RawContextKey('panelFocus', false, ( localizeWithPath(_moduleId, 54, "Whether the panel has keyboard focus")))));
115
- const PanelPositionContext = ( (new RawContextKey('panelPosition', 'bottom', ( localizeWithPath(_moduleId, 55, "The position of the panel, always 'bottom'")))));
116
- const PanelAlignmentContext = ( (new RawContextKey('panelAlignment', 'center', ( localizeWithPath(
117
- _moduleId,
118
- 56,
60
+ const TextCompareEditorVisibleContext = ( (new RawContextKey('textCompareEditorVisible', false, ( localize(507, "Whether a text compare editor is visible")))));
61
+ const TextCompareEditorActiveContext = ( (new RawContextKey('textCompareEditorActive', false, ( localize(508, "Whether a text compare editor is active")))));
62
+ const SideBySideEditorActiveContext = ( (new RawContextKey('sideBySideEditorActive', false, ( localize(509, "Whether a side by side editor is active")))));
63
+ const EditorGroupEditorsCountContext = ( (new RawContextKey('groupEditorsCount', 0, ( localize(510, "The number of opened editor groups")))));
64
+ const ActiveEditorGroupEmptyContext = ( (new RawContextKey('activeEditorGroupEmpty', false, ( localize(511, "Whether the active editor group is empty")))));
65
+ const ActiveEditorGroupIndexContext = ( (new RawContextKey('activeEditorGroupIndex', 0, ( localize(512, "The index of the active editor group")))));
66
+ const ActiveEditorGroupLastContext = ( (new RawContextKey('activeEditorGroupLast', false, ( localize(513, "Whether the active editor group is the last group")))));
67
+ const ActiveEditorGroupLockedContext = ( (new RawContextKey('activeEditorGroupLocked', false, ( localize(514, "Whether the active editor group is locked")))));
68
+ const MultipleEditorGroupsContext = ( (new RawContextKey('multipleEditorGroups', false, ( localize(515, "Whether there are multiple editor groups opened")))));
69
+ const MultipleEditorsSelectedInGroupContext = ( (new RawContextKey('multipleEditorsSelectedInGroup', false, ( localize(516, "Whether multiple editors have been selected in an editor group")))));
70
+ const TwoEditorsSelectedInGroupContext = ( (new RawContextKey('twoEditorsSelectedInGroup', false, ( localize(517, "Whether exactly two editors have been selected in an editor group")))));
71
+ const SelectedEditorsInGroupFileOrUntitledResourceContextKey = ( (new RawContextKey(
72
+ 'SelectedEditorsInGroupFileOrUntitledResourceContextKey',
73
+ true,
74
+ ( localize(
75
+ 518,
76
+ "Whether all selected editors in a group have a file or untitled resource associated"
77
+ ))
78
+ )));
79
+ const EditorPartMultipleEditorGroupsContext = ( (new RawContextKey('editorPartMultipleEditorGroups', false, ( localize(519, "Whether there are multiple editor groups opened in an editor part")))));
80
+ const EditorPartMaximizedEditorGroupContext = ( (new RawContextKey('editorPartMaximizedEditorGroup', false, ( localize(520, "Editor Part has a maximized group")))));
81
+ const IsAuxiliaryEditorPartContext = ( (new RawContextKey('isAuxiliaryEditorPart', false, ( localize(521, "Editor Part is in an auxiliary window")))));
82
+ const EditorsVisibleContext = ( (new RawContextKey('editorIsOpen', false, ( localize(522, "Whether an editor is open")))));
83
+ const InEditorZenModeContext = ( (new RawContextKey('inZenMode', false, ( localize(523, "Whether Zen mode is enabled")))));
84
+ const IsMainEditorCenteredLayoutContext = ( (new RawContextKey('isCenteredLayout', false, ( localize(524, "Whether centered layout is enabled for the main editor")))));
85
+ const SplitEditorsVertically = ( (new RawContextKey('splitEditorsVertically', false, ( localize(525, "Whether editors split vertically")))));
86
+ const MainEditorAreaVisibleContext = ( (new RawContextKey('mainEditorAreaVisible', true, ( localize(526, "Whether the editor area in the main window is visible")))));
87
+ const EditorTabsVisibleContext = ( (new RawContextKey('editorTabsVisible', true, ( localize(527, "Whether editor tabs are visible")))));
88
+ const SideBarVisibleContext = ( (new RawContextKey('sideBarVisible', false, ( localize(528, "Whether the sidebar is visible")))));
89
+ const SidebarFocusContext = ( (new RawContextKey('sideBarFocus', false, ( localize(529, "Whether the sidebar has keyboard focus")))));
90
+ const ActiveViewletContext = ( (new RawContextKey('activeViewlet', '', ( localize(530, "The identifier of the active viewlet")))));
91
+ const StatusBarFocused = ( (new RawContextKey('statusBarFocused', false, ( localize(531, "Whether the status bar has keyboard focus")))));
92
+ const TitleBarStyleContext = ( (new RawContextKey('titleBarStyle', isLinux ? 'native' : 'custom', ( localize(532, "Style of the window title bar")))));
93
+ const TitleBarVisibleContext = ( (new RawContextKey('titleBarVisible', false, ( localize(533, "Whether the title bar is visible")))));
94
+ const BannerFocused = ( (new RawContextKey('bannerFocused', false, ( localize(534, "Whether the banner has keyboard focus")))));
95
+ const NotificationFocusedContext = ( (new RawContextKey('notificationFocus', true, ( localize(535, "Whether a notification has keyboard focus")))));
96
+ const NotificationsCenterVisibleContext = ( (new RawContextKey('notificationCenterVisible', false, ( localize(536, "Whether the notifications center is visible")))));
97
+ const NotificationsToastsVisibleContext = ( (new RawContextKey('notificationToastsVisible', false, ( localize(537, "Whether a notification toast is visible")))));
98
+ const ActiveAuxiliaryContext = ( (new RawContextKey('activeAuxiliary', '', ( localize(538, "The identifier of the active auxiliary panel")))));
99
+ const AuxiliaryBarFocusContext = ( (new RawContextKey('auxiliaryBarFocus', false, ( localize(539, "Whether the auxiliary bar has keyboard focus")))));
100
+ const AuxiliaryBarVisibleContext = ( (new RawContextKey('auxiliaryBarVisible', false, ( localize(540, "Whether the auxiliary bar is visible")))));
101
+ const ActivePanelContext = ( (new RawContextKey('activePanel', '', ( localize(541, "The identifier of the active panel")))));
102
+ const PanelFocusContext = ( (new RawContextKey('panelFocus', false, ( localize(542, "Whether the panel has keyboard focus")))));
103
+ const PanelPositionContext = ( (new RawContextKey('panelPosition', 'bottom', ( localize(543, "The position of the panel, always 'bottom'")))));
104
+ const PanelAlignmentContext = ( (new RawContextKey('panelAlignment', 'center', ( localize(
105
+ 544,
119
106
  "The alignment of the panel, either 'center', 'left', 'right' or 'justify'"
120
107
  )))));
121
- const PanelVisibleContext = ( (new RawContextKey('panelVisible', false, ( localizeWithPath(_moduleId, 57, "Whether the panel is visible")))));
122
- const PanelMaximizedContext = ( (new RawContextKey('panelMaximized', false, ( localizeWithPath(_moduleId, 58, "Whether the panel is maximized")))));
123
- const FocusedViewContext = ( (new RawContextKey('focusedView', '', ( localizeWithPath(_moduleId, 59, "The identifier of the view that has keyboard focus")))));
108
+ const PanelVisibleContext = ( (new RawContextKey('panelVisible', false, ( localize(545, "Whether the panel is visible")))));
109
+ const PanelMaximizedContext = ( (new RawContextKey('panelMaximized', false, ( localize(546, "Whether the panel is maximized")))));
110
+ const FocusedViewContext = ( (new RawContextKey('focusedView', '', ( localize(547, "The identifier of the view that has keyboard focus")))));
124
111
  function getVisbileViewContextKey(viewId) { return `view.${viewId}.visible`; }
125
112
  let ResourceContextKey = class ResourceContextKey {
126
113
  static { ResourceContextKey_1 = this; }
127
- static { this.Scheme = ( (new RawContextKey('resourceScheme', undefined, { type: 'string', description: ( localizeWithPath(_moduleId, 60, "The scheme of the resource")) }))); }
114
+ static { this.Scheme = ( (new RawContextKey('resourceScheme', undefined, { type: 'string', description: ( localize(548, "The scheme of the resource")) }))); }
128
115
  static { this.Filename = ( (new RawContextKey(
129
116
  'resourceFilename',
130
117
  undefined,
131
- { type: 'string', description: ( localizeWithPath(_moduleId, 61, "The file name of the resource")) }
118
+ { type: 'string', description: ( localize(549, "The file name of the resource")) }
132
119
  ))); }
133
120
  static { this.Dirname = ( (new RawContextKey(
134
121
  'resourceDirname',
135
122
  undefined,
136
- { type: 'string', description: ( localizeWithPath(_moduleId, 62, "The folder name the resource is contained in")) }
123
+ { type: 'string', description: ( localize(550, "The folder name the resource is contained in")) }
137
124
  ))); }
138
- static { this.Path = ( (new RawContextKey('resourcePath', undefined, { type: 'string', description: ( localizeWithPath(_moduleId, 63, "The full path of the resource")) }))); }
139
- static { this.LangId = ( (new RawContextKey('resourceLangId', undefined, { type: 'string', description: ( localizeWithPath(_moduleId, 64, "The language identifier of the resource")) }))); }
140
- static { this.Resource = ( (new RawContextKey('resource', undefined, { type: 'URI', description: ( localizeWithPath(_moduleId, 65, "The full value of the resource including scheme and path")) }))); }
125
+ static { this.Path = ( (new RawContextKey('resourcePath', undefined, { type: 'string', description: ( localize(551, "The full path of the resource")) }))); }
126
+ static { this.LangId = ( (new RawContextKey('resourceLangId', undefined, { type: 'string', description: ( localize(552, "The language identifier of the resource")) }))); }
127
+ static { this.Resource = ( (new RawContextKey('resource', undefined, { type: 'URI', description: ( localize(553, "The full value of the resource including scheme and path")) }))); }
141
128
  static { this.Extension = ( (new RawContextKey(
142
129
  'resourceExtname',
143
130
  undefined,
144
- { type: 'string', description: ( localizeWithPath(_moduleId, 66, "The extension name of the resource")) }
131
+ { type: 'string', description: ( localize(554, "The extension name of the resource")) }
145
132
  ))); }
146
- static { this.HasResource = ( (new RawContextKey('resourceSet', undefined, { type: 'boolean', description: ( localizeWithPath(_moduleId, 67, "Whether a resource is present or not")) }))); }
133
+ static { this.HasResource = ( (new RawContextKey('resourceSet', undefined, { type: 'boolean', description: ( localize(555, "Whether a resource is present or not")) }))); }
147
134
  static { this.IsFileSystemResource = ( (new RawContextKey(
148
135
  'isFileSystemResource',
149
136
  undefined,
150
- { type: 'boolean', description: ( localizeWithPath(_moduleId, 68, "Whether the resource is backed by a file system provider")) }
137
+ { type: 'boolean', description: ( localize(556, "Whether the resource is backed by a file system provider")) }
151
138
  ))); }
152
139
  constructor(_contextKeyService, _fileService, _languageService, _modelService) {
153
140
  this._contextKeyService = _contextKeyService;
@@ -253,4 +240,4 @@ function applyAvailableEditorIds(contextKey, editor, editorResolverService) {
253
240
  contextKey.set(editors.join(','));
254
241
  }
255
242
  }
256
- export { ActiveAuxiliaryContext, ActiveCompareEditorCanSwapContext, ActiveEditorAvailableEditorIdsContext, ActiveEditorCanRevertContext, ActiveEditorCanSplitInGroupContext, ActiveEditorCanToggleReadonlyContext, ActiveEditorContext, ActiveEditorDirtyContext, ActiveEditorFirstInGroupContext, ActiveEditorGroupEmptyContext, ActiveEditorGroupIndexContext, ActiveEditorGroupLastContext, ActiveEditorGroupLockedContext, ActiveEditorLastInGroupContext, ActiveEditorPinnedContext, ActiveEditorReadonlyContext, ActiveEditorStickyContext, ActivePanelContext, ActiveViewletContext, AuxiliaryBarFocusContext, AuxiliaryBarVisibleContext, BannerFocused, DirtyWorkingCopiesContext, EditorGroupEditorsCountContext, EditorPartMaximizedEditorGroupContext, EditorPartMultipleEditorGroupsContext, EditorTabsVisibleContext, EditorsVisibleContext, EmbedderIdentifierContext, EmptyWorkspaceSupportContext, EnterMultiRootWorkspaceSupportContext, FocusedViewContext, HasWebFileSystemAccess, InEditorZenModeContext, IsAuxiliaryEditorPartContext, IsAuxiliaryWindowFocusedContext, IsMainEditorCenteredLayoutContext, IsMainWindowFullscreenContext, MainEditorAreaVisibleContext, MultipleEditorGroupsContext, MultipleEditorsSelectedInGroupContext, NotificationFocusedContext, NotificationsCenterVisibleContext, NotificationsToastsVisibleContext, OpenFolderWorkspaceSupportContext, PanelAlignmentContext, PanelFocusContext, PanelMaximizedContext, PanelPositionContext, PanelVisibleContext, RemoteNameContext, ResourceContextKey, SideBarVisibleContext, SideBySideEditorActiveContext, SidebarFocusContext, SplitEditorsVertically, StatusBarFocused, TemporaryWorkspaceContext, TextCompareEditorActiveContext, TextCompareEditorVisibleContext, TitleBarStyleContext, TitleBarVisibleContext, TwoEditorsSelectedInGroupContext, VirtualWorkspaceContext, WorkbenchStateContext, WorkspaceFolderCountContext, applyAvailableEditorIds, getVisbileViewContextKey };
243
+ export { ActiveAuxiliaryContext, ActiveCompareEditorCanSwapContext, ActiveEditorAvailableEditorIdsContext, ActiveEditorCanRevertContext, ActiveEditorCanSplitInGroupContext, ActiveEditorCanToggleReadonlyContext, ActiveEditorContext, ActiveEditorDirtyContext, ActiveEditorFirstInGroupContext, ActiveEditorGroupEmptyContext, ActiveEditorGroupIndexContext, ActiveEditorGroupLastContext, ActiveEditorGroupLockedContext, ActiveEditorLastInGroupContext, ActiveEditorPinnedContext, ActiveEditorReadonlyContext, ActiveEditorStickyContext, ActivePanelContext, ActiveViewletContext, AuxiliaryBarFocusContext, AuxiliaryBarVisibleContext, BannerFocused, DirtyWorkingCopiesContext, EditorGroupEditorsCountContext, EditorPartMaximizedEditorGroupContext, EditorPartMultipleEditorGroupsContext, EditorTabsVisibleContext, EditorsVisibleContext, EmbedderIdentifierContext, EmptyWorkspaceSupportContext, EnterMultiRootWorkspaceSupportContext, FocusedViewContext, HasWebFileSystemAccess, InEditorZenModeContext, IsAuxiliaryEditorPartContext, IsAuxiliaryWindowFocusedContext, IsMainEditorCenteredLayoutContext, IsMainWindowFullscreenContext, MainEditorAreaVisibleContext, MultipleEditorGroupsContext, MultipleEditorsSelectedInGroupContext, NotificationFocusedContext, NotificationsCenterVisibleContext, NotificationsToastsVisibleContext, OpenFolderWorkspaceSupportContext, PanelAlignmentContext, PanelFocusContext, PanelMaximizedContext, PanelPositionContext, PanelVisibleContext, RemoteNameContext, ResourceContextKey, SelectedEditorsInGroupFileOrUntitledResourceContextKey, SideBarVisibleContext, SideBySideEditorActiveContext, SidebarFocusContext, SplitEditorsVertically, StatusBarFocused, TemporaryWorkspaceContext, TextCompareEditorActiveContext, TextCompareEditorVisibleContext, TitleBarStyleContext, TitleBarVisibleContext, TwoEditorsSelectedInGroupContext, VirtualWorkspaceContext, WorkbenchStateContext, WorkspaceFolderCountContext, applyAvailableEditorIds, getVisbileViewContextKey };
@@ -1,5 +1,5 @@
1
1
  import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
2
- import { localizeWithPath } from '../../../nls.js';
2
+ import { localize } from '../../../nls.js';
3
3
  import { SideBySideEditorInput, AbstractSideBySideEditorInputSerializer } from './sideBySideEditorInput.js';
4
4
  import { Verbosity, BINARY_DIFF_EDITOR_ID, TEXT_DIFF_EDITOR_ID, isResourceDiffEditorInput, EditorInputCapabilities } from '../editor.js';
5
5
  import { BaseTextEditorModel } from './textEditorModel.js';
@@ -9,7 +9,6 @@ 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";
13
12
  let DiffEditorInput = class DiffEditorInput extends SideBySideEditorInput {
14
13
  static { DiffEditorInput_1 = this; }
15
14
  static { this.ID = 'workbench.editors.diffEditorInput'; }
@@ -43,7 +42,7 @@ let DiffEditorInput = class DiffEditorInput extends SideBySideEditorInput {
43
42
  else {
44
43
  const originalName = this.original.getName();
45
44
  const modifiedName = this.modified.getName();
46
- name = ( localizeWithPath(_moduleId, 0, "{0} ↔ {1}", originalName, modifiedName));
45
+ name = ( localize(8674, "{0} ↔ {1}", originalName, modifiedName));
47
46
  forceDescription = originalName === modifiedName;
48
47
  }
49
48
  let shortDescription;
@@ -1,12 +1,11 @@
1
1
  import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
2
2
  import { Event } from '../../../base/common/event.js';
3
- import { localizeWithPath } from '../../../nls.js';
3
+ import { localize } from '../../../nls.js';
4
4
  import { Registry } from '../../../platform/registry/common/platform.js';
5
5
  import { EditorInputCapabilities, isResourceDiffEditorInput, isResourceMultiDiffEditorInput, isResourceSideBySideEditorInput, isResourceMergeEditorInput, isEditorInput, findViewStateForEditor, isResourceEditorInput, isDiffEditorInput, EditorExtensions } from '../editor.js';
6
6
  import { EditorInput } from './editorInput.js';
7
7
  import { IEditorService } from '../../services/editor/common/editorService.service.js';
8
8
  var SideBySideEditorInput_1;
9
- const _moduleId = "vs/workbench/common/editor/sideBySideEditorInput";
10
9
  let SideBySideEditorInput = class SideBySideEditorInput extends EditorInput {
11
10
  static { SideBySideEditorInput_1 = this; }
12
11
  static { this.ID = 'workbench.editorinputs.sidebysideEditorInput'; }
@@ -61,13 +60,7 @@ let SideBySideEditorInput = class SideBySideEditorInput extends EditorInput {
61
60
  if (this.hasIdenticalSides) {
62
61
  return this.primary.getName();
63
62
  }
64
- return ( localizeWithPath(
65
- _moduleId,
66
- 0,
67
- "{0} - {1}",
68
- this.secondary.getName(),
69
- this.primary.getName()
70
- ));
63
+ return ( localize(6229, "{0} - {1}", this.secondary.getName(), this.primary.getName()));
71
64
  }
72
65
  getPreferredName() {
73
66
  return this.preferredName;
@@ -9,9 +9,8 @@ import { LanguageDetectionLanguageEventSource } from '../../services/languageDet
9
9
  import { ILanguageDetectionService } from '../../services/languageDetection/common/languageDetectionWorkerService.service.js';
10
10
  import { ThrottledDelayer } from '../../../base/common/async.js';
11
11
  import { IAccessibilityService } from '../../../platform/accessibility/common/accessibility.service.js';
12
- import { localizeWithPath } from '../../../nls.js';
12
+ import { localize } from '../../../nls.js';
13
13
  var BaseTextEditorModel_1;
14
- const _moduleId = "vs/workbench/common/editor/textEditorModel";
15
14
  let BaseTextEditorModel = class BaseTextEditorModel extends EditorModel {
16
15
  static { BaseTextEditorModel_1 = this; }
17
16
  static { this.AUTO_DETECT_LANGUAGE_THROTTLE_DELAY = 600; }
@@ -92,9 +91,8 @@ let BaseTextEditorModel = class BaseTextEditorModel extends EditorModel {
92
91
  if (lang && lang !== prevLang && !this.isDisposed()) {
93
92
  this.setLanguageIdInternal(lang, LanguageDetectionLanguageEventSource);
94
93
  const languageName = this.languageService.getLanguageName(lang);
95
- this.accessibilityService.alert(( localizeWithPath(
96
- _moduleId,
97
- 0,
94
+ this.accessibilityService.alert(( localize(
95
+ 9822,
98
96
  "Language {0} was automatically detected and set as the language mode.",
99
97
  languageName ?? lang
100
98
  )));
@@ -343,12 +343,15 @@ interface IResourceMultiDiffEditorInput extends IBaseUntypedEditorInput {
343
343
  * The list of resources to compare.
344
344
  * If not set, the resources are dynamically derived from the {@link multiDiffSource}.
345
345
  */
346
- readonly resources?: IResourceDiffEditorInput[];
346
+ readonly resources?: IMultiDiffEditorResource[];
347
347
  /**
348
348
  * Whether the editor should be serialized and stored for subsequent sessions.
349
349
  */
350
350
  readonly isTransient?: boolean;
351
351
  }
352
+ interface IMultiDiffEditorResource extends IResourceDiffEditorInput {
353
+ readonly goToFileResource?: URI;
354
+ }
352
355
  type IResourceMergeEditorInputSide = (IResourceEditorInput | ITextResourceEditorInput) & {
353
356
  detail?: string;
354
357
  };
@@ -796,4 +799,4 @@ interface IToolbarActions {
796
799
  readonly secondary: IAction[];
797
800
  }
798
801
 
799
- export { AbstractEditorInput, CloseDirection, EditorCloseContext, EditorInputCapabilities, type EditorInputWithOptions, type EditorInputWithOptionsAndGroup, type EditorInputWithPreferredResource, EditorPaneSelectionChangeReason, EditorPaneSelectionCompareResult, EditorsOrder, type GroupIdentifier, GroupModelChangeKind, type IActiveEditorChangeEvent, type IEditorCloseEvent, type IEditorControl, type IEditorDescriptor, type IEditorIdentifier, type IEditorMemento, type IEditorOpenContext, type IEditorPane, type IEditorPaneScrollPosition, type IEditorPaneSelection, type IEditorPaneSelectionChangeEvent, type IEditorPartOptions, type IEditorPartOptionsChangeEvent, type IEditorSerializer, type IEditorWillMoveEvent, type IEditorWillOpenEvent, type IFileEditorInput, type IFileLimitedEditorInputOptions, type IFindEditorOptions, type IMatchEditorOptions, type IMoveResult, type IResourceDiffEditorInput, type IResourceMergeEditorInput, type IResourceMergeEditorInputSide, type IResourceMultiDiffEditorInput, type IResourceSideBySideEditorInput, type IRevertOptions, type ISaveOptions, type ITextDiffEditorPane, type IToolbarActions, type IUntitledTextResourceEditorInput, type IUntypedEditorInput, type IUntypedFileEditorInput, type IVisibleEditorPane, type PreventPinnedEditorClose, SaveReason, type SaveSource, SideBySideEditor, Verbosity };
802
+ export { AbstractEditorInput, CloseDirection, EditorCloseContext, EditorInputCapabilities, type EditorInputWithOptions, type EditorInputWithOptionsAndGroup, type EditorInputWithPreferredResource, EditorPaneSelectionChangeReason, EditorPaneSelectionCompareResult, EditorsOrder, type GroupIdentifier, GroupModelChangeKind, type IActiveEditorChangeEvent, type IEditorCloseEvent, type IEditorControl, type IEditorDescriptor, type IEditorIdentifier, type IEditorMemento, type IEditorOpenContext, type IEditorPane, type IEditorPaneScrollPosition, type IEditorPaneSelection, type IEditorPaneSelectionChangeEvent, type IEditorPartOptions, type IEditorPartOptionsChangeEvent, type IEditorSerializer, type IEditorWillMoveEvent, type IEditorWillOpenEvent, type IFileEditorInput, type IFileLimitedEditorInputOptions, type IFindEditorOptions, type IMatchEditorOptions, type IMoveResult, type IMultiDiffEditorResource, type IResourceDiffEditorInput, type IResourceMergeEditorInput, type IResourceMergeEditorInputSide, type IResourceMultiDiffEditorInput, type IResourceSideBySideEditorInput, type IRevertOptions, type ISaveOptions, type ITextDiffEditorPane, type IToolbarActions, type IUntitledTextResourceEditorInput, type IUntypedEditorInput, type IUntypedFileEditorInput, type IVisibleEditorPane, type PreventPinnedEditorClose, SaveReason, type SaveSource, SideBySideEditor, Verbosity };
@@ -1,4 +1,4 @@
1
- import { localizeWithPath } from '../../nls.js';
1
+ import { localize } from '../../nls.js';
2
2
  import { assertIsDefined } from '../../base/common/types.js';
3
3
  import { URI } from '../../base/common/uri.js';
4
4
  import { toDisposable, Disposable } from '../../base/common/lifecycle.js';
@@ -9,15 +9,14 @@ import { Schemas } from '../../base/common/network.js';
9
9
  import { isErrorWithActions, createErrorWithActions } from '../../base/common/errorMessage.js';
10
10
  import { toAction } from '../../base/common/actions.js';
11
11
  import Severity$1 from '../../base/common/severity.js';
12
- const _moduleId = "vs/workbench/common/editor";
13
12
  const EditorExtensions = {
14
13
  EditorPane: 'workbench.contributions.editors',
15
14
  EditorFactory: 'workbench.contributions.editor.inputFactories'
16
15
  };
17
16
  const DEFAULT_EDITOR_ASSOCIATION = {
18
17
  id: 'default',
19
- displayName: ( localizeWithPath(_moduleId, 0, "Text Editor")),
20
- providerDisplayName: ( localizeWithPath(_moduleId, 1, "Built-in"))
18
+ displayName: ( localize(563, "Text Editor")),
19
+ providerDisplayName: ( localize(564, "Built-in"))
21
20
  };
22
21
  const SIDE_BY_SIDE_EDITOR_ID = 'workbench.editor.sidebysideEditor';
23
22
  const TEXT_DIFF_EDITOR_ID = 'workbench.editors.textDiffEditor';
@@ -167,7 +166,7 @@ function isDiffEditorInput(editor) {
167
166
  function createTooLargeFileError(group, input, options, message, preferencesService) {
168
167
  return createEditorOpenError(message, [
169
168
  toAction({
170
- id: 'workbench.action.openLargeFile', label: ( localizeWithPath(_moduleId, 2, "Open Anyway")), run: () => {
169
+ id: 'workbench.action.openLargeFile', label: ( localize(565, "Open Anyway")), run: () => {
171
170
  const fileEditorOptions = {
172
171
  ...options,
173
172
  limits: {
@@ -178,7 +177,7 @@ function createTooLargeFileError(group, input, options, message, preferencesServ
178
177
  }
179
178
  }),
180
179
  toAction({
181
- id: 'workbench.action.configureEditorLargeFileConfirmation', label: ( localizeWithPath(_moduleId, 3, "Configure Limit")), run: () => {
180
+ id: 'workbench.action.configureEditorLargeFileConfirmation', label: ( localize(566, "Configure Limit")), run: () => {
182
181
  return preferencesService.openUserSettings({ query: 'workbench.editorLargeFileConfirmation' });
183
182
  }
184
183
  }),