@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,6 +1,6 @@
1
1
  import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
2
2
  import './media/extensionActions.css.js';
3
- import { localizeWithPath, localize2WithPath } from '../../../../nls.js';
3
+ import { localize, localize2 } from '../../../../nls.js';
4
4
  import { Action, SubmenuAction, Separator } from '../../../../base/common/actions.js';
5
5
  import { Throttler, Delayer, Promises } from '../../../../base/common/async.js';
6
6
  import { getDomNodePagePosition } from '../../../../base/browser/dom.js';
@@ -8,13 +8,13 @@ import { Emitter, Event } from '../../../../base/common/event.js';
8
8
  import { parse, parseTree, findNodeAtLocation } from '../../../../base/common/json.js';
9
9
  import { IContextMenuService } from '../../../../platform/contextview/browser/contextView.service.js';
10
10
  import { disposeIfDisposable } from '../../../../base/common/lifecycle.js';
11
- import { ExtensionState, AutoUpdateConfigurationKey, INSTALL_ACTIONS_GROUP, UPDATE_ACTIONS_GROUP, THEME_ACTIONS_GROUP, ExtensionRuntimeActionType, VIEWLET_ID, ExtensionEditorTab, TOGGLE_IGNORE_EXTENSION_ACTION_ID, SELECT_INSTALL_VSIX_EXTENSION_COMMAND_ID } from '../common/extensions.js';
11
+ import { ExtensionState, ExtensionEditorTab, AutoUpdateConfigurationKey, INSTALL_ACTIONS_GROUP, UPDATE_ACTIONS_GROUP, THEME_ACTIONS_GROUP, ExtensionRuntimeActionType, VIEWLET_ID, TOGGLE_IGNORE_EXTENSION_ACTION_ID, SELECT_INSTALL_VSIX_EXTENSION_COMMAND_ID } from '../common/extensions.js';
12
12
  import { IExtensionsWorkbenchService } from '../common/extensions.service.js';
13
13
  import { ExtensionsConfigurationInitialContent } from '../common/extensionsFileTemplate.js';
14
14
  import { InstallOperation, ExtensionManagementErrorCode, TargetPlatformToString } from '../../../../platform/extensionManagement/common/extensionManagement.js';
15
15
  import { IExtensionGalleryService } from '../../../../platform/extensionManagement/common/extensionManagement.service.js';
16
16
  import { EnablementState } from '../../../services/extensionManagement/common/extensionManagement.js';
17
- import { IExtensionManagementServerService, IWorkbenchExtensionManagementService, IWorkbenchExtensionEnablementService } from '../../../services/extensionManagement/common/extensionManagement.service.js';
17
+ import { IWorkbenchExtensionEnablementService, IExtensionManagementServerService, IWorkbenchExtensionManagementService } from '../../../services/extensionManagement/common/extensionManagement.service.js';
18
18
  import { ExtensionRecommendationReason } from '../../../services/extensionRecommendations/common/extensionRecommendations.js';
19
19
  import { IExtensionRecommendationsService, IExtensionIgnoredRecommendationsService } from '../../../services/extensionRecommendations/common/extensionRecommendations.service.js';
20
20
  import { areSameExtensions, getExtensionId } from '../../../../platform/extensionManagement/common/extensionManagementUtil.js';
@@ -65,7 +65,7 @@ import { ProgressLocation } from '../../../../platform/progress/common/progress.
65
65
  import { IProgressService } from '../../../../platform/progress/common/progress.service.js';
66
66
  import { ActionViewItem } from '../../../../base/browser/ui/actionbar/actionViewItems.js';
67
67
  import { EXTENSIONS_CONFIG } from '../../../services/extensionRecommendations/common/workspaceExtensionsConfig.js';
68
- import { getErrorMessage, isCancellationError } from '../../../../base/common/errors.js';
68
+ import { isCancellationError, getErrorMessage } from '../../../../base/common/errors.js';
69
69
  import { IUserDataSyncEnablementService } from '../../../../platform/userDataSync/common/userDataSync.service.js';
70
70
  import { ILogService } from '../../../../platform/log/common/log.service.js';
71
71
  import { manageExtensionIcon, syncIgnoredIcon, syncEnabledIcon, warningIcon, infoIcon, trustIcon, errorIcon } from './extensionsIcons.js';
@@ -89,8 +89,7 @@ import { Registry } from '../../../../platform/registry/common/platform.js';
89
89
  import { IUpdateService } from '../../../../platform/update/common/update.service.js';
90
90
  import { ActionWithDropdownActionViewItem } from '../../../../base/browser/ui/dropdown/dropdownActionViewItem.js';
91
91
  import Severity$1 from '../../../../base/common/severity.js';
92
- var InstallAction_1, InstallInOtherServerAction_1, UninstallAction_1, ToggleAutoUpdateForExtensionAction_1, ToggleAutoUpdatesForPublisherAction_1, MigrateDeprecatedExtensionAction_1, ManageExtensionAction_1, TogglePreReleaseExtensionAction_1, InstallAnotherVersionAction_1, EnableForWorkspaceAction_1, EnableGloballyAction_1, DisableForWorkspaceAction_1, DisableGloballyAction_1, ExtensionRuntimeStateAction_1, SetColorThemeAction_1, SetFileIconThemeAction_1, SetProductIconThemeAction_1, SetLanguageAction_1, ClearLanguageAction_1, ShowRecommendedExtensionAction_1, InstallRecommendedExtensionAction_1, IgnoreExtensionRecommendationAction_1, UndoIgnoreExtensionRecommendationAction_1, ExtensionStatusLabelAction_1, ToggleSyncExtensionAction_1, ExtensionStatusAction_1, ReinstallAction_1, InstallSpecificVersionOfExtensionAction_1;
93
- const _moduleId = "vs/workbench/contrib/extensions/browser/extensionsActions";
92
+ var InstallAction_1, InstallInOtherServerAction_1, UninstallAction_1, UpdateAction_1, ToggleAutoUpdateForExtensionAction_1, ToggleAutoUpdatesForPublisherAction_1, MigrateDeprecatedExtensionAction_1, ManageExtensionAction_1, TogglePreReleaseExtensionAction_1, InstallAnotherVersionAction_1, EnableForWorkspaceAction_1, EnableGloballyAction_1, DisableForWorkspaceAction_1, DisableGloballyAction_1, ExtensionRuntimeStateAction_1, SetColorThemeAction_1, SetFileIconThemeAction_1, SetProductIconThemeAction_1, SetLanguageAction_1, ClearLanguageAction_1, ShowRecommendedExtensionAction_1, InstallRecommendedExtensionAction_1, IgnoreExtensionRecommendationAction_1, UndoIgnoreExtensionRecommendationAction_1, ExtensionStatusLabelAction_1, ToggleSyncExtensionAction_1, ExtensionStatusAction_1, ReinstallAction_1, InstallSpecificVersionOfExtensionAction_1;
94
93
  let PromptExtensionInstallFailureAction = class PromptExtensionInstallFailureAction extends Action {
95
94
  constructor(extension, version, installOperation, error, productService, openerService, notificationService, dialogService, commandService, logService, extensionManagementServerService, instantiationService, galleryService, extensionManifestPropertiesService) {
96
95
  super('extension.promptExtensionInstallFailure');
@@ -115,10 +114,9 @@ let PromptExtensionInstallFailureAction = class PromptExtensionInstallFailureAct
115
114
  }
116
115
  this.logService.error(this.error);
117
116
  if (this.error.name === ExtensionManagementErrorCode.Unsupported) {
118
- const productName = isWeb ? ( localizeWithPath(_moduleId, 0, "{0} for the Web", this.productService.nameLong)) : this.productService.nameLong;
119
- const message = ( localizeWithPath(
120
- _moduleId,
121
- 1,
117
+ const productName = isWeb ? ( localize(7631, "{0} for the Web", this.productService.nameLong)) : this.productService.nameLong;
118
+ const message = ( localize(
119
+ 7632,
122
120
  "The '{0}' extension is not available in {1}. Click 'More Information' to learn more.",
123
121
  this.extension.displayName || this.extension.identifier.id,
124
122
  productName
@@ -126,8 +124,8 @@ let PromptExtensionInstallFailureAction = class PromptExtensionInstallFailureAct
126
124
  const { confirmed } = await this.dialogService.confirm({
127
125
  type: Severity$1.Info,
128
126
  message,
129
- primaryButton: ( localizeWithPath(_moduleId, 2, "&&More Information")),
130
- cancelButton: ( localizeWithPath(_moduleId, 3, "Close"))
127
+ primaryButton: ( localize(7633, "&&More Information")),
128
+ cancelButton: ( localize(7634, "Close"))
131
129
  });
132
130
  if (confirmed) {
133
131
  this.openerService.open(isWeb ? ( (URI.parse('https://aka.ms/vscode-web-extensions-guide'))) : ( (URI.parse('https://aka.ms/vscode-remote'))));
@@ -139,14 +137,14 @@ let PromptExtensionInstallFailureAction = class PromptExtensionInstallFailureAct
139
137
  type: 'error',
140
138
  message: getErrorMessage(this.error),
141
139
  buttons: [{
142
- label: ( localizeWithPath(_moduleId, 4, "Install Pre-Release")),
140
+ label: ( localize(7635, "Install Pre-Release")),
143
141
  run: () => {
144
142
  const installAction = this.instantiationService.createInstance(InstallAction, { installPreReleaseVersion: true });
145
143
  installAction.extension = this.extension;
146
144
  return installAction.run();
147
145
  }
148
146
  }],
149
- cancelButton: ( localizeWithPath(_moduleId, 5, "Cancel"))
147
+ cancelButton: ( localize(7636, "Cancel"))
150
148
  });
151
149
  return;
152
150
  }
@@ -157,34 +155,31 @@ let PromptExtensionInstallFailureAction = class PromptExtensionInstallFailureAct
157
155
  if (ExtensionManagementErrorCode.Signature === this.error.name) {
158
156
  await this.dialogService.prompt({
159
157
  type: 'error',
160
- message: ( localizeWithPath(
161
- _moduleId,
162
- 6,
158
+ message: ( localize(
159
+ 7637,
163
160
  "{0} cannot verify the '{1}' extension. Are you sure you want to install it?",
164
161
  this.productService.nameLong,
165
162
  this.extension.displayName || this.extension.identifier.id
166
163
  )),
167
164
  buttons: [{
168
- label: ( localizeWithPath(_moduleId, 7, "Install Anyway")),
165
+ label: ( localize(7638, "Install Anyway")),
169
166
  run: () => {
170
167
  const installAction = this.instantiationService.createInstance(InstallAction, { donotVerifySignature: true });
171
168
  installAction.extension = this.extension;
172
169
  return installAction.run();
173
170
  }
174
171
  }],
175
- cancelButton: ( localizeWithPath(_moduleId, 5, "Cancel"))
172
+ cancelButton: ( localize(7638, "Cancel"))
176
173
  });
177
174
  return;
178
175
  }
179
- const operationMessage = this.installOperation === InstallOperation.Update ? ( localizeWithPath(
180
- _moduleId,
181
- 8,
176
+ const operationMessage = this.installOperation === InstallOperation.Update ? ( localize(
177
+ 7639,
182
178
  "Error while updating '{0}' extension.",
183
179
  this.extension.displayName || this.extension.identifier.id
184
180
  ))
185
- : ( localizeWithPath(
186
- _moduleId,
187
- 9,
181
+ : ( localize(
182
+ 7640,
188
183
  "Error while installing '{0}' extension.",
189
184
  this.extension.displayName || this.extension.identifier.id
190
185
  ));
@@ -192,22 +187,20 @@ let PromptExtensionInstallFailureAction = class PromptExtensionInstallFailureAct
192
187
  const promptChoices = [];
193
188
  const downloadUrl = await this.getDownloadUrl();
194
189
  if (downloadUrl) {
195
- additionalMessage = ( localizeWithPath(
196
- _moduleId,
197
- 10,
190
+ additionalMessage = ( localize(
191
+ 7641,
198
192
  "Please check the [log]({0}) for more details.",
199
193
  `command:${showWindowLogActionId}`
200
194
  ));
201
195
  promptChoices.push({
202
- label: ( localizeWithPath(_moduleId, 11, "Try Downloading Manually...")),
196
+ label: ( localize(7642, "Try Downloading Manually...")),
203
197
  run: () => this.openerService.open(downloadUrl).then(() => {
204
- this.notificationService.prompt(Severity$1.Info, ( localizeWithPath(
205
- _moduleId,
206
- 12,
198
+ this.notificationService.prompt(Severity$1.Info, ( localize(
199
+ 7643,
207
200
  'Once downloaded, please manually install the downloaded VSIX of \'{0}\'.',
208
201
  this.extension.identifier.id
209
202
  )), [{
210
- label: ( localizeWithPath(_moduleId, 13, "Install from VSIX...")),
203
+ label: ( localize(7644, "Install from VSIX...")),
211
204
  run: () => this.commandService.executeCommand(SELECT_INSTALL_VSIX_EXTENSION_COMMAND_ID)
212
205
  }]);
213
206
  })
@@ -376,14 +369,14 @@ class ButtonWithDropdownExtensionActionViewItem extends ActionWithDropdownAction
376
369
  }
377
370
  let InstallAction = class InstallAction extends ExtensionAction {
378
371
  static { InstallAction_1 = this; }
379
- static { this.CLASS = `${ExtensionAction.LABEL_ACTION_CLASS} prominent install`; }
380
- static { this.HIDE = `${InstallAction_1.CLASS} hide`; }
372
+ static { this.CLASS = `${this.LABEL_ACTION_CLASS} prominent install`; }
373
+ static { this.HIDE = `${this.CLASS} hide`; }
381
374
  set manifest(manifest) {
382
375
  this._manifest = manifest;
383
376
  this.updateLabel();
384
377
  }
385
378
  constructor(options, extensionsWorkbenchService, instantiationService, runtimeExtensionService, workbenchThemeService, labelService, dialogService, preferencesService, telemetryService, contextService) {
386
- super('extensions.install', ( localizeWithPath(_moduleId, 14, "Install")), InstallAction_1.CLASS, false);
379
+ super('extensions.install', ( localize(7645, "Install")), InstallAction_1.CLASS, false);
387
380
  this.extensionsWorkbenchService = extensionsWorkbenchService;
388
381
  this.instantiationService = instantiationService;
389
382
  this.runtimeExtensionService = runtimeExtensionService;
@@ -437,11 +430,7 @@ let InstallAction = class InstallAction extends ExtensionAction {
437
430
  return;
438
431
  }
439
432
  if (this.extension.deprecationInfo) {
440
- let detail = ( localizeWithPath(
441
- _moduleId,
442
- 15,
443
- "This extension is deprecated as it is no longer being maintained."
444
- ));
433
+ let detail = ( localize(7646, "This extension is deprecated as it is no longer being maintained."));
445
434
  let DeprecationChoice;
446
435
  ( ((function(DeprecationChoice) {
447
436
  DeprecationChoice[DeprecationChoice["InstallAnyway"] = 0] = "InstallAnyway";
@@ -451,25 +440,19 @@ let InstallAction = class InstallAction extends ExtensionAction {
451
440
  })(DeprecationChoice || (DeprecationChoice = {}))));
452
441
  const buttons = [
453
442
  {
454
- label: ( localizeWithPath(_moduleId, 7, "Install Anyway")),
443
+ label: ( localize(7646, "Install Anyway")),
455
444
  run: () => DeprecationChoice.InstallAnyway
456
445
  }
457
446
  ];
458
447
  if (this.extension.deprecationInfo.extension) {
459
- detail = ( localizeWithPath(
460
- _moduleId,
461
- 16,
448
+ detail = ( localize(
449
+ 7647,
462
450
  "This extension is deprecated. Use the {0} extension instead.",
463
451
  this.extension.deprecationInfo.extension.displayName
464
452
  ));
465
453
  const alternateExtension = this.extension.deprecationInfo.extension;
466
454
  buttons.push({
467
- label: ( localizeWithPath(
468
- _moduleId,
469
- 17,
470
- "&&Open {0}",
471
- this.extension.deprecationInfo.extension.displayName
472
- )),
455
+ label: ( localize(7648, "&&Open {0}", this.extension.deprecationInfo.extension.displayName)),
473
456
  run: async () => {
474
457
  const [extension] = await this.extensionsWorkbenchService.getExtensions([{ id: alternateExtension.id, preRelease: alternateExtension.preRelease }], CancellationToken.None);
475
458
  await this.extensionsWorkbenchService.open(extension);
@@ -478,14 +461,13 @@ let InstallAction = class InstallAction extends ExtensionAction {
478
461
  });
479
462
  }
480
463
  else if (this.extension.deprecationInfo.settings) {
481
- detail = ( localizeWithPath(
482
- _moduleId,
483
- 18,
464
+ detail = ( localize(
465
+ 7649,
484
466
  "This extension is deprecated as this functionality is now built-in to VS Code."
485
467
  ));
486
468
  const settings = this.extension.deprecationInfo.settings;
487
469
  buttons.push({
488
- label: ( localizeWithPath(_moduleId, 19, "&&Configure Settings")),
470
+ label: ( localize(7650, "&&Configure Settings")),
489
471
  run: async () => {
490
472
  await this.preferencesService.openSettings({ query: ( (settings.map(setting => `@id:${setting}`))).join(' ') });
491
473
  return DeprecationChoice.ConfigureSettings;
@@ -497,9 +479,8 @@ let InstallAction = class InstallAction extends ExtensionAction {
497
479
  }
498
480
  const { result } = await this.dialogService.prompt({
499
481
  type: Severity$1.Warning,
500
- message: ( localizeWithPath(
501
- _moduleId,
502
- 20,
482
+ message: ( localize(
483
+ 7651,
503
484
  "Are you sure you want to install '{0}'?",
504
485
  this.extension.displayName
505
486
  )),
@@ -519,21 +500,15 @@ let InstallAction = class InstallAction extends ExtensionAction {
519
500
  }
520
501
  }
521
502
  this.extensionsWorkbenchService.open(this.extension, { showPreReleaseVersion: this.options.installPreReleaseVersion });
522
- alert(( localizeWithPath(
523
- _moduleId,
524
- 21,
503
+ alert(( localize(
504
+ 7652,
525
505
  "Installing extension {0} started. An editor is now open with more details on this extension",
526
506
  this.extension.displayName
527
507
  )));
528
508
  this.telemetryService.publicLog('extensions:action:install', { ...this.extension.telemetryData, actionId: this.id });
529
509
  const extension = await this.install(this.extension);
530
510
  if (extension?.local) {
531
- alert(( localizeWithPath(
532
- _moduleId,
533
- 22,
534
- "Installing extension {0} is completed.",
535
- this.extension.displayName
536
- )));
511
+ alert(( localize(7653, "Installing extension {0} is completed.", this.extension.displayName)));
537
512
  const runningExtension = await this.getRunningExtension(extension.local);
538
513
  if (runningExtension && !(runningExtension.activationEvents && ( (runningExtension.activationEvents.some(activationEent => activationEent.startsWith('onLanguage')))))) {
539
514
  const action = await this.getThemeAction(extension);
@@ -598,15 +573,15 @@ let InstallAction = class InstallAction extends ExtensionAction {
598
573
  }
599
574
  getLabel(primary) {
600
575
  if (this.extension?.isWorkspaceScoped && this.extension.resourceExtension && this.contextService.isInsideWorkspace(this.extension.resourceExtension.location)) {
601
- return ( localizeWithPath(_moduleId, 23, "Install Workspace Extension"));
576
+ return ( localize(7654, "Install Workspace Extension"));
602
577
  }
603
578
  if (this.options.installPreReleaseVersion && this.extension?.hasPreReleaseVersion) {
604
- return primary ? ( localizeWithPath(_moduleId, 24, "Install Pre-Release")) : ( localizeWithPath(_moduleId, 25, "Install Pre-Release Version"));
579
+ return primary ? ( localize(7655, "Install Pre-Release")) : ( localize(7656, "Install Pre-Release Version"));
605
580
  }
606
581
  if (this.extension?.hasPreReleaseVersion) {
607
- return primary ? ( localizeWithPath(_moduleId, 14, "Install")) : ( localizeWithPath(_moduleId, 26, "Install Release Version"));
582
+ return primary ? ( localize(7656, "Install")) : ( localize(7657, "Install Release Version"));
608
583
  }
609
- return ( localizeWithPath(_moduleId, 14, "Install"));
584
+ return ( localize(7657, "Install"));
610
585
  }
611
586
  };
612
587
  InstallAction = InstallAction_1 = ( (__decorate([
@@ -642,7 +617,7 @@ InstallDropdownAction = ( (__decorate([
642
617
  ( (__param(1, IExtensionsWorkbenchService)))
643
618
  ], InstallDropdownAction)));
644
619
  class InstallingLabelAction extends ExtensionAction {
645
- static { this.LABEL = ( localizeWithPath(_moduleId, 27, "Installing")); }
620
+ static { this.LABEL = ( localize(7658, "Installing")); }
646
621
  static { this.CLASS = `${ExtensionAction.LABEL_ACTION_CLASS} install installing`; }
647
622
  constructor() {
648
623
  super('extension.installing', InstallingLabelAction.LABEL, InstallingLabelAction.CLASS, false);
@@ -653,8 +628,8 @@ class InstallingLabelAction extends ExtensionAction {
653
628
  }
654
629
  let InstallInOtherServerAction = class InstallInOtherServerAction extends ExtensionAction {
655
630
  static { InstallInOtherServerAction_1 = this; }
656
- static { this.INSTALL_LABEL = ( localizeWithPath(_moduleId, 14, "Install")); }
657
- static { this.INSTALLING_LABEL = ( localizeWithPath(_moduleId, 27, "Installing")); }
631
+ static { this.INSTALL_LABEL = ( localize(7658, "Install")); }
632
+ static { this.INSTALLING_LABEL = ( localize(7658, "Installing")); }
658
633
  static { this.Class = `${ExtensionAction.LABEL_ACTION_CLASS} prominent install-other-server`; }
659
634
  static { this.InstallingClass = `${ExtensionAction.LABEL_ACTION_CLASS} install-other-server installing`; }
660
635
  constructor(id, server, canInstallAnyWhere, extensionsWorkbenchService, extensionManagementServerService, extensionManifestPropertiesService) {
@@ -727,9 +702,8 @@ let InstallInOtherServerAction = class InstallInOtherServerAction extends Extens
727
702
  return;
728
703
  }
729
704
  this.extensionsWorkbenchService.open(this.extension);
730
- alert(( localizeWithPath(
731
- _moduleId,
732
- 21,
705
+ alert(( localize(
706
+ 7658,
733
707
  "Installing extension {0} started. An editor is now open with more details on this extension",
734
708
  this.extension.displayName
735
709
  )));
@@ -747,9 +721,8 @@ let RemoteInstallAction = class RemoteInstallAction extends InstallInOtherServer
747
721
  }
748
722
  getInstallLabel() {
749
723
  return this.extensionManagementServerService.remoteExtensionManagementServer
750
- ? ( localizeWithPath(
751
- _moduleId,
752
- 28,
724
+ ? ( localize(
725
+ 7659,
753
726
  "Install in {0}",
754
727
  this.extensionManagementServerService.remoteExtensionManagementServer.label
755
728
  ))
@@ -766,7 +739,7 @@ let LocalInstallAction = class LocalInstallAction extends InstallInOtherServerAc
766
739
  super(`extensions.localinstall`, extensionManagementServerService.localExtensionManagementServer, false, extensionsWorkbenchService, extensionManagementServerService, extensionManifestPropertiesService);
767
740
  }
768
741
  getInstallLabel() {
769
- return ( localizeWithPath(_moduleId, 29, "Install Locally"));
742
+ return ( localize(7660, "Install Locally"));
770
743
  }
771
744
  };
772
745
  LocalInstallAction = ( (__decorate([
@@ -779,7 +752,7 @@ let WebInstallAction = class WebInstallAction extends InstallInOtherServerAction
779
752
  super(`extensions.webInstall`, extensionManagementServerService.webExtensionManagementServer, false, extensionsWorkbenchService, extensionManagementServerService, extensionManifestPropertiesService);
780
753
  }
781
754
  getInstallLabel() {
782
- return ( localizeWithPath(_moduleId, 30, "Install in Browser"));
755
+ return ( localize(7661, "Install in Browser"));
783
756
  }
784
757
  };
785
758
  WebInstallAction = ( (__decorate([
@@ -789,8 +762,8 @@ WebInstallAction = ( (__decorate([
789
762
  ], WebInstallAction)));
790
763
  let UninstallAction = class UninstallAction extends ExtensionAction {
791
764
  static { UninstallAction_1 = this; }
792
- static { this.UninstallLabel = ( localizeWithPath(_moduleId, 31, "Uninstall")); }
793
- static { this.UninstallingLabel = ( localizeWithPath(_moduleId, 32, "Uninstalling")); }
765
+ static { this.UninstallLabel = ( localize(7662, "Uninstall")); }
766
+ static { this.UninstallingLabel = ( localize(7663, "Uninstalling")); }
794
767
  static { this.UninstallClass = `${ExtensionAction.LABEL_ACTION_CLASS} uninstall`; }
795
768
  static { this.UnInstallingClass = `${ExtensionAction.LABEL_ACTION_CLASS} uninstall uninstalling`; }
796
769
  constructor(extensionsWorkbenchService, dialogService) {
@@ -828,23 +801,19 @@ let UninstallAction = class UninstallAction extends ExtensionAction {
828
801
  if (!this.extension) {
829
802
  return;
830
803
  }
831
- alert(( localizeWithPath(
832
- _moduleId,
833
- 33,
834
- "Uninstalling extension {0} started.",
835
- this.extension.displayName
836
- )));
804
+ alert(( localize(7664, "Uninstalling extension {0} started.", this.extension.displayName)));
837
805
  try {
838
806
  await this.extensionsWorkbenchService.uninstall(this.extension);
839
- alert(( localizeWithPath(
840
- _moduleId,
841
- 34,
807
+ alert(( localize(
808
+ 7665,
842
809
  "Please reload Visual Studio Code to complete the uninstallation of the extension {0}.",
843
810
  this.extension.displayName
844
811
  )));
845
812
  }
846
813
  catch (error) {
847
- this.dialogService.error(getErrorMessage(error));
814
+ if (!isCancellationError(error)) {
815
+ this.dialogService.error(getErrorMessage(error));
816
+ }
848
817
  }
849
818
  }
850
819
  };
@@ -852,21 +821,29 @@ UninstallAction = UninstallAction_1 = ( (__decorate([
852
821
  ( (__param(0, IExtensionsWorkbenchService))),
853
822
  ( (__param(1, IDialogService)))
854
823
  ], UninstallAction)));
855
- class AbstractUpdateAction extends ExtensionAction {
856
- static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} prominent update`; }
857
- static { this.DisabledClass = `${AbstractUpdateAction.EnabledClass} disabled`; }
858
- constructor(id, label, extensionsWorkbenchService) {
859
- super(id, label, AbstractUpdateAction.DisabledClass, false);
824
+ let UpdateAction = class UpdateAction extends ExtensionAction {
825
+ static { UpdateAction_1 = this; }
826
+ static { this.EnabledClass = `${this.LABEL_ACTION_CLASS} prominent update`; }
827
+ static { this.DisabledClass = `${this.EnabledClass} disabled`; }
828
+ constructor(verbose, extensionsWorkbenchService, dialogService, openerService, instantiationService) {
829
+ super(`extensions.update`, ( localize(7666, "Update")), UpdateAction_1.DisabledClass, false);
830
+ this.verbose = verbose;
860
831
  this.extensionsWorkbenchService = extensionsWorkbenchService;
832
+ this.dialogService = dialogService;
833
+ this.openerService = openerService;
834
+ this.instantiationService = instantiationService;
861
835
  this.updateThrottler = ( (new Throttler()));
862
836
  this.update();
863
837
  }
864
838
  update() {
865
839
  this.updateThrottler.queue(() => this.computeAndUpdateEnablement());
840
+ if (this.extension) {
841
+ this.label = this.verbose ? ( localize(7667, "Update to v{0}", this.extension.latestVersion)) : ( localize(7667, "Update"));
842
+ }
866
843
  }
867
844
  async computeAndUpdateEnablement() {
868
845
  this.enabled = false;
869
- this.class = UpdateAction.DisabledClass;
846
+ this.class = UpdateAction_1.DisabledClass;
870
847
  if (!this.extension) {
871
848
  return;
872
849
  }
@@ -876,28 +853,44 @@ class AbstractUpdateAction extends ExtensionAction {
876
853
  const canInstall = await this.extensionsWorkbenchService.canInstall(this.extension);
877
854
  const isInstalled = this.extension.state === ExtensionState.Installed;
878
855
  this.enabled = canInstall && isInstalled && this.extension.outdated;
879
- this.class = this.enabled ? AbstractUpdateAction.EnabledClass : AbstractUpdateAction.DisabledClass;
880
- }
881
- }
882
- let UpdateAction = class UpdateAction extends AbstractUpdateAction {
883
- constructor(verbose, extensionsWorkbenchService, instantiationService) {
884
- super(`extensions.update`, ( localizeWithPath(_moduleId, 35, "Update")), extensionsWorkbenchService);
885
- this.verbose = verbose;
886
- this.instantiationService = instantiationService;
887
- }
888
- update() {
889
- super.update();
890
- if (this.extension) {
891
- this.label = this.verbose ? ( localizeWithPath(_moduleId, 36, "Update to v{0}", this.extension.latestVersion)) : ( localizeWithPath(_moduleId, 35, "Update"));
892
- }
856
+ this.class = this.enabled ? UpdateAction_1.EnabledClass : UpdateAction_1.DisabledClass;
893
857
  }
894
858
  async run() {
895
859
  if (!this.extension) {
896
860
  return;
897
861
  }
898
- alert(( localizeWithPath(
899
- _moduleId,
900
- 37,
862
+ const consent = await this.extensionsWorkbenchService.shouldRequireConsentToUpdate(this.extension);
863
+ if (consent) {
864
+ const { result } = await this.dialogService.prompt({
865
+ type: 'warning',
866
+ title: ( localize(7668, "Update {0} Extension", this.extension.displayName)),
867
+ message: ( localize(7669, "{0}\n\nWould you like to update the extension?", consent)),
868
+ buttons: [{
869
+ label: ( localize(7669, "Update")),
870
+ run: () => 'update'
871
+ }, {
872
+ label: ( localize(7670, "Review")),
873
+ run: () => 'review'
874
+ }, {
875
+ label: ( localize(7670, "Cancel")),
876
+ run: () => 'cancel'
877
+ }]
878
+ });
879
+ if (result === 'cancel') {
880
+ return;
881
+ }
882
+ if (result === 'review') {
883
+ if (this.extension.hasChangelog()) {
884
+ return this.extensionsWorkbenchService.open(this.extension, { tab: ExtensionEditorTab.Changelog });
885
+ }
886
+ if (this.extension.repository) {
887
+ return this.openerService.open(this.extension.repository);
888
+ }
889
+ return this.extensionsWorkbenchService.open(this.extension);
890
+ }
891
+ }
892
+ alert(( localize(
893
+ 7671,
901
894
  "Updating extension {0} to version {1} started.",
902
895
  this.extension.displayName,
903
896
  this.extension.latestVersion
@@ -907,9 +900,8 @@ let UpdateAction = class UpdateAction extends AbstractUpdateAction {
907
900
  async install(extension) {
908
901
  try {
909
902
  await this.extensionsWorkbenchService.install(extension, extension.local?.preRelease ? { installPreReleaseVersion: true } : undefined);
910
- alert(( localizeWithPath(
911
- _moduleId,
912
- 38,
903
+ alert(( localize(
904
+ 7672,
913
905
  "Updating extension {0} to version {1} completed.",
914
906
  extension.displayName,
915
907
  extension.latestVersion
@@ -920,21 +912,22 @@ let UpdateAction = class UpdateAction extends AbstractUpdateAction {
920
912
  }
921
913
  }
922
914
  };
923
- UpdateAction = ( (__decorate([
915
+ UpdateAction = UpdateAction_1 = ( (__decorate([
924
916
  ( (__param(1, IExtensionsWorkbenchService))),
925
- ( (__param(2, IInstantiationService)))
917
+ ( (__param(2, IDialogService))),
918
+ ( (__param(3, IOpenerService))),
919
+ ( (__param(4, IInstantiationService)))
926
920
  ], UpdateAction)));
927
921
  let ToggleAutoUpdateForExtensionAction = class ToggleAutoUpdateForExtensionAction extends ExtensionAction {
928
922
  static { ToggleAutoUpdateForExtensionAction_1 = this; }
929
923
  static { this.ID = 'workbench.extensions.action.toggleAutoUpdateForExtension'; }
930
- static { this.LABEL = ( localize2WithPath(_moduleId, 39, "Auto Update")); }
924
+ static { this.LABEL = ( localize2(7673, "Auto Update")); }
931
925
  static { this.EnabledClass = `${ExtensionAction.EXTENSION_ACTION_CLASS} auto-update`; }
932
- static { this.DisabledClass = `${ToggleAutoUpdateForExtensionAction_1.EnabledClass} hide`; }
933
- constructor(enableWhenOutdated, enableWhenAutoUpdateValue, extensionsWorkbenchService, configurationService) {
926
+ static { this.DisabledClass = `${this.EnabledClass} hide`; }
927
+ constructor(extensionsWorkbenchService, extensionEnablementService, configurationService) {
934
928
  super(ToggleAutoUpdateForExtensionAction_1.ID, ToggleAutoUpdateForExtensionAction_1.LABEL.value, ToggleAutoUpdateForExtensionAction_1.DisabledClass);
935
- this.enableWhenOutdated = enableWhenOutdated;
936
- this.enableWhenAutoUpdateValue = enableWhenAutoUpdateValue;
937
929
  this.extensionsWorkbenchService = extensionsWorkbenchService;
930
+ this.extensionEnablementService = extensionEnablementService;
938
931
  this._register(configurationService.onDidChangeConfiguration(e => {
939
932
  if (e.affectsConfiguration(AutoUpdateConfigurationKey)) {
940
933
  this.update();
@@ -951,10 +944,10 @@ let ToggleAutoUpdateForExtensionAction = class ToggleAutoUpdateForExtensionActio
951
944
  if (this.extension.isBuiltin) {
952
945
  return;
953
946
  }
954
- if (this.enableWhenOutdated && (this.extension.state !== ExtensionState.Installed || !this.extension.outdated)) {
947
+ if (this.extension.deprecationInfo?.disallowInstall) {
955
948
  return;
956
949
  }
957
- if (!this.enableWhenAutoUpdateValue.includes(this.extensionsWorkbenchService.getAutoUpdateValue())) {
950
+ if (this.extensionsWorkbenchService.getAutoUpdateValue() === 'onlyEnabledExtensions' && !this.extensionEnablementService.isEnabledEnablementState(this.extension.enablementState)) {
958
951
  return;
959
952
  }
960
953
  this.enabled = true;
@@ -968,21 +961,22 @@ let ToggleAutoUpdateForExtensionAction = class ToggleAutoUpdateForExtensionActio
968
961
  const enableAutoUpdate = !this.extensionsWorkbenchService.isAutoUpdateEnabledFor(this.extension);
969
962
  await this.extensionsWorkbenchService.updateAutoUpdateEnablementFor(this.extension, enableAutoUpdate);
970
963
  if (enableAutoUpdate) {
971
- alert(( localizeWithPath(_moduleId, 40, "Enabled auto updates for", this.extension.displayName)));
964
+ alert(( localize(7674, "Enabled auto updates for", this.extension.displayName)));
972
965
  }
973
966
  else {
974
- alert(( localizeWithPath(_moduleId, 41, "Disabled auto updates for", this.extension.displayName)));
967
+ alert(( localize(7675, "Disabled auto updates for", this.extension.displayName)));
975
968
  }
976
969
  }
977
970
  };
978
971
  ToggleAutoUpdateForExtensionAction = ToggleAutoUpdateForExtensionAction_1 = ( (__decorate([
979
- ( (__param(2, IExtensionsWorkbenchService))),
980
- ( (__param(3, IConfigurationService)))
972
+ ( (__param(0, IExtensionsWorkbenchService))),
973
+ ( (__param(1, IWorkbenchExtensionEnablementService))),
974
+ ( (__param(2, IConfigurationService)))
981
975
  ], ToggleAutoUpdateForExtensionAction)));
982
976
  let ToggleAutoUpdatesForPublisherAction = class ToggleAutoUpdatesForPublisherAction extends ExtensionAction {
983
977
  static { ToggleAutoUpdatesForPublisherAction_1 = this; }
984
978
  static { this.ID = 'workbench.extensions.action.toggleAutoUpdatesForPublisher'; }
985
- static { this.LABEL = ( localizeWithPath(_moduleId, 42, "Auto Update All (From Publisher)")); }
979
+ static { this.LABEL = ( localize(7676, "Auto Update All (From Publisher)")); }
986
980
  constructor(extensionsWorkbenchService) {
987
981
  super(ToggleAutoUpdatesForPublisherAction_1.ID, ToggleAutoUpdatesForPublisherAction_1.LABEL);
988
982
  this.extensionsWorkbenchService = extensionsWorkbenchService;
@@ -992,19 +986,18 @@ let ToggleAutoUpdatesForPublisherAction = class ToggleAutoUpdatesForPublisherAct
992
986
  if (!this.extension) {
993
987
  return;
994
988
  }
995
- alert(( localizeWithPath(
996
- _moduleId,
997
- 43,
989
+ alert(( localize(
990
+ 7677,
998
991
  "Ignoring updates published by {0}.",
999
992
  this.extension.publisherDisplayName
1000
993
  )));
1001
994
  const enableAutoUpdate = !this.extensionsWorkbenchService.isAutoUpdateEnabledFor(this.extension.publisher);
1002
995
  await this.extensionsWorkbenchService.updateAutoUpdateEnablementFor(this.extension.publisher, enableAutoUpdate);
1003
996
  if (enableAutoUpdate) {
1004
- alert(( localizeWithPath(_moduleId, 40, "Enabled auto updates for", this.extension.displayName)));
997
+ alert(( localize(7677, "Enabled auto updates for", this.extension.displayName)));
1005
998
  }
1006
999
  else {
1007
- alert(( localizeWithPath(_moduleId, 41, "Disabled auto updates for", this.extension.displayName)));
1000
+ alert(( localize(7677, "Disabled auto updates for", this.extension.displayName)));
1008
1001
  }
1009
1002
  }
1010
1003
  };
@@ -1014,9 +1007,9 @@ ToggleAutoUpdatesForPublisherAction = ToggleAutoUpdatesForPublisherAction_1 = (
1014
1007
  let MigrateDeprecatedExtensionAction = class MigrateDeprecatedExtensionAction extends ExtensionAction {
1015
1008
  static { MigrateDeprecatedExtensionAction_1 = this; }
1016
1009
  static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} migrate`; }
1017
- static { this.DisabledClass = `${MigrateDeprecatedExtensionAction_1.EnabledClass} disabled`; }
1010
+ static { this.DisabledClass = `${this.EnabledClass} disabled`; }
1018
1011
  constructor(small, extensionsWorkbenchService) {
1019
- super('extensionsAction.migrateDeprecatedExtension', ( localizeWithPath(_moduleId, 44, "Migrate")), MigrateDeprecatedExtensionAction_1.DisabledClass, false);
1012
+ super('extensionsAction.migrateDeprecatedExtension', ( localize(7678, "Migrate")), MigrateDeprecatedExtensionAction_1.DisabledClass, false);
1020
1013
  this.small = small;
1021
1014
  this.extensionsWorkbenchService = extensionsWorkbenchService;
1022
1015
  this.update();
@@ -1039,13 +1032,12 @@ let MigrateDeprecatedExtensionAction = class MigrateDeprecatedExtensionAction ex
1039
1032
  }
1040
1033
  this.enabled = true;
1041
1034
  this.class = MigrateDeprecatedExtensionAction_1.EnabledClass;
1042
- this.tooltip = ( localizeWithPath(
1043
- _moduleId,
1044
- 45,
1035
+ this.tooltip = ( localize(
1036
+ 7679,
1045
1037
  "Migrate to {0}",
1046
1038
  this.extension.deprecationInfo.extension.displayName
1047
1039
  ));
1048
- this.label = this.small ? ( localizeWithPath(_moduleId, 46, "Migrate")) : this.tooltip;
1040
+ this.label = this.small ? ( localize(7680, "Migrate")) : this.tooltip;
1049
1041
  }
1050
1042
  async run() {
1051
1043
  if (!this.extension?.deprecationInfo?.extension) {
@@ -1112,6 +1104,7 @@ DropDownExtensionActionViewItem = ( (__decorate([
1112
1104
  async function getContextMenuActionsGroups(extension, contextKeyService, instantiationService) {
1113
1105
  return instantiationService.invokeFunction(async (accessor) => {
1114
1106
  const extensionsWorkbenchService = accessor.get(IExtensionsWorkbenchService);
1107
+ const extensionEnablementService = accessor.get(IWorkbenchExtensionEnablementService);
1115
1108
  const menuService = accessor.get(IMenuService);
1116
1109
  const extensionRecommendationsService = accessor.get(IExtensionRecommendationsService);
1117
1110
  const extensionIgnoredRecommendationsService = accessor.get(IExtensionIgnoredRecommendationsService);
@@ -1133,6 +1126,8 @@ async function getContextMenuActionsGroups(extension, contextKeyService, instant
1133
1126
  cksOverlay.push(['isExtensionRecommended', !!extensionRecommendationsService.getAllRecommendationsWithReason()[extension.identifier.id.toLowerCase()]]);
1134
1127
  cksOverlay.push(['isExtensionWorkspaceRecommended', extensionRecommendationsService.getAllRecommendationsWithReason()[extension.identifier.id.toLowerCase()]?.reasonId === ExtensionRecommendationReason.Workspace]);
1135
1128
  cksOverlay.push(['isUserIgnoredRecommendation', ( (extensionIgnoredRecommendationsService.globalIgnoredRecommendations.some(e => e === extension.identifier.id.toLowerCase())))]);
1129
+ cksOverlay.push(['isExtensionPinned', extension.pinned]);
1130
+ cksOverlay.push(['isExtensionEnabled', extensionEnablementService.isEnabledEnablementState(extension.enablementState)]);
1136
1131
  switch (extension.state) {
1137
1132
  case ExtensionState.Installing:
1138
1133
  cksOverlay.push(['extensionStatus', 'installing']);
@@ -1161,9 +1156,7 @@ async function getContextMenuActionsGroups(extension, contextKeyService, instant
1161
1156
  cksOverlay.push(['canSetLanguage', extensionsWorkbenchService.canSetLanguage(extension)]);
1162
1157
  cksOverlay.push(['isActiveLanguagePackExtension', extension.gallery && language === getLocale(extension.gallery)]);
1163
1158
  }
1164
- const menu = menuService.createMenu(MenuId.ExtensionContext, contextKeyService.createOverlay(cksOverlay));
1165
- const actionsGroups = menu.getActions({ shouldForwardArgs: true });
1166
- menu.dispose();
1159
+ const actionsGroups = menuService.getMenuActions(MenuId.ExtensionContext, contextKeyService.createOverlay(cksOverlay), { shouldForwardArgs: true });
1167
1160
  return actionsGroups;
1168
1161
  });
1169
1162
  }
@@ -1187,12 +1180,12 @@ let ManageExtensionAction = class ManageExtensionAction extends DropDownExtensio
1187
1180
  static { ManageExtensionAction_1 = this; }
1188
1181
  static { this.ID = 'extensions.manage'; }
1189
1182
  static { this.Class = `${ExtensionAction.ICON_ACTION_CLASS} manage ` + ThemeIcon.asClassName(manageExtensionIcon); }
1190
- static { this.HideManageExtensionClass = `${ManageExtensionAction_1.Class} hide`; }
1183
+ static { this.HideManageExtensionClass = `${this.Class} hide`; }
1191
1184
  constructor(instantiationService, extensionService, contextKeyService) {
1192
1185
  super(ManageExtensionAction_1.ID, '', '', true, instantiationService);
1193
1186
  this.extensionService = extensionService;
1194
1187
  this.contextKeyService = contextKeyService;
1195
- this.tooltip = ( localizeWithPath(_moduleId, 47, "Manage"));
1188
+ this.tooltip = ( localize(7681, "Manage"));
1196
1189
  this.update();
1197
1190
  }
1198
1191
  async getActionGroups() {
@@ -1263,7 +1256,7 @@ class ExtensionEditorManageExtensionAction extends DropDownExtensionAction {
1263
1256
  constructor(contextKeyService, instantiationService) {
1264
1257
  super('extensionEditor.manageExtension', '', `${ExtensionAction.ICON_ACTION_CLASS} manage ${ThemeIcon.asClassName(manageExtensionIcon)}`, true, instantiationService);
1265
1258
  this.contextKeyService = contextKeyService;
1266
- this.tooltip = ( localizeWithPath(_moduleId, 47, "Manage"));
1259
+ this.tooltip = ( localize(7681, "Manage"));
1267
1260
  }
1268
1261
  update() { }
1269
1262
  async run() {
@@ -1283,6 +1276,12 @@ let MenuItemExtensionAction = class MenuItemExtensionAction extends ExtensionAct
1283
1276
  this.action = action;
1284
1277
  this.extensionsWorkbenchService = extensionsWorkbenchService;
1285
1278
  }
1279
+ get enabled() {
1280
+ return this.action.enabled;
1281
+ }
1282
+ set enabled(value) {
1283
+ this.action.enabled = value;
1284
+ }
1286
1285
  update() {
1287
1286
  if (!this.extension) {
1288
1287
  return;
@@ -1320,9 +1319,9 @@ MenuItemExtensionAction = ( (__decorate([
1320
1319
  let TogglePreReleaseExtensionAction = class TogglePreReleaseExtensionAction extends ExtensionAction {
1321
1320
  static { TogglePreReleaseExtensionAction_1 = this; }
1322
1321
  static { this.ID = 'workbench.extensions.action.togglePreRlease'; }
1323
- static { this.LABEL = ( localizeWithPath(_moduleId, 48, "Pre-Release")); }
1322
+ static { this.LABEL = ( localize(7682, "Pre-Release")); }
1324
1323
  static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} pre-release`; }
1325
- static { this.DisabledClass = `${TogglePreReleaseExtensionAction_1.EnabledClass} hide`; }
1324
+ static { this.DisabledClass = `${this.EnabledClass} hide`; }
1326
1325
  constructor(extensionsWorkbenchService) {
1327
1326
  super(TogglePreReleaseExtensionAction_1.ID, TogglePreReleaseExtensionAction_1.LABEL, TogglePreReleaseExtensionAction_1.DisabledClass);
1328
1327
  this.extensionsWorkbenchService = extensionsWorkbenchService;
@@ -1355,14 +1354,13 @@ let TogglePreReleaseExtensionAction = class TogglePreReleaseExtensionAction exte
1355
1354
  this.enabled = true;
1356
1355
  this.class = TogglePreReleaseExtensionAction_1.EnabledClass;
1357
1356
  if (this.extension.preRelease) {
1358
- this.label = ( localizeWithPath(_moduleId, 49, "Switch to Release Version"));
1359
- this.tooltip = ( localizeWithPath(_moduleId, 50, "This will switch and enable updates to release versions"));
1357
+ this.label = ( localize(7683, "Switch to Release Version"));
1358
+ this.tooltip = ( localize(7684, "This will switch and enable updates to release versions"));
1360
1359
  }
1361
1360
  else {
1362
- this.label = ( localizeWithPath(_moduleId, 51, "Switch to Pre-Release Version"));
1363
- this.tooltip = ( localizeWithPath(
1364
- _moduleId,
1365
- 52,
1361
+ this.label = ( localize(7685, "Switch to Pre-Release Version"));
1362
+ this.tooltip = ( localize(
1363
+ 7686,
1366
1364
  "This will switch to pre-release version and enable updates to latest version always"
1367
1365
  ));
1368
1366
  }
@@ -1381,7 +1379,7 @@ TogglePreReleaseExtensionAction = TogglePreReleaseExtensionAction_1 = ( (__decor
1381
1379
  let InstallAnotherVersionAction = class InstallAnotherVersionAction extends ExtensionAction {
1382
1380
  static { InstallAnotherVersionAction_1 = this; }
1383
1381
  static { this.ID = 'workbench.extensions.action.install.anotherVersion'; }
1384
- static { this.LABEL = ( localizeWithPath(_moduleId, 53, "Install Another Version...")); }
1382
+ static { this.LABEL = ( localize(7687, "Install Specific Version...")); }
1385
1383
  constructor(extension, whenInstalled, extensionsWorkbenchService, extensionManagementService, extensionGalleryService, quickInputService, instantiationService, dialogService) {
1386
1384
  super(InstallAnotherVersionAction_1.ID, InstallAnotherVersionAction_1.LABEL, ExtensionAction.LABEL_ACTION_CLASS);
1387
1385
  this.whenInstalled = whenInstalled;
@@ -1410,21 +1408,20 @@ let InstallAnotherVersionAction = class InstallAnotherVersionAction extends Exte
1410
1408
  const targetPlatform = this.extension.server ? await this.extension.server.extensionManagementService.getTargetPlatform() : await this.extensionManagementService.getTargetPlatform();
1411
1409
  const allVersions = await this.extensionGalleryService.getAllCompatibleVersions(this.extension.identifier, this.extension.local?.preRelease ?? this.extension.gallery?.properties.isPreReleaseVersion ?? false, targetPlatform);
1412
1410
  if (!allVersions.length) {
1413
- await this.dialogService.info(( localizeWithPath(_moduleId, 54, "This extension has no other versions.")));
1411
+ await this.dialogService.info(( localize(7688, "This extension has no other versions.")));
1414
1412
  return;
1415
1413
  }
1416
1414
  const picks = ( (allVersions.map((v, i) => {
1417
1415
  return {
1418
1416
  id: v.version,
1419
1417
  label: v.version,
1420
- description: `${fromNow(( (new Date(Date.parse(v.date)))), true)}${v.isPreReleaseVersion ? ` (${( localizeWithPath(_moduleId, 55, "pre-release"))})` : ''}${v.version === this.extension?.local?.manifest.version ? ` (${( localizeWithPath(_moduleId, 56, "current"))})` : ''}`,
1421
- latest: i === 0,
1418
+ description: `${fromNow(( (new Date(Date.parse(v.date)))), true)}${v.isPreReleaseVersion ? ` (${( localize(7689, "pre-release"))})` : ''}${v.version === this.extension?.local?.manifest.version ? ` (${( localize(7690, "current"))})` : ''}`,
1422
1419
  ariaLabel: `${v.isPreReleaseVersion ? 'Pre-Release version' : 'Release version'} ${v.version}`,
1423
1420
  isPreReleaseVersion: v.isPreReleaseVersion
1424
1421
  };
1425
1422
  })));
1426
1423
  const pick = await this.quickInputService.pick(picks, {
1427
- placeHolder: ( localizeWithPath(_moduleId, 57, "Select Version to Install")),
1424
+ placeHolder: ( localize(7691, "Select Version to Install")),
1428
1425
  matchOnDetail: true
1429
1426
  });
1430
1427
  if (pick) {
@@ -1432,16 +1429,10 @@ let InstallAnotherVersionAction = class InstallAnotherVersionAction extends Exte
1432
1429
  return;
1433
1430
  }
1434
1431
  try {
1435
- if (pick.latest) {
1436
- const [extension] = pick.id !== this.extension.version ? await this.extensionsWorkbenchService.getExtensions([{ id: this.extension.identifier.id, preRelease: pick.isPreReleaseVersion }], CancellationToken.None) : [this.extension];
1437
- await this.extensionsWorkbenchService.install(extension ?? this.extension, { installPreReleaseVersion: pick.isPreReleaseVersion });
1438
- }
1439
- else {
1440
- await this.extensionsWorkbenchService.install(this.extension, { installPreReleaseVersion: pick.isPreReleaseVersion, version: pick.id });
1441
- }
1432
+ await this.extensionsWorkbenchService.install(this.extension, { installPreReleaseVersion: pick.isPreReleaseVersion, version: pick.id });
1442
1433
  }
1443
1434
  catch (error) {
1444
- this.instantiationService.createInstance(PromptExtensionInstallFailureAction, this.extension, pick.latest ? this.extension.latestVersion : pick.id, InstallOperation.Install, error).run();
1435
+ this.instantiationService.createInstance(PromptExtensionInstallFailureAction, this.extension, pick.id, InstallOperation.Install, error).run();
1445
1436
  }
1446
1437
  }
1447
1438
  return null;
@@ -1458,12 +1449,12 @@ InstallAnotherVersionAction = InstallAnotherVersionAction_1 = ( (__decorate([
1458
1449
  let EnableForWorkspaceAction = class EnableForWorkspaceAction extends ExtensionAction {
1459
1450
  static { EnableForWorkspaceAction_1 = this; }
1460
1451
  static { this.ID = 'extensions.enableForWorkspace'; }
1461
- static { this.LABEL = ( localizeWithPath(_moduleId, 58, "Enable (Workspace)")); }
1452
+ static { this.LABEL = ( localize(7692, "Enable (Workspace)")); }
1462
1453
  constructor(extensionsWorkbenchService, extensionEnablementService) {
1463
1454
  super(EnableForWorkspaceAction_1.ID, EnableForWorkspaceAction_1.LABEL, ExtensionAction.LABEL_ACTION_CLASS);
1464
1455
  this.extensionsWorkbenchService = extensionsWorkbenchService;
1465
1456
  this.extensionEnablementService = extensionEnablementService;
1466
- this.tooltip = ( localizeWithPath(_moduleId, 59, "Enable this extension only in this workspace"));
1457
+ this.tooltip = ( localize(7693, "Enable this extension only in this workspace"));
1467
1458
  this.update();
1468
1459
  }
1469
1460
  update() {
@@ -1488,12 +1479,12 @@ EnableForWorkspaceAction = EnableForWorkspaceAction_1 = ( (__decorate([
1488
1479
  let EnableGloballyAction = class EnableGloballyAction extends ExtensionAction {
1489
1480
  static { EnableGloballyAction_1 = this; }
1490
1481
  static { this.ID = 'extensions.enableGlobally'; }
1491
- static { this.LABEL = ( localizeWithPath(_moduleId, 60, "Enable")); }
1482
+ static { this.LABEL = ( localize(7694, "Enable")); }
1492
1483
  constructor(extensionsWorkbenchService, extensionEnablementService) {
1493
1484
  super(EnableGloballyAction_1.ID, EnableGloballyAction_1.LABEL, ExtensionAction.LABEL_ACTION_CLASS);
1494
1485
  this.extensionsWorkbenchService = extensionsWorkbenchService;
1495
1486
  this.extensionEnablementService = extensionEnablementService;
1496
- this.tooltip = ( localizeWithPath(_moduleId, 61, "Enable this extension"));
1487
+ this.tooltip = ( localize(7695, "Enable this extension"));
1497
1488
  this.update();
1498
1489
  }
1499
1490
  update() {
@@ -1518,14 +1509,14 @@ EnableGloballyAction = EnableGloballyAction_1 = ( (__decorate([
1518
1509
  let DisableForWorkspaceAction = class DisableForWorkspaceAction extends ExtensionAction {
1519
1510
  static { DisableForWorkspaceAction_1 = this; }
1520
1511
  static { this.ID = 'extensions.disableForWorkspace'; }
1521
- static { this.LABEL = ( localizeWithPath(_moduleId, 62, "Disable (Workspace)")); }
1512
+ static { this.LABEL = ( localize(7696, "Disable (Workspace)")); }
1522
1513
  constructor(workspaceContextService, extensionsWorkbenchService, extensionEnablementService, extensionService) {
1523
1514
  super(DisableForWorkspaceAction_1.ID, DisableForWorkspaceAction_1.LABEL, ExtensionAction.LABEL_ACTION_CLASS);
1524
1515
  this.workspaceContextService = workspaceContextService;
1525
1516
  this.extensionsWorkbenchService = extensionsWorkbenchService;
1526
1517
  this.extensionEnablementService = extensionEnablementService;
1527
1518
  this.extensionService = extensionService;
1528
- this.tooltip = ( localizeWithPath(_moduleId, 63, "Disable this extension only in this workspace"));
1519
+ this.tooltip = ( localize(7697, "Disable this extension only in this workspace"));
1529
1520
  this.update();
1530
1521
  this._register(this.extensionService.onDidChangeExtensions(() => this.update()));
1531
1522
  }
@@ -1555,13 +1546,13 @@ DisableForWorkspaceAction = DisableForWorkspaceAction_1 = ( (__decorate([
1555
1546
  let DisableGloballyAction = class DisableGloballyAction extends ExtensionAction {
1556
1547
  static { DisableGloballyAction_1 = this; }
1557
1548
  static { this.ID = 'extensions.disableGlobally'; }
1558
- static { this.LABEL = ( localizeWithPath(_moduleId, 64, "Disable")); }
1549
+ static { this.LABEL = ( localize(7698, "Disable")); }
1559
1550
  constructor(extensionsWorkbenchService, extensionEnablementService, extensionService) {
1560
1551
  super(DisableGloballyAction_1.ID, DisableGloballyAction_1.LABEL, ExtensionAction.LABEL_ACTION_CLASS);
1561
1552
  this.extensionsWorkbenchService = extensionsWorkbenchService;
1562
1553
  this.extensionEnablementService = extensionEnablementService;
1563
1554
  this.extensionService = extensionService;
1564
- this.tooltip = ( localizeWithPath(_moduleId, 65, "Disable this extension"));
1555
+ this.tooltip = ( localize(7699, "Disable this extension"));
1565
1556
  this.update();
1566
1557
  this._register(this.extensionService.onDidChangeExtensions(() => this.update()));
1567
1558
  }
@@ -1614,7 +1605,7 @@ DisableDropDownAction = ( (__decorate([
1614
1605
  let ExtensionRuntimeStateAction = class ExtensionRuntimeStateAction extends ExtensionAction {
1615
1606
  static { ExtensionRuntimeStateAction_1 = this; }
1616
1607
  static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} reload`; }
1617
- static { this.DisabledClass = `${ExtensionRuntimeStateAction_1.EnabledClass} disabled`; }
1608
+ static { this.DisabledClass = `${this.EnabledClass} disabled`; }
1618
1609
  constructor(hostService, extensionsWorkbenchService, updateService, extensionService, productService, telemetryService) {
1619
1610
  super('extensions.runtimeState', '', ExtensionRuntimeStateAction_1.DisabledClass, false);
1620
1611
  this.hostService = hostService;
@@ -1648,10 +1639,10 @@ let ExtensionRuntimeStateAction = class ExtensionRuntimeStateAction extends Exte
1648
1639
  this.enabled = true;
1649
1640
  this.class = ExtensionRuntimeStateAction_1.EnabledClass;
1650
1641
  this.tooltip = runtimeState.reason;
1651
- this.label = runtimeState.action === ExtensionRuntimeActionType.ReloadWindow ? ( localizeWithPath(_moduleId, 66, 'Reload Window'))
1652
- : runtimeState.action === ExtensionRuntimeActionType.RestartExtensions ? ( localizeWithPath(_moduleId, 67, 'Restart Extensions'))
1653
- : runtimeState.action === ExtensionRuntimeActionType.QuitAndInstall ? ( localizeWithPath(_moduleId, 68, 'Restart to Update'))
1654
- : runtimeState.action === ExtensionRuntimeActionType.ApplyUpdate || runtimeState.action === ExtensionRuntimeActionType.DownloadUpdate ? ( localizeWithPath(_moduleId, 69, 'Update {0}', this.productService.nameShort)) : '';
1642
+ this.label = runtimeState.action === ExtensionRuntimeActionType.ReloadWindow ? ( localize(7700, 'Reload Window'))
1643
+ : runtimeState.action === ExtensionRuntimeActionType.RestartExtensions ? ( localize(7701, 'Restart Extensions'))
1644
+ : runtimeState.action === ExtensionRuntimeActionType.QuitAndInstall ? ( localize(7702, 'Restart to Update'))
1645
+ : runtimeState.action === ExtensionRuntimeActionType.ApplyUpdate || runtimeState.action === ExtensionRuntimeActionType.DownloadUpdate ? ( localize(7703, 'Update {0}', this.productService.nameShort)) : '';
1655
1646
  }
1656
1647
  async run() {
1657
1648
  const runtimeState = this.extension?.runtimeState;
@@ -1697,7 +1688,7 @@ function getQuickPickEntries(themes, currentTheme, extension, showCurrentTheme)
1697
1688
  }
1698
1689
  }
1699
1690
  if (showCurrentTheme) {
1700
- picks.push({ type: 'separator', label: ( localizeWithPath(_moduleId, 56, "current")) });
1691
+ picks.push({ type: 'separator', label: ( localize(7703, "current")) });
1701
1692
  picks.push({ label: currentTheme.label, id: currentTheme.id });
1702
1693
  }
1703
1694
  return picks;
@@ -1705,9 +1696,9 @@ function getQuickPickEntries(themes, currentTheme, extension, showCurrentTheme)
1705
1696
  let SetColorThemeAction = class SetColorThemeAction extends ExtensionAction {
1706
1697
  static { SetColorThemeAction_1 = this; }
1707
1698
  static { this.ID = 'workbench.extensions.action.setColorTheme'; }
1708
- static { this.TITLE = ( localize2WithPath(_moduleId, 70, 'Set Color Theme')); }
1699
+ static { this.TITLE = ( localize2(7704, 'Set Color Theme')); }
1709
1700
  static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} theme`; }
1710
- static { this.DisabledClass = `${SetColorThemeAction_1.EnabledClass} disabled`; }
1701
+ static { this.DisabledClass = `${this.EnabledClass} disabled`; }
1711
1702
  constructor(extensionService, workbenchThemeService, quickInputService, extensionEnablementService) {
1712
1703
  super(SetColorThemeAction_1.ID, SetColorThemeAction_1.TITLE.value, SetColorThemeAction_1.DisabledClass, false);
1713
1704
  this.workbenchThemeService = workbenchThemeService;
@@ -1734,7 +1725,7 @@ let SetColorThemeAction = class SetColorThemeAction extends ExtensionAction {
1734
1725
  const delayer = ( (new Delayer(100)));
1735
1726
  const picks = getQuickPickEntries(colorThemes, currentTheme, this.extension, showCurrentTheme);
1736
1727
  const pickedTheme = await this.quickInputService.pick(picks, {
1737
- placeHolder: ( localizeWithPath(_moduleId, 71, "Select Color Theme")),
1728
+ placeHolder: ( localize(7705, "Select Color Theme")),
1738
1729
  onDidFocus: item => delayer.trigger(() => this.workbenchThemeService.setColorTheme(item.id, undefined)),
1739
1730
  ignoreFocusLost
1740
1731
  });
@@ -1750,9 +1741,9 @@ SetColorThemeAction = SetColorThemeAction_1 = ( (__decorate([
1750
1741
  let SetFileIconThemeAction = class SetFileIconThemeAction extends ExtensionAction {
1751
1742
  static { SetFileIconThemeAction_1 = this; }
1752
1743
  static { this.ID = 'workbench.extensions.action.setFileIconTheme'; }
1753
- static { this.TITLE = ( localize2WithPath(_moduleId, 72, 'Set File Icon Theme')); }
1744
+ static { this.TITLE = ( localize2(7706, 'Set File Icon Theme')); }
1754
1745
  static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} theme`; }
1755
- static { this.DisabledClass = `${SetFileIconThemeAction_1.EnabledClass} disabled`; }
1746
+ static { this.DisabledClass = `${this.EnabledClass} disabled`; }
1756
1747
  constructor(extensionService, workbenchThemeService, quickInputService, extensionEnablementService) {
1757
1748
  super(SetFileIconThemeAction_1.ID, SetFileIconThemeAction_1.TITLE.value, SetFileIconThemeAction_1.DisabledClass, false);
1758
1749
  this.workbenchThemeService = workbenchThemeService;
@@ -1779,7 +1770,7 @@ let SetFileIconThemeAction = class SetFileIconThemeAction extends ExtensionActio
1779
1770
  const delayer = ( (new Delayer(100)));
1780
1771
  const picks = getQuickPickEntries(fileIconThemes, currentTheme, this.extension, showCurrentTheme);
1781
1772
  const pickedTheme = await this.quickInputService.pick(picks, {
1782
- placeHolder: ( localizeWithPath(_moduleId, 73, "Select File Icon Theme")),
1773
+ placeHolder: ( localize(7707, "Select File Icon Theme")),
1783
1774
  onDidFocus: item => delayer.trigger(() => this.workbenchThemeService.setFileIconTheme(item.id, undefined)),
1784
1775
  ignoreFocusLost
1785
1776
  });
@@ -1795,9 +1786,9 @@ SetFileIconThemeAction = SetFileIconThemeAction_1 = ( (__decorate([
1795
1786
  let SetProductIconThemeAction = class SetProductIconThemeAction extends ExtensionAction {
1796
1787
  static { SetProductIconThemeAction_1 = this; }
1797
1788
  static { this.ID = 'workbench.extensions.action.setProductIconTheme'; }
1798
- static { this.TITLE = ( localize2WithPath(_moduleId, 74, 'Set Product Icon Theme')); }
1789
+ static { this.TITLE = ( localize2(7708, 'Set Product Icon Theme')); }
1799
1790
  static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} theme`; }
1800
- static { this.DisabledClass = `${SetProductIconThemeAction_1.EnabledClass} disabled`; }
1791
+ static { this.DisabledClass = `${this.EnabledClass} disabled`; }
1801
1792
  constructor(extensionService, workbenchThemeService, quickInputService, extensionEnablementService) {
1802
1793
  super(SetProductIconThemeAction_1.ID, SetProductIconThemeAction_1.TITLE.value, SetProductIconThemeAction_1.DisabledClass, false);
1803
1794
  this.workbenchThemeService = workbenchThemeService;
@@ -1824,7 +1815,7 @@ let SetProductIconThemeAction = class SetProductIconThemeAction extends Extensio
1824
1815
  const delayer = ( (new Delayer(100)));
1825
1816
  const picks = getQuickPickEntries(productIconThemes, currentTheme, this.extension, showCurrentTheme);
1826
1817
  const pickedTheme = await this.quickInputService.pick(picks, {
1827
- placeHolder: ( localizeWithPath(_moduleId, 75, "Select Product Icon Theme")),
1818
+ placeHolder: ( localize(7709, "Select Product Icon Theme")),
1828
1819
  onDidFocus: item => delayer.trigger(() => this.workbenchThemeService.setProductIconTheme(item.id, undefined)),
1829
1820
  ignoreFocusLost
1830
1821
  });
@@ -1840,9 +1831,9 @@ SetProductIconThemeAction = SetProductIconThemeAction_1 = ( (__decorate([
1840
1831
  let SetLanguageAction = class SetLanguageAction extends ExtensionAction {
1841
1832
  static { SetLanguageAction_1 = this; }
1842
1833
  static { this.ID = 'workbench.extensions.action.setDisplayLanguage'; }
1843
- static { this.TITLE = ( localize2WithPath(_moduleId, 76, 'Set Display Language')); }
1834
+ static { this.TITLE = ( localize2(7710, 'Set Display Language')); }
1844
1835
  static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} language`; }
1845
- static { this.DisabledClass = `${SetLanguageAction_1.EnabledClass} disabled`; }
1836
+ static { this.DisabledClass = `${this.EnabledClass} disabled`; }
1846
1837
  constructor(extensionsWorkbenchService) {
1847
1838
  super(SetLanguageAction_1.ID, SetLanguageAction_1.TITLE.value, SetLanguageAction_1.DisabledClass, false);
1848
1839
  this.extensionsWorkbenchService = extensionsWorkbenchService;
@@ -1873,9 +1864,9 @@ SetLanguageAction = SetLanguageAction_1 = ( (__decorate([
1873
1864
  let ClearLanguageAction = class ClearLanguageAction extends ExtensionAction {
1874
1865
  static { ClearLanguageAction_1 = this; }
1875
1866
  static { this.ID = 'workbench.extensions.action.clearLanguage'; }
1876
- static { this.TITLE = ( localize2WithPath(_moduleId, 77, 'Clear Display Language')); }
1867
+ static { this.TITLE = ( localize2(7711, 'Clear Display Language')); }
1877
1868
  static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} language`; }
1878
- static { this.DisabledClass = `${ClearLanguageAction_1.EnabledClass} disabled`; }
1869
+ static { this.DisabledClass = `${this.EnabledClass} disabled`; }
1879
1870
  constructor(extensionsWorkbenchService, localeService) {
1880
1871
  super(ClearLanguageAction_1.ID, ClearLanguageAction_1.TITLE.value, ClearLanguageAction_1.DisabledClass, false);
1881
1872
  this.extensionsWorkbenchService = extensionsWorkbenchService;
@@ -1908,7 +1899,7 @@ ClearLanguageAction = ClearLanguageAction_1 = ( (__decorate([
1908
1899
  let ShowRecommendedExtensionAction = class ShowRecommendedExtensionAction extends Action {
1909
1900
  static { ShowRecommendedExtensionAction_1 = this; }
1910
1901
  static { this.ID = 'workbench.extensions.action.showRecommendedExtension'; }
1911
- static { this.LABEL = ( localizeWithPath(_moduleId, 78, "Show Recommended Extension")); }
1902
+ static { this.LABEL = ( localize(7712, "Show Recommended Extension")); }
1912
1903
  constructor(extensionId, paneCompositeService, extensionWorkbenchService) {
1913
1904
  super(ShowRecommendedExtensionAction_1.ID, ShowRecommendedExtensionAction_1.LABEL, undefined, false);
1914
1905
  this.paneCompositeService = paneCompositeService;
@@ -1934,7 +1925,7 @@ ShowRecommendedExtensionAction = ShowRecommendedExtensionAction_1 = ( (__decorat
1934
1925
  let InstallRecommendedExtensionAction = class InstallRecommendedExtensionAction extends Action {
1935
1926
  static { InstallRecommendedExtensionAction_1 = this; }
1936
1927
  static { this.ID = 'workbench.extensions.action.installRecommendedExtension'; }
1937
- static { this.LABEL = ( localizeWithPath(_moduleId, 79, "Install Recommended Extension")); }
1928
+ static { this.LABEL = ( localize(7713, "Install Recommended Extension")); }
1938
1929
  constructor(extensionId, paneCompositeService, instantiationService, extensionWorkbenchService) {
1939
1930
  super(InstallRecommendedExtensionAction_1.ID, InstallRecommendedExtensionAction_1.LABEL, undefined, false);
1940
1931
  this.paneCompositeService = paneCompositeService;
@@ -1973,7 +1964,7 @@ let IgnoreExtensionRecommendationAction = class IgnoreExtensionRecommendationAct
1973
1964
  this.extension = extension;
1974
1965
  this.extensionRecommendationsManagementService = extensionRecommendationsManagementService;
1975
1966
  this.class = IgnoreExtensionRecommendationAction_1.Class;
1976
- this.tooltip = ( localizeWithPath(_moduleId, 80, "Do not recommend this extension again"));
1967
+ this.tooltip = ( localize(7714, "Do not recommend this extension again"));
1977
1968
  this.enabled = true;
1978
1969
  }
1979
1970
  run() {
@@ -1993,7 +1984,7 @@ let UndoIgnoreExtensionRecommendationAction = class UndoIgnoreExtensionRecommend
1993
1984
  this.extension = extension;
1994
1985
  this.extensionRecommendationsManagementService = extensionRecommendationsManagementService;
1995
1986
  this.class = UndoIgnoreExtensionRecommendationAction_1.Class;
1996
- this.tooltip = ( localizeWithPath(_moduleId, 81, "Undo"));
1987
+ this.tooltip = ( localize(7715, "Undo"));
1997
1988
  this.enabled = true;
1998
1989
  }
1999
1990
  run() {
@@ -2006,7 +1997,7 @@ UndoIgnoreExtensionRecommendationAction = UndoIgnoreExtensionRecommendationActio
2006
1997
  ], UndoIgnoreExtensionRecommendationAction)));
2007
1998
  let SearchExtensionsAction = class SearchExtensionsAction extends Action {
2008
1999
  constructor(searchValue, paneCompositeService) {
2009
- super('extensions.searchExtensions', ( localizeWithPath(_moduleId, 82, "Search Extensions")), undefined, true);
2000
+ super('extensions.searchExtensions', ( localize(7716, "Search Extensions")), undefined, true);
2010
2001
  this.searchValue = searchValue;
2011
2002
  this.paneCompositeService = paneCompositeService;
2012
2003
  }
@@ -2038,9 +2029,8 @@ let AbstractConfigureRecommendedExtensionsAction = class AbstractConfigureRecomm
2038
2029
  pinned: created,
2039
2030
  selection
2040
2031
  }
2041
- })), error => Promise.reject(( (new Error(( localizeWithPath(
2042
- _moduleId,
2043
- 83,
2032
+ })), error => Promise.reject(( (new Error(( localize(
2033
+ 7717,
2044
2034
  "Unable to create 'extensions.json' file inside the '.vscode' folder ({0}).",
2045
2035
  error
2046
2036
  )))))));
@@ -2108,7 +2098,7 @@ AbstractConfigureRecommendedExtensionsAction = ( (__decorate([
2108
2098
  ], AbstractConfigureRecommendedExtensionsAction)));
2109
2099
  let ConfigureWorkspaceRecommendedExtensionsAction = class ConfigureWorkspaceRecommendedExtensionsAction extends AbstractConfigureRecommendedExtensionsAction {
2110
2100
  static { this.ID = 'workbench.extensions.action.configureWorkspaceRecommendedExtensions'; }
2111
- static { this.LABEL = ( localizeWithPath(_moduleId, 84, "Configure Recommended Extensions (Workspace)")); }
2101
+ static { this.LABEL = ( localize(7718, "Configure Recommended Extensions (Workspace)")); }
2112
2102
  constructor(id, label, fileService, textFileService, contextService, editorService, jsonEditingService, textModelResolverService) {
2113
2103
  super(id, label, contextService, fileService, textFileService, editorService, jsonEditingService, textModelResolverService);
2114
2104
  this._register(this.contextService.onDidChangeWorkbenchState(() => this.update(), this));
@@ -2137,7 +2127,7 @@ ConfigureWorkspaceRecommendedExtensionsAction = ( (__decorate([
2137
2127
  ], ConfigureWorkspaceRecommendedExtensionsAction)));
2138
2128
  let ConfigureWorkspaceFolderRecommendedExtensionsAction = class ConfigureWorkspaceFolderRecommendedExtensionsAction extends AbstractConfigureRecommendedExtensionsAction {
2139
2129
  static { this.ID = 'workbench.extensions.action.configureWorkspaceFolderRecommendedExtensions'; }
2140
- static { this.LABEL = ( localizeWithPath(_moduleId, 85, "Configure Recommended Extensions (Workspace Folder)")); }
2130
+ static { this.LABEL = ( localize(7719, "Configure Recommended Extensions (Workspace Folder)")); }
2141
2131
  constructor(id, label, fileService, textFileService, contextService, editorService, jsonEditingService, textModelResolverService, commandService) {
2142
2132
  super(id, label, contextService, fileService, textFileService, editorService, jsonEditingService, textModelResolverService);
2143
2133
  this.commandService = commandService;
@@ -2166,7 +2156,7 @@ ConfigureWorkspaceFolderRecommendedExtensionsAction = ( (__decorate([
2166
2156
  let ExtensionStatusLabelAction = class ExtensionStatusLabelAction extends Action {
2167
2157
  static { ExtensionStatusLabelAction_1 = this; }
2168
2158
  static { this.ENABLED_CLASS = `${ExtensionAction.TEXT_ACTION_CLASS} extension-status-label`; }
2169
- static { this.DISABLED_CLASS = `${ExtensionStatusLabelAction_1.ENABLED_CLASS} hide`; }
2159
+ static { this.DISABLED_CLASS = `${this.ENABLED_CLASS} hide`; }
2170
2160
  get extension() { return this._extension; }
2171
2161
  set extension(extension) {
2172
2162
  if (!(this._extension && extension && areSameExtensions(this._extension.identifier, extension.identifier))) {
@@ -2227,21 +2217,21 @@ let ExtensionStatusLabelAction = class ExtensionStatusLabelAction extends Action
2227
2217
  };
2228
2218
  if (currentStatus !== null) {
2229
2219
  if (currentStatus === ExtensionState.Installing && this.status === ExtensionState.Installed) {
2230
- return canAddExtension() ? this.initialStatus === ExtensionState.Installed && this.version !== currentVersion ? ( localizeWithPath(_moduleId, 86, "Updated")) : ( localizeWithPath(_moduleId, 87, "Installed")) : null;
2220
+ return canAddExtension() ? this.initialStatus === ExtensionState.Installed && this.version !== currentVersion ? ( localize(7720, "Updated")) : ( localize(7721, "Installed")) : null;
2231
2221
  }
2232
2222
  if (currentStatus === ExtensionState.Uninstalling && this.status === ExtensionState.Uninstalled) {
2233
2223
  this.initialStatus = this.status;
2234
- return canRemoveExtension() ? ( localizeWithPath(_moduleId, 88, "Uninstalled")) : null;
2224
+ return canRemoveExtension() ? ( localize(7722, "Uninstalled")) : null;
2235
2225
  }
2236
2226
  }
2237
2227
  if (currentEnablementState !== null) {
2238
2228
  const currentlyEnabled = this.extensionEnablementService.isEnabledEnablementState(currentEnablementState);
2239
2229
  const enabled = this.extensionEnablementService.isEnabledEnablementState(this.enablementState);
2240
2230
  if (!currentlyEnabled && enabled) {
2241
- return canAddExtension() ? ( localizeWithPath(_moduleId, 89, "Enabled")) : null;
2231
+ return canAddExtension() ? ( localize(7723, "Enabled")) : null;
2242
2232
  }
2243
2233
  if (currentlyEnabled && !enabled) {
2244
- return canRemoveExtension() ? ( localizeWithPath(_moduleId, 90, "Disabled")) : null;
2234
+ return canRemoveExtension() ? ( localize(7724, "Disabled")) : null;
2245
2235
  }
2246
2236
  }
2247
2237
  return null;
@@ -2258,7 +2248,7 @@ ExtensionStatusLabelAction = ExtensionStatusLabelAction_1 = ( (__decorate([
2258
2248
  let ToggleSyncExtensionAction = class ToggleSyncExtensionAction extends DropDownExtensionAction {
2259
2249
  static { ToggleSyncExtensionAction_1 = this; }
2260
2250
  static { this.IGNORED_SYNC_CLASS = `${ExtensionAction.ICON_ACTION_CLASS} extension-sync ${ThemeIcon.asClassName(syncIgnoredIcon)}`; }
2261
- static { this.SYNC_CLASS = `${ToggleSyncExtensionAction_1.ICON_ACTION_CLASS} extension-sync ${ThemeIcon.asClassName(syncEnabledIcon)}`; }
2251
+ static { this.SYNC_CLASS = `${this.ICON_ACTION_CLASS} extension-sync ${ThemeIcon.asClassName(syncEnabledIcon)}`; }
2262
2252
  constructor(configurationService, extensionsWorkbenchService, userDataSyncEnablementService, instantiationService) {
2263
2253
  super('extensions.sync', '', ToggleSyncExtensionAction_1.SYNC_CLASS, false, instantiationService);
2264
2254
  this.configurationService = configurationService;
@@ -2273,7 +2263,7 @@ let ToggleSyncExtensionAction = class ToggleSyncExtensionAction extends DropDown
2273
2263
  if (this.extension) {
2274
2264
  const isIgnored = this.extensionsWorkbenchService.isExtensionIgnoredToSync(this.extension);
2275
2265
  this.class = isIgnored ? ToggleSyncExtensionAction_1.IGNORED_SYNC_CLASS : ToggleSyncExtensionAction_1.SYNC_CLASS;
2276
- this.tooltip = isIgnored ? ( localizeWithPath(_moduleId, 91, "This extension is ignored during sync")) : ( localizeWithPath(_moduleId, 92, "This extension is synced"));
2266
+ this.tooltip = isIgnored ? ( localize(7725, "This extension is ignored during sync")) : ( localize(7726, "This extension is synced"));
2277
2267
  }
2278
2268
  }
2279
2269
  async run() {
@@ -2282,7 +2272,7 @@ let ToggleSyncExtensionAction = class ToggleSyncExtensionAction extends DropDown
2282
2272
  [
2283
2273
  ( (new Action(
2284
2274
  'extensions.syncignore',
2285
- this.extensionsWorkbenchService.isExtensionIgnoredToSync(this.extension) ? ( localizeWithPath(_moduleId, 93, "Sync this extension")) : ( localizeWithPath(_moduleId, 94, "Do not sync this extension")),
2275
+ this.extensionsWorkbenchService.isExtensionIgnoredToSync(this.extension) ? ( localize(7727, "Sync this extension")) : ( localize(7728, "Do not sync this extension")),
2286
2276
  undefined,
2287
2277
  true,
2288
2278
  () => this.extensionsWorkbenchService.toggleExtensionIgnoredToSync(this.extension)
@@ -2317,6 +2307,7 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
2317
2307
  this.workbenchExtensionEnablementService = workbenchExtensionEnablementService;
2318
2308
  this.extensionFeaturesManagementService = extensionFeaturesManagementService;
2319
2309
  this.updateWhenCounterExtensionChanges = true;
2310
+ this._status = [];
2320
2311
  this._onDidChangeStatus = this._register(( (new Emitter())));
2321
2312
  this.onDidChangeStatus = this._onDidChangeStatus.event;
2322
2313
  this.updateThrottler = ( (new Throttler()));
@@ -2335,7 +2326,7 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
2335
2326
  return;
2336
2327
  }
2337
2328
  if (this.extension.isMalicious) {
2338
- this.updateStatus({ icon: warningIcon, message: ( (new MarkdownString(( localizeWithPath(_moduleId, 95, "This extension was reported to be problematic."))))) }, true);
2329
+ this.updateStatus({ icon: warningIcon, message: ( (new MarkdownString(( localize(7729, "This extension was reported to be problematic."))))) }, true);
2339
2330
  return;
2340
2331
  }
2341
2332
  if (this.extension.deprecationInfo) {
@@ -2343,30 +2334,20 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
2343
2334
  const link = `[${this.extension.deprecationInfo.extension.displayName}](${( (URI.parse(
2344
2335
  `command:extension.open?${encodeURIComponent(JSON.stringify([this.extension.deprecationInfo.extension.id]))}`
2345
2336
  )))})`;
2346
- this.updateStatus({ icon: warningIcon, message: ( (new MarkdownString(( localizeWithPath(
2347
- _moduleId,
2348
- 96,
2349
- "This extension is deprecated. Use the {0} extension instead.",
2350
- link
2351
- ))))) }, true);
2337
+ this.updateStatus({ icon: warningIcon, message: ( (new MarkdownString(( localize(7730, "This extension is deprecated. Use the {0} extension instead.", link))))) }, true);
2352
2338
  }
2353
2339
  else if (this.extension.deprecationInfo.settings) {
2354
- const link = `[${( localizeWithPath(_moduleId, 97, "settings"))}](${( (URI.parse(
2340
+ const link = `[${( localize(7731, "settings"))}](${( (URI.parse(
2355
2341
  `command:workbench.action.openSettings?${encodeURIComponent(JSON.stringify([( (this.extension.deprecationInfo.settings.map(setting => `@id:${setting}`))).join(' ')]))}`
2356
2342
  )))})`;
2357
- this.updateStatus({ icon: warningIcon, message: ( (new MarkdownString(( localizeWithPath(
2358
- _moduleId,
2359
- 98,
2343
+ this.updateStatus({ icon: warningIcon, message: ( (new MarkdownString(( localize(
2344
+ 7732,
2360
2345
  "This extension is deprecated as this functionality is now built-in to VS Code. Configure these {0} to use this functionality.",
2361
2346
  link
2362
2347
  ))))) }, true);
2363
2348
  }
2364
2349
  else {
2365
- const message = ( (new MarkdownString(( localizeWithPath(
2366
- _moduleId,
2367
- 99,
2368
- "This extension is deprecated as it is no longer being maintained."
2369
- )))));
2350
+ const message = ( (new MarkdownString(( localize(7733, "This extension is deprecated as it is no longer being maintained.")))));
2370
2351
  if (this.extension.deprecationInfo.additionalInfo) {
2371
2352
  message.appendMarkdown(` ${this.extension.deprecationInfo.additionalInfo}`);
2372
2353
  }
@@ -2377,29 +2358,48 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
2377
2358
  if (this.extensionsWorkbenchService.canSetLanguage(this.extension)) {
2378
2359
  return;
2379
2360
  }
2361
+ if (this.extension.outdated && this.extensionsWorkbenchService.isAutoUpdateEnabledFor(this.extension)) {
2362
+ const message = await this.extensionsWorkbenchService.shouldRequireConsentToUpdate(this.extension);
2363
+ if (message) {
2364
+ const markdown = ( (new MarkdownString()));
2365
+ markdown.appendMarkdown(`${message} `);
2366
+ markdown.appendMarkdown(( localize(
2367
+ 7734,
2368
+ "Please [review the extension]({0}) and update it manually.",
2369
+ this.extension.hasChangelog()
2370
+ ? ( (( (URI.parse(
2371
+ `command:extension.open?${encodeURIComponent(JSON.stringify([this.extension.identifier.id, ExtensionEditorTab.Changelog]))}`
2372
+ ))).toString()))
2373
+ : this.extension.repository
2374
+ ? this.extension.repository
2375
+ : ( (( (URI.parse(
2376
+ `command:extension.open?${encodeURIComponent(JSON.stringify([this.extension.identifier.id]))}`
2377
+ ))).toString()))
2378
+ )));
2379
+ this.updateStatus({ icon: warningIcon, message: markdown }, true);
2380
+ }
2381
+ }
2380
2382
  if (this.extension.gallery && this.extension.state === ExtensionState.Uninstalled && !(await this.extensionsWorkbenchService.canInstall(this.extension))) {
2381
2383
  if (this.extensionManagementServerService.localExtensionManagementServer || this.extensionManagementServerService.remoteExtensionManagementServer) {
2382
2384
  const targetPlatform = await (this.extensionManagementServerService.localExtensionManagementServer ? this.extensionManagementServerService.localExtensionManagementServer.extensionManagementService.getTargetPlatform() : this.extensionManagementServerService.remoteExtensionManagementServer.extensionManagementService.getTargetPlatform());
2383
- const message = ( (new MarkdownString(`${( localizeWithPath(
2384
- _moduleId,
2385
- 100,
2385
+ const message = ( (new MarkdownString(`${( localize(
2386
+ 7735,
2386
2387
  "The '{0}' extension is not available in {1} for {2}.",
2387
2388
  this.extension.displayName || this.extension.identifier.id,
2388
2389
  this.productService.nameLong,
2389
2390
  TargetPlatformToString(targetPlatform)
2390
- ))} [${( localizeWithPath(_moduleId, 101, "Learn More"))}](https://aka.ms/vscode-platform-specific-extensions)`)));
2391
+ ))} [${( localize(7736, "Learn More"))}](https://aka.ms/vscode-platform-specific-extensions)`)));
2391
2392
  this.updateStatus({ icon: warningIcon, message }, true);
2392
2393
  return;
2393
2394
  }
2394
2395
  if (this.extensionManagementServerService.webExtensionManagementServer) {
2395
- const productName = ( localizeWithPath(_moduleId, 0, "{0} for the Web", this.productService.nameLong));
2396
- const message = ( (new MarkdownString(`${( localizeWithPath(
2397
- _moduleId,
2398
- 102,
2396
+ const productName = ( localize(7736, "{0} for the Web", this.productService.nameLong));
2397
+ const message = ( (new MarkdownString(`${( localize(
2398
+ 7737,
2399
2399
  "The '{0}' extension is not available in {1}.",
2400
2400
  this.extension.displayName || this.extension.identifier.id,
2401
2401
  productName
2402
- ))} [${( localizeWithPath(_moduleId, 103, "Learn Why"))}](https://aka.ms/vscode-web-extensions-guide)`)));
2402
+ ))} [${( localize(7738, "Learn Why"))}](https://aka.ms/vscode-web-extensions-guide)`)));
2403
2403
  this.updateStatus({ icon: warningIcon, message }, true);
2404
2404
  return;
2405
2405
  }
@@ -2410,22 +2410,20 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
2410
2410
  return;
2411
2411
  }
2412
2412
  if (this.extension.enablementState === EnablementState.DisabledByEnvironment) {
2413
- this.updateStatus({ message: ( (new MarkdownString(( localizeWithPath(_moduleId, 104, "This extension is disabled by the environment."))))) }, true);
2413
+ this.updateStatus({ message: ( (new MarkdownString(( localize(7739, "This extension is disabled by the environment."))))) }, true);
2414
2414
  return;
2415
2415
  }
2416
2416
  if (this.extension.enablementState === EnablementState.EnabledByEnvironment) {
2417
- this.updateStatus({ message: ( (new MarkdownString(( localizeWithPath(
2418
- _moduleId,
2419
- 105,
2417
+ this.updateStatus({ message: ( (new MarkdownString(( localize(
2418
+ 7740,
2420
2419
  "This extension is enabled because it is required in the current environment."
2421
2420
  ))))) }, true);
2422
2421
  return;
2423
2422
  }
2424
2423
  if (this.extension.enablementState === EnablementState.DisabledByVirtualWorkspace) {
2425
2424
  const details = getWorkspaceSupportTypeMessage(this.extension.local.manifest.capabilities?.virtualWorkspaces);
2426
- this.updateStatus({ icon: infoIcon, message: ( (new MarkdownString(details ? escapeMarkdownSyntaxTokens(details) : ( localizeWithPath(
2427
- _moduleId,
2428
- 106,
2425
+ this.updateStatus({ icon: infoIcon, message: ( (new MarkdownString(details ? escapeMarkdownSyntaxTokens(details) : ( localize(
2426
+ 7741,
2429
2427
  "This extension has been disabled because it does not support virtual workspaces."
2430
2428
  ))))) }, true);
2431
2429
  return;
@@ -2434,9 +2432,8 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
2434
2432
  const virtualSupportType = this.extensionManifestPropertiesService.getExtensionVirtualWorkspaceSupportType(this.extension.local.manifest);
2435
2433
  const details = getWorkspaceSupportTypeMessage(this.extension.local.manifest.capabilities?.virtualWorkspaces);
2436
2434
  if (virtualSupportType === 'limited' || details) {
2437
- this.updateStatus({ icon: warningIcon, message: ( (new MarkdownString(details ? escapeMarkdownSyntaxTokens(details) : ( localizeWithPath(
2438
- _moduleId,
2439
- 107,
2435
+ this.updateStatus({ icon: warningIcon, message: ( (new MarkdownString(details ? escapeMarkdownSyntaxTokens(details) : ( localize(
2436
+ 7742,
2440
2437
  "This extension has limited features because the current workspace is virtual."
2441
2438
  ))))) }, true);
2442
2439
  return;
@@ -2447,9 +2444,8 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
2447
2444
  this.enabled = true;
2448
2445
  const untrustedDetails = getWorkspaceSupportTypeMessage(this.extension.local.manifest.capabilities?.untrustedWorkspaces);
2449
2446
  this.updateStatus({ icon: trustIcon, message: ( (new MarkdownString(
2450
- untrustedDetails ? escapeMarkdownSyntaxTokens(untrustedDetails) : ( localizeWithPath(
2451
- _moduleId,
2452
- 108,
2447
+ untrustedDetails ? escapeMarkdownSyntaxTokens(untrustedDetails) : ( localize(
2448
+ 7743,
2453
2449
  "This extension has been disabled because the current workspace is not trusted."
2454
2450
  ))
2455
2451
  ))) }, true);
@@ -2461,9 +2457,8 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
2461
2457
  if (untrustedSupportType === 'limited' || untrustedDetails) {
2462
2458
  this.enabled = true;
2463
2459
  this.updateStatus({ icon: trustIcon, message: ( (new MarkdownString(
2464
- untrustedDetails ? escapeMarkdownSyntaxTokens(untrustedDetails) : ( localizeWithPath(
2465
- _moduleId,
2466
- 109,
2460
+ untrustedDetails ? escapeMarkdownSyntaxTokens(untrustedDetails) : ( localize(
2461
+ 7744,
2467
2462
  "This extension has limited features because the current workspace is not trusted."
2468
2463
  ))
2469
2464
  ))) }, true);
@@ -2478,42 +2473,38 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
2478
2473
  if (this.extensionManagementServerService.localExtensionManagementServer === this.extension.server) {
2479
2474
  if (this.extensionManifestPropertiesService.prefersExecuteOnWorkspace(this.extension.local.manifest)) {
2480
2475
  if (this.extensionManagementServerService.remoteExtensionManagementServer) {
2481
- message = ( (new MarkdownString(`${( localizeWithPath(
2482
- _moduleId,
2483
- 110,
2476
+ message = ( (new MarkdownString(`${( localize(
2477
+ 7745,
2484
2478
  "This extension is disabled in this workspace because it is defined to run in the Remote Extension Host. Please install the extension in '{0}' to enable.",
2485
2479
  this.extensionManagementServerService.remoteExtensionManagementServer.label
2486
- ))} [${( localizeWithPath(_moduleId, 101, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`)));
2480
+ ))} [${( localize(7745, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`)));
2487
2481
  }
2488
2482
  }
2489
2483
  }
2490
2484
  else if (this.extensionManagementServerService.remoteExtensionManagementServer === this.extension.server) {
2491
2485
  if (this.extensionManifestPropertiesService.prefersExecuteOnUI(this.extension.local.manifest)) {
2492
2486
  if (this.extensionManagementServerService.localExtensionManagementServer) {
2493
- message = ( (new MarkdownString(`${( localizeWithPath(
2494
- _moduleId,
2495
- 111,
2487
+ message = ( (new MarkdownString(`${( localize(
2488
+ 7746,
2496
2489
  "This extension is disabled in this workspace because it is defined to run in the Local Extension Host. Please install the extension locally to enable.",
2497
2490
  this.extensionManagementServerService.remoteExtensionManagementServer.label
2498
- ))} [${( localizeWithPath(_moduleId, 101, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`)));
2491
+ ))} [${( localize(7746, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`)));
2499
2492
  }
2500
2493
  else if (isWeb) {
2501
- message = ( (new MarkdownString(`${( localizeWithPath(
2502
- _moduleId,
2503
- 112,
2494
+ message = ( (new MarkdownString(`${( localize(
2495
+ 7747,
2504
2496
  "This extension is disabled because it is defined to run only in {0} for the Desktop.",
2505
2497
  this.productService.nameLong
2506
- ))} [${( localizeWithPath(_moduleId, 101, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`)));
2498
+ ))} [${( localize(7747, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`)));
2507
2499
  }
2508
2500
  }
2509
2501
  }
2510
2502
  else if (this.extensionManagementServerService.webExtensionManagementServer === this.extension.server) {
2511
- message = ( (new MarkdownString(`${( localizeWithPath(
2512
- _moduleId,
2513
- 113,
2503
+ message = ( (new MarkdownString(`${( localize(
2504
+ 7748,
2514
2505
  "This extension is disabled because it is not supported in {0} for the Web.",
2515
2506
  this.productService.nameLong
2516
- ))} [${( localizeWithPath(_moduleId, 101, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`)));
2507
+ ))} [${( localize(7748, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`)));
2517
2508
  }
2518
2509
  if (message) {
2519
2510
  this.updateStatus({ icon: warningIcon, message }, true);
@@ -2525,7 +2516,7 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
2525
2516
  const features = ( (Registry.as(Extensions.ExtensionFeaturesRegistry))).getExtensionFeatures();
2526
2517
  for (const feature of features) {
2527
2518
  const status = this.extensionFeaturesManagementService.getAccessData(extensionId, feature.id)?.current?.status;
2528
- const manageAccessLink = `[${( localizeWithPath(_moduleId, 114, 'Manage Access'))}](${( (URI.parse(
2519
+ const manageAccessLink = `[${( localize(7749, 'Manage Access'))}](${( (URI.parse(
2529
2520
  `command:extension.open?${encodeURIComponent(JSON.stringify([this.extension.identifier.id, ExtensionEditorTab.Features, false, feature.id]))}`
2530
2521
  )))})`;
2531
2522
  if (status?.severity === Severity$1.Error) {
@@ -2543,15 +2534,13 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
2543
2534
  e => areSameExtensions(e.identifier, this.extension.identifier) && e.server !== this.extension.server
2544
2535
  )))) {
2545
2536
  const message = this.extension.server === this.extensionManagementServerService.localExtensionManagementServer
2546
- ? ( (new MarkdownString(( localizeWithPath(
2547
- _moduleId,
2548
- 115,
2537
+ ? ( (new MarkdownString(( localize(
2538
+ 7750,
2549
2539
  "Install the language pack extension on '{0}' to enable it there also.",
2550
2540
  this.extensionManagementServerService.remoteExtensionManagementServer.label
2551
2541
  )))))
2552
- : ( (new MarkdownString(( localizeWithPath(
2553
- _moduleId,
2554
- 116,
2542
+ : ( (new MarkdownString(( localize(
2543
+ 7751,
2555
2544
  "Install the language pack extension locally to enable it there also."
2556
2545
  )))));
2557
2546
  this.updateStatus({ icon: infoIcon, message }, true);
@@ -2562,39 +2551,35 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
2562
2551
  const runningExtensionServer = runningExtension ? this.extensionManagementServerService.getExtensionManagementServer(toExtension(runningExtension)) : null;
2563
2552
  if (this.extension.server === this.extensionManagementServerService.localExtensionManagementServer && runningExtensionServer === this.extensionManagementServerService.remoteExtensionManagementServer) {
2564
2553
  if (this.extensionManifestPropertiesService.prefersExecuteOnWorkspace(this.extension.local.manifest)) {
2565
- this.updateStatus({ icon: infoIcon, message: ( (new MarkdownString(`${( localizeWithPath(
2566
- _moduleId,
2567
- 117,
2554
+ this.updateStatus({ icon: infoIcon, message: ( (new MarkdownString(`${( localize(
2555
+ 7752,
2568
2556
  "This extension is enabled in the Remote Extension Host because it prefers to run there."
2569
- ))} [${( localizeWithPath(_moduleId, 101, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`))) }, true);
2557
+ ))} [${( localize(7752, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`))) }, true);
2570
2558
  }
2571
2559
  return;
2572
2560
  }
2573
2561
  if (this.extension.server === this.extensionManagementServerService.remoteExtensionManagementServer && runningExtensionServer === this.extensionManagementServerService.localExtensionManagementServer) {
2574
2562
  if (this.extensionManifestPropertiesService.prefersExecuteOnUI(this.extension.local.manifest)) {
2575
- this.updateStatus({ icon: infoIcon, message: ( (new MarkdownString(`${( localizeWithPath(
2576
- _moduleId,
2577
- 118,
2563
+ this.updateStatus({ icon: infoIcon, message: ( (new MarkdownString(`${( localize(
2564
+ 7753,
2578
2565
  "This extension is enabled in the Local Extension Host because it prefers to run there."
2579
- ))} [${( localizeWithPath(_moduleId, 101, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`))) }, true);
2566
+ ))} [${( localize(7753, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`))) }, true);
2580
2567
  }
2581
2568
  return;
2582
2569
  }
2583
2570
  if (this.extension.server === this.extensionManagementServerService.remoteExtensionManagementServer && runningExtensionServer === this.extensionManagementServerService.webExtensionManagementServer) {
2584
2571
  if (this.extensionManifestPropertiesService.canExecuteOnWeb(this.extension.local.manifest)) {
2585
- this.updateStatus({ icon: infoIcon, message: ( (new MarkdownString(`${( localizeWithPath(
2586
- _moduleId,
2587
- 119,
2572
+ this.updateStatus({ icon: infoIcon, message: ( (new MarkdownString(`${( localize(
2573
+ 7754,
2588
2574
  "This extension is enabled in the Web Worker Extension Host because it prefers to run there."
2589
- ))} [${( localizeWithPath(_moduleId, 101, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`))) }, true);
2575
+ ))} [${( localize(7754, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`))) }, true);
2590
2576
  }
2591
2577
  return;
2592
2578
  }
2593
2579
  }
2594
2580
  if (this.extension.enablementState === EnablementState.DisabledByExtensionDependency) {
2595
- this.updateStatus({ icon: warningIcon, message: ( (new MarkdownString(( localizeWithPath(
2596
- _moduleId,
2597
- 120,
2581
+ this.updateStatus({ icon: warningIcon, message: ( (new MarkdownString(( localize(
2582
+ 7755,
2598
2583
  "This extension has been disabled because it depends on an extension that is disabled."
2599
2584
  ))))) }, true);
2600
2585
  return;
@@ -2605,21 +2590,12 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
2605
2590
  )));
2606
2591
  if (!this.extension.isWorkspaceScoped && isEnabled && isRunning) {
2607
2592
  if (this.extension.enablementState === EnablementState.EnabledWorkspace) {
2608
- this.updateStatus({ message: ( (new MarkdownString(( localizeWithPath(
2609
- _moduleId,
2610
- 121,
2611
- "This extension is enabled for this workspace by the user."
2612
- ))))) }, true);
2593
+ this.updateStatus({ message: ( (new MarkdownString(( localize(7756, "This extension is enabled for this workspace by the user."))))) }, true);
2613
2594
  return;
2614
2595
  }
2615
2596
  if (this.extensionManagementServerService.localExtensionManagementServer && this.extensionManagementServerService.remoteExtensionManagementServer) {
2616
2597
  if (this.extension.server === this.extensionManagementServerService.remoteExtensionManagementServer) {
2617
- this.updateStatus({ message: ( (new MarkdownString(( localizeWithPath(
2618
- _moduleId,
2619
- 122,
2620
- "Extension is enabled on '{0}'",
2621
- this.extension.server.label
2622
- ))))) }, true);
2598
+ this.updateStatus({ message: ( (new MarkdownString(( localize(7757, "Extension is enabled on '{0}'", this.extension.server.label))))) }, true);
2623
2599
  return;
2624
2600
  }
2625
2601
  }
@@ -2629,15 +2605,11 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
2629
2605
  }
2630
2606
  if (!isEnabled && !isRunning) {
2631
2607
  if (this.extension.enablementState === EnablementState.DisabledGlobally) {
2632
- this.updateStatus({ message: ( (new MarkdownString(( localizeWithPath(_moduleId, 123, "This extension is disabled globally by the user."))))) }, true);
2608
+ this.updateStatus({ message: ( (new MarkdownString(( localize(7758, "This extension is disabled globally by the user."))))) }, true);
2633
2609
  return;
2634
2610
  }
2635
2611
  if (this.extension.enablementState === EnablementState.DisabledWorkspace) {
2636
- this.updateStatus({ message: ( (new MarkdownString(( localizeWithPath(
2637
- _moduleId,
2638
- 124,
2639
- "This extension is disabled for this workspace by the user."
2640
- ))))) }, true);
2612
+ this.updateStatus({ message: ( (new MarkdownString(( localize(7759, "This extension is disabled for this workspace by the user."))))) }, true);
2641
2613
  return;
2642
2614
  }
2643
2615
  }
@@ -2647,24 +2619,42 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
2647
2619
  }
2648
2620
  }
2649
2621
  updateStatus(status, updateClass) {
2650
- if (this._status === status) {
2651
- return;
2622
+ if (status) {
2623
+ if (( (this._status.some(
2624
+ s => s.message.value === status.message.value && s.icon?.id === status.icon?.id
2625
+ )))) {
2626
+ return;
2627
+ }
2652
2628
  }
2653
- if (this._status && status && this._status.message === status.message && this._status.icon?.id === status.icon?.id) {
2654
- return;
2629
+ else {
2630
+ if (this._status.length === 0) {
2631
+ return;
2632
+ }
2633
+ this._status = [];
2634
+ }
2635
+ if (status) {
2636
+ this._status.push(status);
2637
+ this._status.sort((a, b) => b.icon === trustIcon ? -1 :
2638
+ a.icon === trustIcon ? 1 :
2639
+ b.icon === errorIcon ? -1 :
2640
+ a.icon === errorIcon ? 1 :
2641
+ b.icon === warningIcon ? -1 :
2642
+ a.icon === warningIcon ? 1 :
2643
+ b.icon === infoIcon ? -1 :
2644
+ a.icon === infoIcon ? 1 :
2645
+ 0);
2655
2646
  }
2656
- this._status = status;
2657
2647
  if (updateClass) {
2658
- if (this._status?.icon === errorIcon) {
2648
+ if (status?.icon === errorIcon) {
2659
2649
  this.class = `${ExtensionStatusAction_1.CLASS} extension-status-error ${ThemeIcon.asClassName(errorIcon)}`;
2660
2650
  }
2661
- else if (this._status?.icon === warningIcon) {
2651
+ else if (status?.icon === warningIcon) {
2662
2652
  this.class = `${ExtensionStatusAction_1.CLASS} extension-status-warning ${ThemeIcon.asClassName(warningIcon)}`;
2663
2653
  }
2664
- else if (this._status?.icon === infoIcon) {
2654
+ else if (status?.icon === infoIcon) {
2665
2655
  this.class = `${ExtensionStatusAction_1.CLASS} extension-status-info ${ThemeIcon.asClassName(infoIcon)}`;
2666
2656
  }
2667
- else if (this._status?.icon === trustIcon) {
2657
+ else if (status?.icon === trustIcon) {
2668
2658
  this.class = `${ExtensionStatusAction_1.CLASS} ${ThemeIcon.asClassName(trustIcon)}`;
2669
2659
  }
2670
2660
  else {
@@ -2674,7 +2664,7 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
2674
2664
  this._onDidChangeStatus.fire();
2675
2665
  }
2676
2666
  async run() {
2677
- if (this._status?.icon === trustIcon) {
2667
+ if (this._status[0]?.icon === trustIcon) {
2678
2668
  return this.commandService.executeCommand('workbench.trust.manage');
2679
2669
  }
2680
2670
  }
@@ -2696,7 +2686,7 @@ ExtensionStatusAction = ExtensionStatusAction_1 = ( (__decorate([
2696
2686
  let ReinstallAction = class ReinstallAction extends Action {
2697
2687
  static { ReinstallAction_1 = this; }
2698
2688
  static { this.ID = 'workbench.extensions.action.reinstall'; }
2699
- static { this.LABEL = ( localizeWithPath(_moduleId, 125, "Reinstall Extension...")); }
2689
+ static { this.LABEL = ( localize(7760, "Reinstall Extension...")); }
2700
2690
  constructor(id = ReinstallAction_1.ID, label = ReinstallAction_1.LABEL, extensionsWorkbenchService, extensionManagementServerService, quickInputService, notificationService, hostService, instantiationService, extensionService) {
2701
2691
  super(id, label);
2702
2692
  this.extensionsWorkbenchService = extensionsWorkbenchService;
@@ -2711,7 +2701,7 @@ let ReinstallAction = class ReinstallAction extends Action {
2711
2701
  return this.extensionsWorkbenchService.local.filter(l => !l.isBuiltin && l.local).length > 0;
2712
2702
  }
2713
2703
  run() {
2714
- return this.quickInputService.pick(this.getEntries(), { placeHolder: ( localizeWithPath(_moduleId, 126, "Select Extension to Reinstall")) })
2704
+ return this.quickInputService.pick(this.getEntries(), { placeHolder: ( localize(7761, "Select Extension to Reinstall")) })
2715
2705
  .then(pick => pick && this.reinstallExtension(pick.extension));
2716
2706
  }
2717
2707
  getEntries() {
@@ -2736,20 +2726,18 @@ let ReinstallAction = class ReinstallAction extends Action {
2736
2726
  return this.extensionsWorkbenchService.reinstall(extension)
2737
2727
  .then(extension => {
2738
2728
  const requireReload = !(extension.local && this.extensionService.canAddExtension(toExtensionDescription(extension.local)));
2739
- const message = requireReload ? ( localizeWithPath(
2740
- _moduleId,
2741
- 127,
2729
+ const message = requireReload ? ( localize(
2730
+ 7762,
2742
2731
  "Please reload Visual Studio Code to complete reinstalling the extension {0}.",
2743
2732
  extension.identifier.id
2744
2733
  ))
2745
- : ( localizeWithPath(
2746
- _moduleId,
2747
- 128,
2734
+ : ( localize(
2735
+ 7763,
2748
2736
  "Reinstalling the extension {0} is completed.",
2749
2737
  extension.identifier.id
2750
2738
  ));
2751
2739
  const actions = requireReload ? [{
2752
- label: ( localizeWithPath(_moduleId, 129, "Reload Now")),
2740
+ label: ( localize(7764, "Reload Now")),
2753
2741
  run: () => this.hostService.reload()
2754
2742
  }] : [];
2755
2743
  this.notificationService.prompt(Severity$1.Info, message, actions, { sticky: true });
@@ -2769,7 +2757,7 @@ ReinstallAction = ReinstallAction_1 = ( (__decorate([
2769
2757
  let InstallSpecificVersionOfExtensionAction = class InstallSpecificVersionOfExtensionAction extends Action {
2770
2758
  static { InstallSpecificVersionOfExtensionAction_1 = this; }
2771
2759
  static { this.ID = 'workbench.extensions.action.install.specificVersion'; }
2772
- static { this.LABEL = ( localizeWithPath(_moduleId, 130, "Install Specific Version of Extension...")); }
2760
+ static { this.LABEL = ( localize(7765, "Install Specific Version of Extension...")); }
2773
2761
  constructor(id = InstallSpecificVersionOfExtensionAction_1.ID, label = InstallSpecificVersionOfExtensionAction_1.LABEL, extensionsWorkbenchService, quickInputService, instantiationService, extensionEnablementService) {
2774
2762
  super(id, label);
2775
2763
  this.extensionsWorkbenchService = extensionsWorkbenchService;
@@ -2783,7 +2771,7 @@ let InstallSpecificVersionOfExtensionAction = class InstallSpecificVersionOfExte
2783
2771
  );
2784
2772
  }
2785
2773
  async run() {
2786
- const extensionPick = await this.quickInputService.pick(this.getExtensionEntries(), { placeHolder: ( localizeWithPath(_moduleId, 131, "Select Extension")), matchOnDetail: true });
2774
+ const extensionPick = await this.quickInputService.pick(this.getExtensionEntries(), { placeHolder: ( localize(7766, "Select Extension")), matchOnDetail: true });
2787
2775
  if (extensionPick && extensionPick.extension) {
2788
2776
  const action = this.instantiationService.createInstance(InstallAnotherVersionAction, extensionPick.extension, true);
2789
2777
  await action.run();
@@ -2861,7 +2849,7 @@ let AbstractInstallExtensionsInServerAction = class AbstractInstallExtensionsInS
2861
2849
  quickPick.busy = false;
2862
2850
  if (localExtensionsToInstall.length) {
2863
2851
  quickPick.title = this.getQuickPickTitle();
2864
- quickPick.placeholder = ( localizeWithPath(_moduleId, 132, "Select extensions to install"));
2852
+ quickPick.placeholder = ( localize(7767, "Select extensions to install"));
2865
2853
  quickPick.canSelectMany = true;
2866
2854
  localExtensionsToInstall.sort((e1, e2) => e1.displayName.localeCompare(e2.displayName));
2867
2855
  quickPick.items = ( (localExtensionsToInstall.map(
@@ -2873,7 +2861,7 @@ let AbstractInstallExtensionsInServerAction = class AbstractInstallExtensionsInS
2873
2861
  quickPick.dispose();
2874
2862
  this.notificationService.notify({
2875
2863
  severity: Severity$1.Info,
2876
- message: ( localizeWithPath(_moduleId, 133, "There are no extensions to install."))
2864
+ message: ( localize(7768, "There are no extensions to install."))
2877
2865
  });
2878
2866
  }
2879
2867
  }
@@ -2883,9 +2871,9 @@ let AbstractInstallExtensionsInServerAction = class AbstractInstallExtensionsInS
2883
2871
  if (localExtensionsToInstall.length) {
2884
2872
  await this.progressService.withProgress({
2885
2873
  location: ProgressLocation.Notification,
2886
- title: ( localizeWithPath(_moduleId, 134, "Installing Extensions..."))
2874
+ title: ( localize(7769, "Installing Extensions..."))
2887
2875
  }, () => this.installExtensions(localExtensionsToInstall));
2888
- this.notificationService.info(( localizeWithPath(_moduleId, 135, "Successfully installed extensions.")));
2876
+ this.notificationService.info(( localize(7770, "Successfully installed extensions.")));
2889
2877
  }
2890
2878
  }
2891
2879
  }
@@ -2907,9 +2895,8 @@ let InstallLocalExtensionsInRemoteAction = class InstallLocalExtensionsInRemoteA
2907
2895
  }
2908
2896
  get label() {
2909
2897
  if (this.extensionManagementServerService && this.extensionManagementServerService.remoteExtensionManagementServer) {
2910
- return ( localizeWithPath(
2911
- _moduleId,
2912
- 136,
2898
+ return ( localize(
2899
+ 7771,
2913
2900
  "Install Local Extensions in '{0}'...",
2914
2901
  this.extensionManagementServerService.remoteExtensionManagementServer.label
2915
2902
  ));
@@ -2917,9 +2904,8 @@ let InstallLocalExtensionsInRemoteAction = class InstallLocalExtensionsInRemoteA
2917
2904
  return '';
2918
2905
  }
2919
2906
  getQuickPickTitle() {
2920
- return ( localizeWithPath(
2921
- _moduleId,
2922
- 137,
2907
+ return ( localize(
2908
+ 7772,
2923
2909
  "Install Local Extensions in '{0}'",
2924
2910
  this.extensionManagementServerService.remoteExtensionManagementServer.label
2925
2911
  ));
@@ -2984,10 +2970,10 @@ let InstallRemoteExtensionsInLocalAction = class InstallRemoteExtensionsInLocalA
2984
2970
  this.logService = logService;
2985
2971
  }
2986
2972
  get label() {
2987
- return ( localizeWithPath(_moduleId, 138, "Install Remote Extensions Locally..."));
2973
+ return ( localize(7773, "Install Remote Extensions Locally..."));
2988
2974
  }
2989
2975
  getQuickPickTitle() {
2990
- return ( localizeWithPath(_moduleId, 139, "Install Remote Extensions Locally"));
2976
+ return ( localize(7774, "Install Remote Extensions Locally"));
2991
2977
  }
2992
2978
  getExtensionsToInstall(local) {
2993
2979
  return local.filter(extension => extension.type === ExtensionType.User && extension.server !== this.extensionManagementServerService.localExtensionManagementServer
@@ -3065,28 +3051,27 @@ registerColor('extensionButton.background', {
3065
3051
  light: buttonBackground,
3066
3052
  hcDark: null,
3067
3053
  hcLight: null
3068
- }, ( localizeWithPath(_moduleId, 140, "Button background color for extension actions.")));
3054
+ }, ( localize(7775, "Button background color for extension actions.")));
3069
3055
  registerColor('extensionButton.foreground', {
3070
3056
  dark: buttonForeground,
3071
3057
  light: buttonForeground,
3072
3058
  hcDark: null,
3073
3059
  hcLight: null
3074
- }, ( localizeWithPath(_moduleId, 141, "Button foreground color for extension actions.")));
3060
+ }, ( localize(7776, "Button foreground color for extension actions.")));
3075
3061
  registerColor('extensionButton.hoverBackground', {
3076
3062
  dark: buttonHoverBackground,
3077
3063
  light: buttonHoverBackground,
3078
3064
  hcDark: null,
3079
3065
  hcLight: null
3080
- }, ( localizeWithPath(_moduleId, 142, "Button background hover color for extension actions.")));
3081
- registerColor('extensionButton.separator', buttonSeparator, ( localizeWithPath(_moduleId, 143, "Button separator color for extension actions")));
3066
+ }, ( localize(7777, "Button background hover color for extension actions.")));
3067
+ registerColor('extensionButton.separator', buttonSeparator, ( localize(7778, "Button separator color for extension actions")));
3082
3068
  const extensionButtonProminentBackground = registerColor('extensionButton.prominentBackground', {
3083
3069
  dark: buttonBackground,
3084
3070
  light: buttonBackground,
3085
3071
  hcDark: null,
3086
3072
  hcLight: null
3087
- }, ( localizeWithPath(
3088
- _moduleId,
3089
- 144,
3073
+ }, ( localize(
3074
+ 7779,
3090
3075
  "Button background color for extension actions that stand out (e.g. install button)."
3091
3076
  )));
3092
3077
  registerColor('extensionButton.prominentForeground', {
@@ -3094,9 +3079,8 @@ registerColor('extensionButton.prominentForeground', {
3094
3079
  light: buttonForeground,
3095
3080
  hcDark: null,
3096
3081
  hcLight: null
3097
- }, ( localizeWithPath(
3098
- _moduleId,
3099
- 145,
3082
+ }, ( localize(
3083
+ 7780,
3100
3084
  "Button foreground color for extension actions that stand out (e.g. install button)."
3101
3085
  )));
3102
3086
  registerColor('extensionButton.prominentHoverBackground', {
@@ -3104,9 +3088,8 @@ registerColor('extensionButton.prominentHoverBackground', {
3104
3088
  light: buttonHoverBackground,
3105
3089
  hcDark: null,
3106
3090
  hcLight: null
3107
- }, ( localizeWithPath(
3108
- _moduleId,
3109
- 146,
3091
+ }, ( localize(
3092
+ 7781,
3110
3093
  "Button background hover color for extension actions that stand out (e.g. install button)."
3111
3094
  )));
3112
3095
  registerThemingParticipant((theme, collector) => {