@codingame/monaco-vscode-api 7.1.0 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (683) hide show
  1. package/README.md +0 -1
  2. package/api.js +60 -10
  3. package/extensions.d.ts +9 -0
  4. package/l10n.d.ts +13 -1
  5. package/l10n.js +3 -2
  6. package/missing-services.js +35 -21
  7. package/package.json +9 -9
  8. package/services.js +2 -2
  9. package/vscode/src/vs/base/browser/browser.js +4 -1
  10. package/vscode/src/vs/base/browser/defaultWorkerFactory.js +7 -1
  11. package/vscode/src/vs/base/browser/dom.js +8 -1
  12. package/vscode/src/vs/base/browser/markdownRenderer.js +1 -1
  13. package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.d.ts +1 -0
  14. package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +13 -6
  15. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +1 -1
  16. package/vscode/src/vs/base/browser/ui/button/button.js +2 -3
  17. package/vscode/src/vs/base/browser/ui/dialog/dialog.js +7 -8
  18. package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +2 -3
  19. package/vscode/src/vs/base/browser/ui/findinput/findInput.js +2 -3
  20. package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +4 -5
  21. package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +3 -4
  22. package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css.js +1 -1
  23. package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +3 -5
  24. package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.js +3 -4
  25. package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +7 -8
  26. package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +2 -3
  27. package/vscode/src/vs/base/browser/ui/list/listView.js +2 -2
  28. package/vscode/src/vs/base/browser/ui/menu/menubar.js +2 -3
  29. package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +4 -5
  30. package/vscode/src/vs/base/browser/ui/splitview/paneview.js +2 -3
  31. package/vscode/src/vs/base/browser/ui/table/tableWidget.js +1 -1
  32. package/vscode/src/vs/base/browser/ui/toggle/toggle.css.js +1 -1
  33. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +2 -3
  34. package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +11 -12
  35. package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +2 -3
  36. package/vscode/src/vs/base/common/actions.js +2 -3
  37. package/vscode/src/vs/base/common/arrays.js +7 -1
  38. package/vscode/src/vs/base/common/date.js +61 -63
  39. package/vscode/src/vs/base/common/errorMessage.js +8 -22
  40. package/vscode/src/vs/base/common/event.d.ts +16 -0
  41. package/vscode/src/vs/base/common/event.js +4 -0
  42. package/vscode/src/vs/base/common/hotReload.js +13 -1
  43. package/vscode/src/vs/base/common/hotReloadHelpers.js +25 -0
  44. package/vscode/src/vs/base/common/jsonErrorMessages.js +10 -11
  45. package/vscode/src/vs/base/common/jsonSchema.js +122 -0
  46. package/vscode/src/vs/base/common/keybindingLabels.js +21 -22
  47. package/vscode/src/vs/base/common/labels.js +2 -2
  48. package/vscode/src/vs/base/common/network.js +1 -1
  49. package/vscode/src/vs/base/common/observableInternal/base.d.ts +1 -0
  50. package/vscode/src/vs/base/common/observableInternal/base.js +6 -0
  51. package/vscode/src/vs/base/common/observableInternal/utils.js +4 -1
  52. package/vscode/src/vs/base/common/path.d.ts +1 -1
  53. package/vscode/src/vs/base/common/path.js +20 -17
  54. package/vscode/src/vs/base/common/performance.js +78 -15
  55. package/vscode/src/vs/base/common/platform.js +14 -17
  56. package/vscode/src/vs/base/common/prefixTree.d.ts +2 -0
  57. package/vscode/src/vs/base/common/prefixTree.js +3 -0
  58. package/vscode/src/vs/base/common/product.d.ts +3 -7
  59. package/vscode/src/vs/base/common/uri.js +3 -0
  60. package/vscode/src/vs/base/parts/ipc/common/ipc.net.js +6 -3
  61. package/vscode/src/vs/editor/browser/controller/mouseHandler.js +66 -18
  62. package/vscode/src/vs/editor/browser/controller/mouseTarget.js +18 -5
  63. package/vscode/src/vs/editor/browser/controller/pointerHandler.js +3 -3
  64. package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +9 -13
  65. package/vscode/src/vs/editor/browser/coreCommands.js +4 -5
  66. package/vscode/src/vs/editor/browser/editorExtensions.js +7 -8
  67. package/vscode/src/vs/editor/browser/observableCodeEditor.js +2 -0
  68. package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +2 -3
  69. package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +2 -3
  70. package/vscode/src/vs/editor/browser/view.js +3 -1
  71. package/vscode/src/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.js +1 -2
  72. package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +4 -6
  73. package/vscode/src/vs/editor/browser/widget/codeEditor/editor.css.js +1 -1
  74. package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +13 -14
  75. package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +17 -38
  76. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorDecorations.js +20 -2
  77. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +6 -6
  78. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +11 -2
  79. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +10 -13
  80. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +6 -7
  81. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +37 -3
  82. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +4 -2
  83. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +33 -23
  84. package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +91 -41
  85. package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +9 -14
  86. package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +1 -1
  87. package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +3 -4
  88. package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +7 -13
  89. package/vscode/src/vs/editor/browser/widget/diffEditor/style.css.js +1 -1
  90. package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +80 -21
  91. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +4 -5
  92. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.js +24 -18
  93. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.js +26 -13
  94. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.js +4 -1
  95. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +8 -4
  96. package/vscode/src/vs/editor/common/config/diffEditor.js +2 -0
  97. package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +86 -115
  98. package/vscode/src/vs/editor/common/config/editorOptions.d.ts +11 -1
  99. package/vscode/src/vs/editor/common/config/editorOptions.js +547 -932
  100. package/vscode/src/vs/editor/common/core/editorColorRegistry.js +102 -144
  101. package/vscode/src/vs/editor/common/core/lineRange.js +1 -1
  102. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js +11 -0
  103. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js +2 -2
  104. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +8 -3
  105. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js +34 -34
  106. package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +7 -0
  107. package/vscode/src/vs/editor/common/diff/rangeMapping.js +40 -0
  108. package/vscode/src/vs/editor/common/editorContextKeys.js +52 -69
  109. package/vscode/src/vs/editor/common/languageFeatureRegistry.d.ts +1 -1
  110. package/vscode/src/vs/editor/common/languageFeatureRegistry.js +27 -14
  111. package/vscode/src/vs/editor/common/languages/modesRegistry.js +2 -3
  112. package/vscode/src/vs/editor/common/languages.d.ts +4 -0
  113. package/vscode/src/vs/editor/common/languages.js +28 -29
  114. package/vscode/src/vs/editor/common/model/editStack.js +2 -3
  115. package/vscode/src/vs/editor/common/model/guidesTextModelPart.js +1 -1
  116. package/vscode/src/vs/editor/common/standaloneStrings.js +57 -54
  117. package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +3 -9
  118. package/vscode/src/vs/editor/common/viewModel/modelLineProjection.js +1 -1
  119. package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +7 -14
  120. package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +7 -12
  121. package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +3 -4
  122. package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +2 -3
  123. package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +18 -19
  124. package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +2 -3
  125. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -53
  126. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +22 -10
  127. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +8 -9
  128. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +9 -10
  129. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.css.js +1 -1
  130. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +183 -9
  131. package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.js +4 -5
  132. package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +3 -4
  133. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +2 -3
  134. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +3 -4
  135. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions.js +10 -13
  136. package/vscode/src/vs/editor/contrib/comment/browser/comment.js +7 -8
  137. package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +12 -15
  138. package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +3 -4
  139. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +5 -7
  140. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -11
  141. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +9 -10
  142. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +3 -5
  143. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +4 -5
  144. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +3 -16
  145. package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +3 -5
  146. package/vscode/src/vs/editor/contrib/find/browser/findController.js +20 -24
  147. package/vscode/src/vs/editor/contrib/find/browser/findModel.js +6 -1
  148. package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +31 -35
  149. package/vscode/src/vs/editor/contrib/folding/browser/folding.js +20 -21
  150. package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +12 -23
  151. package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +4 -5
  152. package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +3 -4
  153. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +9 -10
  154. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +18 -25
  155. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +46 -47
  156. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToSymbol.js +42 -17
  157. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +3 -4
  158. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +5 -13
  159. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +4 -5
  160. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +4 -5
  161. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +15 -22
  162. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +7 -11
  163. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +5 -7
  164. package/vscode/src/vs/editor/contrib/hover/browser/getHover.js +8 -4
  165. package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +24 -38
  166. package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +3 -4
  167. package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +25 -27
  168. package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +12 -15
  169. package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +6 -7
  170. package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +3 -4
  171. package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +21 -22
  172. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +9 -10
  173. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/commands.js +12 -13
  174. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/ghostTextWidget.js +2 -2
  175. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +3 -4
  176. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys.js +7 -10
  177. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.js +51 -42
  178. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +3 -5
  179. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +6 -7
  180. package/vscode/src/vs/editor/contrib/inlineEdit/browser/ghostTextWidget.js +12 -16
  181. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEdit.contribution.js +0 -3
  182. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEdit.css.js +1 -1
  183. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditController.js +58 -39
  184. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditHintsWidget.js +1 -1
  185. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditSideBySideWidget.css.js +4 -0
  186. package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditSideBySideWidget.js +301 -0
  187. package/vscode/src/vs/editor/contrib/inlineEdits/browser/commands.js +7 -8
  188. package/vscode/src/vs/editor/contrib/inlineEdits/browser/consts.js +3 -4
  189. package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEditsController.js +1 -1
  190. package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEditsWidget.js +1 -1
  191. package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +2 -3
  192. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -32
  193. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +3 -4
  194. package/vscode/src/vs/editor/contrib/links/browser/links.js +12 -14
  195. package/vscode/src/vs/editor/contrib/message/browser/messageController.js +2 -3
  196. package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +23 -24
  197. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.css.js +1 -1
  198. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +2 -3
  199. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +11 -12
  200. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +20 -35
  201. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +5 -56
  202. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.css.js +1 -1
  203. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.js +71 -0
  204. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +8 -11
  205. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +35 -41
  206. package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +3 -4
  207. package/vscode/src/vs/editor/contrib/rename/browser/rename.js +13 -25
  208. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +9 -11
  209. package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +5 -6
  210. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +5 -6
  211. package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +5 -6
  212. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +13 -15
  213. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +1 -1
  214. package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +10 -20
  215. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +12 -14
  216. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +19 -32
  217. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +3 -4
  218. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +3 -4
  219. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +67 -101
  220. package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +6 -12
  221. package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +2 -3
  222. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +30 -49
  223. package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +7 -9
  224. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +18 -27
  225. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +5 -6
  226. package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +2 -3
  227. package/vscode/src/vs/nls.js +27 -21
  228. package/vscode/src/vs/platform/accessibility/browser/accessibleView.js +15 -9
  229. package/vscode/src/vs/platform/accessibility/browser/accessibleViewRegistry.js +1 -16
  230. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +0 -1
  231. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +53 -56
  232. package/vscode/src/vs/platform/action/common/actionCommonCategories.js +7 -8
  233. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +5 -6
  234. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +8 -9
  235. package/vscode/src/vs/platform/actions/browser/buttonbar.js +4 -5
  236. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +43 -13
  237. package/vscode/src/vs/platform/actions/browser/toolbar.js +5 -6
  238. package/vscode/src/vs/platform/actions/common/actions.d.ts +4 -0
  239. package/vscode/src/vs/platform/actions/common/actions.js +4 -0
  240. package/vscode/src/vs/platform/actions/common/actions.service.d.ts +14 -1
  241. package/vscode/src/vs/platform/actions/common/menuResetAction.js +2 -3
  242. package/vscode/src/vs/platform/actions/common/menuService.js +52 -21
  243. package/vscode/src/vs/platform/configuration/common/configurationModels.js +11 -3
  244. package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +14 -8
  245. package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +180 -146
  246. package/vscode/src/vs/platform/configuration/common/configurations.js +2 -2
  247. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +2 -3
  248. package/vscode/src/vs/platform/contextkey/common/contextkey.js +13 -21
  249. package/vscode/src/vs/platform/contextkey/common/contextkeys.js +10 -15
  250. package/vscode/src/vs/platform/contextkey/common/scanner.js +7 -16
  251. package/vscode/src/vs/platform/contextview/browser/contextMenuService.js +2 -3
  252. package/vscode/src/vs/platform/dialogs/common/dialogs.js +11 -13
  253. package/vscode/src/vs/platform/dnd/browser/dnd.js +3 -5
  254. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +7 -1
  255. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +3 -5
  256. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +3 -2
  257. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +2 -3
  258. package/vscode/src/vs/platform/extensionManagement/common/extensionStorage.js +1 -1
  259. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +25 -33
  260. package/vscode/src/vs/platform/extensions/common/extensionValidator.js +35 -61
  261. package/vscode/src/vs/platform/extensions/common/extensions.d.ts +3 -18
  262. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +31 -0
  263. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +3 -8
  264. package/vscode/src/vs/platform/files/common/files.js +7 -8
  265. package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +2 -3
  266. package/vscode/src/vs/platform/instantiation/common/instantiationService.js +5 -0
  267. package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.d.ts +10 -0
  268. package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.js +8 -0
  269. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +9 -14
  270. package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +2 -3
  271. package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +4 -5
  272. package/vscode/src/vs/platform/list/browser/listService.js +43 -71
  273. package/vscode/src/vs/platform/log/common/log.js +7 -8
  274. package/vscode/src/vs/platform/markers/common/markers.js +4 -5
  275. package/vscode/src/vs/platform/observable/common/wrapInReloadableClass.js +51 -0
  276. package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css.js +1 -1
  277. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +39 -32
  278. package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +7 -11
  279. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +14 -11
  280. package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +99 -142
  281. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +3 -5
  282. package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +3 -4
  283. package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +16 -1
  284. package/vscode/src/vs/platform/quickinput/common/quickInput.js +6 -1
  285. package/vscode/src/vs/platform/request/common/request.js +23 -36
  286. package/vscode/src/vs/platform/theme/browser/defaultStyles.js +11 -2
  287. package/vscode/src/vs/platform/theme/common/colorUtils.js +3 -4
  288. package/vscode/src/vs/platform/theme/common/colors/baseColors.js +27 -37
  289. package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +10 -11
  290. package/vscode/src/vs/platform/theme/common/colors/editorColors.js +120 -207
  291. package/vscode/src/vs/platform/theme/common/colors/inputColors.js +53 -61
  292. package/vscode/src/vs/platform/theme/common/colors/listColors.js +51 -98
  293. package/vscode/src/vs/platform/theme/common/colors/menuColors.js +8 -9
  294. package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +13 -15
  295. package/vscode/src/vs/platform/theme/common/colors/miscColors.js +12 -16
  296. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +13 -17
  297. package/vscode/src/vs/platform/theme/common/colors/searchColors.js +4 -9
  298. package/vscode/src/vs/platform/theme/common/iconRegistry.js +7 -9
  299. package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +49 -56
  300. package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +35 -55
  301. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +2 -3
  302. package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +5 -8
  303. package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +38 -19
  304. package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +3 -5
  305. package/vscode/src/vs/platform/workspace/common/workspace.js +2 -3
  306. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +88 -8
  307. package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +60 -0
  308. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +48 -18
  309. package/vscode/src/vs/workbench/api/common/extHostComments.js +26 -4
  310. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +4 -6
  311. package/vscode/src/vs/workbench/api/common/extHostDocumentData.js +3 -0
  312. package/vscode/src/vs/workbench/api/common/extHostEmbedding.js +1 -0
  313. package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.js +6 -5
  314. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +20 -18
  315. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +45 -48
  316. package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +2 -1
  317. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +2 -3
  318. package/vscode/src/vs/workbench/api/common/extHostLogService.js +2 -3
  319. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +3 -9
  320. package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +3 -0
  321. package/vscode/src/vs/workbench/api/common/extHostNotebookEditor.js +3 -0
  322. package/vscode/src/vs/workbench/api/common/extHostQuickOpen.js +12 -8
  323. package/vscode/src/vs/workbench/api/common/extHostSCM.js +5 -5
  324. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +4 -6
  325. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +3 -5
  326. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +2 -8
  327. package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +4 -4
  328. package/vscode/src/vs/workbench/api/common/extHostTesting.js +69 -6
  329. package/vscode/src/vs/workbench/api/common/extHostTextEditor.js +4 -1
  330. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +2 -3
  331. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +3 -4
  332. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +41 -11
  333. package/vscode/src/vs/workbench/api/common/extHostTypes.js +78 -23
  334. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +10 -5
  335. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +19 -30
  336. package/vscode/src/vs/workbench/browser/actions/developerActions.js +40 -61
  337. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +161 -132
  338. package/vscode/src/vs/workbench/browser/actions/textInputActions.js +7 -8
  339. package/vscode/src/vs/workbench/browser/actions/windowActions.js +30 -43
  340. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +22 -23
  341. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +5 -6
  342. package/vscode/src/vs/workbench/browser/actions.js +2 -3
  343. package/vscode/src/vs/workbench/browser/editor.js +3 -4
  344. package/vscode/src/vs/workbench/browser/labels.js +3 -4
  345. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +12 -17
  346. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +16 -25
  347. package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +2 -3
  348. package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +5 -7
  349. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +45 -53
  350. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +12 -13
  351. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +2 -3
  352. package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +7 -8
  353. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +153 -156
  354. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +206 -329
  355. package/vscode/src/vs/workbench/browser/parts/editor/editorCommandsContext.js +134 -0
  356. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +17 -17
  357. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +14 -15
  358. package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +3 -4
  359. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +15 -23
  360. package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +8 -11
  361. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +63 -75
  362. package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +3 -4
  363. package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +16 -17
  364. package/vscode/src/vs/workbench/browser/parts/editor/multiRowEditorTabsControl.js +1 -3
  365. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +2 -3
  366. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +2 -3
  367. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +6 -9
  368. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +2 -3
  369. package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +17 -19
  370. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +18 -19
  371. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +7 -11
  372. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +7 -8
  373. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +10 -11
  374. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +9 -24
  375. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +16 -28
  376. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +4 -11
  377. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +6 -13
  378. package/vscode/src/vs/workbench/browser/parts/panel/media/panelpart.css.js +1 -1
  379. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +48 -49
  380. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +20 -22
  381. package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +3 -4
  382. package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +2 -3
  383. package/vscode/src/vs/workbench/browser/parts/views/treeView.js +55 -49
  384. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +2 -3
  385. package/vscode/src/vs/workbench/browser/parts/views/viewPane.d.ts +2 -2
  386. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +12 -11
  387. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +11 -11
  388. package/vscode/src/vs/workbench/browser/quickaccess.js +2 -3
  389. package/vscode/src/vs/workbench/browser/window.js +20 -28
  390. package/vscode/src/vs/workbench/browser/workbench.contribution.js +376 -584
  391. package/vscode/src/vs/workbench/common/configuration.js +15 -19
  392. package/vscode/src/vs/workbench/common/contextkeys.js +87 -100
  393. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +2 -3
  394. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +2 -9
  395. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +3 -5
  396. package/vscode/src/vs/workbench/common/editor.d.ts +5 -2
  397. package/vscode/src/vs/workbench/common/editor.js +5 -6
  398. package/vscode/src/vs/workbench/common/theme.js +281 -450
  399. package/vscode/src/vs/workbench/common/views.js +7 -11
  400. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +207 -284
  401. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +50 -16
  402. package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +5 -2
  403. package/vscode/src/vs/workbench/contrib/accessibility/common/accessibilityCommands.js +1 -0
  404. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +29 -15
  405. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.js +17 -0
  406. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +5 -6
  407. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +10 -15
  408. package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +2 -3
  409. package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +26 -27
  410. package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +3 -4
  411. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js +119 -0
  412. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCodeCitationContentPart.js +48 -0
  413. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCommandContentPart.js +2 -3
  414. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationContentPart.js +11 -6
  415. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatReferencesContentPart.js +62 -33
  416. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTaskContentPart.js +2 -2
  417. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.js +5 -5
  418. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.js +2 -3
  419. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +3 -4
  420. package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +2 -3
  421. package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +47 -26
  422. package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +64 -37
  423. package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownRenderer.js +2 -0
  424. package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +36 -20
  425. package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +32 -29
  426. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +8 -8
  427. package/vscode/src/vs/workbench/contrib/chat/browser/media/chat.css.js +1 -1
  428. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +0 -1
  429. package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +7 -8
  430. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +17 -28
  431. package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +59 -9
  432. package/vscode/src/vs/workbench/contrib/chat/common/chatRequestParser.js +10 -3
  433. package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +9 -1
  434. package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +16 -6
  435. package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.js +1 -1
  436. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +8 -14
  437. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActions.contribution.js +3 -1
  438. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +80 -23
  439. package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +11 -12
  440. package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +7 -8
  441. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +5 -6
  442. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +25 -30
  443. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +5 -7
  444. package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +11 -12
  445. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +5 -11
  446. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +7 -8
  447. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +45 -13
  448. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +3 -4
  449. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +5 -6
  450. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +3 -4
  451. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +3 -4
  452. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +6 -7
  453. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +9 -11
  454. package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +10 -15
  455. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +5 -6
  456. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +14 -49
  457. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +21 -18
  458. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +4 -5
  459. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +8 -13
  460. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +43 -25
  461. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +27 -39
  462. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +10 -14
  463. package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +2 -3
  464. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +15 -18
  465. package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +25 -29
  466. package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +10 -11
  467. package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +11 -15
  468. package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +1 -0
  469. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -17
  470. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +6 -9
  471. package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +2 -3
  472. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +33 -36
  473. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +18 -22
  474. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +77 -97
  475. package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +15 -17
  476. package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +13 -14
  477. package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +35 -40
  478. package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +58 -75
  479. package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +4 -5
  480. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +2 -3
  481. package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +8 -1
  482. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +90 -205
  483. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +28 -11
  484. package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +2 -3
  485. package/vscode/src/vs/workbench/contrib/debug/common/debugUtils.js +1 -1
  486. package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +3 -4
  487. package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +2 -3
  488. package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +5 -6
  489. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +342 -359
  490. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +35 -74
  491. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +8 -19
  492. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +3 -4
  493. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +5 -7
  494. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +7 -14
  495. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +6 -8
  496. package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +2 -3
  497. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +12 -20
  498. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +28 -38
  499. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +18 -22
  500. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +108 -168
  501. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +55 -30
  502. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +9 -9
  503. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +45 -59
  504. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +102 -151
  505. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +3 -4
  506. package/vscode/src/vs/workbench/contrib/files/browser/files.js +21 -12
  507. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +2 -3
  508. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +6 -8
  509. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +9 -10
  510. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +20 -29
  511. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +54 -35
  512. package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +7 -10
  513. package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +2 -3
  514. package/vscode/src/vs/workbench/contrib/files/common/files.js +19 -40
  515. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +5 -7
  516. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +28 -36
  517. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +5 -6
  518. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +2 -3
  519. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +5 -10
  520. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +23 -25
  521. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatContentWidget.js +20 -6
  522. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +26 -88
  523. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +2 -34
  524. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +7 -8
  525. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +13 -33
  526. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +2 -3
  527. package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChat.css.js +1 -1
  528. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +51 -91
  529. package/vscode/src/vs/workbench/contrib/issue/common/issue.service.js +2 -1
  530. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +2 -3
  531. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +40 -56
  532. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +3 -4
  533. package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +9 -10
  534. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +2 -3
  535. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +43 -46
  536. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.js +6 -5
  537. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +3 -4
  538. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +8 -14
  539. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +18 -19
  540. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +4 -5
  541. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +3 -4
  542. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +30 -5
  543. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +7 -13
  544. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +16 -6
  545. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +9 -11
  546. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +4 -5
  547. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +5 -7
  548. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +13 -18
  549. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +29 -54
  550. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +29 -30
  551. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellPart.js +1 -1
  552. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +11 -18
  553. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +5 -6
  554. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +54 -24
  555. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +3 -9
  556. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +5 -6
  557. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +2 -3
  558. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +4 -10
  559. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +3 -4
  560. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +3 -9
  561. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +5 -6
  562. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +2 -3
  563. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +22 -13
  564. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +8 -0
  565. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputViewModel.js +17 -0
  566. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +13 -25
  567. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +51 -43
  568. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +2 -2
  569. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +18 -26
  570. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +3 -4
  571. package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.js +3 -1
  572. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -3
  573. package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +4 -10
  574. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +14 -24
  575. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +12 -12
  576. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +50 -51
  577. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +3 -2
  578. package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +24 -31
  579. package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +27 -39
  580. package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +18 -23
  581. package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +68 -80
  582. package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +3 -4
  583. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +26 -57
  584. package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +11 -12
  585. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +2 -3
  586. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +14 -16
  587. package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +1 -1
  588. package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +3 -4
  589. package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +2 -3
  590. package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +3 -4
  591. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +5 -19
  592. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +4 -5
  593. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +17 -29
  594. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +30 -31
  595. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +9 -13
  596. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +9 -13
  597. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +5 -7
  598. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +5 -0
  599. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +1 -0
  600. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +5 -14
  601. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +33 -34
  602. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +2 -0
  603. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +1 -1
  604. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +9 -15
  605. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +37 -51
  606. package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +21 -37
  607. package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +29 -34
  608. package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminal.suggest.js +4 -0
  609. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +16 -13
  610. package/vscode/src/vs/workbench/contrib/testing/common/testId.js +1 -1
  611. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +6 -7
  612. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.d.ts +23 -1
  613. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +23 -1
  614. package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +7 -8
  615. package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +4 -5
  616. package/vscode/src/vs/workbench/contrib/webview/browser/webviewWindowDragMonitor.js +21 -2
  617. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +2 -3
  618. package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +3 -8
  619. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +17 -11
  620. package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +23 -25
  621. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +21 -34
  622. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +3 -5
  623. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +35 -53
  624. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +3 -5
  625. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +2 -3
  626. package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +7 -8
  627. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +145 -236
  628. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +14 -19
  629. package/vscode/src/vs/workbench/services/language/common/languageService.js +40 -57
  630. package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +2 -1
  631. package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +8 -2
  632. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.d.ts +34 -4
  633. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.js +6 -1
  634. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.js +3 -3
  635. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +3 -4
  636. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +8 -9
  637. package/vscode/src/vs/workbench/services/preferences/common/preferences.d.ts +1 -3
  638. package/vscode/src/vs/workbench/services/preferences/common/preferences.js +2 -1
  639. package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +5 -2
  640. package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +3 -4
  641. package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.d.ts +5 -3
  642. package/vscode/src/vs/workbench/services/remote/common/remoteAgentService.d.ts +1 -0
  643. package/vscode/src/vs/workbench/services/remote/common/remoteAgentService.service.d.ts +4 -0
  644. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +14 -20
  645. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +9 -9
  646. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +2 -8
  647. package/vscode/src/vs/workbench/services/search/common/search.js +1 -1
  648. package/vscode/src/vs/workbench/services/search/common/searchExtTypes.js +41 -1
  649. package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +12 -27
  650. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +4 -5
  651. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +34 -50
  652. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +22 -31
  653. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorModel.js +1 -1
  654. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +4 -5
  655. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +2 -3
  656. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +12 -13
  657. package/vscode/src/vs/workbench/services/views/browser/viewsService.js +8 -9
  658. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +25 -33
  659. package/vscode-dts/vscode.proposed.aiTextSearchProviderNew.d.ts +119 -0
  660. package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +61 -3
  661. package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +26 -0
  662. package/vscode-dts/vscode.proposed.commentReveal.d.ts +21 -8
  663. package/vscode-dts/vscode.proposed.commentThreadApplicability.d.ts +0 -2
  664. package/vscode-dts/vscode.proposed.contribSourceControlHistoryItemChangesMenu.d.ts +7 -0
  665. package/vscode-dts/vscode.proposed.fileComments.d.ts +1 -1
  666. package/vscode-dts/vscode.proposed.fileSearchProviderNew.d.ts +100 -0
  667. package/vscode-dts/vscode.proposed.findFiles2New.d.ts +80 -0
  668. package/vscode-dts/vscode.proposed.findTextInFilesNew.d.ts +143 -0
  669. package/vscode-dts/vscode.proposed.lmTools.d.ts +5 -0
  670. package/vscode-dts/vscode.proposed.quickInputButtonLocation.d.ts +29 -0
  671. package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +2 -0
  672. package/vscode-dts/vscode.proposed.testMessageStackTrace.d.ts +38 -0
  673. package/vscode-dts/vscode.proposed.testRelatedCode.d.ts +36 -0
  674. package/vscode-dts/vscode.proposed.textSearchCompleteNew.d.ts +46 -0
  675. package/vscode-dts/vscode.proposed.textSearchProviderNew.d.ts +234 -0
  676. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/model.js +0 -14
  677. package/vscode/src/vs/editor/contrib/inlineEdit/browser/hoverParticipant.js +0 -115
  678. package/vscode/src/vs/platform/issue/common/issue.service.js +0 -3
  679. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +0 -570
  680. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +0 -207
  681. package/vscode/src/vs/workbench/contrib/testing/common/observableValue.js +0 -30
  682. package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +0 -1016
  683. package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +0 -390
@@ -1,7 +1,6 @@
1
1
  import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
2
2
  import { h, trackFocus, getTotalHeight, reset, getActiveElement } from '../../../../base/browser/dom.js';
3
3
  import { renderLabelWithIcons } from '../../../../base/browser/ui/iconLabel/iconLabels.js';
4
- import { ProgressBar } from '../../../../base/browser/ui/progressbar/progressbar.js';
5
4
  import { Emitter, Event } from '../../../../base/common/event.js';
6
5
  import { MarkdownString } from '../../../../base/common/htmlContent.js';
7
6
  import { DisposableStore, MutableDisposable } from '../../../../base/common/lifecycle.js';
@@ -18,7 +17,7 @@ import { LineRange } from '../../../../editor/common/core/lineRange.js';
18
17
  import { DetailedLineRangeMapping, RangeMapping } from '../../../../editor/common/diff/rangeMapping.js';
19
18
  import { ScrollType } from '../../../../editor/common/editorCommon.js';
20
19
  import { ITextModelService } from '../../../../editor/common/services/resolverService.js';
21
- import { localizeWithPath } from '../../../../nls.js';
20
+ import { localize } from '../../../../nls.js';
22
21
  import { IAccessibilityService } from '../../../../platform/accessibility/common/accessibility.service.js';
23
22
  import { MenuWorkbenchButtonBar } from '../../../../platform/actions/browser/buttonbar.js';
24
23
  import { MenuWorkbenchToolBar, HiddenItemStrategy } from '../../../../platform/actions/browser/toolbar.js';
@@ -54,7 +53,6 @@ import { ServiceCollection } from '../../../../platform/instantiation/common/ser
54
53
  import { IHoverService } from '../../../../platform/hover/browser/hover.service.js';
55
54
  import { TextOnlyMenuEntryActionViewItem } from '../../../../platform/actions/browser/menuEntryActionViewItem.js';
56
55
  var HunkAccessibleDiffViewer_1;
57
- const _moduleId = "vs/workbench/contrib/inlineChat/browser/inlineChatWidget";
58
56
  let InlineChatWidget = class InlineChatWidget {
59
57
  constructor(location, options, _instantiationService, _contextKeyService, _keybindingService, _accessibilityService, _configurationService, _accessibleViewService, _textModelResolverService, _chatService, _hoverService) {
60
58
  this._instantiationService = _instantiationService;
@@ -68,8 +66,6 @@ let InlineChatWidget = class InlineChatWidget {
68
66
  this._hoverService = _hoverService;
69
67
  this._elements = h('div.inline-chat@root', [
70
68
  h('div.chat-widget@chatWidget'),
71
- h('div.progress@progress'),
72
- h('div.previewDiff.hidden@previewDiff'),
73
69
  h('div.accessibleViewer@accessibleViewer'),
74
70
  h('div.status@status', [
75
71
  h('div.label.info.hidden@infoLabel'),
@@ -84,8 +80,6 @@ let InlineChatWidget = class InlineChatWidget {
84
80
  this._onDidChangeInput = this._store.add(( (new Emitter())));
85
81
  this.onDidChangeInput = this._onDidChangeInput.event;
86
82
  this._isLayouting = false;
87
- this._progressBar = ( (new ProgressBar(this._elements.progress)));
88
- this._store.add(this._progressBar);
89
83
  this.scopedContextKeyService = this._store.add(_contextKeyService.createScoped(this._elements.chatWidget));
90
84
  const scopedInstaService = _instantiationService.createChild(( (new ServiceCollection([
91
85
  IContextKeyService,
@@ -96,7 +90,7 @@ let InlineChatWidget = class InlineChatWidget {
96
90
  renderStyle: 'minimal',
97
91
  renderInputOnTop: false,
98
92
  renderFollowups: true,
99
- supportsFileReferences: true,
93
+ supportsFileReferences: _configurationService.getValue(`chat.experimental.variables.${location.location}`) === true,
100
94
  filter: item => !isWelcomeVM(item),
101
95
  ...options.chatWidgetViewOptions
102
96
  }, {
@@ -180,15 +174,13 @@ let InlineChatWidget = class InlineChatWidget {
180
174
  if (this._configurationService.getValue(AccessibilityVerbositySettingId.InlineChat)) {
181
175
  const kbLabel = this._keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibilityHelp)?.getLabel();
182
176
  label = kbLabel
183
- ? ( localizeWithPath(
184
- _moduleId,
185
- 0,
177
+ ? ( localize(
178
+ 11375,
186
179
  "Inline Chat Input, Use {0} for Inline Chat Accessibility Help.",
187
180
  kbLabel
188
181
  ))
189
- : ( localizeWithPath(
190
- _moduleId,
191
- 1,
182
+ : ( localize(
183
+ 11376,
192
184
  "Inline Chat Input, Run the Inline Chat Accessibility Help command for more information."
193
185
  ));
194
186
  }
@@ -218,21 +210,18 @@ let InlineChatWidget = class InlineChatWidget {
218
210
  }
219
211
  _doLayout(dimension) {
220
212
  const extraHeight = this._getExtraHeight();
221
- const progressHeight = getTotalHeight(this._elements.progress);
222
213
  const statusHeight = getTotalHeight(this._elements.status);
223
214
  this._elements.root.style.height = `${dimension.height - extraHeight}px`;
224
215
  this._elements.root.style.width = `${dimension.width}px`;
225
- this._elements.progress.style.width = `${dimension.width}px`;
226
- this._chatWidget.layout(dimension.height - progressHeight - statusHeight - extraHeight, dimension.width);
216
+ this._chatWidget.layout(dimension.height - statusHeight - extraHeight, dimension.width);
227
217
  }
228
218
  get contentHeight() {
229
219
  const data = {
230
220
  chatWidgetContentHeight: this._chatWidget.contentHeight,
231
- progressHeight: getTotalHeight(this._elements.progress),
232
221
  statusHeight: getTotalHeight(this._elements.status),
233
222
  extraHeight: this._getExtraHeight()
234
223
  };
235
- const result = data.progressHeight + data.chatWidgetContentHeight + data.statusHeight + data.extraHeight;
224
+ const result = data.chatWidgetContentHeight + data.statusHeight + data.extraHeight;
236
225
  return result;
237
226
  }
238
227
  get minHeight() {
@@ -251,16 +240,6 @@ let InlineChatWidget = class InlineChatWidget {
251
240
  _getExtraHeight() {
252
241
  return 4 + 2 + 4 ;
253
242
  }
254
- updateProgress(show) {
255
- if (show) {
256
- this._progressBar.show();
257
- this._progressBar.infinite();
258
- }
259
- else {
260
- this._progressBar.stop();
261
- this._progressBar.hide();
262
- }
263
- }
264
243
  get value() {
265
244
  return this._chatWidget.getInput();
266
245
  }
@@ -305,7 +284,7 @@ let InlineChatWidget = class InlineChatWidget {
305
284
  if (!isNonEmptyArray(requests)) {
306
285
  return undefined;
307
286
  }
308
- return tail(requests)?.response?.response.asString();
287
+ return tail(requests)?.response?.response.toString();
309
288
  }
310
289
  getChatModel() {
311
290
  return this._chatWidget.viewModel?.model ?? this._defaultChatModel;
@@ -384,6 +363,7 @@ let InlineChatWidget = class InlineChatWidget {
384
363
  this._onDidChangeHeight.fire();
385
364
  }
386
365
  reset() {
366
+ this._chatWidget.setContext(true);
387
367
  this._chatWidget.saveState();
388
368
  this.updateChatMessage(undefined);
389
369
  reset(this._elements.statusLabel);
@@ -413,7 +393,7 @@ InlineChatWidget = ( (__decorate([
413
393
  ( (__param(9, IChatService))),
414
394
  ( (__param(10, IHoverService)))
415
395
  ], InlineChatWidget)));
416
- const defaultAriaLabel = ( localizeWithPath(_moduleId, 2, "Inline Chat Input"));
396
+ const defaultAriaLabel = ( localize(11377, "Inline Chat Input"));
417
397
  let EditorBasedInlineChatWidget = class EditorBasedInlineChatWidget extends InlineChatWidget {
418
398
  constructor(location, _parentEditor, options, contextKeyService, keybindingService, instantiationService, accessibilityService, configurationService, accessibleViewService, textModelResolverService, chatService, hoverService) {
419
399
  super(location, { ...options, chatWidgetViewOptions: { ...options.chatWidgetViewOptions, editorOverflowWidgetsDomNode: _parentEditor.getOverflowWidgetsDomNode() } }, instantiationService, contextKeyService, keybindingService, accessibilityService, configurationService, accessibleViewService, textModelResolverService, chatService, hoverService);
@@ -423,7 +403,7 @@ let EditorBasedInlineChatWidget = class EditorBasedInlineChatWidget extends Inli
423
403
  get contentHeight() {
424
404
  let result = super.contentHeight;
425
405
  if (this._accessibleViewer.value) {
426
- result += this._accessibleViewer.value.height;
406
+ result += this._accessibleViewer.value.height + 8 ;
427
407
  }
428
408
  return result;
429
409
  }
@@ -431,7 +411,7 @@ let EditorBasedInlineChatWidget = class EditorBasedInlineChatWidget extends Inli
431
411
  let newHeight = dimension.height;
432
412
  if (this._accessibleViewer.value) {
433
413
  this._accessibleViewer.value.width = dimension.width - 12;
434
- newHeight -= this._accessibleViewer.value.height;
414
+ newHeight -= this._accessibleViewer.value.height + 8;
435
415
  }
436
416
  super._doLayout(dimension.with(undefined, newHeight));
437
417
  this._elements.root.style.height = `${dimension.height - this._getExtraHeight()}px`;
@@ -5,7 +5,7 @@ import { toDisposable } from '../../../../base/common/lifecycle.js';
5
5
  import { assertType } from '../../../../base/common/types.js';
6
6
  import { EditorOption } from '../../../../editor/common/config/editorOptions.js';
7
7
  import { ZoneWidget } from '../../../../editor/contrib/zoneWidget/browser/zoneWidget.js';
8
- import { localizeWithPath } from '../../../../nls.js';
8
+ import { localize } from '../../../../nls.js';
9
9
  import { IContextKeyService } from '../../../../platform/contextkey/common/contextkey.service.js';
10
10
  import { IInstantiationService } from '../../../../platform/instantiation/common/instantiation.js';
11
11
  import { CTX_INLINE_CHAT_OUTER_CURSOR_POSITION, MENU_INLINE_CHAT_WIDGET_STATUS, ACTION_REGENERATE_RESPONSE, ACTION_TOGGLE_DIFF, ACTION_ACCEPT_CHANGES, MENU_INLINE_CHAT_EXECUTE, InlineChatConfigKeys, EditMode } from '../common/inlineChat.js';
@@ -15,7 +15,6 @@ import { StableEditorBottomScrollState } from '../../../../editor/browser/stable
15
15
  import { ScrollType } from '../../../../editor/common/editorCommon.js';
16
16
  import { IConfigurationService } from '../../../../platform/configuration/common/configuration.service.js';
17
17
  import { ILogService } from '../../../../platform/log/common/log.service.js';
18
- const _moduleId = "vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget";
19
18
  let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
20
19
  constructor(location, editor, _instaService, _logService, contextKeyService, configurationService) {
21
20
  super(editor, { showFrame: false, showArrow: false, isAccessible: true, className: 'inline-chat-widget', keepEditorSelection: true, showInHiddenAreas: true, ordinal: 10000 });
@@ -167,7 +166,7 @@ let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
167
166
  this.widget.reset();
168
167
  this.widget.chatWidget.setVisible(false);
169
168
  super.hide();
170
- status(( localizeWithPath(_moduleId, 0, 'Closed inline chat widget')));
169
+ status(( localize(10587, 'Closed inline chat widget')));
171
170
  scrollState.restore(this.editor);
172
171
  }
173
172
  };
@@ -1,4 +1,4 @@
1
1
  import n from '../../../../../../../../external/rollup-plugin-styles/dist/runtime/inject-css.js';
2
- var css = ".monaco-workbench .zone-widget.inline-chat-widget{z-index:3}.monaco-workbench .zone-widget.inline-chat-widget .interactive-session{max-width:unset}.monaco-workbench .inline-chat{background:var(--vscode-inlineChat-background);border:1px solid var(--vscode-inlineChat-border);border-radius:4px;box-shadow:0 2px 4px 0 var(--vscode-widget-shadow);color:inherit}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-input-part{padding:4px 6px 0}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-input-part .interactive-execute-toolbar{margin-bottom:1px}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-input-part .interactive-input-and-execute-toolbar{border-radius:2px;width:100%}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-list{padding:4px 0 0}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-list .interactive-item-container.interactive-item-compact{gap:6px;padding-left:6px;padding-right:20px;padding-top:2px}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-list .interactive-item-container.interactive-item-compact .header .avatar{outline-offset:-1px}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-list .interactive-item-container.interactive-item-compact .chat-notification-widget{border:none;margin-bottom:0;padding:0}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-list .interactive-request{border:none}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-list .interactive-item-container.minimal>.header{right:10px;top:5px}.monaco-workbench .inline-chat .progress{position:relative}.monaco-workbench .part.editor>.content .inline-chat .progress .monaco-progress-container{top:0}.monaco-workbench .inline-chat>.status{align-items:center;display:flex;justify-content:space-between;padding:4px 6px 0}.monaco-workbench .inline-chat .status .actions.hidden{display:none}.monaco-workbench .inline-chat .status .label{color:var(--vscode-descriptionForeground);display:flex;font-size:11px;overflow:hidden;white-space:nowrap}.monaco-workbench .inline-chat .status .label.info{margin-right:auto;padding-left:2px}.monaco-workbench .inline-chat .status .label.status{margin-left:auto}.monaco-workbench .inline-chat .status .label.hidden{display:none}.monaco-workbench .inline-chat .status .label.error{color:var(--vscode-errorForeground)}.monaco-workbench .inline-chat .status .label.warn{color:var(--vscode-editorWarning-foreground)}.monaco-workbench .inline-chat .status .label>.codicon{font-size:12px;line-height:18px;padding:0 3px}.monaco-workbench .inline-chat .chatMessage .chatMessageContent .value{overflow:hidden;-webkit-user-select:text;user-select:text}.monaco-workbench .inline-chat .followUps{padding:5px}.monaco-workbench .inline-chat .followUps .interactive-session-followups .monaco-button{color:var(--vscode-textLink-foreground);display:block;font-size:12px}.monaco-workbench .inline-chat .followUps.hidden{display:none}.monaco-workbench .inline-chat .chatMessage{padding:0 3px}.monaco-workbench .inline-chat .chatMessage .chatMessageContent{padding:2px}.monaco-workbench .inline-chat .chatMessage.hidden{display:none}.monaco-workbench .inline-chat .status .actions,.monaco-workbench .inline-chat-content-widget .toolbar{display:flex;height:18px;.actions-container{gap:3px}.action-item.text-only .action-label{border-radius:2px;font-size:12px;line-height:16px;padding:0 4px}.monaco-action-bar .action-item.menu-entry.text-only+.action-item:not(.text-only)>.monaco-dropdown .action-label{font-size:12px;height:unset;line-height:16px;width:unset}}.monaco-workbench .inline-chat .status .actions,.monaco-workbench .inline-chat-content-widget.contents .toolbar{.monaco-action-bar .action-item.menu-entry.text-only:first-of-type .action-label{background-color:var(--vscode-button-background);color:var(--vscode-button-foreground)}}.monaco-workbench .inline-chat .status{.actions.text-style{display:none}.actions.button-style{display:inherit}}.monaco-workbench .inline-chat .status.text{.actions.text-style{display:inherit}.actions.button-style{display:none}}.monaco-workbench .inline-chat .status .actions>.monaco-button,.monaco-workbench .inline-chat .status .actions>.monaco-button-dropdown{margin-right:4px}.monaco-workbench .inline-chat .status .actions>.monaco-button-dropdown>.monaco-dropdown-button{align-items:center;display:flex;padding:0 4px}.monaco-workbench .inline-chat .status .actions>.monaco-button.codicon{display:flex}.monaco-workbench .inline-chat .status .actions>.monaco-button.codicon:before{align-self:center}.monaco-workbench .inline-chat .status .actions .monaco-text-button{padding:0 2px;white-space:nowrap}.monaco-workbench .inline-chat .status .monaco-toolbar .action-label.checked{background-color:var(--vscode-inputOption-activeBackground);color:var(--vscode-inputOption-activeForeground);outline:1px solid var(--vscode-inputOption-activeBorder)}.monaco-workbench .inline-chat .status .monaco-toolbar .action-item.button-item .action-label:is(:hover,:focus){background-color:var(--vscode-button-hoverBackground)}.monaco-workbench .inline-chat .preview{display:none}.monaco-workbench .inline-chat .previewCreate,.monaco-workbench .inline-chat .previewDiff{border:1px solid var(--vscode-inlineChat-border);border-radius:2px;display:inherit;margin:6px 0}.monaco-workbench .inline-chat .previewCreateTitle{padding-top:6px}.monaco-workbench .inline-chat .diff-review.hidden,.monaco-workbench .inline-chat .previewCreate.hidden,.monaco-workbench .inline-chat .previewCreateTitle.hidden,.monaco-workbench .inline-chat .previewDiff.hidden{display:none}.monaco-workbench .inline-chat-toolbar{display:flex}.monaco-workbench .inline-chat-toolbar>.monaco-button{margin-right:6px}.monaco-workbench .inline-chat-toolbar .action-label.checked{background-color:var(--vscode-inputOption-activeBackground);color:var(--vscode-inputOption-activeForeground);outline:1px solid var(--vscode-inputOption-activeBorder)}.monaco-workbench .inline-chat-inserted-range{background-color:var(--vscode-inlineChatDiff-inserted)}.monaco-workbench .inline-chat-inserted-range-linehighlight{background-color:var(--vscode-diffEditor-insertedLineBackground)}.monaco-workbench .inline-chat-original-zone2{background-color:var(--vscode-diffEditor-removedLineBackground);opacity:.8}.monaco-workbench .inline-chat-lines-inserted-range{background-color:var(--vscode-diffEditor-insertedTextBackground)}.monaco-workbench .inline-chat-block-selection{background-color:var(--vscode-inlineChat-regionHighlight)}.monaco-workbench .interactive-session .interactive-input-and-execute-toolbar .monaco-editor .inline-chat-slash-command{background-color:var(--vscode-chat-slashCommandBackground);border-radius:2px;color:var(--vscode-chat-slashCommandForeground);padding:1px}.monaco-workbench .inline-chat-slash-command-detail{opacity:.5}.monaco-workbench .inline-chat-diff-widget .monaco-diff-editor .monaco-editor-background,.monaco-workbench .inline-chat-diff-widget .monaco-diff-editor .monaco-workbench .margin-view-overlays,.monaco-workbench .inline-chat-newfile-widget{background-color:var(--vscode-inlineChat-regionHighlight)}.monaco-workbench .inline-chat-newfile-widget .title{align-items:center;display:flex;justify-content:space-between}.monaco-workbench .inline-chat-newfile-widget .title .detail{margin-left:4px}.monaco-workbench .inline-chat-newfile-widget .buttonbar-widget{display:flex;margin-left:auto;margin-right:8px}.monaco-workbench .inline-chat-newfile-widget .buttonbar-widget>.monaco-button{display:inline-flex;margin-left:4px;white-space:nowrap}.monaco-workbench .glyph-margin-widgets .cgmr.codicon-inline-chat-opaque,.monaco-workbench .glyph-margin-widgets .cgmr.codicon-inline-chat-transparent{cursor:pointer;display:block;transition:opacity .2s ease-in-out}.monaco-workbench .glyph-margin-widgets .cgmr.codicon-inline-chat-opaque{opacity:.5}.monaco-workbench .glyph-margin-widgets .cgmr.codicon-inline-chat-transparent{opacity:0}.monaco-workbench .glyph-margin-widgets .cgmr.codicon-inline-chat-opaque:hover,.monaco-workbench .glyph-margin-widgets .cgmr.codicon-inline-chat-transparent:hover{opacity:1}";
2
+ var css = ".monaco-workbench .zone-widget.inline-chat-widget{z-index:3}.monaco-workbench .zone-widget.inline-chat-widget .interactive-session{max-width:unset}.monaco-workbench .inline-chat{background:var(--vscode-inlineChat-background);border:1px solid var(--vscode-inlineChat-border);border-radius:4px;box-shadow:0 2px 4px 0 var(--vscode-widget-shadow);color:inherit}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-input-part{padding:4px 6px 0}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-input-part .interactive-execute-toolbar{margin-bottom:1px}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-input-part .interactive-input-and-execute-toolbar{border-radius:2px;width:100%}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-list{padding:4px 0 0}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-list .interactive-item-container.interactive-item-compact{gap:6px;padding-left:6px;padding-right:20px;padding-top:2px}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-list .interactive-item-container.interactive-item-compact .header .avatar{outline-offset:-1px}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-list .interactive-item-container.interactive-item-compact .chat-notification-widget{border:none;margin-bottom:0;padding:0}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-list .interactive-request{border:none}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-list .interactive-item-container.minimal>.header{right:10px;top:5px}.monaco-workbench .inline-chat>.status{align-items:center;display:flex;justify-content:space-between;padding:4px 6px 0}.monaco-workbench .inline-chat .status .actions.hidden{display:none}.monaco-workbench .inline-chat .status .label{color:var(--vscode-descriptionForeground);display:flex;font-size:11px;overflow:hidden;white-space:nowrap}.monaco-workbench .inline-chat .status .label.info{margin-right:auto;padding-left:2px}.monaco-workbench .inline-chat .status .label.status{margin-left:auto}.monaco-workbench .inline-chat .status .label.hidden{display:none}.monaco-workbench .inline-chat .status .label.error{color:var(--vscode-errorForeground)}.monaco-workbench .inline-chat .status .label.warn{color:var(--vscode-editorWarning-foreground)}.monaco-workbench .inline-chat .status .label>.codicon{font-size:12px;line-height:18px;padding:0 3px}.monaco-workbench .inline-chat .status .actions,.monaco-workbench .inline-chat-content-widget .toolbar{display:flex;height:18px;.actions-container{gap:3px}.action-item.text-only .action-label{border-radius:2px;font-size:12px;line-height:16px;padding:0 4px}.monaco-action-bar .action-item.menu-entry.text-only+.action-item:not(.text-only)>.monaco-dropdown .action-label{font-size:12px;height:unset;line-height:16px;width:unset}}.monaco-workbench .inline-chat .status .actions,.monaco-workbench .inline-chat-content-widget.contents .toolbar{.monaco-action-bar .action-item.menu-entry.text-only:first-of-type .action-label{background-color:var(--vscode-button-background);color:var(--vscode-button-foreground)}}.monaco-workbench .inline-chat .status{.actions.text-style{display:none}.actions.button-style{display:inherit}}.monaco-workbench .inline-chat .status.text{.actions.text-style{display:inherit}.actions.button-style{display:none}}.monaco-workbench .inline-chat .status .actions>.monaco-button,.monaco-workbench .inline-chat .status .actions>.monaco-button-dropdown{margin-right:4px}.monaco-workbench .inline-chat .status .actions>.monaco-button-dropdown>.monaco-dropdown-button{align-items:center;display:flex;padding:0 4px}.monaco-workbench .inline-chat .status .actions>.monaco-button.codicon{display:flex}.monaco-workbench .inline-chat .status .actions>.monaco-button.codicon:before{align-self:center}.monaco-workbench .inline-chat .status .actions .monaco-text-button{padding:0 2px;white-space:nowrap}.monaco-workbench .inline-chat .status .monaco-toolbar .action-label.checked{background-color:var(--vscode-inputOption-activeBackground);color:var(--vscode-inputOption-activeForeground);outline:1px solid var(--vscode-inputOption-activeBorder)}.monaco-workbench .inline-chat .status .monaco-toolbar .action-item.button-item .action-label:is(:hover,:focus){background-color:var(--vscode-button-hoverBackground)}.monaco-workbench .inline-chat .diff-review{background-color:unset;padding:4px 6px}.monaco-workbench .inline-chat .diff-review.hidden{display:none}.monaco-workbench .inline-chat-inserted-range{background-color:var(--vscode-inlineChatDiff-inserted)}.monaco-workbench .inline-chat-inserted-range-linehighlight{background-color:var(--vscode-diffEditor-insertedLineBackground)}.monaco-workbench .inline-chat-original-zone2{background-color:var(--vscode-diffEditor-removedLineBackground);opacity:.8}.monaco-workbench .inline-chat-lines-inserted-range{background-color:var(--vscode-diffEditor-insertedTextBackground)}.monaco-workbench .inline-chat-block-selection{background-color:var(--vscode-inlineChat-regionHighlight)}.monaco-workbench .glyph-margin-widgets .cgmr.codicon-inline-chat-opaque,.monaco-workbench .glyph-margin-widgets .cgmr.codicon-inline-chat-transparent{cursor:pointer;display:block;transition:opacity .2s ease-in-out}.monaco-workbench .glyph-margin-widgets .cgmr.codicon-inline-chat-opaque{opacity:.5}.monaco-workbench .glyph-margin-widgets .cgmr.codicon-inline-chat-transparent{opacity:0}.monaco-workbench .glyph-margin-widgets .cgmr.codicon-inline-chat-opaque:hover,.monaco-workbench .glyph-margin-widgets .cgmr.codicon-inline-chat-transparent:hover{opacity:1}";
3
3
  n(css,{});
4
4
  export { css, css as default };
@@ -1,4 +1,4 @@
1
- import { localizeWithPath } from '../../../../nls.js';
1
+ import { localize } from '../../../../nls.js';
2
2
  import { MenuId } from '../../../../platform/actions/common/actions.js';
3
3
  import { Extensions } from '../../../../platform/configuration/common/configurationRegistry.js';
4
4
  import { RawContextKey, ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js';
@@ -14,7 +14,6 @@ import '../../../../platform/theme/common/colors/minimapColors.js';
14
14
  import '../../../../platform/theme/common/colors/miscColors.js';
15
15
  import '../../../../platform/theme/common/colors/quickpickColors.js';
16
16
  import '../../../../platform/theme/common/colors/searchColors.js';
17
- const _moduleId = "vs/workbench/contrib/inlineChat/common/inlineChat";
18
17
  var InlineChatConfigKeys;
19
18
  ( ((function(InlineChatConfigKeys) {
20
19
  InlineChatConfigKeys["Mode"] = "inlineChat.mode";
@@ -33,72 +32,65 @@ var EditMode;
33
32
  id: 'editor',
34
33
  properties: {
35
34
  [InlineChatConfigKeys.Mode]: {
36
- description: ( localizeWithPath(
37
- _moduleId,
38
- 0,
35
+ description: ( localize(
36
+ 7005,
39
37
  "Configure if changes crafted with inline chat are applied directly to the document or are previewed first."
40
38
  )),
41
39
  default: EditMode.Live,
42
40
  type: 'string',
43
41
  enum: [EditMode.Live, EditMode.Preview],
44
42
  markdownEnumDescriptions: [
45
- ( localizeWithPath(
46
- _moduleId,
47
- 1,
43
+ ( localize(
44
+ 7006,
48
45
  "Changes are applied directly to the document, can be highlighted via inline diffs, and accepted/discarded by hunks. Ending a session will keep the changes."
49
46
  )),
50
- ( localizeWithPath(
51
- _moduleId,
52
- 2,
47
+ ( localize(
48
+ 7007,
53
49
  "Changes are previewed only and need to be accepted via the apply button. Ending a session will discard the changes."
54
50
  )),
55
51
  ],
56
52
  tags: ['experimental']
57
53
  },
58
54
  [InlineChatConfigKeys.FinishOnType]: {
59
- description: ( localizeWithPath(
60
- _moduleId,
61
- 3,
55
+ description: ( localize(
56
+ 7008,
62
57
  "Whether to finish an inline chat session when typing outside of changed regions."
63
58
  )),
64
59
  default: false,
65
60
  type: 'boolean'
66
61
  },
67
62
  [InlineChatConfigKeys.AcceptedOrDiscardBeforeSave]: {
68
- description: ( localizeWithPath(_moduleId, 4, "Whether pending inline chat sessions prevent saving.")),
63
+ description: ( localize(7009, "Whether pending inline chat sessions prevent saving.")),
69
64
  default: true,
70
65
  type: 'boolean'
71
66
  },
72
67
  [InlineChatConfigKeys.HoldToSpeech]: {
73
- description: ( localizeWithPath(
74
- _moduleId,
75
- 5,
68
+ description: ( localize(
69
+ 7010,
76
70
  "Whether holding the inline chat keybinding will automatically enable speech recognition."
77
71
  )),
78
72
  default: true,
79
73
  type: 'boolean'
80
74
  },
81
75
  [InlineChatConfigKeys.AccessibleDiffView]: {
82
- description: ( localizeWithPath(
83
- _moduleId,
84
- 6,
76
+ description: ( localize(
77
+ 7011,
85
78
  "Whether the inline chat also renders an accessible diff viewer for its changes."
86
79
  )),
87
80
  default: 'auto',
88
81
  type: 'string',
89
82
  enum: ['auto', 'on', 'off'],
90
83
  markdownEnumDescriptions: [
91
- ( localizeWithPath(
92
- _moduleId,
93
- 7,
84
+ ( localize(
85
+ 7012,
94
86
  "The accessible diff viewer is based screen reader mode being enabled."
95
87
  )),
96
- ( localizeWithPath(_moduleId, 8, "The accessible diff viewer is always enabled.")),
97
- ( localizeWithPath(_moduleId, 9, "The accessible diff viewer is never enabled.")),
88
+ ( localize(7013, "The accessible diff viewer is always enabled.")),
89
+ ( localize(7014, "The accessible diff viewer is never enabled.")),
98
90
  ],
99
91
  },
100
92
  [InlineChatConfigKeys.ExpTextButtons]: {
101
- description: ( localizeWithPath(_moduleId, 10, "Whether to use textual buttons.")),
93
+ description: ( localize(7015, "Whether to use textual buttons.")),
102
94
  default: false,
103
95
  type: 'boolean',
104
96
  tags: ['experimental']
@@ -112,40 +104,32 @@ var InlineChatResponseType;
112
104
  InlineChatResponseType["Messages"] = "messages";
113
105
  InlineChatResponseType["MessagesAndEdits"] = "messagesAndEdits";
114
106
  })(InlineChatResponseType || (InlineChatResponseType = {}))));
115
- const CTX_INLINE_CHAT_HAS_AGENT = ( (new RawContextKey('inlineChatHasProvider', false, ( localizeWithPath(_moduleId, 11, "Whether a provider for interactive editors exists")))));
116
- const CTX_INLINE_CHAT_VISIBLE = ( (new RawContextKey('inlineChatVisible', false, ( localizeWithPath(_moduleId, 12, "Whether the interactive editor input is visible")))));
117
- const CTX_INLINE_CHAT_FOCUSED = ( (new RawContextKey('inlineChatFocused', false, ( localizeWithPath(_moduleId, 13, "Whether the interactive editor input is focused")))));
118
- const CTX_INLINE_CHAT_RESPONSE_FOCUSED = ( (new RawContextKey('inlineChatResponseFocused', false, ( localizeWithPath(_moduleId, 14, "Whether the interactive widget's response is focused")))));
119
- const CTX_INLINE_CHAT_EMPTY = ( (new RawContextKey('inlineChatEmpty', false, ( localizeWithPath(_moduleId, 15, "Whether the interactive editor input is empty")))));
120
- const CTX_INLINE_CHAT_INNER_CURSOR_FIRST = ( (new RawContextKey('inlineChatInnerCursorFirst', false, ( localizeWithPath(
121
- _moduleId,
122
- 16,
107
+ const CTX_INLINE_CHAT_HAS_AGENT = ( (new RawContextKey('inlineChatHasProvider', false, ( localize(7016, "Whether a provider for interactive editors exists")))));
108
+ const CTX_INLINE_CHAT_VISIBLE = ( (new RawContextKey('inlineChatVisible', false, ( localize(7017, "Whether the interactive editor input is visible")))));
109
+ const CTX_INLINE_CHAT_FOCUSED = ( (new RawContextKey('inlineChatFocused', false, ( localize(7018, "Whether the interactive editor input is focused")))));
110
+ const CTX_INLINE_CHAT_RESPONSE_FOCUSED = ( (new RawContextKey('inlineChatResponseFocused', false, ( localize(7019, "Whether the interactive widget's response is focused")))));
111
+ const CTX_INLINE_CHAT_EMPTY = ( (new RawContextKey('inlineChatEmpty', false, ( localize(7020, "Whether the interactive editor input is empty")))));
112
+ const CTX_INLINE_CHAT_INNER_CURSOR_FIRST = ( (new RawContextKey('inlineChatInnerCursorFirst', false, ( localize(
113
+ 7021,
123
114
  "Whether the cursor of the iteractive editor input is on the first line"
124
115
  )))));
125
- const CTX_INLINE_CHAT_INNER_CURSOR_LAST = ( (new RawContextKey('inlineChatInnerCursorLast', false, ( localizeWithPath(
126
- _moduleId,
127
- 17,
116
+ const CTX_INLINE_CHAT_INNER_CURSOR_LAST = ( (new RawContextKey('inlineChatInnerCursorLast', false, ( localize(
117
+ 7022,
128
118
  "Whether the cursor of the iteractive editor input is on the last line"
129
119
  )))));
130
- const CTX_INLINE_CHAT_OUTER_CURSOR_POSITION = ( (new RawContextKey('inlineChatOuterCursorPosition', '', ( localizeWithPath(
131
- _moduleId,
132
- 20,
120
+ const CTX_INLINE_CHAT_OUTER_CURSOR_POSITION = ( (new RawContextKey('inlineChatOuterCursorPosition', '', ( localize(
121
+ 7025,
133
122
  "Whether the cursor of the outer editor is above or below the interactive editor input"
134
123
  )))));
135
- const CTX_INLINE_CHAT_HAS_STASHED_SESSION = ( (new RawContextKey('inlineChatHasStashedSession', false, ( localizeWithPath(
136
- _moduleId,
137
- 21,
138
- "Whether interactive editor has kept a session for quick restore"
139
- )))));
140
- const CTX_INLINE_CHAT_USER_DID_EDIT = ( (new RawContextKey('inlineChatUserDidEdit', undefined, ( localizeWithPath(_moduleId, 22, "Whether the user did changes ontop of the inline chat")))));
141
- const CTX_INLINE_CHAT_DOCUMENT_CHANGED = ( (new RawContextKey('inlineChatDocumentChanged', false, ( localizeWithPath(_moduleId, 23, "Whether the document has changed concurrently")))));
142
- const CTX_INLINE_CHAT_CHANGE_HAS_DIFF = ( (new RawContextKey('inlineChatChangeHasDiff', false, ( localizeWithPath(_moduleId, 24, "Whether the current change supports showing a diff")))));
143
- const CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF = ( (new RawContextKey('inlineChatChangeShowsDiff', false, ( localizeWithPath(_moduleId, 25, "Whether the current change showing a diff")))));
124
+ const CTX_INLINE_CHAT_HAS_STASHED_SESSION = ( (new RawContextKey('inlineChatHasStashedSession', false, ( localize(7026, "Whether interactive editor has kept a session for quick restore")))));
125
+ const CTX_INLINE_CHAT_USER_DID_EDIT = ( (new RawContextKey('inlineChatUserDidEdit', undefined, ( localize(7027, "Whether the user did changes ontop of the inline chat")))));
126
+ const CTX_INLINE_CHAT_DOCUMENT_CHANGED = ( (new RawContextKey('inlineChatDocumentChanged', false, ( localize(7028, "Whether the document has changed concurrently")))));
127
+ const CTX_INLINE_CHAT_CHANGE_HAS_DIFF = ( (new RawContextKey('inlineChatChangeHasDiff', false, ( localize(7029, "Whether the current change supports showing a diff")))));
128
+ const CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF = ( (new RawContextKey('inlineChatChangeShowsDiff', false, ( localize(7030, "Whether the current change showing a diff")))));
144
129
  const CTX_INLINE_CHAT_EDIT_MODE = ( (new RawContextKey('config.inlineChat.mode', EditMode.Live)));
145
- const CTX_INLINE_CHAT_REQUEST_IN_PROGRESS = ( (new RawContextKey('inlineChatRequestInProgress', false, ( localizeWithPath(_moduleId, 26, "Whether an inline chat request is currently in progress")))));
146
- const CTX_INLINE_CHAT_RESPONSE_TYPE = ( (new RawContextKey('inlineChatResponseType', InlineChatResponseType.None, ( localizeWithPath(
147
- _moduleId,
148
- 27,
130
+ const CTX_INLINE_CHAT_REQUEST_IN_PROGRESS = ( (new RawContextKey('inlineChatRequestInProgress', false, ( localize(7031, "Whether an inline chat request is currently in progress")))));
131
+ const CTX_INLINE_CHAT_RESPONSE_TYPE = ( (new RawContextKey('inlineChatResponseType', InlineChatResponseType.None, ( localize(
132
+ 7032,
149
133
  "What type was the responses have been receieved, nothing yet, just messages, or messaged and local edits"
150
134
  )))));
151
135
  const CTX_INLINE_CHAT_CONFIG_TXT_BTNS = ( (ContextKeyExpr.equals(`config.${[InlineChatConfigKeys.ExpTextButtons]}`, true)));
@@ -156,41 +140,17 @@ const ACTION_TOGGLE_DIFF = 'inlineChat.toggleDiff';
156
140
  const MENU_INLINE_CHAT_EXECUTE = MenuId.for('inlineChat.execute');
157
141
  const MENU_INLINE_CHAT_CONTENT_STATUS = MenuId.for('inlineChat.content.status');
158
142
  const MENU_INLINE_CHAT_WIDGET_STATUS = MenuId.for('inlineChatWidget.status');
159
- const inlineChatForeground = registerColor('inlineChat.foreground', editorWidgetForeground, ( localizeWithPath(_moduleId, 28, "Foreground color of the interactive editor widget")));
160
- const inlineChatBackground = registerColor('inlineChat.background', editorWidgetBackground, ( localizeWithPath(_moduleId, 29, "Background color of the interactive editor widget")));
161
- registerColor('inlineChat.border', editorWidgetBorder, ( localizeWithPath(_moduleId, 30, "Border color of the interactive editor widget")));
162
- registerColor('inlineChat.shadow', widgetShadow, ( localizeWithPath(_moduleId, 31, "Shadow color of the interactive editor widget")));
163
- registerColor('inlineChatInput.border', editorWidgetBorder, ( localizeWithPath(_moduleId, 32, "Border color of the interactive editor input")));
164
- registerColor('inlineChatInput.focusBorder', focusBorder, ( localizeWithPath(_moduleId, 33, "Border color of the interactive editor input when focused")));
165
- registerColor('inlineChatInput.placeholderForeground', inputPlaceholderForeground, ( localizeWithPath(
166
- _moduleId,
167
- 34,
168
- "Foreground color of the interactive editor input placeholder"
169
- )));
170
- registerColor('inlineChatInput.background', inputBackground, ( localizeWithPath(_moduleId, 35, "Background color of the interactive editor input")));
171
- registerColor('inlineChatDiff.inserted', ( (transparent(diffInserted, .5))), ( localizeWithPath(
172
- _moduleId,
173
- 36,
174
- "Background color of inserted text in the interactive editor input"
175
- )));
176
- const overviewRulerInlineChatDiffInserted = registerColor('editorOverviewRuler.inlineChatInserted', { dark: ( (transparent(diffInserted, 0.6))), light: ( (transparent(diffInserted, 0.8))), hcDark: ( (transparent(diffInserted, 0.6))), hcLight: ( (transparent(diffInserted, 0.8))) }, ( localizeWithPath(
177
- _moduleId,
178
- 37,
179
- 'Overview ruler marker color for inline chat inserted content.'
180
- )));
181
- const minimapInlineChatDiffInserted = registerColor('editorOverviewRuler.inlineChatInserted', { dark: ( (transparent(diffInserted, 0.6))), light: ( (transparent(diffInserted, 0.8))), hcDark: ( (transparent(diffInserted, 0.6))), hcLight: ( (transparent(diffInserted, 0.8))) }, ( localizeWithPath(
182
- _moduleId,
183
- 37,
184
- 'Overview ruler marker color for inline chat inserted content.'
185
- )));
186
- registerColor('inlineChatDiff.removed', ( (transparent(diffRemoved, .5))), ( localizeWithPath(
187
- _moduleId,
188
- 38,
189
- "Background color of removed text in the interactive editor input"
190
- )));
191
- registerColor('editorOverviewRuler.inlineChatRemoved', { dark: ( (transparent(diffRemoved, 0.6))), light: ( (transparent(diffRemoved, 0.8))), hcDark: ( (transparent(diffRemoved, 0.6))), hcLight: ( (transparent(diffRemoved, 0.8))) }, ( localizeWithPath(
192
- _moduleId,
193
- 39,
194
- 'Overview ruler marker color for inline chat removed content.'
195
- )));
143
+ const inlineChatForeground = registerColor('inlineChat.foreground', editorWidgetForeground, ( localize(7033, "Foreground color of the interactive editor widget")));
144
+ const inlineChatBackground = registerColor('inlineChat.background', editorWidgetBackground, ( localize(7034, "Background color of the interactive editor widget")));
145
+ registerColor('inlineChat.border', editorWidgetBorder, ( localize(7035, "Border color of the interactive editor widget")));
146
+ registerColor('inlineChat.shadow', widgetShadow, ( localize(7036, "Shadow color of the interactive editor widget")));
147
+ registerColor('inlineChatInput.border', editorWidgetBorder, ( localize(7037, "Border color of the interactive editor input")));
148
+ registerColor('inlineChatInput.focusBorder', focusBorder, ( localize(7038, "Border color of the interactive editor input when focused")));
149
+ registerColor('inlineChatInput.placeholderForeground', inputPlaceholderForeground, ( localize(7039, "Foreground color of the interactive editor input placeholder")));
150
+ registerColor('inlineChatInput.background', inputBackground, ( localize(7040, "Background color of the interactive editor input")));
151
+ registerColor('inlineChatDiff.inserted', ( (transparent(diffInserted, .5))), ( localize(7041, "Background color of inserted text in the interactive editor input")));
152
+ const overviewRulerInlineChatDiffInserted = registerColor('editorOverviewRuler.inlineChatInserted', { dark: ( (transparent(diffInserted, 0.6))), light: ( (transparent(diffInserted, 0.8))), hcDark: ( (transparent(diffInserted, 0.6))), hcLight: ( (transparent(diffInserted, 0.8))) }, ( localize(7042, 'Overview ruler marker color for inline chat inserted content.')));
153
+ const minimapInlineChatDiffInserted = registerColor('editorOverviewRuler.inlineChatInserted', { dark: ( (transparent(diffInserted, 0.6))), light: ( (transparent(diffInserted, 0.8))), hcDark: ( (transparent(diffInserted, 0.6))), hcLight: ( (transparent(diffInserted, 0.8))) }, ( localize(7042, 'Overview ruler marker color for inline chat inserted content.')));
154
+ registerColor('inlineChatDiff.removed', ( (transparent(diffRemoved, .5))), ( localize(7043, "Background color of removed text in the interactive editor input")));
155
+ registerColor('editorOverviewRuler.inlineChatRemoved', { dark: ( (transparent(diffRemoved, 0.6))), light: ( (transparent(diffRemoved, 0.8))), hcDark: ( (transparent(diffRemoved, 0.6))), hcLight: ( (transparent(diffRemoved, 0.8))) }, ( localize(7044, 'Overview ruler marker color for inline chat removed content.')));
196
156
  export { ACTION_ACCEPT_CHANGES, ACTION_REGENERATE_RESPONSE, ACTION_TOGGLE_DIFF, ACTION_VIEW_IN_CHAT, CTX_INLINE_CHAT_CHANGE_HAS_DIFF, CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF, CTX_INLINE_CHAT_CONFIG_TXT_BTNS, CTX_INLINE_CHAT_DOCUMENT_CHANGED, CTX_INLINE_CHAT_EDIT_MODE, CTX_INLINE_CHAT_EMPTY, CTX_INLINE_CHAT_FOCUSED, CTX_INLINE_CHAT_HAS_AGENT, CTX_INLINE_CHAT_HAS_STASHED_SESSION, CTX_INLINE_CHAT_INNER_CURSOR_FIRST, CTX_INLINE_CHAT_INNER_CURSOR_LAST, CTX_INLINE_CHAT_OUTER_CURSOR_POSITION, CTX_INLINE_CHAT_REQUEST_IN_PROGRESS, CTX_INLINE_CHAT_RESPONSE_FOCUSED, CTX_INLINE_CHAT_RESPONSE_TYPE, CTX_INLINE_CHAT_USER_DID_EDIT, CTX_INLINE_CHAT_VISIBLE, EditMode, INLINE_CHAT_ID, InlineChatConfigKeys, InlineChatResponseType, MENU_INLINE_CHAT_CONTENT_STATUS, MENU_INLINE_CHAT_EXECUTE, MENU_INLINE_CHAT_WIDGET_STATUS, inlineChatBackground, inlineChatForeground, minimapInlineChatDiffInserted, overviewRulerInlineChatDiffInserted };
@@ -1,3 +1,4 @@
1
1
  import { createDecorator } from '../../../../platform/instantiation/common/instantiation.js';
2
+ const IIssueFormService = ( createDecorator('issueFormService'));
2
3
  const IWorkbenchIssueService = ( createDecorator('workbenchIssueService'));
3
- export { IWorkbenchIssueService };
4
+ export { IIssueFormService, IWorkbenchIssueService };
@@ -8,7 +8,7 @@ import '../../../../base/common/cancellation.js';
8
8
  import { isEqual } from '../../../../base/common/resources.js';
9
9
  import { isDefined } from '../../../../base/common/types.js';
10
10
  import { ITextResourceConfigurationService } from '../../../../editor/common/services/textResourceConfiguration.js';
11
- import { localizeWithPath } from '../../../../nls.js';
11
+ import { localize } from '../../../../nls.js';
12
12
  import { IConfigurationService } from '../../../../platform/configuration/common/configuration.service.js';
13
13
  import { IFileService } from '../../../../platform/files/common/files.service.js';
14
14
  import { IInstantiationService } from '../../../../platform/instantiation/common/instantiation.js';
@@ -22,7 +22,6 @@ import { IEditorService } from '../../../services/editor/common/editorService.se
22
22
  import { IFilesConfigurationService } from '../../../services/filesConfiguration/common/filesConfigurationService.service.js';
23
23
  import { ITextFileService } from '../../../services/textfile/common/textfiles.service.js';
24
24
  var MergeEditorInput_1;
25
- const _moduleId = "vs/workbench/contrib/mergeEditor/browser/mergeEditorInput";
26
25
  class MergeEditorInputData {
27
26
  constructor(uri, title, detail, description) {
28
27
  this.uri = uri;
@@ -74,7 +73,7 @@ let MergeEditorInput = class MergeEditorInput extends AbstractTextResourceEditor
74
73
  return capabilities;
75
74
  }
76
75
  getName() {
77
- return ( localizeWithPath(_moduleId, 0, "Merging: {0}", super.getName()));
76
+ return ( localize(7745, "Merging: {0}", super.getName()));
78
77
  }
79
78
  async resolve() {
80
79
  if (!this._inputModel) {