@codingame/monaco-vscode-api 21.6.0 → 22.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (446) hide show
  1. package/missing-services.js +68 -78
  2. package/package.json +8 -8
  3. package/services.d.ts +4 -4
  4. package/services.js +5 -4
  5. package/vscode/product.json.js +1 -1
  6. package/vscode/src/vs/base/browser/dom.js +6 -3
  7. package/vscode/src/vs/base/browser/domSanitize.d.ts +8 -0
  8. package/vscode/src/vs/base/browser/domSanitize.js +49 -27
  9. package/vscode/src/vs/base/browser/domStylesheets.js +5 -1
  10. package/vscode/src/vs/base/browser/markdownRenderer.js +7 -5
  11. package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  12. package/vscode/src/vs/base/browser/ui/contextview/contextview.js +2 -2
  13. package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +1 -1
  14. package/vscode/src/vs/base/browser/ui/menu/menu.js +1 -0
  15. package/vscode/src/vs/base/browser/ui/progressbar/progressbar.d.ts +1 -1
  16. package/vscode/src/vs/base/common/async.js +6 -0
  17. package/vscode/src/vs/base/common/cancellation.d.ts +21 -0
  18. package/vscode/src/vs/base/common/cancellation.js +42 -1
  19. package/vscode/src/vs/base/common/codicons.d.ts +3 -0
  20. package/vscode/src/vs/base/common/codiconsLibrary.d.ts +3 -0
  21. package/vscode/src/vs/base/common/codiconsLibrary.js +3 -0
  22. package/vscode/src/vs/base/common/decorators/cancelPreviousCalls.d.ts +84 -0
  23. package/vscode/src/vs/base/common/decorators.d.ts +1 -1
  24. package/vscode/src/vs/base/common/htmlContent.d.ts +2 -0
  25. package/vscode/src/vs/base/common/htmlContent.js +9 -6
  26. package/vscode/src/vs/base/common/lifecycle.js +21 -7
  27. package/vscode/src/vs/base/common/numbers.d.ts +0 -45
  28. package/vscode/src/vs/base/common/oauth.d.ts +33 -0
  29. package/vscode/src/vs/base/common/oauth.js +79 -3
  30. package/vscode/src/vs/base/common/observableInternal/base.d.ts +4 -0
  31. package/vscode/src/vs/base/common/observableInternal/index.js +3 -0
  32. package/vscode/src/vs/base/common/observableInternal/logging/debugGetDependencyGraph.d.ts +4 -0
  33. package/vscode/src/vs/base/common/observableInternal/logging/debugGetDependencyGraph.js +98 -0
  34. package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.d.ts +4 -0
  35. package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.js +8 -1
  36. package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.d.ts +1 -0
  37. package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.js +10 -0
  38. package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.d.ts +4 -0
  39. package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.js +3 -0
  40. package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.d.ts +1 -0
  41. package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.js +9 -0
  42. package/vscode/src/vs/base/common/product.d.ts +7 -1
  43. package/vscode/src/vs/base/common/strings.d.ts +0 -1
  44. package/vscode/src/vs/base/common/strings.js +9 -4
  45. package/vscode/src/vs/base/common/uriIpc.js +24 -1
  46. package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderContentRich.js +26 -16
  47. package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderContentSimple.js +3 -3
  48. package/vscode/src/vs/editor/browser/services/hoverService/hover.css +1 -1
  49. package/vscode/src/vs/editor/browser/widget/diffEditor/commands.d.ts +3 -1
  50. package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -1
  51. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +8 -8
  52. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +4 -4
  53. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.d.ts +1 -0
  54. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +26 -1
  55. package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +1 -1
  56. package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +1 -1
  57. package/vscode/src/vs/editor/common/config/editorOptions.d.ts +93 -85
  58. package/vscode/src/vs/editor/common/config/editorOptions.js +386 -351
  59. package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
  60. package/vscode/src/vs/editor/common/core/ranges/lineRange.d.ts +3 -3
  61. package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
  62. package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
  63. package/vscode/src/vs/editor/common/languages.d.ts +5 -1
  64. package/vscode/src/vs/editor/common/languages.js +56 -56
  65. package/vscode/src/vs/editor/common/model/editStack.js +1 -1
  66. package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +86 -85
  67. package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +86 -85
  68. package/vscode/src/vs/editor/common/standaloneStrings.js +47 -47
  69. package/vscode/src/vs/editor/common/textModelEditSource.d.ts +1 -0
  70. package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
  71. package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +9 -7
  72. package/vscode/src/vs/editor/common/viewModel/screenReaderSimpleModel.d.ts +1 -0
  73. package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
  74. package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
  75. package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
  76. package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
  77. package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
  78. package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
  79. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
  80. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
  81. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
  82. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
  83. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
  84. package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
  85. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
  86. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
  87. package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
  88. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
  89. package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
  90. package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
  91. package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  92. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
  93. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
  94. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
  95. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
  96. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
  97. package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  98. package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
  99. package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +26 -26
  100. package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.contribution.d.ts +1 -0
  101. package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.contribution.js +8 -0
  102. package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.css +44 -0
  103. package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.d.ts +10 -0
  104. package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.js +81 -0
  105. package/vscode/src/vs/editor/contrib/folding/browser/folding.js +21 -20
  106. package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  107. package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  108. package/vscode/src/vs/editor/contrib/format/browser/format.js +3 -0
  109. package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
  110. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
  111. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
  112. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
  113. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.d.ts +4 -1
  114. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js +20 -11
  115. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
  116. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
  117. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  118. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  119. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  120. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
  121. package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  122. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +2 -1
  123. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
  124. package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
  125. package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  126. package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
  127. package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
  128. package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
  129. package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  130. package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
  131. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHints.js +2 -7
  132. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
  133. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -19
  134. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
  135. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +18 -13
  136. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
  137. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
  138. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +3 -1
  139. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +14 -6
  140. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +7 -1
  141. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +154 -5
  142. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +1 -0
  143. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +3 -0
  144. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +7 -3
  145. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +18 -3
  146. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/telemetry.d.ts +45 -0
  147. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/telemetry.js +7 -0
  148. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +16 -15
  149. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +5 -2
  150. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
  151. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js +2 -2
  152. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +24 -21
  153. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css +13 -4
  154. package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  155. package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  156. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.d.ts +2 -1
  157. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +36 -35
  158. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
  159. package/vscode/src/vs/editor/contrib/links/browser/links.js +11 -11
  160. package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
  161. package/vscode/src/vs/editor/contrib/middleScroll/browser/middleScrollController.js +3 -3
  162. package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  163. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  164. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  165. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  166. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  167. package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
  168. package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
  169. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
  170. package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
  171. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.d.ts +3 -0
  172. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +13 -4
  173. package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  174. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  175. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +12 -19
  176. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +10 -1
  177. package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
  178. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
  179. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +18 -18
  180. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
  181. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  182. package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
  183. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  184. package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  185. package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  186. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  187. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +26 -26
  188. package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  189. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  190. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
  191. package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
  192. package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +1 -1
  193. package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +0 -1
  194. package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.js +1 -0
  195. package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +1 -1
  196. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
  197. package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
  198. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +9 -6
  199. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +13 -14
  200. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
  201. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
  202. package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +1 -1
  203. package/vscode/src/vs/platform/actions/browser/toolbar.js +5 -5
  204. package/vscode/src/vs/platform/actions/common/actions.d.ts +2 -0
  205. package/vscode/src/vs/platform/actions/common/actions.js +2 -0
  206. package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
  207. package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
  208. package/vscode/src/vs/platform/assignment/common/assignment.d.ts +6 -1
  209. package/vscode/src/vs/platform/clipboard/browser/clipboardService.js +2 -2
  210. package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +10 -10
  211. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.d.ts +2 -0
  212. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +32 -3
  213. package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
  214. package/vscode/src/vs/platform/contextkey/common/contextkeys.d.ts +0 -1
  215. package/vscode/src/vs/platform/contextkey/common/contextkeys.js +10 -11
  216. package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
  217. package/vscode/src/vs/platform/dataChannel/browser/forwardingTelemetryService.d.ts +32 -0
  218. package/vscode/src/vs/platform/dataChannel/browser/forwardingTelemetryService.js +86 -0
  219. package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
  220. package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
  221. package/vscode/src/vs/platform/environment/common/argv.d.ts +1 -0
  222. package/vscode/src/vs/platform/environment/common/environment.service.d.ts +0 -1
  223. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +19 -19
  224. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
  225. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
  226. package/vscode/src/vs/platform/extensionManagement/common/implicitActivationEvents.d.ts +1 -3
  227. package/vscode/src/vs/platform/extensionManagement/common/implicitActivationEvents.js +1 -1
  228. package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
  229. package/vscode/src/vs/platform/extensions/common/extensions.d.ts +2 -1
  230. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +4 -3
  231. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +4 -3
  232. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
  233. package/vscode/src/vs/platform/files/common/files.js +6 -6
  234. package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  235. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  236. package/vscode/src/vs/platform/list/browser/listService.js +27 -27
  237. package/vscode/src/vs/platform/log/common/log.js +6 -6
  238. package/vscode/src/vs/platform/markers/common/markerService.js +2 -2
  239. package/vscode/src/vs/platform/markers/common/markers.js +6 -6
  240. package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.d.ts +10 -2
  241. package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.js +10 -2
  242. package/vscode/src/vs/platform/mcp/common/mcpManagement.service.d.ts +3 -3
  243. package/vscode/src/vs/platform/notification/common/notification.js +3 -3
  244. package/vscode/src/vs/platform/product/common/product.js +3 -3
  245. package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +1 -0
  246. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +23 -15
  247. package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +47 -13
  248. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +10 -61
  249. package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +1 -1
  250. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  251. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
  252. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.d.ts +6 -0
  253. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.js +10 -0
  254. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js +10 -5
  255. package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +4 -1
  256. package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +10 -1
  257. package/vscode/src/vs/platform/request/common/request.js +34 -18
  258. package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
  259. package/vscode/src/vs/platform/terminal/common/terminal.d.ts +2 -3
  260. package/vscode/src/vs/platform/terminal/common/terminal.js +6 -7
  261. package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
  262. package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
  263. package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
  264. package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
  265. package/vscode/src/vs/platform/theme/common/colors/inputColors.js +47 -47
  266. package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
  267. package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
  268. package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
  269. package/vscode/src/vs/platform/theme/common/colors/miscColors.js +15 -15
  270. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  271. package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
  272. package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
  273. package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  274. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
  275. package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
  276. package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
  277. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +11 -10
  278. package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +25 -24
  279. package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +4 -4
  280. package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +10 -18
  281. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +5 -0
  282. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +16 -4
  283. package/vscode/src/vs/workbench/api/common/extHostChatSessions.d.ts +1 -3
  284. package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +9 -5
  285. package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +1 -1
  286. package/vscode/src/vs/workbench/api/common/extHostDebugService.js +0 -3
  287. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
  288. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
  289. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
  290. package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +9 -4
  291. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +7 -2
  292. package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
  293. package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +97 -9
  294. package/vscode/src/vs/workbench/api/common/extHostMcp.js +66 -62
  295. package/vscode/src/vs/workbench/api/common/extHostNotebook.d.ts +1 -1
  296. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
  297. package/vscode/src/vs/workbench/api/common/extHostSCM.d.ts +2 -0
  298. package/vscode/src/vs/workbench/api/common/extHostSCM.js +22 -0
  299. package/vscode/src/vs/workbench/api/common/extHostSecrets.d.ts +0 -1
  300. package/vscode/src/vs/workbench/api/common/extHostSecrets.js +0 -3
  301. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
  302. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
  303. package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +2 -2
  304. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +8 -8
  305. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +53 -3
  306. package/vscode/src/vs/workbench/api/common/extHostTunnelService.d.ts +2 -0
  307. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +5 -2
  308. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +6 -2
  309. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +60 -9
  310. package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +18 -14
  311. package/vscode/src/vs/workbench/api/common/extHostTypes.js +7 -7
  312. package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +1 -1
  313. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
  314. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
  315. package/vscode/src/vs/workbench/browser/actions/developerActions.js +262 -31
  316. package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
  317. package/vscode/src/vs/workbench/browser/contextkeys.d.ts +5 -7
  318. package/vscode/src/vs/workbench/browser/contextkeys.js +15 -43
  319. package/vscode/src/vs/workbench/common/configuration.js +9 -9
  320. package/vscode/src/vs/workbench/common/contextkeys.js +73 -73
  321. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
  322. package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
  323. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
  324. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
  325. package/vscode/src/vs/workbench/common/editor.js +4 -4
  326. package/vscode/src/vs/workbench/common/theme.js +167 -167
  327. package/vscode/src/vs/workbench/common/views.js +4 -4
  328. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +3 -2
  329. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +175 -158
  330. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
  331. package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +2 -1
  332. package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.service.d.ts +1 -1
  333. package/vscode/src/vs/workbench/contrib/chat/browser/chatContextPickService.service.d.ts +1 -1
  334. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.d.ts +1 -0
  335. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +15 -9
  336. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +7 -0
  337. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +61 -66
  338. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +2 -1
  339. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +2 -2
  340. package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.service.d.ts +1 -2
  341. package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +24 -8
  342. package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +8 -1
  343. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +6 -2
  344. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +0 -2
  345. package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.d.ts +28 -3
  346. package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.js +35 -6
  347. package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +16 -6
  348. package/vscode/src/vs/workbench/contrib/chat/common/constants.js +11 -8
  349. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +9 -2
  350. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +4 -4
  351. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +10 -3
  352. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +8 -4
  353. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +50 -42
  354. package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +1 -1
  355. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +23 -8
  356. package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.d.ts +4 -3
  357. package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.js +29 -29
  358. package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.js +4 -3
  359. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
  360. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
  361. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
  362. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
  363. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
  364. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +7 -6
  365. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
  366. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
  367. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
  368. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
  369. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
  370. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
  371. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
  372. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
  373. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
  374. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +2 -2
  375. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
  376. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.d.ts +3 -1
  377. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
  378. package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +4 -4
  379. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
  380. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
  381. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
  382. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
  383. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  384. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
  385. package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
  386. package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
  387. package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.d.ts +6 -1
  388. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +33 -0
  389. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +16 -5
  390. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +2 -2
  391. package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocol.d.ts +217 -60
  392. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.d.ts +1 -1
  393. package/vscode/src/vs/workbench/contrib/scm/common/history.d.ts +2 -0
  394. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
  395. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
  396. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
  397. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
  398. package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
  399. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +7 -7
  400. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +1 -1
  401. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.d.ts +16 -3
  402. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +18 -6
  403. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +42 -8
  404. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.js +2 -1
  405. package/vscode/src/vs/workbench/contrib/testing/common/constants.d.ts +1 -0
  406. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +12 -11
  407. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
  408. package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +2 -2
  409. package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +1 -1
  410. package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +4 -4
  411. package/vscode/src/vs/workbench/services/authentication/common/authentication.js +2 -2
  412. package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +6 -6
  413. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.d.ts +286 -0
  414. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +861 -0
  415. package/vscode/src/vs/workbench/{contrib → services}/chat/common/chatEntitlementService.service.d.ts +8 -2
  416. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
  417. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
  418. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +87 -87
  419. package/vscode/src/vs/workbench/services/language/common/languageService.js +30 -30
  420. package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
  421. package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +1 -1
  422. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
  423. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
  424. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
  425. package/vscode/src/vs/workbench/services/textfile/common/encoding.js +1 -1
  426. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
  427. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
  428. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
  429. package/vscode-dts/vscode.d.ts +92 -47
  430. package/vscode-dts/vscode.proposed.authenticationChallenges.d.ts +7 -80
  431. package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +14 -1
  432. package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +12 -0
  433. package/vscode-dts/vscode.proposed.chatProvider.d.ts +19 -0
  434. package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +19 -11
  435. package/vscode-dts/vscode.proposed.d.ts +1 -1
  436. package/vscode-dts/{vscode.proposed.secretStorageKeys.d.ts → vscode.proposed.devDeviceId.d.ts} +3 -4
  437. package/vscode-dts/vscode.proposed.languageModelCapabilities.d.ts +5 -0
  438. package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +2 -0
  439. package/vscode-dts/vscode.proposed.terminalCompletionProvider.d.ts +70 -16
  440. package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.d.ts +0 -8
  441. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/codecs/base/frontMatterCodec/tokens/index.d.ts +0 -5
  442. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/codecs/base/simpleCodec/tokens/tokens.d.ts +0 -20
  443. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +0 -55
  444. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +0 -91
  445. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +0 -125
  446. /package/vscode/src/vs/workbench/{contrib → services}/chat/common/chatEntitlementService.service.js +0 -0
@@ -37,7 +37,7 @@ import { IsWebContext } from '../../../../platform/contextkey/common/contextkeys
37
37
 
38
38
  MenuRegistry.appendMenuItem(MenuId.EditorContext, {
39
39
  submenu: MenuId.EditorContextPeek,
40
- title: ( localize(1126, "Peek")),
40
+ title: ( localize(1129, "Peek")),
41
41
  group: 'navigation',
42
42
  order: 100
43
43
  });
@@ -198,13 +198,13 @@ class DefinitionAction extends SymbolNavigationAction {
198
198
  async _getLocationModel(languageFeaturesService, model, position, token) {
199
199
  return (new ReferencesModel(
200
200
  await getDefinitionsAtPosition(languageFeaturesService.definitionProvider, model, position, false, token),
201
- localize(1127, 'Definitions')
201
+ localize(1130, 'Definitions')
202
202
  ));
203
203
  }
204
204
  _getNoResultFoundMessage(info) {
205
205
  return info && info.word
206
- ? ( localize(1128, "No definition found for '{0}'", info.word))
207
- : ( localize(1129, "No definition found"));
206
+ ? ( localize(1131, "No definition found for '{0}'", info.word))
207
+ : ( localize(1132, "No definition found"));
208
208
  }
209
209
  _getAlternativeCommand(editor) {
210
210
  return editor.getOption(EditorOption.gotoLocation).alternativeDefinitionCommand;
@@ -223,8 +223,8 @@ registerAction2(class GoToDefinitionAction extends DefinitionAction {
223
223
  }, {
224
224
  id: GoToDefinitionAction.id,
225
225
  title: {
226
- ...( localize2(1130, "Go to Definition")),
227
- mnemonicTitle: ( localize(1131, "Go to &&Definition")),
226
+ ...( localize2(1133, "Go to Definition")),
227
+ mnemonicTitle: ( localize(1134, "Go to &&Definition")),
228
228
  },
229
229
  precondition: EditorContextKeys.hasDefinitionProvider,
230
230
  keybinding: [{
@@ -259,7 +259,7 @@ registerAction2(class OpenDefinitionToSideAction extends DefinitionAction {
259
259
  muteMessage: false
260
260
  }, {
261
261
  id: OpenDefinitionToSideAction.id,
262
- title: ( localize2(1132, "Open Definition to the Side")),
262
+ title: ( localize2(1135, "Open Definition to the Side")),
263
263
  precondition: ( ContextKeyExpr.and(EditorContextKeys.hasDefinitionProvider, ( EditorContextKeys.isInEmbeddedEditor.toNegated()))),
264
264
  keybinding: [{
265
265
  when: EditorContextKeys.editorTextFocus,
@@ -283,7 +283,7 @@ registerAction2(class PeekDefinitionAction extends DefinitionAction {
283
283
  muteMessage: false
284
284
  }, {
285
285
  id: PeekDefinitionAction.id,
286
- title: ( localize2(1133, "Peek Definition")),
286
+ title: ( localize2(1136, "Peek Definition")),
287
287
  precondition: ( ContextKeyExpr.and(
288
288
  EditorContextKeys.hasDefinitionProvider,
289
289
  PeekContext.notInPeekEditor,
@@ -308,13 +308,13 @@ class DeclarationAction extends SymbolNavigationAction {
308
308
  async _getLocationModel(languageFeaturesService, model, position, token) {
309
309
  return (new ReferencesModel(
310
310
  await getDeclarationsAtPosition(languageFeaturesService.declarationProvider, model, position, false, token),
311
- localize(1134, 'Declarations')
311
+ localize(1137, 'Declarations')
312
312
  ));
313
313
  }
314
314
  _getNoResultFoundMessage(info) {
315
315
  return info && info.word
316
- ? ( localize(1135, "No declaration found for '{0}'", info.word))
317
- : ( localize(1136, "No declaration found"));
316
+ ? ( localize(1138, "No declaration found for '{0}'", info.word))
317
+ : ( localize(1139, "No declaration found"));
318
318
  }
319
319
  _getAlternativeCommand(editor) {
320
320
  return editor.getOption(EditorOption.gotoLocation).alternativeDeclarationCommand;
@@ -333,8 +333,8 @@ registerAction2(class GoToDeclarationAction extends DeclarationAction {
333
333
  }, {
334
334
  id: GoToDeclarationAction.id,
335
335
  title: {
336
- ...( localize2(1137, "Go to Declaration")),
337
- mnemonicTitle: ( localize(1138, "Go to &&Declaration")),
336
+ ...( localize2(1140, "Go to Declaration")),
337
+ mnemonicTitle: ( localize(1141, "Go to &&Declaration")),
338
338
  },
339
339
  precondition: ( ContextKeyExpr.and(EditorContextKeys.hasDeclarationProvider, ( EditorContextKeys.isInEmbeddedEditor.toNegated()))),
340
340
  menu: [{
@@ -351,8 +351,8 @@ registerAction2(class GoToDeclarationAction extends DeclarationAction {
351
351
  }
352
352
  _getNoResultFoundMessage(info) {
353
353
  return info && info.word
354
- ? ( localize(1135, "No declaration found for '{0}'", info.word))
355
- : ( localize(1136, "No declaration found"));
354
+ ? ( localize(1138, "No declaration found for '{0}'", info.word))
355
+ : ( localize(1139, "No declaration found"));
356
356
  }
357
357
  });
358
358
  registerAction2(class PeekDeclarationAction extends DeclarationAction {
@@ -363,7 +363,7 @@ registerAction2(class PeekDeclarationAction extends DeclarationAction {
363
363
  muteMessage: false
364
364
  }, {
365
365
  id: 'editor.action.peekDeclaration',
366
- title: ( localize2(1139, "Peek Declaration")),
366
+ title: ( localize2(1142, "Peek Declaration")),
367
367
  precondition: ( ContextKeyExpr.and(
368
368
  EditorContextKeys.hasDeclarationProvider,
369
369
  PeekContext.notInPeekEditor,
@@ -381,13 +381,13 @@ class TypeDefinitionAction extends SymbolNavigationAction {
381
381
  async _getLocationModel(languageFeaturesService, model, position, token) {
382
382
  return (new ReferencesModel(
383
383
  await getTypeDefinitionsAtPosition(languageFeaturesService.typeDefinitionProvider, model, position, false, token),
384
- localize(1140, 'Type Definitions')
384
+ localize(1143, 'Type Definitions')
385
385
  ));
386
386
  }
387
387
  _getNoResultFoundMessage(info) {
388
388
  return info && info.word
389
- ? ( localize(1141, "No type definition found for '{0}'", info.word))
390
- : ( localize(1142, "No type definition found"));
389
+ ? ( localize(1144, "No type definition found for '{0}'", info.word))
390
+ : ( localize(1145, "No type definition found"));
391
391
  }
392
392
  _getAlternativeCommand(editor) {
393
393
  return editor.getOption(EditorOption.gotoLocation).alternativeTypeDefinitionCommand;
@@ -406,8 +406,8 @@ registerAction2(class GoToTypeDefinitionAction extends TypeDefinitionAction {
406
406
  }, {
407
407
  id: GoToTypeDefinitionAction.ID,
408
408
  title: {
409
- ...( localize2(1143, "Go to Type Definition")),
410
- mnemonicTitle: ( localize(1144, "Go to &&Type Definition")),
409
+ ...( localize2(1146, "Go to Type Definition")),
410
+ mnemonicTitle: ( localize(1147, "Go to &&Type Definition")),
411
411
  },
412
412
  precondition: EditorContextKeys.hasTypeDefinitionProvider,
413
413
  keybinding: {
@@ -437,7 +437,7 @@ registerAction2(class PeekTypeDefinitionAction extends TypeDefinitionAction {
437
437
  muteMessage: false
438
438
  }, {
439
439
  id: PeekTypeDefinitionAction.ID,
440
- title: ( localize2(1145, "Peek Type Definition")),
440
+ title: ( localize2(1148, "Peek Type Definition")),
441
441
  precondition: ( ContextKeyExpr.and(
442
442
  EditorContextKeys.hasTypeDefinitionProvider,
443
443
  PeekContext.notInPeekEditor,
@@ -455,13 +455,13 @@ class ImplementationAction extends SymbolNavigationAction {
455
455
  async _getLocationModel(languageFeaturesService, model, position, token) {
456
456
  return (new ReferencesModel(
457
457
  await getImplementationsAtPosition(languageFeaturesService.implementationProvider, model, position, false, token),
458
- localize(1146, 'Implementations')
458
+ localize(1149, 'Implementations')
459
459
  ));
460
460
  }
461
461
  _getNoResultFoundMessage(info) {
462
462
  return info && info.word
463
- ? ( localize(1147, "No implementation found for '{0}'", info.word))
464
- : ( localize(1148, "No implementation found"));
463
+ ? ( localize(1150, "No implementation found for '{0}'", info.word))
464
+ : ( localize(1151, "No implementation found"));
465
465
  }
466
466
  _getAlternativeCommand(editor) {
467
467
  return editor.getOption(EditorOption.gotoLocation).alternativeImplementationCommand;
@@ -480,8 +480,8 @@ registerAction2(class GoToImplementationAction extends ImplementationAction {
480
480
  }, {
481
481
  id: GoToImplementationAction.ID,
482
482
  title: {
483
- ...( localize2(1149, "Go to Implementations")),
484
- mnemonicTitle: ( localize(1150, "Go to &&Implementations")),
483
+ ...( localize2(1152, "Go to Implementations")),
484
+ mnemonicTitle: ( localize(1153, "Go to &&Implementations")),
485
485
  },
486
486
  precondition: EditorContextKeys.hasImplementationProvider,
487
487
  keybinding: {
@@ -511,7 +511,7 @@ registerAction2(class PeekImplementationAction extends ImplementationAction {
511
511
  muteMessage: false
512
512
  }, {
513
513
  id: PeekImplementationAction.ID,
514
- title: ( localize2(1151, "Peek Implementations")),
514
+ title: ( localize2(1154, "Peek Implementations")),
515
515
  precondition: ( ContextKeyExpr.and(
516
516
  EditorContextKeys.hasImplementationProvider,
517
517
  PeekContext.notInPeekEditor,
@@ -533,8 +533,8 @@ registerAction2(class PeekImplementationAction extends ImplementationAction {
533
533
  class ReferencesAction extends SymbolNavigationAction {
534
534
  _getNoResultFoundMessage(info) {
535
535
  return info
536
- ? ( localize(1152, "No references found for '{0}'", info.word))
537
- : ( localize(1153, "No references found"));
536
+ ? ( localize(1155, "No references found for '{0}'", info.word))
537
+ : ( localize(1156, "No references found"));
538
538
  }
539
539
  _getAlternativeCommand(editor) {
540
540
  return editor.getOption(EditorOption.gotoLocation).alternativeReferenceCommand;
@@ -552,8 +552,8 @@ registerAction2(class GoToReferencesAction extends ReferencesAction {
552
552
  }, {
553
553
  id: 'editor.action.goToReferences',
554
554
  title: {
555
- ...( localize2(1154, "Go to References")),
556
- mnemonicTitle: ( localize(1155, "Go to &&References")),
555
+ ...( localize2(1157, "Go to References")),
556
+ mnemonicTitle: ( localize(1158, "Go to &&References")),
557
557
  },
558
558
  precondition: ( ContextKeyExpr.and(
559
559
  EditorContextKeys.hasReferenceProvider,
@@ -580,7 +580,7 @@ registerAction2(class GoToReferencesAction extends ReferencesAction {
580
580
  async _getLocationModel(languageFeaturesService, model, position, token) {
581
581
  return (new ReferencesModel(
582
582
  await getReferencesAtPosition(languageFeaturesService.referenceProvider, model, position, true, false, token),
583
- localize(1156, 'References')
583
+ localize(1159, 'References')
584
584
  ));
585
585
  }
586
586
  });
@@ -592,7 +592,7 @@ registerAction2(class PeekReferencesAction extends ReferencesAction {
592
592
  muteMessage: false
593
593
  }, {
594
594
  id: 'editor.action.referenceSearch.trigger',
595
- title: ( localize2(1157, "Peek References")),
595
+ title: ( localize2(1160, "Peek References")),
596
596
  precondition: ( ContextKeyExpr.and(
597
597
  EditorContextKeys.hasReferenceProvider,
598
598
  PeekContext.notInPeekEditor,
@@ -608,7 +608,7 @@ registerAction2(class PeekReferencesAction extends ReferencesAction {
608
608
  async _getLocationModel(languageFeaturesService, model, position, token) {
609
609
  return (new ReferencesModel(
610
610
  await getReferencesAtPosition(languageFeaturesService.referenceProvider, model, position, false, false, token),
611
- localize(1156, 'References')
611
+ localize(1159, 'References')
612
612
  ));
613
613
  }
614
614
  });
@@ -616,17 +616,17 @@ class GenericGoToLocationAction extends SymbolNavigationAction {
616
616
  constructor(config, _references, _gotoMultipleBehaviour) {
617
617
  super(config, {
618
618
  id: 'editor.action.goToLocation',
619
- title: ( localize2(1158, "Go to Any Symbol")),
619
+ title: ( localize2(1161, "Go to Any Symbol")),
620
620
  precondition: ( ContextKeyExpr.and(PeekContext.notInPeekEditor, ( EditorContextKeys.isInEmbeddedEditor.toNegated()))),
621
621
  });
622
622
  this._references = _references;
623
623
  this._gotoMultipleBehaviour = _gotoMultipleBehaviour;
624
624
  }
625
625
  async _getLocationModel(languageFeaturesService, _model, _position, _token) {
626
- return (new ReferencesModel(this._references, localize(1159, 'Locations')));
626
+ return (new ReferencesModel(this._references, localize(1162, 'Locations')));
627
627
  }
628
628
  _getNoResultFoundMessage(info) {
629
- return info && ( localize(1160, "No results for '{0}'", info.word)) || '';
629
+ return info && ( localize(1163, "No results for '{0}'", info.word)) || '';
630
630
  }
631
631
  _getGoToPreference(editor) {
632
632
  return this._gotoMultipleBehaviour ?? editor.getOption(EditorOption.gotoLocation).multipleReferences;
@@ -703,7 +703,7 @@ CommandsRegistry.registerCommand({
703
703
  if (!controller) {
704
704
  return undefined;
705
705
  }
706
- const references = createCancelablePromise(token => getReferencesAtPosition(languageFeaturesService.referenceProvider, control.getModel(), Position.lift(position), false, false, token).then(references => ( new ReferencesModel(references, ( localize(1156, 'References'))))));
706
+ const references = createCancelablePromise(token => getReferencesAtPosition(languageFeaturesService.referenceProvider, control.getModel(), Position.lift(position), false, false, token).then(references => ( new ReferencesModel(references, ( localize(1159, 'References'))))));
707
707
  const range = ( new Range(position.lineNumber, position.column, position.lineNumber, position.column));
708
708
  return Promise.resolve(controller.toggleWidget(range, references, false));
709
709
  });
@@ -3,6 +3,7 @@ import { Event } from "../../../../../base/common/event.js";
3
3
  import { KeyCode } from "../../../../../base/common/keyCodes.js";
4
4
  import { Disposable } from "../../../../../base/common/lifecycle.js";
5
5
  import { ICodeEditor, IEditorMouseEvent, IMouseTarget } from "../../../../browser/editorBrowser.js";
6
+ import { MouseMiddleClickAction } from "../../../../common/config/editorOptions.js";
6
7
  /**
7
8
  * An event that encapsulates the various trigger modifiers logic needed for go to definition.
8
9
  */
@@ -14,6 +15,7 @@ export declare class ClickLinkMouseEvent {
14
15
  readonly isLeftClick: boolean;
15
16
  readonly isMiddleClick: boolean;
16
17
  readonly isRightClick: boolean;
18
+ readonly mouseMiddleClickAction: MouseMiddleClickAction;
17
19
  constructor(source: IEditorMouseEvent, opts: ClickLinkOptions);
18
20
  }
19
21
  /**
@@ -27,11 +29,12 @@ export declare class ClickLinkKeyboardEvent {
27
29
  }
28
30
  export type TriggerModifier = "ctrlKey" | "shiftKey" | "altKey" | "metaKey";
29
31
  export declare class ClickLinkOptions {
32
+ readonly mouseMiddleClickAction: MouseMiddleClickAction;
30
33
  readonly triggerKey: KeyCode;
31
34
  readonly triggerModifier: TriggerModifier;
32
35
  readonly triggerSideBySideKey: KeyCode;
33
36
  readonly triggerSideBySideModifier: TriggerModifier;
34
- constructor(triggerKey: KeyCode, triggerModifier: TriggerModifier, triggerSideBySideKey: KeyCode, triggerSideBySideModifier: TriggerModifier);
37
+ constructor(triggerKey: KeyCode, triggerModifier: TriggerModifier, triggerSideBySideKey: KeyCode, triggerSideBySideModifier: TriggerModifier, mouseMiddleClickAction: MouseMiddleClickAction);
35
38
  equals(other: ClickLinkOptions): boolean;
36
39
  }
37
40
  export interface IClickLinkGestureOptions {
@@ -14,7 +14,13 @@ class ClickLinkMouseEvent {
14
14
  this.isLeftClick = source.event.leftButton;
15
15
  this.isMiddleClick = source.event.middleButton;
16
16
  this.isRightClick = source.event.rightButton;
17
+ this.mouseMiddleClickAction = opts.mouseMiddleClickAction;
17
18
  this.hasTriggerModifier = hasModifier(source.event, opts.triggerModifier);
19
+ if (this.isMiddleClick && opts.mouseMiddleClickAction === 'ctrlLeftClick') {
20
+ this.isMiddleClick = false;
21
+ this.isLeftClick = true;
22
+ this.hasTriggerModifier = true;
23
+ }
18
24
  this.hasSideBySideModifier = hasModifier(source.event, opts.triggerSideBySideModifier);
19
25
  this.isNoneOrSingleMouseDown = (source.event.detail <= 1);
20
26
  }
@@ -27,7 +33,8 @@ class ClickLinkKeyboardEvent {
27
33
  }
28
34
  }
29
35
  class ClickLinkOptions {
30
- constructor(triggerKey, triggerModifier, triggerSideBySideKey, triggerSideBySideModifier) {
36
+ constructor(triggerKey, triggerModifier, triggerSideBySideKey, triggerSideBySideModifier, mouseMiddleClickAction) {
37
+ this.mouseMiddleClickAction = mouseMiddleClickAction;
31
38
  this.triggerKey = triggerKey;
32
39
  this.triggerModifier = triggerModifier;
33
40
  this.triggerSideBySideKey = triggerSideBySideKey;
@@ -37,20 +44,21 @@ class ClickLinkOptions {
37
44
  return (this.triggerKey === other.triggerKey
38
45
  && this.triggerModifier === other.triggerModifier
39
46
  && this.triggerSideBySideKey === other.triggerSideBySideKey
40
- && this.triggerSideBySideModifier === other.triggerSideBySideModifier);
47
+ && this.triggerSideBySideModifier === other.triggerSideBySideModifier
48
+ && this.mouseMiddleClickAction === other.mouseMiddleClickAction);
41
49
  }
42
50
  }
43
- function createOptions(multiCursorModifier) {
51
+ function createOptions(multiCursorModifier, mouseMiddleClickAction) {
44
52
  if (multiCursorModifier === 'altKey') {
45
53
  if (isMacintosh) {
46
- return ( new ClickLinkOptions(KeyCode.Meta, 'metaKey', KeyCode.Alt, 'altKey'));
54
+ return ( new ClickLinkOptions(KeyCode.Meta, 'metaKey', KeyCode.Alt, 'altKey', mouseMiddleClickAction));
47
55
  }
48
- return ( new ClickLinkOptions(KeyCode.Ctrl, 'ctrlKey', KeyCode.Alt, 'altKey'));
56
+ return ( new ClickLinkOptions(KeyCode.Ctrl, 'ctrlKey', KeyCode.Alt, 'altKey', mouseMiddleClickAction));
49
57
  }
50
58
  if (isMacintosh) {
51
- return ( new ClickLinkOptions(KeyCode.Alt, 'altKey', KeyCode.Meta, 'metaKey'));
59
+ return ( new ClickLinkOptions(KeyCode.Alt, 'altKey', KeyCode.Meta, 'metaKey', mouseMiddleClickAction));
52
60
  }
53
- return ( new ClickLinkOptions(KeyCode.Alt, 'altKey', KeyCode.Ctrl, 'ctrlKey'));
61
+ return ( new ClickLinkOptions(KeyCode.Alt, 'altKey', KeyCode.Ctrl, 'ctrlKey', mouseMiddleClickAction));
54
62
  }
55
63
  class ClickLinkGesture extends Disposable {
56
64
  constructor(editor, opts) {
@@ -63,13 +71,13 @@ class ClickLinkGesture extends Disposable {
63
71
  this.onCancel = this._onCancel.event;
64
72
  this._editor = editor;
65
73
  this._extractLineNumberFromMouseEvent = opts?.extractLineNumberFromMouseEvent ?? ((e) => e.target.position ? e.target.position.lineNumber : 0);
66
- this._opts = createOptions(this._editor.getOption(EditorOption.multiCursorModifier));
74
+ this._opts = createOptions(this._editor.getOption(EditorOption.multiCursorModifier), this._editor.getOption(EditorOption.mouseMiddleClickAction));
67
75
  this._lastMouseMoveEvent = null;
68
76
  this._hasTriggerKeyOnMouseDown = false;
69
77
  this._lineNumberOnMouseDown = 0;
70
78
  this._register(this._editor.onDidChangeConfiguration((e) => {
71
- if (e.hasChanged(EditorOption.multiCursorModifier)) {
72
- const newOpts = createOptions(this._editor.getOption(EditorOption.multiCursorModifier));
79
+ if (e.hasChanged(EditorOption.multiCursorModifier) || e.hasChanged(EditorOption.mouseMiddleClickAction)) {
80
+ const newOpts = createOptions(this._editor.getOption(EditorOption.multiCursorModifier), this._editor.getOption(EditorOption.mouseMiddleClickAction));
73
81
  if (this._opts.equals(newOpts)) {
74
82
  return;
75
83
  }
@@ -110,7 +118,8 @@ class ClickLinkGesture extends Disposable {
110
118
  }
111
119
  _onEditorMouseUp(mouseEvent) {
112
120
  const currentLineNumber = this._extractLineNumberFromMouseEvent(mouseEvent);
113
- if (this._hasTriggerKeyOnMouseDown && this._lineNumberOnMouseDown && this._lineNumberOnMouseDown === currentLineNumber) {
121
+ const lineNumbersCorrect = !!this._lineNumberOnMouseDown && this._lineNumberOnMouseDown === currentLineNumber;
122
+ if (lineNumbersCorrect && (this._hasTriggerKeyOnMouseDown || (mouseEvent.isMiddleClick && mouseEvent.mouseMiddleClickAction === 'openLink'))) {
114
123
  this._onExecute.fire(mouseEvent);
115
124
  }
116
125
  }
@@ -132,7 +132,7 @@ let GotoDefinitionAtPositionEditorContribution = class GotoDefinitionAtPositionE
132
132
  combinedRange = Range.plusRange(combinedRange, originSelectionRange);
133
133
  }
134
134
  }
135
- this.addDecoration(combinedRange, ( new MarkdownString()).appendText(( localize(1161, "Click to show {0} definitions.", results.length))));
135
+ this.addDecoration(combinedRange, ( new MarkdownString()).appendText(( localize(1164, "Click to show {0} definitions.", results.length))));
136
136
  }
137
137
  else {
138
138
  const result = results[0];
@@ -30,7 +30,7 @@ import { InputFocusedContext } from '../../../../../platform/contextkey/common/c
30
30
 
31
31
  var ReferencesController_1;
32
32
  const ctxReferenceSearchVisible = ( new RawContextKey('referenceSearchVisible', false, ( localize(
33
- 1162,
33
+ 1165,
34
34
  "Whether reference peek is visible, like 'Peek References' or 'Peek Definition'"
35
35
  ))));
36
36
  let ReferencesController = class ReferencesController {
@@ -80,7 +80,7 @@ let ReferencesController = class ReferencesController {
80
80
  const storageKey = 'peekViewLayout';
81
81
  const data = LayoutData.fromJSON(this._storageService.get(storageKey, StorageScope.PROFILE, '{}'));
82
82
  this._widget = this._instantiationService.createInstance(ReferenceWidget, this._editor, this._defaultTreeKeyboardSupport, data);
83
- this._widget.setTitle(( localize(1163, "Loading...")));
83
+ this._widget.setTitle(( localize(1166, "Loading...")));
84
84
  this._widget.show(range);
85
85
  this._disposables.add(this._widget.onDidClose(() => {
86
86
  modelPromise.cancel();
@@ -130,7 +130,7 @@ let ReferencesController = class ReferencesController {
130
130
  return this._widget.setModel(this._model).then(() => {
131
131
  if (this._widget && this._model && this._editor.hasModel()) {
132
132
  if (!this._model.isEmpty) {
133
- this._widget.setMetaTitle(( localize(1164, "{0} ({1})", this._model.title, this._model.references.length)));
133
+ this._widget.setMetaTitle(( localize(1167, "{0} ({1})", this._model.title, this._model.references.length)));
134
134
  }
135
135
  else {
136
136
  this._widget.setMetaTitle('');
@@ -98,10 +98,10 @@ let FileReferencesTemplate = class FileReferencesTemplate extends Disposable {
98
98
  const len = element.children.length;
99
99
  this.badge.setCount(len);
100
100
  if (len > 1) {
101
- this.badge.setTitleFormat(( localize(1165, "{0} references", len)));
101
+ this.badge.setTitleFormat(( localize(1168, "{0} references", len)));
102
102
  }
103
103
  else {
104
- this.badge.setTitleFormat(( localize(1166, "{0} reference", len)));
104
+ this.badge.setTitleFormat(( localize(1169, "{0} reference", len)));
105
105
  }
106
106
  }
107
107
  };
@@ -168,7 +168,7 @@ class OneReferenceRenderer {
168
168
  }
169
169
  class AccessibilityProvider {
170
170
  getWidgetAriaLabel() {
171
- return localize(1167, "References");
171
+ return localize(1170, "References");
172
172
  }
173
173
  getAriaLabel(element) {
174
174
  return element.ariaMessage;
@@ -290,7 +290,7 @@ let ReferenceWidget = class ReferenceWidget extends PeekViewWidget {
290
290
  };
291
291
  this._preview = this._instantiationService.createInstance(EmbeddedCodeEditorWidget, this._previewContainer, options, {}, this.editor);
292
292
  hide(this._previewContainer);
293
- this._previewNotAvailableMessage = this._instantiationService.createInstance(TextModel, ( localize(1168, "no preview available")), PLAINTEXT_LANGUAGE_ID, TextModel.DEFAULT_CREATION_OPTIONS, null);
293
+ this._previewNotAvailableMessage = this._instantiationService.createInstance(TextModel, ( localize(1171, "no preview available")), PLAINTEXT_LANGUAGE_ID, TextModel.DEFAULT_CREATION_OPTIONS, null);
294
294
  this._treeContainer = append(containerElement, $('div.ref-tree.inline'));
295
295
  const treeOptions = {
296
296
  keyboardSupport: this._defaultTreeKeyboardSupport,
@@ -397,7 +397,7 @@ let ReferenceWidget = class ReferenceWidget extends PeekViewWidget {
397
397
  }
398
398
  if (this._model.isEmpty) {
399
399
  this.setTitle('');
400
- this._messageContainer.innerText = ( localize(1169, "No results"));
400
+ this._messageContainer.innerText = ( localize(1172, "No results"));
401
401
  show(this._messageContainer);
402
402
  return Promise.resolve(undefined);
403
403
  }
@@ -452,7 +452,7 @@ let ReferenceWidget = class ReferenceWidget extends PeekViewWidget {
452
452
  this.setTitle(basenameOrAuthority(reference.uri), this._uriLabel.getUriLabel(dirname(reference.uri)));
453
453
  }
454
454
  else {
455
- this.setTitle(( localize(1170, "References")));
455
+ this.setTitle(( localize(1173, "References")));
456
456
  }
457
457
  const promise = this._textModelResolverService.createModelReference(reference.uri);
458
458
  if (this._tree.getInput() === reference.parent) {
@@ -32,7 +32,7 @@ class OneReference {
32
32
  const preview = this.parent.getPreview(this)?.preview(this.range);
33
33
  if (!preview) {
34
34
  return localize(
35
- 1171,
35
+ 1174,
36
36
  "in {0} on line {1} at column {2}",
37
37
  basename(this.uri),
38
38
  this.range.startLineNumber,
@@ -41,7 +41,7 @@ class OneReference {
41
41
  }
42
42
  else {
43
43
  return localize(
44
- 1172,
44
+ 1175,
45
45
  "{0} in {1} on line {2} at column {3}",
46
46
  preview.value,
47
47
  basename(this.uri),
@@ -94,7 +94,7 @@ class FileReferences {
94
94
  const len = this.children.length;
95
95
  if (len === 1) {
96
96
  return localize(
97
- 1173,
97
+ 1176,
98
98
  "1 symbol in {0}, full path {1}",
99
99
  basename(this.uri),
100
100
  this.uri.fsPath
@@ -102,7 +102,7 @@ class FileReferences {
102
102
  }
103
103
  else {
104
104
  return localize(
105
- 1174,
105
+ 1177,
106
106
  "{0} symbols in {1}, full path {2}",
107
107
  len,
108
108
  basename(this.uri),
@@ -173,14 +173,14 @@ class ReferencesModel {
173
173
  }
174
174
  get ariaMessage() {
175
175
  if (this.isEmpty) {
176
- return localize(1175, "No results found");
176
+ return localize(1178, "No results found");
177
177
  }
178
178
  else if (this.references.length === 1) {
179
- return localize(1176, "Found 1 symbol in {0}", this.references[0].uri.fsPath);
179
+ return localize(1179, "Found 1 symbol in {0}", this.references[0].uri.fsPath);
180
180
  }
181
181
  else if (this.groups.length === 1) {
182
182
  return localize(
183
- 1177,
183
+ 1180,
184
184
  "Found {0} symbols in {1}",
185
185
  this.references.length,
186
186
  this.groups[0].uri.fsPath
@@ -188,7 +188,7 @@ class ReferencesModel {
188
188
  }
189
189
  else {
190
190
  return localize(
191
- 1178,
191
+ 1181,
192
192
  "Found {0} symbols in {1} files",
193
193
  this.references.length,
194
194
  this.groups.length
@@ -18,7 +18,7 @@ import { INotificationService } from '../../../../platform/notification/common/n
18
18
  import { ISymbolNavigationService } from './symbolNavigation.service.js';
19
19
 
20
20
  const ctxHasSymbols = ( new RawContextKey('hasSymbols', false, ( localize(
21
- 1179,
21
+ 1182,
22
22
  "Whether there are symbol locations that can be navigated via keyboard-only."
23
23
  ))));
24
24
  let SymbolNavigationService = class SymbolNavigationService {
@@ -103,14 +103,14 @@ let SymbolNavigationService = class SymbolNavigationService {
103
103
  const kb = this._keybindingService.lookupKeybinding('editor.gotoNextSymbolFromResult');
104
104
  const message = kb
105
105
  ? ( localize(
106
- 1180,
106
+ 1183,
107
107
  "Symbol {0} of {1}, {2} for next",
108
108
  this._currentIdx + 1,
109
109
  this._currentModel.references.length,
110
110
  kb.getLabel()
111
111
  ))
112
112
  : ( localize(
113
- 1181,
113
+ 1184,
114
114
  "Symbol {0} of {1}",
115
115
  this._currentIdx + 1,
116
116
  this._currentModel.references.length
@@ -19,7 +19,7 @@ class DebugEditorGpuRendererAction extends EditorAction {
19
19
  constructor() {
20
20
  super({
21
21
  id: 'editor.action.debugEditorGpuRenderer',
22
- label: ( localize2(1182, "Developer: Debug Editor GPU Renderer")),
22
+ label: ( localize2(1185, "Developer: Debug Editor GPU Renderer")),
23
23
  precondition: ContextKeyExpr.true(),
24
24
  });
25
25
  }
@@ -28,15 +28,15 @@ class DebugEditorGpuRendererAction extends EditorAction {
28
28
  const quickInputService = accessor.get(IQuickInputService);
29
29
  const choice = await quickInputService.pick([
30
30
  {
31
- label: ( localize(1183, "Log Texture Atlas Stats")),
31
+ label: ( localize(1186, "Log Texture Atlas Stats")),
32
32
  id: 'logTextureAtlasStats',
33
33
  },
34
34
  {
35
- label: ( localize(1184, "Save Texture Atlas")),
35
+ label: ( localize(1187, "Save Texture Atlas")),
36
36
  id: 'saveTextureAtlas',
37
37
  },
38
38
  {
39
- label: ( localize(1185, "Draw Glyph")),
39
+ label: ( localize(1188, "Draw Glyph")),
40
40
  id: 'drawGlyph',
41
41
  },
42
42
  ], { canPickMany: false });
@@ -16,6 +16,7 @@ import { Emitter } from '../../../../base/common/event.js';
16
16
  import { isOnColorDecorator } from '../../colorPicker/browser/hoverColorPicker/hoverColorPicker.js';
17
17
  import { KeyCode } from '../../../../base/common/keyCodes.js';
18
18
  import { IContextMenuService } from '../../../../platform/contextview/browser/contextView.service.js';
19
+ import { getActiveElement } from '../../../../base/browser/dom.js';
19
20
 
20
21
  var ContentHoverController_1;
21
22
  registerCss(hover);
@@ -156,7 +157,7 @@ let ContentHoverController = class ContentHoverController extends Disposable {
156
157
  if (!view) {
157
158
  return false;
158
159
  }
159
- return sticky && contentWidget.containsNode(view.document.activeElement) && !view.getSelection()?.isCollapsed;
160
+ return sticky && contentWidget.containsNode(getActiveElement(view.document)) && !view.getSelection()?.isCollapsed;
160
161
  };
161
162
  const isFocused = contentWidget.isFocused;
162
163
  const isResizing = contentWidget.isResizing;
@@ -250,19 +250,19 @@ let RenderedContentHoverParts = class RenderedContentHoverParts extends Disposab
250
250
  return '';
251
251
  }
252
252
  if (renderedPart.type === 'statusBar') {
253
- const statusBarDescription = [( localize(1186, "This is a hover status bar."))];
253
+ const statusBarDescription = [( localize(1189, "This is a hover status bar."))];
254
254
  for (const action of renderedPart.actions) {
255
255
  const keybinding = action.actionKeybindingLabel;
256
256
  if (keybinding) {
257
257
  statusBarDescription.push(( localize(
258
- 1187,
258
+ 1190,
259
259
  "It has an action with label {0} and keybinding {1}.",
260
260
  action.actionLabel,
261
261
  keybinding
262
262
  )));
263
263
  }
264
264
  else {
265
- statusBarDescription.push(( localize(1188, "It has an action with label {0}.", action.actionLabel)));
265
+ statusBarDescription.push(( localize(1191, "It has an action with label {0}.", action.actionLabel)));
266
266
  }
267
267
  }
268
268
  return statusBarDescription.join('\n');
@@ -20,12 +20,12 @@ import { labelForHoverVerbosityAction } from './markdownHoverParticipant.js';
20
20
  var HoverAccessibilityHelpNLS;
21
21
  (function (HoverAccessibilityHelpNLS) {
22
22
  HoverAccessibilityHelpNLS.increaseVerbosity = ( localize(
23
- 1189,
23
+ 1192,
24
24
  '- The focused hover part verbosity level can be increased with the Increase Hover Verbosity command.',
25
25
  `<keybinding:${INCREASE_HOVER_VERBOSITY_ACTION_ID}>`
26
26
  ));
27
27
  HoverAccessibilityHelpNLS.decreaseVerbosity = ( localize(
28
- 1190,
28
+ 1193,
29
29
  '- The focused hover part verbosity level can be decreased with the Decrease Hover Verbosity command.',
30
30
  `<keybinding:${DECREASE_HOVER_VERBOSITY_ACTION_ID}>`
31
31
  ));
@@ -14,9 +14,9 @@ const GO_TO_TOP_HOVER_ACTION_ID = 'editor.action.goToTopHover';
14
14
  const GO_TO_BOTTOM_HOVER_ACTION_ID = 'editor.action.goToBottomHover';
15
15
  const INCREASE_HOVER_VERBOSITY_ACTION_ID = 'editor.action.increaseHoverVerbosityLevel';
16
16
  const INCREASE_HOVER_VERBOSITY_ACCESSIBLE_ACTION_ID = 'editor.action.increaseHoverVerbosityLevelFromAccessibleView';
17
- const INCREASE_HOVER_VERBOSITY_ACTION_LABEL = ( localize(1191, "Increase Hover Verbosity Level"));
17
+ const INCREASE_HOVER_VERBOSITY_ACTION_LABEL = ( localize(1194, "Increase Hover Verbosity Level"));
18
18
  const DECREASE_HOVER_VERBOSITY_ACTION_ID = 'editor.action.decreaseHoverVerbosityLevel';
19
19
  const DECREASE_HOVER_VERBOSITY_ACCESSIBLE_ACTION_ID = 'editor.action.decreaseHoverVerbosityLevelFromAccessibleView';
20
- const DECREASE_HOVER_VERBOSITY_ACTION_LABEL = ( localize(1192, "Decrease Hover Verbosity Level"));
20
+ const DECREASE_HOVER_VERBOSITY_ACTION_LABEL = ( localize(1195, "Decrease Hover Verbosity Level"));
21
21
 
22
22
  export { DECREASE_HOVER_VERBOSITY_ACCESSIBLE_ACTION_ID, DECREASE_HOVER_VERBOSITY_ACTION_ID, DECREASE_HOVER_VERBOSITY_ACTION_LABEL, GO_TO_BOTTOM_HOVER_ACTION_ID, GO_TO_TOP_HOVER_ACTION_ID, HIDE_HOVER_ACTION_ID, INCREASE_HOVER_VERBOSITY_ACCESSIBLE_ACTION_ID, INCREASE_HOVER_VERBOSITY_ACTION_ID, INCREASE_HOVER_VERBOSITY_ACTION_LABEL, PAGE_DOWN_HOVER_ACTION_ID, PAGE_UP_HOVER_ACTION_ID, SCROLL_DOWN_HOVER_ACTION_ID, SCROLL_LEFT_HOVER_ACTION_ID, SCROLL_RIGHT_HOVER_ACTION_ID, SCROLL_UP_HOVER_ACTION_ID, SHOW_DEFINITION_PREVIEW_HOVER_ACTION_ID, SHOW_OR_FOCUS_HOVER_ACTION_ID };