@codingame/monaco-vscode-api 32.0.2 → 33.0.3

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 (630) hide show
  1. package/missing-services.js +51 -7
  2. package/package.json +8 -8
  3. package/service-override/tools/views.d.ts +2 -2
  4. package/services.d.ts +3 -0
  5. package/services.js +8 -3
  6. package/vscode/product.json.js +1 -1
  7. package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  8. package/vscode/src/vs/base/common/arrays.js +5 -1
  9. package/vscode/src/vs/base/common/async.js +94 -1
  10. package/vscode/src/vs/base/common/cache.js +22 -1
  11. package/vscode/src/vs/base/common/defaultAccount.d.ts +63 -0
  12. package/vscode/src/vs/base/common/policy.d.ts +1 -1
  13. package/vscode/src/vs/base/common/product.d.ts +0 -2
  14. package/vscode/src/vs/base/parts/ipc/common/ipc.net.d.ts +12 -0
  15. package/vscode/src/vs/base/parts/ipc/common/ipc.net.js +1 -1
  16. package/vscode/src/vs/editor/common/config/editorOptions.js +1 -1
  17. package/vscode/src/vs/editor/common/textModelEditSource.js +18 -1
  18. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +2 -2
  19. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.d.ts +2 -0
  20. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +22 -2
  21. package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.d.ts +1 -0
  22. package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.js +58 -17
  23. package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  24. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  25. package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +9 -9
  26. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +11 -11
  27. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
  28. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
  29. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  30. package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
  31. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  32. package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  33. package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  34. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  35. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
  36. package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  37. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  38. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/textualHighlightProvider.js +6 -3
  39. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
  40. package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +3 -3
  41. package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +3 -0
  42. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
  43. package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
  44. package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +7 -0
  45. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +24 -10
  46. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +1 -0
  47. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +12 -12
  48. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +3 -3
  49. package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
  50. package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
  51. package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
  52. package/vscode/src/vs/platform/agentHost/browser/nullAgentHostService.d.ts +1 -1
  53. package/vscode/src/vs/platform/agentHost/common/agentHostUri.js +3 -0
  54. package/vscode/src/vs/platform/agentHost/common/agentPluginManager.d.ts +1 -1
  55. package/vscode/src/vs/platform/agentHost/common/agentService.service.d.ts +1 -1
  56. package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.d.ts +13 -4
  57. package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.js +8 -3
  58. package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.service.d.ts +17 -1
  59. package/vscode/src/vs/platform/agentHost/common/sshRemoteAgentHost.d.ts +27 -0
  60. package/vscode/src/vs/platform/agentHost/common/sshRemoteAgentHost.service.d.ts +20 -1
  61. package/vscode/src/vs/platform/agentHost/common/state/protocol/action-origin.generated.d.ts +1 -1
  62. package/vscode/src/vs/platform/agentHost/common/state/protocol/actions.d.ts +1054 -0
  63. package/vscode/src/vs/platform/agentHost/common/state/protocol/actions.js +59 -0
  64. package/vscode/src/vs/platform/agentHost/common/state/protocol/commands.d.ts +17 -1
  65. package/vscode/src/vs/platform/agentHost/common/state/protocol/messages.d.ts +6 -2
  66. package/vscode/src/vs/platform/agentHost/common/state/protocol/state.d.ts +5 -0
  67. package/vscode/src/vs/platform/agentHost/common/state/protocolUpgrade.d.ts +73 -0
  68. package/vscode/src/vs/platform/agentHost/common/state/sessionState.d.ts +139 -0
  69. package/vscode/src/vs/platform/agentHost/common/state/sessionState.js +24 -0
  70. package/vscode/src/vs/platform/browserView/common/browserView.d.ts +20 -0
  71. package/vscode/src/vs/platform/browserView/common/browserView.js +1 -0
  72. package/vscode/src/vs/platform/browserView/common/browserViewTelemetry.d.ts +3 -1
  73. package/vscode/src/vs/platform/configuration/common/configuration.js +1 -1
  74. package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +10 -10
  75. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
  76. package/vscode/src/vs/platform/contextkey/common/contextkey.js +10 -10
  77. package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
  78. package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
  79. package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.d.ts +16 -1
  80. package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.js +8 -0
  81. package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.service.d.ts +9 -1
  82. package/vscode/src/vs/platform/dialogs/common/dialogs.js +9 -9
  83. package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
  84. package/vscode/src/vs/platform/environment/common/argv.d.ts +0 -2
  85. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +14 -14
  86. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
  87. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
  88. package/vscode/src/vs/platform/extensions/common/extensionValidator.js +21 -21
  89. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
  90. package/vscode/src/vs/platform/files/common/files.js +6 -6
  91. package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  92. package/vscode/src/vs/platform/hover/browser/hoverService.js +1 -1
  93. package/vscode/src/vs/platform/hover/browser/hoverWidget.js +1 -1
  94. package/vscode/src/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
  95. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +5 -5
  96. package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +1 -1
  97. package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +3 -3
  98. package/vscode/src/vs/platform/list/browser/listService.js +25 -25
  99. package/vscode/src/vs/platform/log/common/log.js +6 -6
  100. package/vscode/src/vs/platform/markers/common/markerService.js +2 -2
  101. package/vscode/src/vs/platform/markers/common/markers.js +6 -6
  102. package/vscode/src/vs/platform/mcp/common/mcpManagementService.js +1 -1
  103. package/vscode/src/vs/platform/meteredConnection/common/meteredConnection.config.contribution.js +5 -5
  104. package/vscode/src/vs/platform/networkFilter/common/networkFilterService.service.d.ts +2 -4
  105. package/vscode/src/vs/platform/notification/common/notification.js +3 -3
  106. package/vscode/src/vs/platform/policy/common/policy.d.ts +1 -1
  107. package/vscode/src/vs/platform/product/common/product.js +3 -3
  108. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +10 -10
  109. package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +5 -5
  110. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +6 -6
  111. package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +1 -1
  112. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  113. package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +2 -2
  114. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
  115. package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +1 -1
  116. package/vscode/src/vs/platform/request/common/request.js +20 -20
  117. package/vscode/src/vs/platform/telemetry/common/telemetry.js +4 -1
  118. package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
  119. package/vscode/src/vs/platform/terminal/common/terminalPlatformConfiguration.js +34 -34
  120. package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +1 -1
  121. package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
  122. package/vscode/src/vs/platform/theme/common/colors/baseColors.js +19 -19
  123. package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +9 -9
  124. package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
  125. package/vscode/src/vs/platform/theme/common/colors/inputColors.js +48 -48
  126. package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
  127. package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
  128. package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
  129. package/vscode/src/vs/platform/theme/common/colors/miscColors.js +16 -16
  130. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +10 -10
  131. package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
  132. package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
  133. package/vscode/src/vs/platform/theme/common/sizeUtils.d.ts +5 -3
  134. package/vscode/src/vs/platform/theme/common/sizeUtils.js +17 -3
  135. package/vscode/src/vs/platform/theme/common/sizes/baseSizes.js +11 -11
  136. package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
  137. package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  138. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
  139. package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
  140. package/vscode/src/vs/platform/userDataSync/common/keybindingsSync.js +2 -2
  141. package/vscode/src/vs/platform/userDataSync/common/settingsSync.js +1 -1
  142. package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
  143. package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +1 -1
  144. package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
  145. package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +12 -12
  146. package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +7 -1
  147. package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +5 -5
  148. package/vscode/src/vs/workbench/api/common/extHostChatOutputRenderer.d.ts +2 -2
  149. package/vscode/src/vs/workbench/api/common/extHostChatOutputRenderer.js +2 -2
  150. package/vscode/src/vs/workbench/api/common/extHostChatStatus.js +9 -1
  151. package/vscode/src/vs/workbench/api/common/extHostConfiguration.js +1 -0
  152. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
  153. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
  154. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
  155. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +3 -4
  156. package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
  157. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
  158. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
  159. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +4 -1
  160. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
  161. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
  162. package/vscode/src/vs/workbench/api/common/extHostWorkspace.d.ts +12 -0
  163. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +98 -38
  164. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +11 -11
  165. package/vscode/src/vs/workbench/browser/actions/developerActions.js +35 -35
  166. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +127 -127
  167. package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
  168. package/vscode/src/vs/workbench/browser/actions/windowActions.js +29 -29
  169. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
  170. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
  171. package/vscode/src/vs/workbench/browser/editor.js +2 -2
  172. package/vscode/src/vs/workbench/browser/labels.js +4 -4
  173. package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +23 -23
  174. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +26 -26
  175. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +4 -4
  176. package/vscode/src/vs/workbench/browser/parts/compositeBar.js +1 -1
  177. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +9 -9
  178. package/vscode/src/vs/workbench/browser/parts/compositePart.js +3 -3
  179. package/vscode/src/vs/workbench/browser/parts/dialogs/dialog.js +1 -1
  180. package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +3 -3
  181. package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
  182. package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +3 -3
  183. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +37 -37
  184. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +12 -12
  185. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +1 -1
  186. package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +19 -9
  187. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.d.ts +1 -2
  188. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +139 -176
  189. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +28 -27
  190. package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +1 -1
  191. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +7 -7
  192. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +12 -12
  193. package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +2 -2
  194. package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +16 -10
  195. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +10 -10
  196. package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
  197. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +66 -66
  198. package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +3 -3
  199. package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.js +24 -7
  200. package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +1 -1
  201. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -1
  202. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
  203. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
  204. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
  205. package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +19 -19
  206. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +22 -22
  207. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
  208. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +6 -6
  209. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +13 -13
  210. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +6 -6
  211. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +13 -13
  212. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +2 -2
  213. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +4 -4
  214. package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +4 -4
  215. package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +3 -3
  216. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +27 -27
  217. package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +3 -3
  218. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.js +2 -2
  219. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +1 -1
  220. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +10 -10
  221. package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +15 -15
  222. package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
  223. package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +1 -1
  224. package/vscode/src/vs/workbench/browser/parts/views/treeView.js +7 -7
  225. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +4 -4
  226. package/vscode/src/vs/workbench/browser/parts/views/viewMenuActions.d.ts +7 -2
  227. package/vscode/src/vs/workbench/browser/parts/views/viewMenuActions.js +28 -5
  228. package/vscode/src/vs/workbench/browser/parts/views/viewPane.d.ts +7 -0
  229. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +11 -5
  230. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +12 -9
  231. package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
  232. package/vscode/src/vs/workbench/browser/window.js +14 -14
  233. package/vscode/src/vs/workbench/browser/workbench.contribution.js +225 -225
  234. package/vscode/src/vs/workbench/common/configuration.js +9 -9
  235. package/vscode/src/vs/workbench/common/contextkeys.js +82 -82
  236. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
  237. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
  238. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
  239. package/vscode/src/vs/workbench/common/editor.js +4 -4
  240. package/vscode/src/vs/workbench/common/theme.js +161 -161
  241. package/vscode/src/vs/workbench/common/views.js +4 -4
  242. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +156 -156
  243. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
  244. package/vscode/src/vs/workbench/contrib/browserView/common/browserEditorInput.js +1 -1
  245. package/vscode/src/vs/workbench/contrib/browserView/common/browserView.js +10 -7
  246. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +68 -66
  247. package/vscode/src/vs/workbench/contrib/chat/browser/actions/exportAgentHostDebugLogsAction.service.d.ts +8 -0
  248. package/vscode/src/vs/workbench/contrib/chat/browser/actions/exportAgentHostDebugLogsAction.service.js +6 -0
  249. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.service.d.ts +70 -0
  250. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.service.js +6 -0
  251. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.js +12 -12
  252. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.js +1 -1
  253. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.js +3 -3
  254. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatScreenshotContext.js +1 -1
  255. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +7 -7
  256. package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.service.d.ts +4 -2
  257. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.js +2 -2
  258. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +43 -43
  259. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.js +1 -1
  260. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatOutputPartStateCache.service.d.ts +7 -0
  261. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatOutputPartStateCache.service.js +6 -0
  262. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.js +9 -9
  263. package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.d.ts +1 -0
  264. package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.js +93 -86
  265. package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.js +2 -2
  266. package/vscode/src/vs/workbench/contrib/chat/common/chatModes.d.ts +4 -6
  267. package/vscode/src/vs/workbench/contrib/chat/common/chatModes.js +29 -21
  268. package/vscode/src/vs/workbench/contrib/chat/common/chatModes.service.d.ts +7 -8
  269. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.d.ts +1 -1
  270. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +41 -2
  271. package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +3 -0
  272. package/vscode/src/vs/workbench/contrib/chat/common/constants.js +3 -0
  273. package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.js +1 -1
  274. package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.js +2 -2
  275. package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +3 -3
  276. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +17 -4
  277. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +152 -49
  278. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.service.d.ts +20 -0
  279. package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.d.ts +3 -0
  280. package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.js +17 -8
  281. package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatToolInvocation.js +1 -1
  282. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +21 -19
  283. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookSchema.js +18 -18
  284. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookTypes.js +20 -20
  285. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptFileAttributes.js +79 -79
  286. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.js +10 -10
  287. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/extensionPromptFileService.d.ts +92 -0
  288. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/extensionPromptFileService.js +329 -0
  289. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.d.ts +5 -44
  290. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +33 -276
  291. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +1 -1
  292. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.js +8 -8
  293. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.js +10 -10
  294. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/reviewPlanTool.js +7 -7
  295. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +2 -2
  296. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactRulesTool.js +3 -3
  297. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.js +4 -4
  298. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +22 -22
  299. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.d.ts +2 -1
  300. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.js +6 -5
  301. package/vscode/src/vs/workbench/contrib/chat/common/tools/toolResultCompressor.service.d.ts +2 -1
  302. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +11 -11
  303. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
  304. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
  305. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
  306. package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +10 -10
  307. package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
  308. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
  309. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
  310. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
  311. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
  312. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +3 -3
  313. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
  314. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +12 -12
  315. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
  316. package/vscode/src/vs/workbench/contrib/codeEditor/common/languageConfigurationExtensionPoint.js +65 -65
  317. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +7 -7
  318. package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +7 -7
  319. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +2 -2
  320. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +3 -3
  321. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +3 -3
  322. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +3 -3
  323. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +3 -3
  324. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +3 -3
  325. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
  326. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +7 -7
  327. package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
  328. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
  329. package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +14 -14
  330. package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +16 -16
  331. package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +7 -7
  332. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +12 -12
  333. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorDiffInput.d.ts +7 -12
  334. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorDiffInput.js +68 -64
  335. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
  336. package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +1 -1
  337. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
  338. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +14 -14
  339. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +75 -75
  340. package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
  341. package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +6 -6
  342. package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
  343. package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +38 -38
  344. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +2 -2
  345. package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +3 -3
  346. package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
  347. package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
  348. package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +4 -4
  349. package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +2 -2
  350. package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +18 -18
  351. package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +5 -5
  352. package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +9 -9
  353. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
  354. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
  355. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
  356. package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
  357. package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
  358. package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
  359. package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
  360. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +2 -2
  361. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
  362. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryServiceImpl.d.ts +15 -0
  363. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryServiceImpl.js +85 -0
  364. package/vscode/src/vs/workbench/contrib/extensions/browser/configBasedRecommendations.js +1 -1
  365. package/vscode/src/vs/workbench/contrib/extensions/browser/exeBasedRecommendations.js +1 -1
  366. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEditor.js +41 -41
  367. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementWorkspaceTrustTransitionParticipant.js +1 -1
  368. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionFeaturesTab.js +15 -15
  369. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationNotificationService.js +14 -14
  370. package/vscode/src/vs/workbench/contrib/extensions/browser/extensions.contribution.js +149 -151
  371. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +179 -179
  372. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActivationProgress.js +1 -1
  373. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.js +1 -1
  374. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsDependencyChecker.js +5 -5
  375. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +25 -25
  376. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.js +4 -4
  377. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewer.js +7 -7
  378. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.js +47 -47
  379. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.js +6 -6
  380. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.js +30 -30
  381. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.js +79 -76
  382. package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.js +2 -2
  383. package/vscode/src/vs/workbench/contrib/extensions/browser/webRecommendations.js +1 -1
  384. package/vscode/src/vs/workbench/contrib/extensions/browser/workspaceRecommendations.js +2 -2
  385. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
  386. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
  387. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
  388. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +3 -3
  389. package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +3 -3
  390. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -4
  391. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +3 -3
  392. package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
  393. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
  394. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
  395. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
  396. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +39 -39
  397. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
  398. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +4 -4
  399. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +2 -2
  400. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
  401. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +28 -28
  402. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +50 -50
  403. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
  404. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
  405. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +4 -4
  406. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +7 -7
  407. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +17 -17
  408. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
  409. package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
  410. package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
  411. package/vscode/src/vs/workbench/contrib/files/common/files.js +16 -16
  412. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
  413. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
  414. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
  415. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  416. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
  417. package/vscode/src/vs/workbench/contrib/inlineCompletions/browser/inlineCompletionLanguageStatusBarContribution.d.ts +17 -0
  418. package/vscode/src/vs/workbench/contrib/inlineCompletions/browser/inlineCompletionLanguageStatusBarContribution.js +108 -0
  419. package/vscode/src/vs/workbench/contrib/inlineCompletions/browser/inlineCompletions.contribution.d.ts +8 -0
  420. package/vscode/src/vs/workbench/contrib/inlineCompletions/browser/inlineCompletions.contribution.js +49 -0
  421. package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
  422. package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
  423. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration.js +66 -66
  424. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerActions.js +40 -40
  425. package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfiguration.js +42 -42
  426. package/vscode/src/vs/workbench/contrib/mcp/common/mcpServer.js +16 -16
  427. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +4 -4
  428. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +4 -4
  429. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +23 -23
  430. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +2 -2
  431. package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +8 -8
  432. package/vscode/src/vs/workbench/contrib/meteredConnection/browser/meteredConnection.contribution.js +8 -8
  433. package/vscode/src/vs/workbench/contrib/meteredConnection/browser/meteredConnectionStatus.js +4 -4
  434. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
  435. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +3 -3
  436. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
  437. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +17 -17
  438. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.d.ts +26 -0
  439. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +746 -0
  440. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +6 -6
  441. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
  442. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
  443. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.d.ts +13 -0
  444. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +300 -0
  445. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.d.ts +8 -0
  446. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.js +55 -0
  447. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.d.ts +273 -0
  448. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +1963 -0
  449. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.d.ts +50 -0
  450. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +314 -0
  451. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.d.ts +258 -0
  452. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.js +886 -0
  453. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.d.ts +41 -0
  454. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.js +118 -0
  455. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/editorHeightCalculator.d.ts +17 -0
  456. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/editorHeightCalculator.js +71 -0
  457. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.d.ts +27 -0
  458. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.js +40 -0
  459. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookCellDiffDecorator.d.ts +23 -0
  460. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookCellDiffDecorator.js +313 -0
  461. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookDeletedCellDecorator.d.ts +51 -0
  462. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookDeletedCellDecorator.js +265 -0
  463. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiff.d.ts +24 -0
  464. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiff.js +185 -0
  465. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiffWidget.d.ts +28 -0
  466. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiffWidget.js +104 -0
  467. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInsertedCellDecorator.d.ts +10 -0
  468. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInsertedCellDecorator.js +43 -0
  469. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalCellModelFactory.d.ts +21 -0
  470. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalCellModelFactory.js +41 -0
  471. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.d.ts +25 -0
  472. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.js +69 -0
  473. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiff.css +469 -0
  474. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.d.ts +149 -0
  475. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +933 -0
  476. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.d.ts +180 -0
  477. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +32 -0
  478. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.d.ts +102 -0
  479. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +643 -0
  480. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.d.ts +30 -0
  481. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.js +197 -0
  482. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffViewModel.d.ts +75 -0
  483. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffViewModel.js +539 -0
  484. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/unchangedEditorRegions.d.ts +13 -0
  485. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/unchangedEditorRegions.js +39 -0
  486. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +3 -3
  487. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +7 -7
  488. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
  489. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +29 -29
  490. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +5 -5
  491. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +7 -7
  492. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
  493. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +4 -4
  494. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +1 -1
  495. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +3 -3
  496. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +1 -1
  497. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +2 -2
  498. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
  499. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
  500. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +14 -14
  501. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
  502. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +1 -1
  503. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel.d.ts +19 -0
  504. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel.js +90 -0
  505. package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiff.d.ts +26 -0
  506. package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiff.js +92 -0
  507. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
  508. package/vscode/src/vs/workbench/contrib/opener/browser/opener.contribution.d.ts +1 -0
  509. package/vscode/src/vs/workbench/contrib/opener/browser/opener.contribution.js +44 -0
  510. package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +3 -3
  511. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +13 -13
  512. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +10 -10
  513. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +60 -60
  514. package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +3 -3
  515. package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
  516. package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
  517. package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
  518. package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +59 -59
  519. package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +11 -11
  520. package/vscode/src/vs/workbench/contrib/scm/browser/scmHistoryChatContext.js +6 -6
  521. package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +14 -14
  522. package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +9 -9
  523. package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +3 -3
  524. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
  525. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +9 -9
  526. package/vscode/src/vs/workbench/contrib/search/browser/searchChatContext.js +5 -5
  527. package/vscode/src/vs/workbench/contrib/search/browser/searchFindInput.js +1 -1
  528. package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +20 -20
  529. package/vscode/src/vs/workbench/contrib/search/browser/searchMessage.js +2 -2
  530. package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +14 -14
  531. package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +55 -55
  532. package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +11 -11
  533. package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +2 -2
  534. package/vscode/src/vs/workbench/contrib/search/common/search.d.ts +2 -0
  535. package/vscode/src/vs/workbench/contrib/search/common/search.js +9 -1
  536. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +4 -4
  537. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +5 -5
  538. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
  539. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
  540. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
  541. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
  542. package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
  543. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +6 -6
  544. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +6 -6
  545. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
  546. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +3 -3
  547. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +13 -13
  548. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +40 -40
  549. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +15 -15
  550. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +10 -10
  551. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
  552. package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +17 -17
  553. package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +26 -26
  554. package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminalAccessibilityConfiguration.js +2 -2
  555. package/vscode/src/vs/workbench/contrib/terminalContrib/autoReplies/common/terminalAutoRepliesConfiguration.js +2 -2
  556. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.js +9 -9
  557. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.d.ts +2 -0
  558. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.js +104 -74
  559. package/vscode/src/vs/workbench/contrib/terminalContrib/commandGuide/common/terminalCommandGuideConfiguration.js +1 -1
  560. package/vscode/src/vs/workbench/contrib/terminalContrib/history/common/terminal.history.js +1 -1
  561. package/vscode/src/vs/workbench/contrib/terminalContrib/inlineHint/common/terminalInitialHintConfiguration.js +2 -2
  562. package/vscode/src/vs/workbench/contrib/terminalContrib/notification/common/terminalNotificationConfiguration.js +1 -1
  563. package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/common/terminalStickyScrollConfiguration.js +3 -3
  564. package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminalSuggestConfiguration.js +30 -30
  565. package/vscode/src/vs/workbench/contrib/terminalContrib/typeAhead/common/terminalTypeAheadConfiguration.js +5 -5
  566. package/vscode/src/vs/workbench/contrib/terminalContrib/zoom/common/terminal.zoom.js +2 -2
  567. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
  568. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
  569. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
  570. package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
  571. package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
  572. package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindAccessibilityHelp.js +30 -30
  573. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
  574. package/vscode/src/vs/workbench/contrib/welcomeOnboarding/common/onboardingTypes.js +14 -14
  575. package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
  576. package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.d.ts +2 -1
  577. package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.js +14 -3
  578. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +31 -25
  579. package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +15 -0
  580. package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
  581. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.d.ts +11 -2
  582. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +65 -22
  583. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.service.d.ts +2 -0
  584. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
  585. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
  586. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
  587. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +15 -3
  588. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +19 -3
  589. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.service.d.ts +2 -2
  590. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionsIcons.js +3 -3
  591. package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
  592. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +10 -10
  593. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +88 -88
  594. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
  595. package/vscode/src/vs/workbench/services/language/common/languageService.js +24 -24
  596. package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
  597. package/vscode/src/vs/workbench/services/policies/common/accountPolicyService.js +1 -1
  598. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
  599. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
  600. package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +4 -4
  601. package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +2 -2
  602. package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +30 -30
  603. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
  604. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
  605. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
  606. package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
  607. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
  608. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +18 -18
  609. package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
  610. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
  611. package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +24 -24
  612. package/vscode/src/vs/workbench/services/title/browser/titleService.service.d.ts +7 -0
  613. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
  614. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
  615. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
  616. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +16 -16
  617. package/vscode-dts/vscode.proposed.authIssuers.d.ts +14 -0
  618. package/vscode-dts/vscode.proposed.chatOutputRenderer.d.ts +23 -3
  619. package/vscode-dts/vscode.proposed.chatProvider.d.ts +0 -9
  620. package/vscode-dts/vscode.proposed.chatStatusItem.d.ts +5 -0
  621. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolOutputStateCache.service.d.ts +0 -7
  622. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolOutputStateCache.service.js +0 -6
  623. package/vscode/src/vs/workbench/contrib/chat/common/tools/toolResultCompressor.d.ts +0 -39
  624. package/vscode/src/vs/workbench/contrib/chat/common/widget/input/modelPickerWidget.d.ts +0 -4
  625. package/vscode/src/vs/workbench/contrib/chat/common/widget/input/modelPickerWidget.js +0 -9
  626. package/vscode/src/vs/workbench/contrib/extensions/browser/abstractRuntimeExtensionsEditor.d.ts +0 -76
  627. package/vscode/src/vs/workbench/contrib/extensions/browser/abstractRuntimeExtensionsEditor.js +0 -470
  628. package/vscode/src/vs/workbench/contrib/extensions/browser/media/runtimeExtensionsEditor.css +0 -86
  629. package/vscode/src/vs/workbench/contrib/extensions/common/runtimeExtensionsInput.d.ts +0 -15
  630. package/vscode/src/vs/workbench/contrib/extensions/common/runtimeExtensionsInput.js +0 -47
@@ -11,7 +11,7 @@ class ToggleReactionsAction extends Action {
11
11
  this.ID = "toolbar.toggle.pickReactions";
12
12
  }
13
13
  constructor(toggleDropdownMenu, title) {
14
- super(ToggleReactionsAction.ID, title || ( localize(8461, "Pick Reactions...")), "toggle-reactions", true);
14
+ super(ToggleReactionsAction.ID, title || ( localize(8545, "Pick Reactions...")), "toggle-reactions", true);
15
15
  this._menuActions = [];
16
16
  this.toggleDropdownMenu = toggleDropdownMenu;
17
17
  }
@@ -53,15 +53,15 @@ class ReactionActionViewItem extends ActionViewItem {
53
53
  }
54
54
  getTooltip() {
55
55
  const action = this.action;
56
- const toggleMessage = action.enabled ? ( localize(8462, "Toggle reaction, ")) : "";
56
+ const toggleMessage = action.enabled ? ( localize(8546, "Toggle reaction, ")) : "";
57
57
  if (action.count === undefined) {
58
- return localize(8463, "{0}{1} reaction", toggleMessage, action.label);
58
+ return localize(8547, "{0}{1} reaction", toggleMessage, action.label);
59
59
  } else if (action.reactors === undefined || action.reactors.length === 0) {
60
60
  if (action.count === 1) {
61
- return localize(8464, "{0}1 reaction with {1}", toggleMessage, action.label);
61
+ return localize(8548, "{0}1 reaction with {1}", toggleMessage, action.label);
62
62
  } else if (action.count > 1) {
63
63
  return localize(
64
- 8465,
64
+ 8549,
65
65
  "{0}{1} reactions with {2}",
66
66
  toggleMessage,
67
67
  action.count,
@@ -71,7 +71,7 @@ class ReactionActionViewItem extends ActionViewItem {
71
71
  } else {
72
72
  if (action.reactors.length <= 10 && action.reactors.length === action.count) {
73
73
  return localize(
74
- 8466,
74
+ 8550,
75
75
  "{0}{1} reacted with {2}",
76
76
  toggleMessage,
77
77
  action.reactors.join(", "),
@@ -80,7 +80,7 @@ class ReactionActionViewItem extends ActionViewItem {
80
80
  } else if (action.count > 1) {
81
81
  const displayedReactors = action.reactors.slice(0, 10);
82
82
  return localize(
83
- 8467,
83
+ 8551,
84
84
  "{0}{1} and {2} more reacted with {3}",
85
85
  toggleMessage,
86
86
  displayedReactors.join(", "),
@@ -5,54 +5,54 @@ import { RawContextKey } from '../../../../platform/contextkey/common/contextkey
5
5
  var CommentContextKeys;
6
6
  (function(CommentContextKeys) {
7
7
  CommentContextKeys.activeCursorHasCommentingRange = ( new RawContextKey("activeCursorHasCommentingRange", false, {
8
- description: ( localize(8468, "Whether the position at the active cursor has a commenting range")),
8
+ description: ( localize(8552, "Whether the position at the active cursor has a commenting range")),
9
9
  type: "boolean"
10
10
  }));
11
11
  CommentContextKeys.activeCursorHasComment = ( new RawContextKey("activeCursorHasComment", false, {
12
- description: ( localize(8469, "Whether the position at the active cursor has a comment")),
12
+ description: ( localize(8553, "Whether the position at the active cursor has a comment")),
13
13
  type: "boolean"
14
14
  }));
15
15
  CommentContextKeys.activeEditorHasCommentingRange = ( new RawContextKey("activeEditorHasCommentingRange", false, {
16
- description: ( localize(8470, "Whether the active editor has a commenting range")),
16
+ description: ( localize(8554, "Whether the active editor has a commenting range")),
17
17
  type: "boolean"
18
18
  }));
19
19
  CommentContextKeys.WorkspaceHasCommenting = ( new RawContextKey("workspaceHasCommenting", false, {
20
20
  description: ( localize(
21
- 8471,
21
+ 8555,
22
22
  "Whether the open workspace has either comments or commenting ranges."
23
23
  )),
24
24
  type: "boolean"
25
25
  }));
26
26
  CommentContextKeys.commentThreadIsEmpty = ( new RawContextKey("commentThreadIsEmpty", false, {
27
27
  type: "boolean",
28
- description: ( localize(8472, "Set when the comment thread has no comments"))
28
+ description: ( localize(8556, "Set when the comment thread has no comments"))
29
29
  }));
30
30
  CommentContextKeys.commentIsEmpty = ( new RawContextKey("commentIsEmpty", false, {
31
31
  type: "boolean",
32
- description: ( localize(8473, "Set when the comment has no input"))
32
+ description: ( localize(8557, "Set when the comment has no input"))
33
33
  }));
34
34
  CommentContextKeys.commentContext = ( new RawContextKey("comment", undefined, {
35
35
  type: "string",
36
- description: ( localize(8474, "The context value of the comment"))
36
+ description: ( localize(8558, "The context value of the comment"))
37
37
  }));
38
38
  CommentContextKeys.commentThreadContext = ( new RawContextKey("commentThread", undefined, {
39
39
  type: "string",
40
- description: ( localize(8475, "The context value of the comment thread"))
40
+ description: ( localize(8559, "The context value of the comment thread"))
41
41
  }));
42
42
  CommentContextKeys.commentControllerContext = ( new RawContextKey("commentController", undefined, {
43
43
  type: "string",
44
- description: ( localize(8476, "The comment controller id associated with a comment thread"))
44
+ description: ( localize(8560, "The comment controller id associated with a comment thread"))
45
45
  }));
46
46
  CommentContextKeys.commentFocused = ( new RawContextKey("commentFocused", false, {
47
47
  type: "boolean",
48
- description: ( localize(8477, "Set when the comment is focused"))
48
+ description: ( localize(8561, "Set when the comment is focused"))
49
49
  }));
50
50
  CommentContextKeys.commentWidgetVisible = ( new RawContextKey("commentWidgetVisible", false, {
51
51
  type: "boolean",
52
- description: ( localize(8478, "Set when a comment widget is visible in the editor"))
52
+ description: ( localize(8562, "Set when a comment widget is visible in the editor"))
53
53
  }));
54
54
  CommentContextKeys.commentingEnabled = ( new RawContextKey("commentingEnabled", true, {
55
- description: ( localize(8479, "Whether commenting functionality is enabled")),
55
+ description: ( localize(8563, "Whether commenting functionality is enabled")),
56
56
  type: "boolean"
57
57
  }));
58
58
  })(CommentContextKeys || (CommentContextKeys = {}));
@@ -4,7 +4,7 @@ import { IFileDialogService } from "../../../../platform/dialogs/common/dialogs.
4
4
  import { IInstantiationService } from "../../../../platform/instantiation/common/instantiation.js";
5
5
  import { IThemeService } from "../../../../platform/theme/common/themeService.service.js";
6
6
  import { IUndoRedoService } from "../../../../platform/undoRedo/common/undoRedo.service.js";
7
- import { EditorInputCapabilities, GroupIdentifier, IDiffEditorInput, IResourceDiffEditorInput, IRevertOptions, ISaveOptions, IUntypedEditorInput, Verbosity } from "../../../common/editor.js";
7
+ import { EditorInputCapabilities, GroupIdentifier, IResourceDiffEditorInput, IRevertOptions, ISaveOptions, IUntypedEditorInput, Verbosity } from "../../../common/editor.js";
8
8
  import { EditorInput, IUntypedEditorOptions } from "../../../common/editor/editorInput.js";
9
9
  import { IEditorGroup } from "../../../services/editor/common/editorGroupsService.js";
10
10
  import { IFilesConfigurationService } from "../../../services/filesConfiguration/common/filesConfigurationService.service.js";
@@ -26,20 +26,17 @@ interface CustomEditorSideBySideDiffInputInitInfo extends CustomEditorDiffInputI
26
26
  readonly side: CustomEditorSideBySideDiffSide;
27
27
  }
28
28
  export type CustomEditorSideBySideDiffSide = "original" | "modified";
29
- export declare class CustomEditorDiffInput extends LazilyResolvedWebviewEditorInput implements IDiffEditorInput {
29
+ export declare class CustomEditorDiffInput extends LazilyResolvedWebviewEditorInput {
30
30
  private readonly init;
31
- readonly original: EditorInput;
32
- readonly modified: EditorInput;
33
31
  private readonly instantiationService;
34
32
  private readonly customEditorService;
35
33
  private readonly filesConfigurationService;
36
34
  private readonly fileDialogService;
37
35
  private readonly undoRedoService;
38
- private _modelRef?;
36
+ private readonly _modelRef;
39
37
  static create(instantiationService: IInstantiationService, init: CustomEditorDiffInputInitInfo, group: IEditorGroup | undefined): CustomEditorDiffInput;
40
38
  static readonly typeId = "workbench.editors.customDiffEditor";
41
- constructor(init: CustomEditorDiffInputInitInfo, original: EditorInput, modified: EditorInput, webview: IOverlayWebview, themeService: IThemeService, webviewWorkbenchService: IWebviewWorkbenchService, instantiationService: IInstantiationService, customEditorService: ICustomEditorService, filesConfigurationService: IFilesConfigurationService, fileDialogService: IFileDialogService, undoRedoService: IUndoRedoService);
42
- dispose(): void;
39
+ constructor(init: CustomEditorDiffInputInitInfo, webview: IOverlayWebview, themeService: IThemeService, webviewWorkbenchService: IWebviewWorkbenchService, instantiationService: IInstantiationService, customEditorService: ICustomEditorService, filesConfigurationService: IFilesConfigurationService, fileDialogService: IFileDialogService, undoRedoService: IUndoRedoService);
43
40
  get typeId(): string;
44
41
  get editorId(): string;
45
42
  get capabilities(): EditorInputCapabilities;
@@ -64,17 +61,15 @@ export declare class CustomEditorDiffInput extends LazilyResolvedWebviewEditorIn
64
61
  }
65
62
  export declare class CustomEditorSideBySideDiffInput extends LazilyResolvedWebviewEditorInput {
66
63
  private readonly init;
67
- private readonly sideInput;
68
64
  private readonly instantiationService;
69
65
  private readonly customEditorService;
70
66
  private readonly filesConfigurationService;
71
67
  private readonly fileDialogService;
72
68
  private readonly undoRedoService;
73
- private _modelRef?;
69
+ private readonly _modelRef;
74
70
  static create(instantiationService: IInstantiationService, init: CustomEditorSideBySideDiffInputInitInfo, group: IEditorGroup | undefined): CustomEditorSideBySideDiffInput;
75
71
  static readonly typeId = "workbench.editors.customSideBySideDiffEditor";
76
- constructor(init: CustomEditorSideBySideDiffInputInitInfo, sideInput: EditorInput, webview: IOverlayWebview, themeService: IThemeService, webviewWorkbenchService: IWebviewWorkbenchService, instantiationService: IInstantiationService, customEditorService: ICustomEditorService, filesConfigurationService: IFilesConfigurationService, fileDialogService: IFileDialogService, undoRedoService: IUndoRedoService);
77
- dispose(): void;
72
+ constructor(init: CustomEditorSideBySideDiffInputInitInfo, webview: IOverlayWebview, themeService: IThemeService, webviewWorkbenchService: IWebviewWorkbenchService, instantiationService: IInstantiationService, customEditorService: ICustomEditorService, filesConfigurationService: IFilesConfigurationService, fileDialogService: IFileDialogService, undoRedoService: IUndoRedoService);
78
73
  get typeId(): string;
79
74
  get editorId(): string;
80
75
  get capabilities(): EditorInputCapabilities;
@@ -84,7 +79,7 @@ export declare class CustomEditorSideBySideDiffInput extends LazilyResolvedWebvi
84
79
  get side(): CustomEditorSideBySideDiffSide;
85
80
  get diffId(): string;
86
81
  getName(): string;
87
- getDescription(verbosity?: Verbosity): string | undefined;
82
+ getDescription(_verbosity?: Verbosity): string | undefined;
88
83
  getTitle(verbosity?: Verbosity): string;
89
84
  isReadonly(): boolean | IMarkdownString;
90
85
  isDirty(): boolean;
@@ -1,6 +1,7 @@
1
1
 
2
2
  import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
3
- import { isEqual } from '../../../../base/common/resources.js';
3
+ import { basename, isEqual } from '../../../../base/common/resources.js';
4
+ import { MutableDisposable } from '../../../../base/common/lifecycle.js';
4
5
  import { localize } from '../../../../nls.js';
5
6
  import { IFileDialogService } from '../../../../platform/dialogs/common/dialogs.service.js';
6
7
  import { IInstantiationService } from '../../../../platform/instantiation/common/instantiation.js';
@@ -8,26 +9,21 @@ import { IThemeService } from '../../../../platform/theme/common/themeService.se
8
9
  import { IUndoRedoService } from '../../../../platform/undoRedo/common/undoRedo.service.js';
9
10
  import { EditorInputCapabilities, isEditorInput, isResourceDiffEditorInput, isResourceEditorInput } from '../../../common/editor.js';
10
11
  import { IFilesConfigurationService } from '../../../services/filesConfiguration/common/filesConfigurationService.service.js';
11
- import { ITextEditorService } from '../../../services/textfile/common/textEditorService.service.js';
12
12
  import { ICustomEditorService } from '../common/customEditor.service.js';
13
13
  import { IWebviewService } from '../../webview/browser/webview.service.js';
14
14
  import { LazilyResolvedWebviewEditorInput } from '../../webviewPanel/browser/webviewWorkbenchService.js';
15
15
  import { IWebviewWorkbenchService } from '../../webviewPanel/browser/webviewWorkbenchService.service.js';
16
16
 
17
17
  var CustomEditorDiffInput_1, CustomEditorSideBySideDiffInput_1;
18
+ function getCustomEditorSideBySideDiffInputResource(init) {
19
+ return init.side === "original" ? init.originalResource : init.modifiedResource;
20
+ }
18
21
  let CustomEditorDiffInput = class CustomEditorDiffInput extends LazilyResolvedWebviewEditorInput {
19
22
  static {
20
23
  CustomEditorDiffInput_1 = this;
21
24
  }
22
25
  static create(instantiationService, init, group) {
23
26
  return instantiationService.invokeFunction(accessor => {
24
- const textEditorService = accessor.get(ITextEditorService);
25
- const original = textEditorService.createTextEditor({
26
- resource: init.originalResource
27
- });
28
- const modified = textEditorService.createTextEditor({
29
- resource: init.modifiedResource
30
- });
31
27
  const webview = accessor.get(IWebviewService).createWebviewOverlay({
32
28
  providedViewType: init.viewType,
33
29
  title: init.label,
@@ -35,7 +31,7 @@ let CustomEditorDiffInput = class CustomEditorDiffInput extends LazilyResolvedWe
35
31
  contentOptions: {},
36
32
  extension: undefined
37
33
  });
38
- const input = instantiationService.createInstance(CustomEditorDiffInput_1, init, original, modified, webview);
34
+ const input = instantiationService.createInstance(CustomEditorDiffInput_1, init, webview);
39
35
  if (group) {
40
36
  input.updateGroup(group.id);
41
37
  }
@@ -47,8 +43,6 @@ let CustomEditorDiffInput = class CustomEditorDiffInput extends LazilyResolvedWe
47
43
  }
48
44
  constructor(
49
45
  init,
50
- original,
51
- modified,
52
46
  webview,
53
47
  themeService,
54
48
  webviewWorkbenchService,
@@ -65,22 +59,16 @@ let CustomEditorDiffInput = class CustomEditorDiffInput extends LazilyResolvedWe
65
59
  iconPath: init.iconPath
66
60
  }, webview, themeService, webviewWorkbenchService);
67
61
  this.init = init;
68
- this.original = original;
69
- this.modified = modified;
70
62
  this.instantiationService = instantiationService;
71
63
  this.customEditorService = customEditorService;
72
64
  this.filesConfigurationService = filesConfigurationService;
73
65
  this.fileDialogService = fileDialogService;
74
66
  this.undoRedoService = undoRedoService;
67
+ this._modelRef = this._register(( new MutableDisposable()));
75
68
  this._register(
76
69
  this.filesConfigurationService.onDidChangeReadonly(() => this._onDidChangeCapabilities.fire())
77
70
  );
78
71
  }
79
- dispose() {
80
- this.original.dispose();
81
- this.modified.dispose();
82
- super.dispose();
83
- }
84
72
  get typeId() {
85
73
  return CustomEditorDiffInput_1.typeId;
86
74
  }
@@ -104,7 +92,12 @@ let CustomEditorDiffInput = class CustomEditorDiffInput extends LazilyResolvedWe
104
92
  return this.init.modifiedResource;
105
93
  }
106
94
  getName() {
107
- return this.init.label ?? ( localize(8480, "{0} - {1}", this.original.getName(), this.modified.getName()));
95
+ return this.init.label ?? ( localize(
96
+ 8564,
97
+ "{0} - {1}",
98
+ basename(this.originalResource),
99
+ basename(this.modifiedResource)
100
+ ));
108
101
  }
109
102
  getDescription(_verbosity) {
110
103
  return this.init.description ?? super.getDescription();
@@ -112,18 +105,19 @@ let CustomEditorDiffInput = class CustomEditorDiffInput extends LazilyResolvedWe
112
105
  getTitle(verbosity) {
113
106
  const description = this.getDescription(verbosity);
114
107
  if (description) {
115
- return localize(8481, "{0} ({1})", this.getName(), description);
108
+ return localize(8565, "{0} ({1})", this.getName(), description);
116
109
  }
117
110
  return this.getName();
118
111
  }
119
112
  isReadonly() {
120
- if (!this._modelRef) {
113
+ const modelRef = this._modelRef.value;
114
+ if (!modelRef) {
121
115
  return this.filesConfigurationService.isReadonly(this.modifiedResource);
122
116
  }
123
- return this._modelRef.object.isReadonly();
117
+ return modelRef.object.isReadonly();
124
118
  }
125
119
  isDirty() {
126
- return this._modelRef?.object.isDirty() ?? false;
120
+ return this._modelRef.value?.object.isDirty() ?? false;
127
121
  }
128
122
  matches(otherInput) {
129
123
  if (this === otherInput) {
@@ -145,10 +139,11 @@ let CustomEditorDiffInput = class CustomEditorDiffInput extends LazilyResolvedWe
145
139
  return CustomEditorDiffInput_1.create(this.instantiationService, this.init, undefined);
146
140
  }
147
141
  async save(groupId, options) {
148
- if (!this._modelRef) {
142
+ const modelRef = this._modelRef.value;
143
+ if (!modelRef) {
149
144
  return undefined;
150
145
  }
151
- const target = await this._modelRef.object.saveCustomEditor(options);
146
+ const target = await modelRef.object.saveCustomEditor(options);
152
147
  if (!target) {
153
148
  return undefined;
154
149
  }
@@ -158,36 +153,42 @@ let CustomEditorDiffInput = class CustomEditorDiffInput extends LazilyResolvedWe
158
153
  return this;
159
154
  }
160
155
  async saveAs(groupId, options) {
161
- if (!this._modelRef) {
156
+ const modelRef = this._modelRef.value;
157
+ if (!modelRef) {
162
158
  return undefined;
163
159
  }
164
160
  const target = await this.fileDialogService.pickFileToSave(this.modifiedResource, options?.availableFileSystems);
165
161
  if (!target) {
166
162
  return undefined;
167
163
  }
168
- if (!(await this._modelRef.object.saveCustomEditorAs(this.modifiedResource, target, options))) {
164
+ if (!(await modelRef.object.saveCustomEditorAs(this.modifiedResource, target, options))) {
169
165
  return undefined;
170
166
  }
171
167
  return this.toUntypedWithModifiedResource(target);
172
168
  }
173
169
  async revert(group, options) {
174
- await this._modelRef?.object.revert(options);
170
+ await this._modelRef.value?.object.revert(options);
175
171
  }
176
172
  async resolve() {
177
173
  await super.resolve();
178
174
  if (this.isDisposed()) {
179
175
  return null;
180
176
  }
181
- if (!this._modelRef) {
177
+ if (!this._modelRef.value) {
182
178
  const modelRef = this.customEditorService.models.tryRetain(this.modifiedResource, this.viewType);
183
179
  if (modelRef) {
184
180
  const oldCapabilities = this.capabilities;
185
- this._modelRef = this._register(await modelRef);
181
+ const retainedModelRef = await modelRef;
182
+ if (this.isDisposed()) {
183
+ retainedModelRef.dispose();
184
+ return null;
185
+ }
186
+ this._modelRef.value = retainedModelRef;
186
187
  this._register(
187
- this._modelRef.object.onDidChangeDirty(() => this._onDidChangeDirty.fire())
188
+ retainedModelRef.object.onDidChangeDirty(() => this._onDidChangeDirty.fire())
188
189
  );
189
190
  this._register(
190
- this._modelRef.object.onDidChangeReadonly(() => this._onDidChangeCapabilities.fire())
191
+ retainedModelRef.object.onDidChangeReadonly(() => this._onDidChangeCapabilities.fire())
191
192
  );
192
193
  if (this.isDirty()) {
193
194
  this._onDidChangeDirty.fire();
@@ -224,25 +225,21 @@ let CustomEditorDiffInput = class CustomEditorDiffInput extends LazilyResolvedWe
224
225
  };
225
226
  }
226
227
  };
227
- CustomEditorDiffInput = CustomEditorDiffInput_1 = ( __decorate([( __param(4, IThemeService)), ( __param(5, IWebviewWorkbenchService)), ( __param(6, IInstantiationService)), ( __param(7, ICustomEditorService)), ( __param(8, IFilesConfigurationService)), ( __param(9, IFileDialogService)), ( __param(10, IUndoRedoService))], CustomEditorDiffInput));
228
+ CustomEditorDiffInput = CustomEditorDiffInput_1 = ( __decorate([( __param(2, IThemeService)), ( __param(3, IWebviewWorkbenchService)), ( __param(4, IInstantiationService)), ( __param(5, ICustomEditorService)), ( __param(6, IFilesConfigurationService)), ( __param(7, IFileDialogService)), ( __param(8, IUndoRedoService))], CustomEditorDiffInput));
228
229
  let CustomEditorSideBySideDiffInput = class CustomEditorSideBySideDiffInput extends LazilyResolvedWebviewEditorInput {
229
230
  static {
230
231
  CustomEditorSideBySideDiffInput_1 = this;
231
232
  }
232
233
  static create(instantiationService, init, group) {
233
234
  return instantiationService.invokeFunction(accessor => {
234
- const textEditorService = accessor.get(ITextEditorService);
235
- const sideInput = textEditorService.createTextEditor({
236
- resource: init.side === "original" ? init.originalResource : init.modifiedResource
237
- });
238
235
  const webview = accessor.get(IWebviewService).createWebviewOverlay({
239
236
  providedViewType: init.viewType,
240
- title: sideInput.getName(),
237
+ title: basename(getCustomEditorSideBySideDiffInputResource(init)),
241
238
  options: {},
242
239
  contentOptions: {},
243
240
  extension: undefined
244
241
  });
245
- const input = instantiationService.createInstance(CustomEditorSideBySideDiffInput_1, init, sideInput, webview);
242
+ const input = instantiationService.createInstance(CustomEditorSideBySideDiffInput_1, init, webview);
246
243
  if (group) {
247
244
  input.updateGroup(group.id);
248
245
  }
@@ -254,7 +251,6 @@ let CustomEditorSideBySideDiffInput = class CustomEditorSideBySideDiffInput exte
254
251
  }
255
252
  constructor(
256
253
  init,
257
- sideInput,
258
254
  webview,
259
255
  themeService,
260
256
  webviewWorkbenchService,
@@ -267,24 +263,20 @@ let CustomEditorSideBySideDiffInput = class CustomEditorSideBySideDiffInput exte
267
263
  super({
268
264
  providedId: init.viewType,
269
265
  viewType: init.viewType,
270
- name: sideInput.getName(),
266
+ name: basename(getCustomEditorSideBySideDiffInputResource(init)),
271
267
  iconPath: init.iconPath
272
268
  }, webview, themeService, webviewWorkbenchService);
273
269
  this.init = init;
274
- this.sideInput = sideInput;
275
270
  this.instantiationService = instantiationService;
276
271
  this.customEditorService = customEditorService;
277
272
  this.filesConfigurationService = filesConfigurationService;
278
273
  this.fileDialogService = fileDialogService;
279
274
  this.undoRedoService = undoRedoService;
275
+ this._modelRef = this._register(( new MutableDisposable()));
280
276
  this._register(
281
277
  this.filesConfigurationService.onDidChangeReadonly(() => this._onDidChangeCapabilities.fire())
282
278
  );
283
279
  }
284
- dispose() {
285
- this.sideInput.dispose();
286
- super.dispose();
287
- }
288
280
  get typeId() {
289
281
  return CustomEditorSideBySideDiffInput_1.typeId;
290
282
  }
@@ -314,25 +306,30 @@ let CustomEditorSideBySideDiffInput = class CustomEditorSideBySideDiffInput exte
314
306
  return this.init.diffId;
315
307
  }
316
308
  getName() {
317
- return this.sideInput.getName();
309
+ return basename(this.resource);
318
310
  }
319
- getDescription(verbosity) {
320
- return this.sideInput.getDescription(verbosity);
311
+ getDescription(_verbosity) {
312
+ return this.init.description ?? super.getDescription();
321
313
  }
322
314
  getTitle(verbosity) {
323
- return this.sideInput.getTitle(verbosity);
315
+ const description = this.getDescription(verbosity);
316
+ if (description) {
317
+ return localize(8566, "{0} ({1})", this.getName(), description);
318
+ }
319
+ return this.getName();
324
320
  }
325
321
  isReadonly() {
326
322
  if (this.side === "original") {
327
323
  return true;
328
324
  }
329
- if (!this._modelRef) {
325
+ const modelRef = this._modelRef.value;
326
+ if (!modelRef) {
330
327
  return this.filesConfigurationService.isReadonly(this.modifiedResource);
331
328
  }
332
- return this._modelRef.object.isReadonly();
329
+ return modelRef.object.isReadonly();
333
330
  }
334
331
  isDirty() {
335
- return this.side === "modified" ? this._modelRef?.object.isDirty() ?? false : false;
332
+ return this.side === "modified" ? this._modelRef.value?.object.isDirty() ?? false : false;
336
333
  }
337
334
  matches(otherInput) {
338
335
  if (this === otherInput) {
@@ -353,10 +350,11 @@ let CustomEditorSideBySideDiffInput = class CustomEditorSideBySideDiffInput exte
353
350
  return CustomEditorSideBySideDiffInput_1.create(this.instantiationService, this.init, undefined);
354
351
  }
355
352
  async save(groupId, options) {
356
- if (!this._modelRef) {
353
+ const modelRef = this._modelRef.value;
354
+ if (!modelRef) {
357
355
  return undefined;
358
356
  }
359
- const target = await this._modelRef.object.saveCustomEditor(options);
357
+ const target = await modelRef.object.saveCustomEditor(options);
360
358
  if (!target) {
361
359
  return undefined;
362
360
  }
@@ -368,14 +366,15 @@ let CustomEditorSideBySideDiffInput = class CustomEditorSideBySideDiffInput exte
368
366
  return this;
369
367
  }
370
368
  async saveAs(groupId, options) {
371
- if (!this._modelRef) {
369
+ const modelRef = this._modelRef.value;
370
+ if (!modelRef) {
372
371
  return undefined;
373
372
  }
374
373
  const target = await this.fileDialogService.pickFileToSave(this.modifiedResource, options?.availableFileSystems);
375
374
  if (!target) {
376
375
  return undefined;
377
376
  }
378
- if (!(await this._modelRef.object.saveCustomEditorAs(this.modifiedResource, target, options))) {
377
+ if (!(await modelRef.object.saveCustomEditorAs(this.modifiedResource, target, options))) {
379
378
  return undefined;
380
379
  }
381
380
  return {
@@ -383,23 +382,28 @@ let CustomEditorSideBySideDiffInput = class CustomEditorSideBySideDiffInput exte
383
382
  };
384
383
  }
385
384
  async revert(group, options) {
386
- await this._modelRef?.object.revert(options);
385
+ await this._modelRef.value?.object.revert(options);
387
386
  }
388
387
  async resolve() {
389
388
  await super.resolve();
390
389
  if (this.isDisposed()) {
391
390
  return null;
392
391
  }
393
- if (this.side === "modified" && !this._modelRef) {
392
+ if (this.side === "modified" && !this._modelRef.value) {
394
393
  const modelRef = this.customEditorService.models.tryRetain(this.modifiedResource, this.viewType);
395
394
  if (modelRef) {
396
395
  const oldCapabilities = this.capabilities;
397
- this._modelRef = this._register(await modelRef);
396
+ const retainedModelRef = await modelRef;
397
+ if (this.isDisposed()) {
398
+ retainedModelRef.dispose();
399
+ return null;
400
+ }
401
+ this._modelRef.value = retainedModelRef;
398
402
  this._register(
399
- this._modelRef.object.onDidChangeDirty(() => this._onDidChangeDirty.fire())
403
+ retainedModelRef.object.onDidChangeDirty(() => this._onDidChangeDirty.fire())
400
404
  );
401
405
  this._register(
402
- this._modelRef.object.onDidChangeReadonly(() => this._onDidChangeCapabilities.fire())
406
+ retainedModelRef.object.onDidChangeReadonly(() => this._onDidChangeCapabilities.fire())
403
407
  );
404
408
  if (this.isDirty()) {
405
409
  this._onDidChangeDirty.fire();
@@ -423,6 +427,6 @@ let CustomEditorSideBySideDiffInput = class CustomEditorSideBySideDiffInput exte
423
427
  };
424
428
  }
425
429
  };
426
- CustomEditorSideBySideDiffInput = CustomEditorSideBySideDiffInput_1 = ( __decorate([( __param(3, IThemeService)), ( __param(4, IWebviewWorkbenchService)), ( __param(5, IInstantiationService)), ( __param(6, ICustomEditorService)), ( __param(7, IFilesConfigurationService)), ( __param(8, IFileDialogService)), ( __param(9, IUndoRedoService))], CustomEditorSideBySideDiffInput));
430
+ CustomEditorSideBySideDiffInput = CustomEditorSideBySideDiffInput_1 = ( __decorate([( __param(2, IThemeService)), ( __param(3, IWebviewWorkbenchService)), ( __param(4, IInstantiationService)), ( __param(5, ICustomEditorService)), ( __param(6, IFilesConfigurationService)), ( __param(7, IFileDialogService)), ( __param(8, IUndoRedoService))], CustomEditorSideBySideDiffInput));
427
431
 
428
432
  export { CustomEditorDiffInput, CustomEditorSideBySideDiffInput };
@@ -355,11 +355,11 @@ let CustomEditorInput = class CustomEditorInput extends LazilyResolvedWebviewEdi
355
355
  claim(claimant, targetWindow, scopedContextKeyService) {
356
356
  if (this.doCanMove(targetWindow.vscodeWindowId) !== true) {
357
357
  throw createEditorOpenError(( localize(
358
- 8482,
358
+ 8567,
359
359
  "Unable to open the editor in this window, it contains modifications that can only be saved in the original window."
360
360
  )), [toAction({
361
361
  id: "openInOriginalWindow",
362
- label: ( localize(8483, "Open in Original Window")),
362
+ label: ( localize(8568, "Open in Original Window")),
363
363
  run: async () => {
364
364
  const originalPart = this.editorGroupsService.getPart(this.layoutService.getContainer(getWindow(this.webview.container).window));
365
365
  const currentPart = this.editorGroupsService.getPart(this.layoutService.getContainer(targetWindow.window));
@@ -386,7 +386,7 @@ let CustomEditorInput = class CustomEditorInput extends LazilyResolvedWebviewEdi
386
386
  const sourceWindowId = getWindow(this.webview.container).vscodeWindowId;
387
387
  if (sourceWindowId !== targetWindowId) {
388
388
  return localize(
389
- 8484,
389
+ 8569,
390
390
  "Unable to move '{0}': The editor contains changes that can only be saved in its current window.",
391
391
  this.getName()
392
392
  );
@@ -94,7 +94,7 @@ let AbstractExpressionsRenderer = class AbstractExpressionsRenderer {
94
94
  const lazyButton = append(expression, $("span.lazy-button"));
95
95
  lazyButton.classList.add(...ThemeIcon.asClassNameArray(Codicon.eye));
96
96
  templateDisposable.add(
97
- this.hoverService.setupManagedHover(getDefaultHoverDelegate("mouse"), lazyButton, ( localize(8506, "Click to expand")))
97
+ this.hoverService.setupManagedHover(getDefaultHoverDelegate("mouse"), lazyButton, ( localize(8588, "Click to expand")))
98
98
  );
99
99
  const type = append(expression, $("span.type"));
100
100
  const value = append(expression, $("span.value"));