@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
@@ -1,4 +1,4 @@
1
- import { AsyncIterableObject } from "../../../../../base/common/async.js";
1
+ import { AsyncIterableProducer } from "../../../../../base/common/async.js";
2
2
  import { CancellationToken } from "../../../../../base/common/cancellation.js";
3
3
  import { IDisposable } from "../../../../../base/common/lifecycle.js";
4
4
  import { ICommandService } from "../../../../../platform/commands/common/commands.service.js";
@@ -6,7 +6,7 @@ import { ISingleEditOperation } from "../../../../common/core/editOperation.js";
6
6
  import { Position } from "../../../../common/core/position.js";
7
7
  import { Range } from "../../../../common/core/range.js";
8
8
  import { TextReplacement } from "../../../../common/core/edits/textEdit.js";
9
- import { InlineCompletionEndOfLifeReason, InlineCompletionDisplayLocationKind, InlineCompletion, InlineCompletionContext, InlineCompletions, InlineCompletionsProvider, PartialAcceptInfo, InlineCompletionsDisposeReason } from "../../../../common/languages.js";
9
+ import { InlineCompletionEndOfLifeReason, InlineCompletionDisplayLocationKind, InlineCompletion, InlineCompletionContext, InlineCompletions, InlineCompletionsProvider, PartialAcceptInfo, InlineCompletionsDisposeReason, ProviderId } from "../../../../common/languages.js";
10
10
  import { ILanguageConfigurationService } from "../../../../common/languages/languageConfigurationRegistry.service.js";
11
11
  import { ITextModel } from "../../../../common/model.js";
12
12
  import { InlineCompletionViewData, InlineCompletionViewKind } from "../view/inlineEdits/inlineEditsViewInterface.js";
@@ -16,8 +16,9 @@ export declare function provideInlineCompletions(providers: InlineCompletionsPro
16
16
  export declare function runWhenCancelled(token: CancellationToken, callback: () => void): IDisposable;
17
17
  export interface IInlineCompletionProviderResult {
18
18
  get didAllProvidersReturn(): boolean;
19
+ contextWithUuid: InlineCompletionContext;
19
20
  cancelAndDispose(reason: InlineCompletionsDisposeReason): void;
20
- lists: AsyncIterableObject<InlineSuggestionList>;
21
+ lists: AsyncIterableProducer<InlineSuggestionList>;
21
22
  }
22
23
  export type InlineSuggestRequestInfo = {
23
24
  startTime: number;
@@ -26,6 +27,7 @@ export type InlineSuggestRequestInfo = {
26
27
  reason: string;
27
28
  typingInterval: number;
28
29
  typingIntervalCharacterCount: number;
30
+ availableProviders: ProviderId[];
29
31
  };
30
32
  export type InlineSuggestProviderRequestInfo = {
31
33
  startTime: number;
@@ -61,6 +63,7 @@ export declare class InlineSuggestData {
61
63
  private _shownDuration;
62
64
  private _showUncollapsedStartTime;
63
65
  private _showUncollapsedDuration;
66
+ private _notShownReason;
64
67
  private _viewData;
65
68
  private _didReportEndOfLife;
66
69
  private _lastSetEndOfLifeReason;
@@ -81,6 +84,7 @@ export declare class InlineSuggestData {
81
84
  reportEndOfLife(reason?: InlineCompletionEndOfLifeReason): void;
82
85
  reportInlineEditError(message: string): void;
83
86
  setIsPreceeded(partialAccepts: PartialAcceptance): void;
87
+ setNotShownReason(reason: string): void;
84
88
  /**
85
89
  * Sets the end of life reason, but does not send the event to the provider yet.
86
90
  */
@@ -1,6 +1,6 @@
1
1
 
2
2
  import { assertNever } from '../../../../../base/common/assert.js';
3
- import { AsyncIterableObject } from '../../../../../base/common/async.js';
3
+ import { AsyncIterableProducer } from '../../../../../base/common/async.js';
4
4
  import { CancellationTokenSource } from '../../../../../base/common/cancellation.js';
5
5
  import { onUnexpectedExternalError } from '../../../../../base/common/errors.js';
6
6
  import { Disposable } from '../../../../../base/common/lifecycle.js';
@@ -19,6 +19,7 @@ import { CachedFunction } from '../../../../../base/common/cache.js';
19
19
  import { InlineCompletionViewKind } from '../view/inlineEdits/inlineEditsViewInterface.js';
20
20
  import { isDefined } from '../../../../../base/common/types.js';
21
21
  import { inlineCompletionIsVisible } from './inlineSuggestionItem.js';
22
+ import { EditDeltaInfo } from '../../../../common/textModelEditSource.js';
22
23
 
23
24
  function provideInlineCompletions(providers, position, model, context, requestInfo, languageConfigurationService) {
24
25
  const requestUuid = prefixedUuid('icr');
@@ -88,8 +89,9 @@ function provideInlineCompletions(providers, position, model, context, requestIn
88
89
  runningCount--;
89
90
  }
90
91
  }));
91
- const inlineCompletionLists = AsyncIterableObject.fromPromisesResolveOrder(( providers.map(p => queryProvider.get(p)))).filter(isDefined);
92
+ const inlineCompletionLists = AsyncIterableProducer.fromPromisesResolveOrder(( providers.map(p => queryProvider.get(p)))).filter(isDefined);
92
93
  return {
94
+ contextWithUuid,
93
95
  get didAllProvidersReturn() { return runningCount === 0; },
94
96
  lists: inlineCompletionLists,
95
97
  cancelAndDispose: reason => {
@@ -204,6 +206,7 @@ class InlineSuggestData {
204
206
  this._shownDuration = 0;
205
207
  this._showUncollapsedStartTime = undefined;
206
208
  this._showUncollapsedDuration = 0;
209
+ this._notShownReason = undefined;
207
210
  this._didReportEndOfLife = false;
208
211
  this._lastSetEndOfLifeReason = undefined;
209
212
  this._isPreceeded = false;
@@ -225,7 +228,13 @@ class InlineSuggestData {
225
228
  this._viewData.viewKind = viewKind;
226
229
  this._viewData.renderData = viewData;
227
230
  this._timeUntilShown = Date.now() - this._requestInfo.startTime;
228
- this.source.provider.handleItemDidShow?.(this.source.inlineSuggestions, this.sourceInlineCompletion, updatedInsertText);
231
+ const editDeltaInfo = ( new EditDeltaInfo(
232
+ viewData.lineCountModified,
233
+ viewData.lineCountOriginal,
234
+ viewData.characterCountModified,
235
+ viewData.characterCountOriginal
236
+ ));
237
+ this.source.provider.handleItemDidShow?.(this.source.inlineSuggestions, this.sourceInlineCompletion, updatedInsertText, editDeltaInfo);
229
238
  if (this.sourceInlineCompletion.shownCommand) {
230
239
  await commandService.executeCommand(this.sourceInlineCompletion.shownCommand.id, ...(this.sourceInlineCompletion.shownCommand.arguments || []));
231
240
  }
@@ -253,6 +262,7 @@ class InlineSuggestData {
253
262
  const summary = {
254
263
  requestUuid: this.context.requestUuid,
255
264
  correlationId: this._correlationId,
265
+ selectedSuggestionInfo: !!this.context.selectedSuggestionInfo,
256
266
  partiallyAccepted: this._partiallyAcceptedCount,
257
267
  partiallyAcceptedCountSinceOriginal: this._partiallyAcceptedSinceOriginal.count,
258
268
  partiallyAcceptedRatioSinceOriginal: this._partiallyAcceptedSinceOriginal.ratio,
@@ -268,9 +278,11 @@ class InlineSuggestData {
268
278
  languageId: this._requestInfo.languageId,
269
279
  requestReason: this._requestInfo.reason,
270
280
  viewKind: this._viewData.viewKind,
281
+ notShownReason: this._notShownReason,
271
282
  error: this._viewData.error,
272
283
  typingInterval: this._requestInfo.typingInterval,
273
284
  typingIntervalCharacterCount: this._requestInfo.typingIntervalCharacterCount,
285
+ availableProviders: ( this._requestInfo.availableProviders.map(p => ( p.toString()))).join(','),
274
286
  ...this._viewData.renderData,
275
287
  };
276
288
  this.source.provider.handleEndOfLifetime(this.source.inlineSuggestions, this.sourceInlineCompletion, reason, summary);
@@ -291,6 +303,9 @@ class InlineSuggestData {
291
303
  }
292
304
  this._partiallyAcceptedSinceOriginal = partialAccepts;
293
305
  }
306
+ setNotShownReason(reason) {
307
+ this._notShownReason ??= reason;
308
+ }
294
309
  setEndOfLifeReason(reason) {
295
310
  this.reportInlineEditHidden();
296
311
  this._lastSetEndOfLifeReason = reason;
@@ -0,0 +1,45 @@
1
+ import { DataChannelForwardingTelemetryService } from "../../../../platform/dataChannel/browser/forwardingTelemetryService.js";
2
+ export declare function sendInlineCompletionsEndOfLifeTelemetry(dataChannel: DataChannelForwardingTelemetryService, endOfLifeSummary: InlineCompletionEndOfLifeEvent): void;
3
+ export type InlineCompletionEndOfLifeEvent = {
4
+ /**
5
+ * @deprecated To be removed at one point in favor of opportunityId
6
+ */
7
+ id: string;
8
+ opportunityId: string;
9
+ requestReason: string;
10
+ editorType: string;
11
+ languageId: string;
12
+ typingInterval: number;
13
+ typingIntervalCharacterCount: number;
14
+ selectedSuggestionInfo: boolean;
15
+ availableProviders: string;
16
+ correlationId: string | undefined;
17
+ extensionId: string;
18
+ extensionVersion: string;
19
+ groupId: string | undefined;
20
+ shown: boolean;
21
+ shownDuration: number | undefined;
22
+ shownDurationUncollapsed: number | undefined;
23
+ timeUntilShown: number | undefined;
24
+ timeUntilProviderRequest: number | undefined;
25
+ timeUntilProviderResponse: number | undefined;
26
+ reason: "accepted" | "rejected" | "ignored" | undefined;
27
+ partiallyAccepted: number | undefined;
28
+ partiallyAcceptedCountSinceOriginal: number | undefined;
29
+ partiallyAcceptedRatioSinceOriginal: number | undefined;
30
+ partiallyAcceptedCharactersSinceOriginal: number | undefined;
31
+ preceeded: boolean | undefined;
32
+ superseded: boolean | undefined;
33
+ error: string | undefined;
34
+ notShownReason: string | undefined;
35
+ viewKind: string | undefined;
36
+ cursorColumnDistance: number | undefined;
37
+ cursorLineDistance: number | undefined;
38
+ lineCountOriginal: number | undefined;
39
+ lineCountModified: number | undefined;
40
+ characterCountOriginal: number | undefined;
41
+ characterCountModified: number | undefined;
42
+ disjointReplacements: number | undefined;
43
+ sameShapeReplacements: boolean | undefined;
44
+ noSuggestionReason: string | undefined;
45
+ };
@@ -0,0 +1,7 @@
1
+
2
+
3
+ function sendInlineCompletionsEndOfLifeTelemetry(dataChannel, endOfLifeSummary) {
4
+ dataChannel.publicLog2('inlineCompletion.endOfLife', endOfLifeSummary);
5
+ }
6
+
7
+ export { sendInlineCompletionsEndOfLifeTelemetry };
@@ -18,7 +18,7 @@ import { asCssVariable } from '../../../../../../../platform/theme/common/colorU
18
18
  import { descriptionForeground } from '../../../../../../../platform/theme/common/colors/baseColors.js';
19
19
  import '../../../../../../../platform/theme/common/colors/chartsColors.js';
20
20
  import { editorHoverBorder } from '../../../../../../../platform/theme/common/colors/editorColors.js';
21
- import { keybindingLabelBackground } from '../../../../../../../platform/theme/common/colors/inputColors.js';
21
+ import '../../../../../../../platform/theme/common/colors/inputColors.js';
22
22
  import { editorActionListForeground } from '../../../../../../../platform/theme/common/colors/listColors.js';
23
23
  import '../../../../../../../platform/theme/common/colors/menuColors.js';
24
24
  import '../../../../../../../platform/theme/common/colors/minimapColors.js';
@@ -64,13 +64,13 @@ let GutterIndicatorMenuContent = class GutterIndicatorMenuContent {
64
64
  const title = header(this._model.displayName);
65
65
  const gotoAndAccept = option(createOptionArgs({
66
66
  id: 'gotoAndAccept',
67
- title: `${( localize(1298, "Go To"))} / ${( localize(1299, "Accept"))}`,
67
+ title: `${( localize(1301, "Go To"))} / ${( localize(1302, "Accept"))}`,
68
68
  icon: Codicon.check,
69
69
  commandId: inlineSuggestCommitId
70
70
  }));
71
71
  const reject = option(createOptionArgs({
72
72
  id: 'reject',
73
- title: ( localize(1300, "Reject")),
73
+ title: ( localize(1303, "Reject")),
74
74
  icon: Codicon.close,
75
75
  commandId: hideInlineCompletionId
76
76
  }));
@@ -84,19 +84,19 @@ let GutterIndicatorMenuContent = class GutterIndicatorMenuContent {
84
84
  const toggleCollapsedMode = ( this._inlineEditsShowCollapsed.map(showCollapsed => showCollapsed ?
85
85
  option(createOptionArgs({
86
86
  id: 'showExpanded',
87
- title: ( localize(1301, "Show Expanded")),
87
+ title: ( localize(1304, "Show Expanded")),
88
88
  icon: Codicon.expandAll,
89
89
  commandId: toggleShowCollapsedId
90
90
  }))
91
91
  : option(createOptionArgs({
92
92
  id: 'showCollapsed',
93
- title: ( localize(1302, "Show Collapsed")),
93
+ title: ( localize(1305, "Show Collapsed")),
94
94
  icon: Codicon.collapseAll,
95
95
  commandId: toggleShowCollapsedId
96
96
  }))));
97
97
  const settings = option(createOptionArgs({
98
98
  id: 'settings',
99
- title: ( localize(1303, "Settings")),
99
+ title: ( localize(1306, "Settings")),
100
100
  icon: Codicon.gear,
101
101
  commandId: 'workbench.action.openSettings',
102
102
  commandArgs: ['@tag:nextEditSuggestions']
@@ -104,7 +104,7 @@ let GutterIndicatorMenuContent = class GutterIndicatorMenuContent {
104
104
  const actions = this._model.action ? [this._model.action] : [];
105
105
  const actionBarFooter = actions.length > 0 ? actionBar(( actions.map(action => ({
106
106
  id: action.id,
107
- label: action.title,
107
+ label: action.title + '...',
108
108
  enabled: true,
109
109
  run: () => this._commandService.executeCommand(action.id, ...(action.arguments ?? [])),
110
110
  class: undefined,
@@ -115,8 +115,8 @@ let GutterIndicatorMenuContent = class GutterIndicatorMenuContent {
115
115
  gotoAndAccept,
116
116
  reject,
117
117
  toggleCollapsedMode,
118
- settings,
119
118
  extensionCommands.length ? separator() : undefined,
119
+ settings,
120
120
  ...extensionCommands,
121
121
  actionBarFooter ? separator() : undefined,
122
122
  actionBarFooter
@@ -139,7 +139,7 @@ function hoverContent(content) {
139
139
  class: 'content',
140
140
  style: {
141
141
  margin: 4,
142
- minWidth: 150,
142
+ minWidth: 180,
143
143
  }
144
144
  }, content);
145
145
  }
@@ -148,10 +148,10 @@ function header(title) {
148
148
  class: 'header',
149
149
  style: {
150
150
  color: asCssVariable(descriptionForeground),
151
- fontSize: '12px',
151
+ fontSize: '13px',
152
152
  fontWeight: '600',
153
- padding: '0 10px',
154
- lineHeight: 26,
153
+ padding: '0 4px',
154
+ lineHeight: 28,
155
155
  }
156
156
  }, [title]);
157
157
  }
@@ -185,7 +185,8 @@ function option(props) {
185
185
  disableTitle: true,
186
186
  ...defaultKeybindingLabelStyles,
187
187
  keybindingLabelShadow: undefined,
188
- keybindingLabelBackground: asCssVariable(keybindingLabelBackground),
188
+ keybindingLabelForeground: asCssVariable(descriptionForeground),
189
+ keybindingLabelBackground: 'transparent',
189
190
  keybindingLabelBorder: 'transparent',
190
191
  keybindingLabelBottomBorder: undefined,
191
192
  })));
@@ -200,7 +201,7 @@ function actionBar(actions, options) {
200
201
  return derived({ name: 'inlineEdits.actionBar' }, (_reader) => n.div({
201
202
  class: ['action-widget-action-bar'],
202
203
  style: {
203
- padding: '0 10px',
204
+ padding: '3px 24px',
204
205
  }
205
206
  }, [
206
207
  n.div({
@@ -217,7 +218,7 @@ function separator() {
217
218
  class: 'menu-separator',
218
219
  style: {
219
220
  color: asCssVariable(editorActionListForeground),
220
- padding: '4px 0',
221
+ padding: '2px 0',
221
222
  }
222
223
  }, n.div({
223
224
  style: {
@@ -20,6 +20,7 @@ import { InlineEditTabAction } from '../inlineEditsViewInterface.js';
20
20
  import { getEditorBlendedColor, inlineEditIndicatorsuccessfulBorder, inlineEditIndicatorsuccessfulForeground, inlineEditIndicatorsuccessfulBackground, inlineEditIndicatorPrimaryBorder, inlineEditIndicatorPrimaryForeground, inlineEditIndicatorPrimaryBackground, inlineEditIndicatorSecondaryBorder, inlineEditIndicatorSecondaryForeground, inlineEditIndicatorSecondaryBackground, inlineEditIndicatorBackground } from '../theme.js';
21
21
  import { mapOutFalsy, rectToProps } from '../utils/utils.js';
22
22
  import { GutterIndicatorMenuContent } from './gutterIndicatorMenu.js';
23
+ import { assertNever } from '../../../../../../../base/common/assert.js';
23
24
  import { debouncedObservable } from '../../../../../../../base/common/observableInternal/utils/utils.js';
24
25
  import { derived } from '../../../../../../../base/common/observableInternal/observables/derived.js';
25
26
  import { observableValue } from '../../../../../../../base/common/observableInternal/observables/observableValue.js';
@@ -60,7 +61,7 @@ let InlineEditsGutterIndicator = class InlineEditsGutterIndicator extends Dispos
60
61
  this._isHoveredOverIconDebounced = debouncedObservable(this._isHoveredOverIcon, 100);
61
62
  this.isHoveredOverIcon = this._isHoveredOverIconDebounced;
62
63
  this._isHoveredOverInlineEditDebounced = debouncedObservable(this._isHoveringOverInlineEdit, 100);
63
- this._gutterIndicatorStyles = ( this._tabAction.map((v, reader) => {
64
+ this._gutterIndicatorStyles = ( this._tabAction.map(this, (v, reader) => {
64
65
  switch (v) {
65
66
  case InlineEditTabAction.Inactive: return {
66
67
  background: ( getEditorBlendedColor(inlineEditIndicatorSecondaryBackground, themeService).read(reader).toString()),
@@ -77,6 +78,8 @@ let InlineEditsGutterIndicator = class InlineEditsGutterIndicator extends Dispos
77
78
  foreground: ( getEditorBlendedColor(inlineEditIndicatorsuccessfulForeground, themeService).read(reader).toString()),
78
79
  border: ( getEditorBlendedColor(inlineEditIndicatorsuccessfulBorder, themeService).read(reader).toString())
79
80
  };
81
+ default:
82
+ assertNever();
80
83
  }
81
84
  }));
82
85
  this._originalRangeObs = mapOutFalsy(this._originalRange);
@@ -202,7 +205,7 @@ let InlineEditsGutterIndicator = class InlineEditsGutterIndicator extends Dispos
202
205
  const idealIconWidth = 22;
203
206
  const minimalIconWidth = 16;
204
207
  const iconWidth = (pillRect) => {
205
- const availableWidth = this._availableWidthForIcon.get()(pillRect.bottom + this._editorObs.editor.getScrollTop()) - gutterViewPortPadding;
208
+ const availableWidth = this._availableWidthForIcon.read(undefined)(pillRect.bottom + this._editorObs.editor.getScrollTop()) - gutterViewPortPadding;
206
209
  return Math.max(Math.min(availableWidth, idealIconWidth), minimalIconWidth);
207
210
  };
208
211
  if (pillIsFullyDocked) {
@@ -14,7 +14,7 @@ class InlineEditModel {
14
14
  this.inlineEdit = inlineEdit;
15
15
  this.tabAction = tabAction;
16
16
  this.action = this.inlineEdit.inlineCompletion.action;
17
- this.displayName = this.inlineEdit.inlineCompletion.source.provider.displayName ?? ( localize(1304, "Inline Edit"));
17
+ this.displayName = this.inlineEdit.inlineCompletion.source.provider.displayName ?? ( localize(1307, "Inline Edit"));
18
18
  this.extensionCommands = this.inlineEdit.inlineCompletion.source.inlineSuggestions.commands ?? [];
19
19
  this.isInDiffEditor = this._model.isInDiffEditor;
20
20
  this.displayLocation = this.inlineEdit.inlineCompletion.displayLocation;
@@ -38,7 +38,7 @@ let InlineEditsViewAndDiffProducer = class InlineEditsViewAndDiffProducer extend
38
38
  if (!textModel) {
39
39
  return undefined;
40
40
  }
41
- const editOffset = model.inlineEditState.get()?.inlineCompletion.updatedEdit;
41
+ const editOffset = model.inlineEditState.read(undefined)?.inlineCompletion.updatedEdit;
42
42
  if (!editOffset) {
43
43
  return undefined;
44
44
  }
@@ -51,7 +51,7 @@ let InlineEditsViewAndDiffProducer = class InlineEditsViewAndDiffProducer extend
51
51
  return ( new InlineEditWithChanges(
52
52
  text,
53
53
  diffEdits,
54
- model.primaryPosition.get(),
54
+ model.primaryPosition.read(undefined),
55
55
  inlineEdit.commands,
56
56
  inlineEdit.inlineCompletion
57
57
  ));
@@ -16,14 +16,14 @@ import '../../../../../../platform/theme/common/colors/searchColors.js';
16
16
  import { InlineEditTabAction } from './inlineEditsViewInterface.js';
17
17
  import { observableFromEventOpts } from '../../../../../../base/common/observableInternal/observables/observableFromEvent.js';
18
18
 
19
- const originalBackgroundColor = registerColor('inlineEdit.originalBackground', ( transparent(diffRemoved, 0.2)), ( localize(1305, 'Background color for the original text in inline edits.')), true);
20
- const modifiedBackgroundColor = registerColor('inlineEdit.modifiedBackground', ( transparent(diffInserted, 0.3)), ( localize(1306, 'Background color for the modified text in inline edits.')), true);
19
+ const originalBackgroundColor = registerColor('inlineEdit.originalBackground', ( transparent(diffRemoved, 0.2)), ( localize(1308, 'Background color for the original text in inline edits.')), true);
20
+ const modifiedBackgroundColor = registerColor('inlineEdit.modifiedBackground', ( transparent(diffInserted, 0.3)), ( localize(1309, 'Background color for the modified text in inline edits.')), true);
21
21
  registerColor('inlineEdit.originalChangedLineBackground', ( transparent(diffRemoved, 0.8)), ( localize(
22
- 1307,
22
+ 1310,
23
23
  'Background color for the changed lines in the original text of inline edits.'
24
24
  )), true);
25
25
  const originalChangedTextOverlayColor = registerColor('inlineEdit.originalChangedTextBackground', ( transparent(diffRemoved, 0.8)), ( localize(
26
- 1308,
26
+ 1311,
27
27
  'Overlay color for the changed text in the original text of inline edits.'
28
28
  )), true);
29
29
  const modifiedChangedLineBackgroundColor = registerColor('inlineEdit.modifiedChangedLineBackground', {
@@ -32,52 +32,52 @@ const modifiedChangedLineBackgroundColor = registerColor('inlineEdit.modifiedCha
32
32
  hcDark: diffInsertedLine,
33
33
  hcLight: diffInsertedLine
34
34
  }, ( localize(
35
- 1309,
35
+ 1312,
36
36
  'Background color for the changed lines in the modified text of inline edits.'
37
37
  )), true);
38
38
  const modifiedChangedTextOverlayColor = registerColor('inlineEdit.modifiedChangedTextBackground', ( transparent(diffInserted, 0.7)), ( localize(
39
- 1310,
39
+ 1313,
40
40
  'Overlay color for the changed text in the modified text of inline edits.'
41
41
  )), true);
42
- const inlineEditIndicatorPrimaryForeground = registerColor('inlineEdit.gutterIndicator.primaryForeground', buttonForeground, ( localize(1311, 'Foreground color for the primary inline edit gutter indicator.')));
43
- const inlineEditIndicatorPrimaryBorder = registerColor('inlineEdit.gutterIndicator.primaryBorder', buttonBackground, ( localize(1312, 'Border color for the primary inline edit gutter indicator.')));
42
+ const inlineEditIndicatorPrimaryForeground = registerColor('inlineEdit.gutterIndicator.primaryForeground', buttonForeground, ( localize(1314, 'Foreground color for the primary inline edit gutter indicator.')));
43
+ const inlineEditIndicatorPrimaryBorder = registerColor('inlineEdit.gutterIndicator.primaryBorder', buttonBackground, ( localize(1315, 'Border color for the primary inline edit gutter indicator.')));
44
44
  const inlineEditIndicatorPrimaryBackground = registerColor('inlineEdit.gutterIndicator.primaryBackground', {
45
45
  light: ( transparent(inlineEditIndicatorPrimaryBorder, 0.5)),
46
46
  dark: ( transparent(inlineEditIndicatorPrimaryBorder, 0.4)),
47
47
  hcDark: ( transparent(inlineEditIndicatorPrimaryBorder, 0.4)),
48
48
  hcLight: ( transparent(inlineEditIndicatorPrimaryBorder, 0.5)),
49
- }, ( localize(1313, 'Background color for the primary inline edit gutter indicator.')));
50
- const inlineEditIndicatorSecondaryForeground = registerColor('inlineEdit.gutterIndicator.secondaryForeground', buttonSecondaryForeground, ( localize(1314, 'Foreground color for the secondary inline edit gutter indicator.')));
51
- const inlineEditIndicatorSecondaryBorder = registerColor('inlineEdit.gutterIndicator.secondaryBorder', buttonSecondaryBackground, ( localize(1315, 'Border color for the secondary inline edit gutter indicator.')));
52
- const inlineEditIndicatorSecondaryBackground = registerColor('inlineEdit.gutterIndicator.secondaryBackground', inlineEditIndicatorSecondaryBorder, ( localize(1316, 'Background color for the secondary inline edit gutter indicator.')));
53
- const inlineEditIndicatorsuccessfulForeground = registerColor('inlineEdit.gutterIndicator.successfulForeground', buttonForeground, ( localize(1317, 'Foreground color for the successful inline edit gutter indicator.')));
54
- const inlineEditIndicatorsuccessfulBorder = registerColor('inlineEdit.gutterIndicator.successfulBorder', buttonBackground, ( localize(1318, 'Border color for the successful inline edit gutter indicator.')));
55
- const inlineEditIndicatorsuccessfulBackground = registerColor('inlineEdit.gutterIndicator.successfulBackground', inlineEditIndicatorsuccessfulBorder, ( localize(1319, 'Background color for the successful inline edit gutter indicator.')));
49
+ }, ( localize(1316, 'Background color for the primary inline edit gutter indicator.')));
50
+ const inlineEditIndicatorSecondaryForeground = registerColor('inlineEdit.gutterIndicator.secondaryForeground', buttonSecondaryForeground, ( localize(1317, 'Foreground color for the secondary inline edit gutter indicator.')));
51
+ const inlineEditIndicatorSecondaryBorder = registerColor('inlineEdit.gutterIndicator.secondaryBorder', buttonSecondaryBackground, ( localize(1318, 'Border color for the secondary inline edit gutter indicator.')));
52
+ const inlineEditIndicatorSecondaryBackground = registerColor('inlineEdit.gutterIndicator.secondaryBackground', inlineEditIndicatorSecondaryBorder, ( localize(1319, 'Background color for the secondary inline edit gutter indicator.')));
53
+ const inlineEditIndicatorsuccessfulForeground = registerColor('inlineEdit.gutterIndicator.successfulForeground', buttonForeground, ( localize(1320, 'Foreground color for the successful inline edit gutter indicator.')));
54
+ const inlineEditIndicatorsuccessfulBorder = registerColor('inlineEdit.gutterIndicator.successfulBorder', buttonBackground, ( localize(1321, 'Border color for the successful inline edit gutter indicator.')));
55
+ const inlineEditIndicatorsuccessfulBackground = registerColor('inlineEdit.gutterIndicator.successfulBackground', inlineEditIndicatorsuccessfulBorder, ( localize(1322, 'Background color for the successful inline edit gutter indicator.')));
56
56
  const inlineEditIndicatorBackground = registerColor('inlineEdit.gutterIndicator.background', {
57
57
  hcDark: ( transparent('tab.inactiveBackground', 0.5)),
58
58
  hcLight: ( transparent('tab.inactiveBackground', 0.5)),
59
59
  dark: ( transparent('tab.inactiveBackground', 0.5)),
60
60
  light: '#5f5f5f18',
61
- }, ( localize(1320, 'Background color for the inline edit gutter indicator.')));
61
+ }, ( localize(1323, 'Background color for the inline edit gutter indicator.')));
62
62
  const originalBorder = registerColor('inlineEdit.originalBorder', {
63
63
  light: diffRemoved,
64
64
  dark: diffRemoved,
65
65
  hcDark: diffRemoved,
66
66
  hcLight: diffRemoved
67
- }, ( localize(1321, 'Border color for the original text in inline edits.')));
67
+ }, ( localize(1324, 'Border color for the original text in inline edits.')));
68
68
  const modifiedBorder = registerColor('inlineEdit.modifiedBorder', {
69
69
  light: ( darken(diffInserted, 0.6)),
70
70
  dark: diffInserted,
71
71
  hcDark: diffInserted,
72
72
  hcLight: diffInserted
73
- }, ( localize(1322, 'Border color for the modified text in inline edits.')));
73
+ }, ( localize(1325, 'Border color for the modified text in inline edits.')));
74
74
  const tabWillAcceptModifiedBorder = registerColor('inlineEdit.tabWillAcceptModifiedBorder', {
75
75
  light: ( darken(modifiedBorder, 0)),
76
76
  dark: ( darken(modifiedBorder, 0)),
77
77
  hcDark: ( darken(modifiedBorder, 0)),
78
78
  hcLight: ( darken(modifiedBorder, 0))
79
79
  }, ( localize(
80
- 1323,
80
+ 1326,
81
81
  'Modified border color for the inline edits widget when tab will accept it.'
82
82
  )));
83
83
  const tabWillAcceptOriginalBorder = registerColor('inlineEdit.tabWillAcceptOriginalBorder', {
@@ -86,7 +86,7 @@ const tabWillAcceptOriginalBorder = registerColor('inlineEdit.tabWillAcceptOrigi
86
86
  hcDark: ( darken(originalBorder, 0)),
87
87
  hcLight: ( darken(originalBorder, 0))
88
88
  }, ( localize(
89
- 1324,
89
+ 1327,
90
90
  'Original border color for the inline edits widget over the original text when tab will accept it.'
91
91
  )));
92
92
  function getModifiedBorderColor(tabAction) {
@@ -110,12 +110,15 @@ function getEditorBlendedColor(colorIdentifier, themeService) {
110
110
  ));
111
111
  }
112
112
  const backgroundColor = observeColor(editorBackground, themeService);
113
- return ( color.map((c, reader) => c.makeOpaque(backgroundColor.read(reader))));
113
+ return ( color.map(
114
+ (c, reader) => c.makeOpaque(backgroundColor.read(reader))
115
+ ));
114
116
  }
115
117
  function observeColor(colorIdentifier, themeService) {
116
118
  return observableFromEventOpts({
117
119
  owner: { observeColor: colorIdentifier },
118
120
  equalsFn: (a, b) => a.equals(b),
121
+ debugName: () => `observeColor(${colorIdentifier})`
119
122
  }, themeService.onDidColorThemeChange, () => {
120
123
  const color = themeService.getColorTheme().getColor(colorIdentifier);
121
124
  if (!color) {
@@ -193,18 +193,27 @@
193
193
  .monaco-menu-option {
194
194
  color: var(--vscode-editorActionList-foreground);
195
195
  font-size: 13px;
196
- padding: 0 10px;
197
- line-height: 26px;
196
+ padding: 0 4px;
197
+ line-height: 28px;
198
198
  display: flex;
199
- gap: 8px;
199
+ gap: 4px;
200
200
  align-items: center;
201
- border-radius: 4px;
201
+ border-radius: 3px;
202
202
  cursor: pointer;
203
203
 
204
+ .monaco-keybinding-key {
205
+ font-size: 13px;
206
+ opacity: 0.7;
207
+ }
208
+
204
209
  &.active {
205
210
  background: var(--vscode-editorActionList-focusBackground);
206
211
  color: var(--vscode-editorActionList-focusForeground);
207
212
  outline: 1px solid var(--vscode-menu-selectionBorder, transparent);
208
213
  outline-offset: -1px;
214
+
215
+ .monaco-keybinding-key {
216
+ color: var(--vscode-editorActionList-focusForeground);
217
+ }
209
218
  }
210
219
  }
@@ -9,7 +9,7 @@ class InsertFinalNewLineAction extends EditorAction {
9
9
  constructor() {
10
10
  super({
11
11
  id: InsertFinalNewLineAction.ID,
12
- label: ( localize2(1325, "Insert Final New Line")),
12
+ label: ( localize2(1328, "Insert Final New Line")),
13
13
  precondition: EditorContextKeys.writable
14
14
  });
15
15
  }
@@ -11,7 +11,7 @@ class ExpandLineSelectionAction extends EditorAction {
11
11
  constructor() {
12
12
  super({
13
13
  id: 'expandLineSelection',
14
- label: ( localize2(1326, "Expand Line Selection")),
14
+ label: ( localize2(1329, "Expand Line Selection")),
15
15
  precondition: undefined,
16
16
  kbOpts: {
17
17
  weight: KeybindingWeight.EditorCore,
@@ -106,7 +106,8 @@ export declare class SnakeCaseAction extends AbstractCaseAction {
106
106
  protected _modifyText(text: string, wordSeparators: string): string;
107
107
  }
108
108
  export declare class CamelCaseAction extends AbstractCaseAction {
109
- static wordBoundary: BackwardsCompatibleRegExp;
109
+ static singleLineWordBoundary: BackwardsCompatibleRegExp;
110
+ static multiLineWordBoundary: BackwardsCompatibleRegExp;
110
111
  static validWordStart: BackwardsCompatibleRegExp;
111
112
  constructor();
112
113
  protected _modifyText(text: string, wordSeparators: string): string;