@codingame/monaco-vscode-api 20.5.0 → 21.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (648) hide show
  1. package/missing-services.js +136 -50
  2. package/package.json +8 -8
  3. package/services.d.ts +8 -4
  4. package/services.js +8 -4
  5. package/vscode/product.json.js +1 -1
  6. package/vscode/src/vs/base/browser/dom.js +3 -3
  7. package/vscode/src/vs/base/browser/domSanitize.d.ts +23 -11
  8. package/vscode/src/vs/base/browser/domSanitize.js +86 -7
  9. package/vscode/src/vs/base/browser/domStylesheets.js +2 -2
  10. package/vscode/src/vs/base/browser/event.d.ts +1 -1
  11. package/vscode/src/vs/base/browser/markdownRenderer.d.ts +8 -4
  12. package/vscode/src/vs/base/browser/markdownRenderer.js +72 -126
  13. package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.d.ts +10 -10
  14. package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +5 -2
  15. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.css +2 -2
  16. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +4 -4
  17. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +32 -7
  18. package/vscode/src/vs/base/browser/ui/button/button.d.ts +2 -2
  19. package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  20. package/vscode/src/vs/base/browser/ui/contextview/contextview.js +4 -2
  21. package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.d.ts +1 -1
  22. package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
  23. package/vscode/src/vs/base/browser/ui/findinput/findInput.d.ts +7 -7
  24. package/vscode/src/vs/base/browser/ui/findinput/findInput.js +7 -7
  25. package/vscode/src/vs/base/browser/ui/findinput/replaceInput.d.ts +6 -6
  26. package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +6 -6
  27. package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css +5 -0
  28. package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -1
  29. package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +4 -4
  30. package/vscode/src/vs/base/browser/ui/inputbox/inputBox.d.ts +2 -2
  31. package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +2 -2
  32. package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +3 -3
  33. package/vscode/src/vs/base/browser/ui/list/listWidget.js +3 -3
  34. package/vscode/src/vs/base/browser/ui/menu/menu.d.ts +1 -0
  35. package/vscode/src/vs/base/browser/ui/menu/menu.js +21 -16
  36. package/vscode/src/vs/base/browser/ui/resizable/resizable.d.ts +2 -2
  37. package/vscode/src/vs/base/browser/ui/resizable/resizable.js +2 -2
  38. package/vscode/src/vs/base/browser/ui/sash/sash.d.ts +4 -4
  39. package/vscode/src/vs/base/browser/ui/sash/sash.js +16 -22
  40. package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.d.ts +2 -2
  41. package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +2 -2
  42. package/vscode/src/vs/base/browser/ui/selectBox/selectBox.css +2 -1
  43. package/vscode/src/vs/base/browser/ui/selectBox/selectBox.d.ts +4 -4
  44. package/vscode/src/vs/base/browser/ui/selectBox/selectBox.js +3 -3
  45. package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.d.ts +2 -2
  46. package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +12 -12
  47. package/vscode/src/vs/base/browser/ui/toggle/toggle.d.ts +2 -2
  48. package/vscode/src/vs/base/browser/ui/toggle/toggle.js +2 -2
  49. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +1 -1
  50. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +1 -1
  51. package/vscode/src/vs/base/common/actions.d.ts +3 -3
  52. package/vscode/src/vs/base/common/actions.js +3 -3
  53. package/vscode/src/vs/base/common/async.d.ts +18 -7
  54. package/vscode/src/vs/base/common/async.js +71 -14
  55. package/vscode/src/vs/base/common/codicons.d.ts +3 -0
  56. package/vscode/src/vs/base/common/codiconsLibrary.d.ts +3 -0
  57. package/vscode/src/vs/base/common/codiconsLibrary.js +3 -0
  58. package/vscode/src/vs/base/common/defaultAccount.d.ts +23 -0
  59. package/vscode/src/vs/base/common/event.d.ts +0 -5
  60. package/vscode/src/vs/base/common/event.js +0 -12
  61. package/vscode/src/vs/base/common/hotReloadHelpers.js +2 -33
  62. package/vscode/src/vs/base/common/htmlContent.d.ts +1 -1
  63. package/vscode/src/vs/base/common/htmlContent.js +2 -2
  64. package/vscode/src/vs/base/common/lazy.d.ts +1 -1
  65. package/vscode/src/vs/base/common/lazy.js +14 -4
  66. package/vscode/src/vs/base/common/lifecycle.d.ts +7 -11
  67. package/vscode/src/vs/base/common/lifecycle.js +19 -2
  68. package/vscode/src/vs/base/common/marshallingIds.d.ts +5 -4
  69. package/vscode/src/vs/base/common/marshallingIds.js +5 -4
  70. package/vscode/src/vs/base/common/mime.d.ts +4 -0
  71. package/vscode/src/vs/base/common/mime.js +4 -1
  72. package/vscode/src/vs/base/common/network.d.ts +5 -0
  73. package/vscode/src/vs/base/common/network.js +2 -0
  74. package/vscode/src/vs/base/common/oauth.d.ts +18 -2
  75. package/vscode/src/vs/base/common/oauth.js +113 -18
  76. package/vscode/src/vs/base/common/observableInternal/debugLocation.d.ts +20 -0
  77. package/vscode/src/vs/base/common/observableInternal/debugLocation.js +63 -0
  78. package/vscode/src/vs/base/common/observableInternal/experimental/reducer.js +2 -1
  79. package/vscode/src/vs/base/common/observableInternal/index.d.ts +2 -1
  80. package/vscode/src/vs/base/common/observableInternal/index.js +2 -1
  81. package/vscode/src/vs/base/common/observableInternal/logging/debugger/devToolsLogger.d.ts +3 -2
  82. package/vscode/src/vs/base/common/observableInternal/logging/debugger/devToolsLogger.js +15 -33
  83. package/vscode/src/vs/base/common/observableInternal/logging/debugger/utils.d.ts +0 -7
  84. package/vscode/src/vs/base/common/observableInternal/logging/debugger/utils.js +1 -42
  85. package/vscode/src/vs/base/common/observableInternal/logging/logging.d.ts +3 -2
  86. package/vscode/src/vs/base/common/observableInternal/logging/logging.js +4 -4
  87. package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.d.ts +2 -1
  88. package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.js +6 -5
  89. package/vscode/src/vs/base/common/observableInternal/observables/derived.d.ts +4 -3
  90. package/vscode/src/vs/base/common/observableInternal/observables/derived.js +12 -11
  91. package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.d.ts +3 -2
  92. package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.js +4 -4
  93. package/vscode/src/vs/base/common/observableInternal/observables/lazyObservableValue.d.ts +2 -1
  94. package/vscode/src/vs/base/common/observableInternal/observables/lazyObservableValue.js +2 -2
  95. package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.d.ts +4 -3
  96. package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.js +10 -8
  97. package/vscode/src/vs/base/common/observableInternal/observables/observableSignal.js +6 -5
  98. package/vscode/src/vs/base/common/observableInternal/observables/observableSignalFromEvent.d.ts +2 -1
  99. package/vscode/src/vs/base/common/observableInternal/observables/observableSignalFromEvent.js +5 -4
  100. package/vscode/src/vs/base/common/observableInternal/observables/observableValue.d.ts +3 -2
  101. package/vscode/src/vs/base/common/observableInternal/observables/observableValue.js +7 -6
  102. package/vscode/src/vs/base/common/observableInternal/observables/observableValueOpts.d.ts +2 -1
  103. package/vscode/src/vs/base/common/observableInternal/observables/observableValueOpts.js +4 -3
  104. package/vscode/src/vs/base/common/observableInternal/reactions/autorun.d.ts +11 -3
  105. package/vscode/src/vs/base/common/observableInternal/reactions/autorun.js +27 -7
  106. package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.d.ts +2 -1
  107. package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.js +2 -2
  108. package/vscode/src/vs/base/common/observableInternal/utils/utilsCancellation.js +1 -0
  109. package/vscode/src/vs/base/common/policy.d.ts +29 -0
  110. package/vscode/src/vs/base/common/product.d.ts +15 -1
  111. package/vscode/src/vs/base/common/strings.d.ts +0 -6
  112. package/vscode/src/vs/base/common/strings.js +1 -8
  113. package/vscode/src/vs/base/common/types.js +1 -4
  114. package/vscode/src/vs/base/common/uuid.d.ts +2 -0
  115. package/vscode/src/vs/base/common/uuid.js +4 -1
  116. package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.d.ts +1 -0
  117. package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +9 -2
  118. package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContextUtils.d.ts +2 -1
  119. package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContextUtils.js +10 -3
  120. package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +1 -0
  121. package/vscode/src/vs/editor/browser/controller/mouseHandler.js +2 -3
  122. package/vscode/src/vs/editor/browser/editorDom.d.ts +1 -0
  123. package/vscode/src/vs/editor/browser/editorDom.js +7 -4
  124. package/vscode/src/vs/editor/browser/observableCodeEditor.d.ts +2 -2
  125. package/vscode/src/vs/editor/browser/observableCodeEditor.js +3 -2
  126. package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +1 -4
  127. package/vscode/src/vs/editor/browser/services/inlineCompletionsService.d.ts +3 -0
  128. package/vscode/src/vs/editor/browser/services/inlineCompletionsService.js +14 -1
  129. package/vscode/src/vs/editor/browser/services/inlineCompletionsService.service.d.ts +4 -0
  130. package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.css +1 -0
  131. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +12 -7
  132. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +8 -8
  133. package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +1 -1
  134. package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +3 -1
  135. package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.d.ts +2 -2
  136. package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.js +31 -44
  137. package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +10 -10
  138. package/vscode/src/vs/editor/common/config/editorOptions.d.ts +6 -4
  139. package/vscode/src/vs/editor/common/config/editorOptions.js +302 -275
  140. package/vscode/src/vs/editor/common/core/2d/rect.js +5 -2
  141. package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
  142. package/vscode/src/vs/editor/common/core/edits/lineEdit.d.ts +2 -2
  143. package/vscode/src/vs/editor/common/core/edits/lineEdit.js +1 -1
  144. package/vscode/src/vs/editor/common/core/edits/stringEdit.d.ts +1 -1
  145. package/vscode/src/vs/editor/common/core/edits/stringEdit.js +9 -3
  146. package/vscode/src/vs/editor/common/core/edits/textEdit.d.ts +2 -2
  147. package/vscode/src/vs/editor/common/core/text/textLength.d.ts +3 -0
  148. package/vscode/src/vs/editor/common/core/text/textLength.js +6 -0
  149. package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
  150. package/vscode/src/vs/editor/common/languageFeatureRegistry.d.ts +1 -1
  151. package/vscode/src/vs/editor/common/languageFeatureRegistry.js +1 -1
  152. package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
  153. package/vscode/src/vs/editor/common/languages.d.ts +19 -1
  154. package/vscode/src/vs/editor/common/languages.js +77 -57
  155. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/beforeEditPositionMapper.d.ts +1 -1
  156. package/vscode/src/vs/editor/common/model/editStack.js +1 -1
  157. package/vscode/src/vs/editor/common/model/mirrorTextModel.d.ts +19 -1
  158. package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.d.ts +1 -1
  159. package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.js +1 -1
  160. package/vscode/src/vs/editor/common/model/textModel.d.ts +4 -4
  161. package/vscode/src/vs/editor/common/model/textModel.js +4 -4
  162. package/vscode/src/vs/editor/common/model/textModelStringEdit.d.ts +1 -1
  163. package/vscode/src/vs/editor/common/model/textModelTokens.d.ts +1 -1
  164. package/vscode/src/vs/editor/common/model.d.ts +2 -1
  165. package/vscode/src/vs/editor/common/services/editorWebWorker.d.ts +7 -1
  166. package/vscode/src/vs/editor/common/services/editorWebWorker.js +13 -10
  167. package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +4 -0
  168. package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +6 -1
  169. package/vscode/src/vs/editor/common/standaloneStrings.js +47 -47
  170. package/vscode/src/vs/editor/common/textModelEditSource.d.ts +48 -2
  171. package/vscode/src/vs/editor/common/textModelEditSource.js +54 -1
  172. package/vscode/src/vs/editor/common/textModelEvents.d.ts +1 -18
  173. package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +6 -1
  174. package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
  175. package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
  176. package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
  177. package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
  178. package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
  179. package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +28 -17
  180. package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
  181. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
  182. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
  183. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
  184. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
  185. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
  186. package/vscode/src/vs/editor/contrib/codelens/browser/codelens.d.ts +2 -2
  187. package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +3 -2
  188. package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.d.ts +5 -5
  189. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +1 -1
  190. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
  191. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
  192. package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.d.ts +2 -2
  193. package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +3 -3
  194. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
  195. package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
  196. package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
  197. package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  198. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
  199. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
  200. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
  201. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
  202. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
  203. package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  204. package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
  205. package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +26 -26
  206. package/vscode/src/vs/editor/contrib/folding/browser/folding.d.ts +1 -1
  207. package/vscode/src/vs/editor/contrib/folding/browser/folding.js +21 -21
  208. package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  209. package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  210. package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
  211. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
  212. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
  213. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
  214. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
  215. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
  216. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  217. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  218. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  219. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
  220. package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  221. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverComputer.d.ts +2 -2
  222. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverComputer.js +4 -4
  223. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
  224. package/vscode/src/vs/editor/contrib/hover/browser/getHover.js +2 -2
  225. package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
  226. package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  227. package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
  228. package/vscode/src/vs/editor/contrib/hover/browser/hoverOperation.d.ts +2 -2
  229. package/vscode/src/vs/editor/contrib/hover/browser/hoverOperation.js +2 -2
  230. package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +12 -12
  231. package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +9 -5
  232. package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  233. package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
  234. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +1 -1
  235. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.d.ts +2 -2
  236. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +11 -11
  237. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -19
  238. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
  239. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +56 -8
  240. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
  241. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
  242. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +7 -0
  243. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +76 -18
  244. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +1 -1
  245. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +7 -3
  246. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +6 -4
  247. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +9 -7
  248. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +18 -4
  249. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +31 -9
  250. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.d.ts +1 -0
  251. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.js +4 -2
  252. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/typingSpeed.d.ts +0 -1
  253. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/typingSpeed.js +6 -10
  254. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.d.ts +5 -5
  255. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.js +11 -15
  256. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +8 -8
  257. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +3 -3
  258. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
  259. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +36 -7
  260. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.d.ts +1 -0
  261. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.d.ts +1 -0
  262. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.js +17 -5
  263. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsDeletionView.js +4 -4
  264. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.js +3 -3
  265. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.d.ts +1 -0
  266. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.js +10 -3
  267. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.js +7 -7
  268. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.d.ts +1 -0
  269. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +15 -8
  270. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
  271. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.d.ts +1 -1
  272. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +49 -13
  273. package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  274. package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  275. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -31
  276. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +8 -3
  277. package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
  278. package/vscode/src/vs/editor/contrib/message/browser/messageController.d.ts +0 -1
  279. package/vscode/src/vs/editor/contrib/message/browser/messageController.js +11 -14
  280. package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  281. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  282. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  283. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  284. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  285. package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
  286. package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
  287. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +10 -10
  288. package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
  289. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
  290. package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  291. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  292. package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
  293. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.d.ts +2 -1
  294. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +26 -15
  295. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
  296. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
  297. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  298. package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
  299. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  300. package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  301. package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  302. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  303. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
  304. package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  305. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  306. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
  307. package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
  308. package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +4 -0
  309. package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +1 -1
  310. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
  311. package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
  312. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +4 -4
  313. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
  314. package/vscode/src/vs/platform/actions/browser/floatingMenu.d.ts +1 -1
  315. package/vscode/src/vs/platform/actions/browser/floatingMenu.js +1 -1
  316. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +11 -11
  317. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
  318. package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +1 -6
  319. package/vscode/src/vs/platform/actions/browser/toolbar.js +3 -6
  320. package/vscode/src/vs/platform/actions/common/actions.d.ts +2 -1
  321. package/vscode/src/vs/platform/actions/common/actions.js +2 -1
  322. package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
  323. package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
  324. package/vscode/src/vs/platform/assignment/common/assignment.d.ts +70 -0
  325. package/vscode/src/vs/platform/configuration/common/configurationModels.js +11 -8
  326. package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +1 -1
  327. package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +10 -10
  328. package/vscode/src/vs/platform/configuration/common/configurations.js +2 -3
  329. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.d.ts +1 -1
  330. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +2 -2
  331. package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
  332. package/vscode/src/vs/platform/contextkey/common/contextkeys.d.ts +1 -0
  333. package/vscode/src/vs/platform/contextkey/common/contextkeys.js +11 -10
  334. package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
  335. package/vscode/src/vs/platform/dataChannel/common/dataChannel.d.ts +14 -0
  336. package/vscode/src/vs/platform/dataChannel/common/dataChannel.js +15 -0
  337. package/vscode/src/vs/{workbench/services → platform}/dataChannel/common/dataChannel.service.d.ts +2 -2
  338. package/vscode/src/vs/{workbench/services → platform}/dataChannel/common/dataChannel.service.js +1 -1
  339. package/vscode/src/vs/platform/debug/common/extensionHostDebug.d.ts +1 -1
  340. package/vscode/src/vs/platform/debug/common/extensionHostDebug.service.d.ts +1 -0
  341. package/vscode/src/vs/platform/diagnostics/common/diagnostics.d.ts +1 -1
  342. package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
  343. package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
  344. package/vscode/src/vs/platform/environment/common/argv.d.ts +0 -1
  345. package/vscode/src/vs/platform/environment/common/environment.service.d.ts +1 -0
  346. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +2 -0
  347. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +21 -19
  348. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
  349. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
  350. package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
  351. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +11 -0
  352. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +12 -1
  353. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
  354. package/vscode/src/vs/platform/files/common/files.js +6 -6
  355. package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  356. package/vscode/src/vs/platform/instantiation/common/instantiation.d.ts +1 -0
  357. package/vscode/src/vs/platform/instantiation/common/instantiationService.js +7 -0
  358. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  359. package/vscode/src/vs/platform/list/browser/listService.js +27 -27
  360. package/vscode/src/vs/platform/log/common/log.d.ts +1 -1
  361. package/vscode/src/vs/platform/log/common/log.js +7 -7
  362. package/vscode/src/vs/platform/markers/common/markerService.js +2 -2
  363. package/vscode/src/vs/platform/markers/common/markers.js +6 -6
  364. package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.d.ts +18 -0
  365. package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.js +28 -0
  366. package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.service.d.ts +10 -0
  367. package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.service.js +6 -0
  368. package/vscode/src/vs/platform/mcp/common/mcpManagement.service.d.ts +8 -4
  369. package/vscode/src/vs/platform/notification/common/notification.js +3 -3
  370. package/vscode/src/vs/platform/observable/common/platformObservableUtils.d.ts +4 -4
  371. package/vscode/src/vs/platform/observable/common/platformObservableUtils.js +15 -20
  372. package/vscode/src/vs/platform/observable/common/wrapInHotClass.js +2 -28
  373. package/vscode/src/vs/platform/observable/common/wrapInReloadableClass.js +3 -42
  374. package/vscode/src/vs/platform/policy/common/policy.d.ts +3 -3
  375. package/vscode/src/vs/platform/policy/common/policy.service.d.ts +1 -1
  376. package/vscode/src/vs/platform/product/common/product.js +3 -3
  377. package/vscode/src/vs/platform/progress/common/progress.d.ts +0 -12
  378. package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +13 -12
  379. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +10 -10
  380. package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
  381. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +10 -7
  382. package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +1 -2
  383. package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +2 -1
  384. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  385. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputDelegate.d.ts +1 -1
  386. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputDelegate.js +2 -2
  387. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTree.d.ts +0 -1
  388. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +2 -2
  389. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.d.ts +0 -1
  390. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.js +5 -17
  391. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeFilter.d.ts +0 -1
  392. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeFilter.js +3 -6
  393. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.d.ts +1 -2
  394. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js +5 -30
  395. package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.d.ts +0 -3
  396. package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +2 -6
  397. package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +53 -26
  398. package/vscode/src/vs/platform/request/common/request.d.ts +2 -0
  399. package/vscode/src/vs/platform/request/common/request.js +25 -19
  400. package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +2 -1
  401. package/vscode/src/vs/platform/terminal/common/terminal.d.ts +5 -0
  402. package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
  403. package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
  404. package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
  405. package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
  406. package/vscode/src/vs/platform/theme/common/colors/inputColors.js +47 -47
  407. package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
  408. package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
  409. package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
  410. package/vscode/src/vs/platform/theme/common/colors/miscColors.js +15 -15
  411. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  412. package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
  413. package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
  414. package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  415. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
  416. package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
  417. package/vscode/src/vs/platform/window/common/window.d.ts +6 -2
  418. package/vscode/src/vs/platform/window/common/window.js +3 -2
  419. package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
  420. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +37 -9
  421. package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +53 -26
  422. package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +7 -1
  423. package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +6 -4
  424. package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +67 -13
  425. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +2 -3
  426. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +23 -30
  427. package/vscode/src/vs/workbench/api/common/extHostChatSessions.d.ts +12 -4
  428. package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +73 -12
  429. package/vscode/src/vs/workbench/api/common/extHostCommands.js +6 -1
  430. package/vscode/src/vs/workbench/api/common/extHostComments.js +2 -1
  431. package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +1 -1
  432. package/vscode/src/vs/workbench/api/common/extHostDebugService.js +3 -1
  433. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +3 -2
  434. package/vscode/src/vs/workbench/api/common/extHostDocumentData.d.ts +7 -4
  435. package/vscode/src/vs/workbench/api/common/extHostDocumentData.js +27 -6
  436. package/vscode/src/vs/workbench/api/common/extHostDocumentSaveParticipant.js +2 -1
  437. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
  438. package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.js +2 -1
  439. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.d.ts +8 -1
  440. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +39 -14
  441. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.d.ts +5 -5
  442. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +52 -84
  443. package/vscode/src/vs/workbench/api/common/extHostLanguages.js +2 -1
  444. package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
  445. package/vscode/src/vs/workbench/api/common/extHostMcp.js +36 -33
  446. package/vscode/src/vs/workbench/api/common/extHostNotebook.d.ts +5 -2
  447. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +69 -53
  448. package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +4 -2
  449. package/vscode/src/vs/workbench/api/common/extHostNotebookDocumentSaveParticipant.js +2 -1
  450. package/vscode/src/vs/workbench/api/common/extHostNotebookEditor.js +2 -1
  451. package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +2 -1
  452. package/vscode/src/vs/workbench/api/common/extHostSCM.js +14 -12
  453. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
  454. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
  455. package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +1 -1
  456. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +6 -4
  457. package/vscode/src/vs/workbench/api/common/extHostTextEditor.js +5 -1
  458. package/vscode/src/vs/workbench/api/common/extHostTimeline.js +2 -1
  459. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +3 -2
  460. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
  461. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +16 -8
  462. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +93 -20
  463. package/vscode/src/vs/workbench/api/common/extHostTypes/codeActionKind.d.ts +19 -0
  464. package/vscode/src/vs/workbench/api/common/extHostTypes/codeActionKind.js +37 -0
  465. package/vscode/src/vs/workbench/api/common/extHostTypes/diagnostic.d.ts +31 -0
  466. package/vscode/src/vs/workbench/api/common/extHostTypes/diagnostic.js +91 -0
  467. package/vscode/src/vs/workbench/api/common/extHostTypes/es5ClassCompat.d.ts +7 -0
  468. package/vscode/src/vs/workbench/api/common/extHostTypes/es5ClassCompat.js +27 -0
  469. package/vscode/src/vs/workbench/api/common/extHostTypes/location.d.ts +11 -0
  470. package/vscode/src/vs/workbench/api/common/extHostTypes/location.js +44 -0
  471. package/vscode/src/vs/workbench/api/common/extHostTypes/markdownString.d.ts +20 -0
  472. package/vscode/src/vs/workbench/api/common/extHostTypes/markdownString.js +65 -0
  473. package/vscode/src/vs/workbench/api/common/extHostTypes/notebooks.d.ts +84 -0
  474. package/vscode/src/vs/workbench/api/common/extHostTypes/notebooks.js +229 -0
  475. package/vscode/src/vs/workbench/api/common/extHostTypes/position.d.ts +29 -0
  476. package/vscode/src/vs/workbench/api/common/extHostTypes/position.js +169 -0
  477. package/vscode/src/vs/workbench/api/common/extHostTypes/range.d.ts +26 -0
  478. package/vscode/src/vs/workbench/api/common/extHostTypes/range.js +137 -0
  479. package/vscode/src/vs/workbench/api/common/extHostTypes/selection.d.ts +20 -0
  480. package/vscode/src/vs/workbench/api/common/extHostTypes/selection.js +76 -0
  481. package/vscode/src/vs/workbench/api/common/extHostTypes/snippetString.d.ts +12 -0
  482. package/vscode/src/vs/workbench/api/common/extHostTypes/snippetString.js +84 -0
  483. package/vscode/src/vs/workbench/api/common/extHostTypes/snippetTextEdit.d.ts +13 -0
  484. package/vscode/src/vs/workbench/api/common/extHostTypes/snippetTextEdit.js +28 -0
  485. package/vscode/src/vs/workbench/api/common/extHostTypes/symbolInformation.d.ts +45 -0
  486. package/vscode/src/vs/workbench/api/common/extHostTypes/symbolInformation.js +75 -0
  487. package/vscode/src/vs/workbench/api/common/extHostTypes/textEdit.d.ts +24 -0
  488. package/vscode/src/vs/workbench/api/common/extHostTypes/textEdit.js +82 -0
  489. package/vscode/src/vs/workbench/api/common/extHostTypes/workspaceEdit.d.ts +99 -0
  490. package/vscode/src/vs/workbench/api/common/extHostTypes/workspaceEdit.js +146 -0
  491. package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +86 -420
  492. package/vscode/src/vs/workbench/api/common/extHostTypes.js +65 -1186
  493. package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +1 -1
  494. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +3 -2
  495. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
  496. package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
  497. package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
  498. package/vscode/src/vs/workbench/browser/contextkeys.d.ts +1 -0
  499. package/vscode/src/vs/workbench/browser/contextkeys.js +13 -9
  500. package/vscode/src/vs/workbench/browser/parts/editor/editor.js +7 -0
  501. package/vscode/src/vs/workbench/common/configuration.js +9 -9
  502. package/vscode/src/vs/workbench/common/contextkeys.d.ts +1 -0
  503. package/vscode/src/vs/workbench/common/contextkeys.js +74 -73
  504. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
  505. package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
  506. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
  507. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
  508. package/vscode/src/vs/workbench/common/editor.d.ts +2 -0
  509. package/vscode/src/vs/workbench/common/editor.js +4 -4
  510. package/vscode/src/vs/workbench/common/theme.js +160 -160
  511. package/vscode/src/vs/workbench/common/views.js +4 -4
  512. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +157 -157
  513. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
  514. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +5 -5
  515. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +2 -3
  516. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +13 -7
  517. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +64 -56
  518. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +18 -1
  519. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +3 -4
  520. package/vscode/src/vs/workbench/contrib/chat/common/chatEntitlementService.service.d.ts +3 -0
  521. package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.d.ts +8 -0
  522. package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.service.d.ts +8 -0
  523. package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.service.js +6 -0
  524. package/vscode/src/vs/workbench/contrib/chat/common/chatModes.service.d.ts +13 -0
  525. package/vscode/src/vs/workbench/contrib/chat/common/chatModes.service.js +6 -0
  526. package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +71 -15
  527. package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +10 -1
  528. package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +2 -1
  529. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +49 -22
  530. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.js +10 -0
  531. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +24 -9
  532. package/vscode/src/vs/workbench/contrib/chat/common/chatTodoListService.service.d.ts +3 -2
  533. package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.d.ts +2 -1
  534. package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.js +13 -8
  535. package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.service.d.ts +2 -3
  536. package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +14 -1
  537. package/vscode/src/vs/workbench/contrib/chat/common/constants.js +18 -1
  538. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +25 -7
  539. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +15 -8
  540. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +4 -3
  541. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +36 -18
  542. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +46 -36
  543. package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +1 -1
  544. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +1 -1
  545. package/vscode/src/vs/workbench/contrib/chat/common/tools/confirmationTool.d.ts +14 -0
  546. package/vscode/src/vs/workbench/contrib/chat/common/tools/confirmationTool.js +76 -0
  547. package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +2 -2
  548. package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.d.ts +10 -1
  549. package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.js +205 -107
  550. package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.d.ts +3 -1
  551. package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.js +14 -8
  552. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
  553. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
  554. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
  555. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
  556. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
  557. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
  558. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
  559. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
  560. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
  561. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
  562. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
  563. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
  564. package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +1 -0
  565. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
  566. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
  567. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
  568. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.d.ts +16 -0
  569. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.service.d.ts +8 -0
  570. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.service.js +6 -0
  571. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
  572. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +1 -1
  573. package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +4 -7
  574. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
  575. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
  576. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
  577. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
  578. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  579. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
  580. package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
  581. package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
  582. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +10 -7
  583. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +12 -6
  584. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +2 -1
  585. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +1 -5
  586. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +1 -4
  587. package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +1 -1
  588. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
  589. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
  590. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
  591. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
  592. package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
  593. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
  594. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +7 -2
  595. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
  596. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +3 -1
  597. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +10 -3
  598. package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.d.ts +1 -1
  599. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.d.ts +1 -1
  600. package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.service.d.ts +1 -1
  601. package/vscode/src/vs/workbench/contrib/testing/common/constants.d.ts +2 -0
  602. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +13 -11
  603. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
  604. package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.d.ts +2 -21
  605. package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +34 -6
  606. package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.service.d.ts +1 -1
  607. package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +1 -1
  608. package/vscode/src/vs/workbench/services/assignment/common/assignmentService.service.d.ts +1 -1
  609. package/vscode/src/vs/workbench/services/authentication/browser/authenticationUsageService.service.d.ts +1 -1
  610. package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +48 -1
  611. package/vscode/src/vs/workbench/services/authentication/common/authentication.js +7 -1
  612. package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +7 -6
  613. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
  614. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
  615. package/vscode/src/vs/workbench/services/environment/common/environmentService.service.d.ts +0 -1
  616. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +94 -86
  617. package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +1 -1
  618. package/vscode/src/vs/workbench/services/inlineCompletions/common/inlineCompletionsUnification.service.d.ts +8 -0
  619. package/vscode/src/vs/workbench/services/inlineCompletions/common/inlineCompletionsUnification.service.js +6 -0
  620. package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
  621. package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
  622. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
  623. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
  624. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
  625. package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +4 -0
  626. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
  627. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
  628. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
  629. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +1 -1
  630. package/vscode-dts/vscode.d.ts +218 -2
  631. package/vscode-dts/vscode.proposed.authenticationChallenges.d.ts +161 -0
  632. package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +47 -1
  633. package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +3 -1
  634. package/vscode-dts/vscode.proposed.chatProvider.d.ts +28 -108
  635. package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +101 -12
  636. package/vscode-dts/vscode.proposed.contribSecondarySidebar.d.ts +6 -0
  637. package/vscode-dts/vscode.proposed.d.ts +3 -0
  638. package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +0 -5
  639. package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +31 -0
  640. package/vscode-dts/vscode.proposed.languageModelDataPart.d.ts +2 -2
  641. package/vscode-dts/vscode.proposed.languageModelThinkingPart.d.ts +49 -0
  642. package/vscode-dts/vscode.proposed.languageModelToolResultAudience.d.ts +16 -5
  643. package/vscode-dts/vscode.proposed.terminalCompletionProvider.d.ts +7 -0
  644. package/vscode/src/vs/base/browser/dompurify/dompurify.d.ts +0 -114
  645. package/vscode/src/vs/base/common/hotReload.js +0 -80
  646. package/vscode/src/vs/workbench/services/coreExperimentation/common/coreExperimentationService.service.d.ts +0 -6
  647. package/vscode/src/vs/workbench/services/coreExperimentation/common/coreExperimentationService.service.js +0 -6
  648. package/vscode/src/vs/workbench/services/dataChannel/common/dataChannel.d.ts +0 -7
@@ -56,7 +56,7 @@ class PeekViewService {
56
56
  }
57
57
  var PeekContext;
58
58
  (function (PeekContext) {
59
- PeekContext.inPeekEditor = ( new RawContextKey('inReferenceSearchEditor', true, ( localize(1397, "Whether the current code editor is embedded inside peek"))));
59
+ PeekContext.inPeekEditor = ( new RawContextKey('inReferenceSearchEditor', true, ( localize(1399, "Whether the current code editor is embedded inside peek"))));
60
60
  PeekContext.notInPeekEditor = ( PeekContext.inPeekEditor.toNegated());
61
61
  })(PeekContext || (PeekContext = {}));
62
62
  let PeekContextController = class PeekContextController {
@@ -152,7 +152,7 @@ let PeekViewWidget = class PeekViewWidget extends ZoneWidget {
152
152
  this._actionbarWidget = ( new ActionBar(actionsContainer, actionBarOptions));
153
153
  this._disposables.add(this._actionbarWidget);
154
154
  if (!noCloseAction) {
155
- this._actionbarWidget.push(this._disposables.add(( new Action('peekview.close', ( localize(1398, "Close")), ThemeIcon.asClassName(Codicon.close), true, () => {
155
+ this._actionbarWidget.push(this._disposables.add(( new Action('peekview.close', ( localize(1400, "Close")), ThemeIcon.asClassName(Codicon.close), true, () => {
156
156
  this.dispose();
157
157
  return Promise.resolve();
158
158
  }))), { label: false, icon: true });
@@ -216,30 +216,30 @@ let PeekViewWidget = class PeekViewWidget extends ZoneWidget {
216
216
  PeekViewWidget = ( __decorate([
217
217
  ( __param(2, IInstantiationService))
218
218
  ], PeekViewWidget));
219
- const peekViewTitleBackground = registerColor('peekViewTitle.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, ( localize(1399, 'Background color of the peek view title area.')));
220
- const peekViewTitleForeground = registerColor('peekViewTitleLabel.foreground', { dark: Color.white, light: Color.black, hcDark: Color.white, hcLight: editorForeground }, ( localize(1400, 'Color of the peek view title.')));
221
- const peekViewTitleInfoForeground = registerColor('peekViewTitleDescription.foreground', { dark: '#ccccccb3', light: '#616161', hcDark: '#FFFFFF99', hcLight: '#292929' }, ( localize(1401, 'Color of the peek view title info.')));
222
- const peekViewBorder = registerColor('peekView.border', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(1402, 'Color of the peek view borders and arrow.')));
223
- const peekViewResultsBackground = registerColor('peekViewResult.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, ( localize(1403, 'Background color of the peek view result list.')));
224
- registerColor('peekViewResult.lineForeground', { dark: '#bbbbbb', light: '#646465', hcDark: Color.white, hcLight: editorForeground }, ( localize(1404, 'Foreground color for line nodes in the peek view result list.')));
225
- registerColor('peekViewResult.fileForeground', { dark: Color.white, light: '#1E1E1E', hcDark: Color.white, hcLight: editorForeground }, ( localize(1405, 'Foreground color for file nodes in the peek view result list.')));
219
+ const peekViewTitleBackground = registerColor('peekViewTitle.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, ( localize(1401, 'Background color of the peek view title area.')));
220
+ const peekViewTitleForeground = registerColor('peekViewTitleLabel.foreground', { dark: Color.white, light: Color.black, hcDark: Color.white, hcLight: editorForeground }, ( localize(1402, 'Color of the peek view title.')));
221
+ const peekViewTitleInfoForeground = registerColor('peekViewTitleDescription.foreground', { dark: '#ccccccb3', light: '#616161', hcDark: '#FFFFFF99', hcLight: '#292929' }, ( localize(1403, 'Color of the peek view title info.')));
222
+ const peekViewBorder = registerColor('peekView.border', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(1404, 'Color of the peek view borders and arrow.')));
223
+ const peekViewResultsBackground = registerColor('peekViewResult.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, ( localize(1405, 'Background color of the peek view result list.')));
224
+ registerColor('peekViewResult.lineForeground', { dark: '#bbbbbb', light: '#646465', hcDark: Color.white, hcLight: editorForeground }, ( localize(1406, 'Foreground color for line nodes in the peek view result list.')));
225
+ registerColor('peekViewResult.fileForeground', { dark: Color.white, light: '#1E1E1E', hcDark: Color.white, hcLight: editorForeground }, ( localize(1407, 'Foreground color for file nodes in the peek view result list.')));
226
226
  registerColor('peekViewResult.selectionBackground', { dark: '#3399ff33', light: '#3399ff33', hcDark: null, hcLight: null }, ( localize(
227
- 1406,
227
+ 1408,
228
228
  'Background color of the selected entry in the peek view result list.'
229
229
  )));
230
230
  registerColor('peekViewResult.selectionForeground', { dark: Color.white, light: '#6C6C6C', hcDark: Color.white, hcLight: editorForeground }, ( localize(
231
- 1407,
231
+ 1409,
232
232
  'Foreground color of the selected entry in the peek view result list.'
233
233
  )));
234
- const peekViewEditorBackground = registerColor('peekViewEditor.background', { dark: '#001F33', light: '#F2F8FC', hcDark: Color.black, hcLight: Color.white }, ( localize(1408, 'Background color of the peek view editor.')));
235
- registerColor('peekViewEditorGutter.background', peekViewEditorBackground, ( localize(1409, 'Background color of the gutter in the peek view editor.')));
236
- registerColor('peekViewEditorStickyScroll.background', peekViewEditorBackground, ( localize(1410, 'Background color of sticky scroll in the peek view editor.')));
234
+ const peekViewEditorBackground = registerColor('peekViewEditor.background', { dark: '#001F33', light: '#F2F8FC', hcDark: Color.black, hcLight: Color.white }, ( localize(1410, 'Background color of the peek view editor.')));
235
+ registerColor('peekViewEditorGutter.background', peekViewEditorBackground, ( localize(1411, 'Background color of the gutter in the peek view editor.')));
236
+ registerColor('peekViewEditorStickyScroll.background', peekViewEditorBackground, ( localize(1412, 'Background color of sticky scroll in the peek view editor.')));
237
237
  registerColor('peekViewEditorStickyScrollGutter.background', peekViewEditorBackground, ( localize(
238
- 1411,
238
+ 1413,
239
239
  'Background color of the gutter part of sticky scroll in the peek view editor.'
240
240
  )));
241
- registerColor('peekViewResult.matchHighlightBackground', { dark: '#ea5c004d', light: '#ea5c004d', hcDark: null, hcLight: null }, ( localize(1412, 'Match highlight color in the peek view result list.')));
242
- const peekViewEditorMatchHighlight = registerColor('peekViewEditor.matchHighlightBackground', { dark: '#ff8f0099', light: '#f5d802de', hcDark: null, hcLight: null }, ( localize(1413, 'Match highlight color in the peek view editor.')));
243
- registerColor('peekViewEditor.matchHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(1414, 'Match highlight border in the peek view editor.')));
241
+ registerColor('peekViewResult.matchHighlightBackground', { dark: '#ea5c004d', light: '#ea5c004d', hcDark: null, hcLight: null }, ( localize(1414, 'Match highlight color in the peek view result list.')));
242
+ const peekViewEditorMatchHighlight = registerColor('peekViewEditor.matchHighlightBackground', { dark: '#ff8f0099', light: '#f5d802de', hcDark: null, hcLight: null }, ( localize(1415, 'Match highlight color in the peek view editor.')));
243
+ registerColor('peekViewEditor.matchHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(1416, 'Match highlight border in the peek view editor.')));
244
244
 
245
245
  export { PeekContext, PeekViewService, PeekViewWidget, peekViewBorder, peekViewEditorBackground, peekViewEditorMatchHighlight, peekViewResultsBackground, peekViewTitleBackground, peekViewTitleForeground, peekViewTitleInfoForeground };
@@ -10,4 +10,4 @@ import { wrapInReloadableClass1 } from '../../../../platform/observable/common/w
10
10
 
11
11
  registerCss(placeholderText);
12
12
  registerEditorContribution(PlaceholderTextContribution.ID, wrapInReloadableClass1(() => PlaceholderTextContribution), EditorContributionInstantiation.Eager);
13
- registerColor('editor.placeholder.foreground', ghostTextForeground, ( localize(1415, 'Foreground color of the placeholder text in the editor.')));
13
+ registerColor('editor.placeholder.foreground', ghostTextForeground, ( localize(1417, 'Foreground color of the placeholder text in the editor.')));
@@ -19,10 +19,10 @@ class ReadOnlyMessageController extends Disposable {
19
19
  let message = this.editor.getOptions().get(EditorOption.readOnlyMessage);
20
20
  if (!message) {
21
21
  if (this.editor.isSimpleWidget) {
22
- message = ( new MarkdownString(( localize(1453, "Cannot edit in read-only input"))));
22
+ message = ( new MarkdownString(( localize(1455, "Cannot edit in read-only input"))));
23
23
  }
24
24
  else {
25
- message = ( new MarkdownString(( localize(1454, "Cannot edit in read-only editor"))));
25
+ message = ( new MarkdownString(( localize(1456, "Cannot edit in read-only editor"))));
26
26
  }
27
27
  }
28
28
  messageController.showMessage(message, this.editor.getPosition());
@@ -94,7 +94,7 @@ class RenameSkeleton {
94
94
  }
95
95
  const result = await provider.provideRenameEdits(this.model, this.position, newName, token);
96
96
  if (!result) {
97
- return this._provideRenameEdits(newName, i + 1, rejects.concat(( localize(1455, "No result."))), token);
97
+ return this._provideRenameEdits(newName, i + 1, rejects.concat(( localize(1457, "No result."))), token);
98
98
  }
99
99
  else if (result.rejectReason) {
100
100
  return this._provideRenameEdits(newName, i + 1, rejects.concat(result.rejectReason), token);
@@ -172,7 +172,7 @@ let RenameController = class RenameController {
172
172
  else {
173
173
  trace('resolve rename location failed', e instanceof Error ? e : JSON.stringify(e, null, '\t'));
174
174
  if (typeof e === 'string' || isMarkdownString(e)) {
175
- MessageController.get(this.editor)?.showMessage(e || ( localize(1456, "An unknown error occurred while resolving rename location")), position);
175
+ MessageController.get(this.editor)?.showMessage(e || ( localize(1458, "An unknown error occurred while resolving rename location")), position);
176
176
  }
177
177
  }
178
178
  return undefined;
@@ -244,16 +244,16 @@ let RenameController = class RenameController {
244
244
  this._bulkEditService.apply(renameResult, {
245
245
  editor: this.editor,
246
246
  showPreview: inputFieldResult.wantsPreview,
247
- label: ( localize(1457, "Renaming '{0}' to '{1}'", loc?.text, inputFieldResult.newName)),
247
+ label: ( localize(1459, "Renaming '{0}' to '{1}'", loc?.text, inputFieldResult.newName)),
248
248
  code: 'undoredo.rename',
249
- quotableLabel: ( localize(1458, "Renaming {0} to {1}", loc?.text, inputFieldResult.newName)),
249
+ quotableLabel: ( localize(1460, "Renaming {0} to {1}", loc?.text, inputFieldResult.newName)),
250
250
  respectAutoSaveConfig: true,
251
251
  reason: EditSources.rename(),
252
252
  }).then(result => {
253
253
  trace('edits applied');
254
254
  if (result.ariaSummary) {
255
255
  alert(( localize(
256
- 1459,
256
+ 1461,
257
257
  "Successfully renamed '{0}' to '{1}'. Summary: {2}",
258
258
  loc.text,
259
259
  inputFieldResult.newName,
@@ -262,12 +262,12 @@ let RenameController = class RenameController {
262
262
  }
263
263
  }).catch(err => {
264
264
  trace(`error when applying edits ${JSON.stringify(err, null, '\t')}`);
265
- this._notificationService.error(( localize(1460, "Rename failed to apply edits")));
265
+ this._notificationService.error(( localize(1462, "Rename failed to apply edits")));
266
266
  this._logService.error(err);
267
267
  });
268
268
  }, err => {
269
269
  trace('error when providing rename edits', JSON.stringify(err, null, '\t'));
270
- this._notificationService.error(( localize(1461, "Rename failed to compute edits")));
270
+ this._notificationService.error(( localize(1463, "Rename failed to compute edits")));
271
271
  this._logService.error(err);
272
272
  }).finally(() => {
273
273
  cts2.dispose();
@@ -302,7 +302,7 @@ class RenameAction extends EditorAction {
302
302
  constructor() {
303
303
  super({
304
304
  id: 'editor.action.rename',
305
- label: ( localize2(1462, "Rename Symbol")),
305
+ label: ( localize2(1464, "Rename Symbol")),
306
306
  precondition: ( ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.hasRenameProvider)),
307
307
  kbOpts: {
308
308
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -382,7 +382,7 @@ registerAction2(class FocusNextRenameSuggestion extends Action2 {
382
382
  super({
383
383
  id: 'focusNextRenameSuggestion',
384
384
  title: {
385
- ...( localize2(1463, "Focus Next Rename Suggestion")),
385
+ ...( localize2(1465, "Focus Next Rename Suggestion")),
386
386
  },
387
387
  precondition: CONTEXT_RENAME_INPUT_VISIBLE,
388
388
  keybinding: [
@@ -410,7 +410,7 @@ registerAction2(class FocusPreviousRenameSuggestion extends Action2 {
410
410
  super({
411
411
  id: 'focusPreviousRenameSuggestion',
412
412
  title: {
413
- ...( localize2(1464, "Focus Previous Rename Suggestion")),
413
+ ...( localize2(1466, "Focus Previous Rename Suggestion")),
414
414
  },
415
415
  precondition: CONTEXT_RENAME_INPUT_VISIBLE,
416
416
  keybinding: [
@@ -453,7 +453,7 @@ registerModelAndPositionCommand('_executePrepareRename', async function (accesso
453
453
  properties: {
454
454
  'editor.rename.enablePreview': {
455
455
  scope: ConfigurationScope.LANGUAGE_OVERRIDABLE,
456
- description: ( localize(1465, "Enable/disable the ability to preview changes before renaming")),
456
+ description: ( localize(1467, "Enable/disable the ability to preview changes before renaming")),
457
457
  default: true,
458
458
  type: 'boolean'
459
459
  }
@@ -44,7 +44,7 @@ import '../../../../platform/theme/common/colors/searchColors.js';
44
44
  import { IThemeService } from '../../../../platform/theme/common/themeService.service.js';
45
45
 
46
46
  registerCss(renameWidget);
47
- const CONTEXT_RENAME_INPUT_VISIBLE = ( new RawContextKey('renameInputVisible', false, ( localize(1466, "Whether the rename input widget is visible"))));
47
+ const CONTEXT_RENAME_INPUT_VISIBLE = ( new RawContextKey('renameInputVisible', false, ( localize(1468, "Whether the rename input widget is visible"))));
48
48
  let RenameWidget = class RenameWidget {
49
49
  constructor(_editor, _acceptKeybindings, _themeService, _keybindingService, contextKeyService, _logService) {
50
50
  this._editor = _editor;
@@ -167,7 +167,7 @@ let RenameWidget = class RenameWidget {
167
167
  beforeRender() {
168
168
  const [accept, preview] = this._acceptKeybindings;
169
169
  this._label.innerText = ( localize(
170
- 1467,
170
+ 1469,
171
171
  "{0} to Rename, {1} to Preview",
172
172
  this._keybindingService.lookupKeybinding(accept)?.getLabel(),
173
173
  this._keybindingService.lookupKeybinding(preview)?.getLabel()
@@ -430,16 +430,16 @@ class RenameCandidateListView {
430
430
  this._listContainer.className = 'rename-box rename-candidate-list-container';
431
431
  parent.appendChild(this._listContainer);
432
432
  this._listWidget = RenameCandidateListView._createListWidget(this._listContainer, this._candidateViewHeight, opts.fontInfo);
433
- this._listWidget.onDidChangeFocus(e => {
433
+ this._disposables.add(this._listWidget.onDidChangeFocus(e => {
434
434
  if (e.elements.length === 1) {
435
435
  opts.onFocusChange(e.elements[0].newSymbolName);
436
436
  }
437
- }, this._disposables);
438
- this._listWidget.onDidChangeSelection(e => {
437
+ }, this._disposables));
438
+ this._disposables.add(this._listWidget.onDidChangeSelection(e => {
439
439
  if (e.elements.length === 1) {
440
440
  opts.onSelectionChange();
441
441
  }
442
- }, this._disposables);
442
+ }, this._disposables));
443
443
  this._disposables.add(this._listWidget.onDidBlur(e => {
444
444
  this._listWidget.setFocus([]);
445
445
  }));
@@ -463,7 +463,7 @@ class RenameCandidateListView {
463
463
  this._listWidget.layout(height, width);
464
464
  this._listContainer.style.height = `${height}px`;
465
465
  this._listContainer.style.width = `${width}px`;
466
- status(( localize(1468, "Received {0} rename suggestions", candidates.length)));
466
+ status(( localize(1470, "Received {0} rename suggestions", candidates.length)));
467
467
  }
468
468
  clearCandidates() {
469
469
  this._listContainer.style.height = '0px';
@@ -602,13 +602,13 @@ class InputWithButton {
602
602
  this._inputNode.className = 'rename-input';
603
603
  this._inputNode.type = 'text';
604
604
  this._inputNode.style.border = 'none';
605
- this._inputNode.setAttribute('aria-label', ( localize(1469, "Rename input. Type new name and press Enter to commit.")));
605
+ this._inputNode.setAttribute('aria-label', ( localize(1471, "Rename input. Type new name and press Enter to commit.")));
606
606
  this._domNode.appendChild(this._inputNode);
607
607
  this._buttonNode = createElement('div');
608
608
  this._buttonNode.className = 'rename-suggestions-button';
609
609
  this._buttonNode.setAttribute('tabindex', '0');
610
- this._buttonGenHoverText = ( localize(1470, "Generate new name suggestions"));
611
- this._buttonCancelHoverText = ( localize(1471, "Cancel"));
610
+ this._buttonGenHoverText = ( localize(1472, "Generate new name suggestions"));
611
+ this._buttonCancelHoverText = ( localize(1473, "Cancel"));
612
612
  this._buttonHoverContent = this._buttonGenHoverText;
613
613
  this._disposables.add(getBaseLayerHoverDelegate().setupDelayedHover(this._buttonNode, () => ({
614
614
  content: this._buttonHoverContent,
@@ -118,7 +118,7 @@ class GrowSelectionAction extends AbstractSmartSelect {
118
118
  constructor() {
119
119
  super(true, {
120
120
  id: 'editor.action.smartSelect.expand',
121
- label: ( localize2(1472, "Expand Selection")),
121
+ label: ( localize2(1474, "Expand Selection")),
122
122
  precondition: undefined,
123
123
  kbOpts: {
124
124
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -132,7 +132,7 @@ class GrowSelectionAction extends AbstractSmartSelect {
132
132
  menuOpts: {
133
133
  menuId: MenuId.MenubarSelectionMenu,
134
134
  group: '1_basic',
135
- title: ( localize(1473, "&&Expand Selection")),
135
+ title: ( localize(1475, "&&Expand Selection")),
136
136
  order: 2
137
137
  }
138
138
  });
@@ -143,7 +143,7 @@ class ShrinkSelectionAction extends AbstractSmartSelect {
143
143
  constructor() {
144
144
  super(false, {
145
145
  id: 'editor.action.smartSelect.shrink',
146
- label: ( localize2(1474, "Shrink Selection")),
146
+ label: ( localize2(1476, "Shrink Selection")),
147
147
  precondition: undefined,
148
148
  kbOpts: {
149
149
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -157,7 +157,7 @@ class ShrinkSelectionAction extends AbstractSmartSelect {
157
157
  menuOpts: {
158
158
  menuId: MenuId.MenubarSelectionMenu,
159
159
  group: '1_basic',
160
- title: ( localize(1475, "&&Shrink Selection")),
160
+ title: ( localize(1477, "&&Shrink Selection")),
161
161
  order: 3
162
162
  }
163
163
  });
@@ -33,9 +33,9 @@ let SnippetController2 = class SnippetController2 {
33
33
  static get(editor) {
34
34
  return editor.getContribution(SnippetController2_1.ID);
35
35
  }
36
- static { this.InSnippetMode = ( new RawContextKey('inSnippetMode', false, ( localize(1476, "Whether the editor in current in snippet mode")))); }
37
- static { this.HasNextTabstop = ( new RawContextKey('hasNextTabstop', false, ( localize(1477, "Whether there is a next tab stop when in snippet mode")))); }
38
- static { this.HasPrevTabstop = ( new RawContextKey('hasPrevTabstop', false, ( localize(1478, "Whether there is a previous tab stop when in snippet mode")))); }
36
+ static { this.InSnippetMode = ( new RawContextKey('inSnippetMode', false, ( localize(1478, "Whether the editor in current in snippet mode")))); }
37
+ static { this.HasNextTabstop = ( new RawContextKey('hasNextTabstop', false, ( localize(1479, "Whether there is a next tab stop when in snippet mode")))); }
38
+ static { this.HasPrevTabstop = ( new RawContextKey('hasPrevTabstop', false, ( localize(1480, "Whether there is a previous tab stop when in snippet mode")))); }
39
39
  constructor(_editor, _logService, _languageFeaturesService, contextKeyService, _languageConfigurationService) {
40
40
  this._editor = _editor;
41
41
  this._logService = _logService;
@@ -124,7 +124,7 @@ let SnippetController2 = class SnippetController2 {
124
124
  sortText: 'a'.repeat(i + 1),
125
125
  range: activeChoice.range,
126
126
  filterText: isAnyOfOptions ? `${word}_${option.value}` : undefined,
127
- command: { id: 'jumpToNextSnippetPlaceholder', title: ( localize(1479, 'Go to next placeholder...')) }
127
+ command: { id: 'jumpToNextSnippetPlaceholder', title: ( localize(1481, 'Go to next placeholder...')) }
128
128
  });
129
129
  }
130
130
  return { suggestions };
@@ -214,10 +214,10 @@ class TimeBasedVariableResolver {
214
214
  constructor() {
215
215
  this._date = ( new Date());
216
216
  }
217
- static { this.dayNames = [( localize(1480, "Sunday")), ( localize(1481, "Monday")), ( localize(1482, "Tuesday")), ( localize(1483, "Wednesday")), ( localize(1484, "Thursday")), ( localize(1485, "Friday")), ( localize(1486, "Saturday"))]; }
218
- static { this.dayNamesShort = [( localize(1487, "Sun")), ( localize(1488, "Mon")), ( localize(1489, "Tue")), ( localize(1490, "Wed")), ( localize(1491, "Thu")), ( localize(1492, "Fri")), ( localize(1493, "Sat"))]; }
219
- static { this.monthNames = [( localize(1494, "January")), ( localize(1495, "February")), ( localize(1496, "March")), ( localize(1497, "April")), ( localize(1498, "May")), ( localize(1499, "June")), ( localize(1500, "July")), ( localize(1501, "August")), ( localize(1502, "September")), ( localize(1503, "October")), ( localize(1504, "November")), ( localize(1505, "December"))]; }
220
- static { this.monthNamesShort = [( localize(1506, "Jan")), ( localize(1507, "Feb")), ( localize(1508, "Mar")), ( localize(1509, "Apr")), ( localize(1510, "May")), ( localize(1511, "Jun")), ( localize(1512, "Jul")), ( localize(1513, "Aug")), ( localize(1514, "Sep")), ( localize(1515, "Oct")), ( localize(1516, "Nov")), ( localize(1517, "Dec"))]; }
217
+ static { this.dayNames = [( localize(1482, "Sunday")), ( localize(1483, "Monday")), ( localize(1484, "Tuesday")), ( localize(1485, "Wednesday")), ( localize(1486, "Thursday")), ( localize(1487, "Friday")), ( localize(1488, "Saturday"))]; }
218
+ static { this.dayNamesShort = [( localize(1489, "Sun")), ( localize(1490, "Mon")), ( localize(1491, "Tue")), ( localize(1492, "Wed")), ( localize(1493, "Thu")), ( localize(1494, "Fri")), ( localize(1495, "Sat"))]; }
219
+ static { this.monthNames = [( localize(1496, "January")), ( localize(1497, "February")), ( localize(1498, "March")), ( localize(1499, "April")), ( localize(1500, "May")), ( localize(1501, "June")), ( localize(1502, "July")), ( localize(1503, "August")), ( localize(1504, "September")), ( localize(1505, "October")), ( localize(1506, "November")), ( localize(1507, "December"))]; }
220
+ static { this.monthNamesShort = [( localize(1508, "Jan")), ( localize(1509, "Feb")), ( localize(1510, "Mar")), ( localize(1511, "Apr")), ( localize(1512, "May")), ( localize(1513, "Jun")), ( localize(1514, "Jul")), ( localize(1515, "Aug")), ( localize(1516, "Sep")), ( localize(1517, "Oct")), ( localize(1518, "Nov")), ( localize(1519, "Dec"))]; }
221
221
  resolve(variable) {
222
222
  const { name } = variable;
223
223
  if (name === 'CURRENT_YEAR') {
@@ -15,20 +15,20 @@ class ToggleStickyScroll extends EditorAction2 {
15
15
  super({
16
16
  id: 'editor.action.toggleStickyScroll',
17
17
  title: {
18
- ...( localize2(1518, "Toggle Editor Sticky Scroll")),
19
- mnemonicTitle: ( localize(1519, "&&Toggle Editor Sticky Scroll")),
18
+ ...( localize2(1520, "Toggle Editor Sticky Scroll")),
19
+ mnemonicTitle: ( localize(1521, "&&Toggle Editor Sticky Scroll")),
20
20
  },
21
21
  metadata: {
22
22
  description: ( localize2(
23
- 1520,
23
+ 1522,
24
24
  "Toggle/enable the editor sticky scroll which shows the nested scopes at the top of the viewport"
25
25
  )),
26
26
  },
27
27
  category: Categories.View,
28
28
  toggled: {
29
29
  condition: ( ContextKeyExpr.equals('config.editor.stickyScroll.enabled', true)),
30
- title: ( localize(1521, "Sticky Scroll")),
31
- mnemonicTitle: ( localize(1522, "&&Sticky Scroll")),
30
+ title: ( localize(1523, "Sticky Scroll")),
31
+ mnemonicTitle: ( localize(1524, "&&Sticky Scroll")),
32
32
  },
33
33
  menu: [
34
34
  { id: MenuId.CommandPalette },
@@ -53,8 +53,8 @@ class FocusStickyScroll extends EditorAction2 {
53
53
  super({
54
54
  id: 'editor.action.focusStickyScroll',
55
55
  title: {
56
- ...( localize2(1523, "Focus Editor Sticky Scroll")),
57
- mnemonicTitle: ( localize(1524, "&&Focus Editor Sticky Scroll")),
56
+ ...( localize2(1525, "Focus Editor Sticky Scroll")),
57
+ mnemonicTitle: ( localize(1526, "&&Focus Editor Sticky Scroll")),
58
58
  },
59
59
  precondition: ( ContextKeyExpr.and(( ContextKeyExpr.has('config.editor.stickyScroll.enabled')), EditorContextKeys.stickyScrollVisible)),
60
60
  menu: [
@@ -70,7 +70,7 @@ class SelectNextStickyScrollLine extends EditorAction2 {
70
70
  constructor() {
71
71
  super({
72
72
  id: 'editor.action.selectNextStickyScrollLine',
73
- title: ( localize2(1525, "Select the next editor sticky scroll line")),
73
+ title: ( localize2(1527, "Select the next editor sticky scroll line")),
74
74
  precondition: ( EditorContextKeys.stickyScrollFocused.isEqualTo(true)),
75
75
  keybinding: {
76
76
  weight,
@@ -86,7 +86,7 @@ class SelectPreviousStickyScrollLine extends EditorAction2 {
86
86
  constructor() {
87
87
  super({
88
88
  id: 'editor.action.selectPreviousStickyScrollLine',
89
- title: ( localize2(1526, "Select the previous sticky scroll line")),
89
+ title: ( localize2(1528, "Select the previous sticky scroll line")),
90
90
  precondition: ( EditorContextKeys.stickyScrollFocused.isEqualTo(true)),
91
91
  keybinding: {
92
92
  weight,
@@ -102,7 +102,7 @@ class GoToStickyScrollLine extends EditorAction2 {
102
102
  constructor() {
103
103
  super({
104
104
  id: 'editor.action.goToFocusedStickyScrollLine',
105
- title: ( localize2(1527, "Go to the focused sticky scroll line")),
105
+ title: ( localize2(1529, "Go to the focused sticky scroll line")),
106
106
  precondition: ( EditorContextKeys.stickyScrollFocused.isEqualTo(true)),
107
107
  keybinding: {
108
108
  weight,
@@ -118,7 +118,7 @@ class SelectEditor extends EditorAction2 {
118
118
  constructor() {
119
119
  super({
120
120
  id: 'editor.action.selectEditor',
121
- title: ( localize2(1528, "Select Editor")),
121
+ title: ( localize2(1530, "Select Editor")),
122
122
  precondition: ( EditorContextKeys.stickyScrollFocused.isEqualTo(true)),
123
123
  keybinding: {
124
124
  weight,
@@ -21,21 +21,21 @@ import { StandardTokenType } from '../../../common/encodedTokenAttributes.js';
21
21
 
22
22
  const Context = {
23
23
  Visible: historyNavigationVisible,
24
- HasFocusedSuggestion: ( new RawContextKey('suggestWidgetHasFocusedSuggestion', false, ( localize(1529, "Whether any suggestion is focused")))),
25
- DetailsVisible: ( new RawContextKey('suggestWidgetDetailsVisible', false, ( localize(1530, "Whether suggestion details are visible")))),
26
- MultipleSuggestions: ( new RawContextKey('suggestWidgetMultipleSuggestions', false, ( localize(1531, "Whether there are multiple suggestions to pick from")))),
24
+ HasFocusedSuggestion: ( new RawContextKey('suggestWidgetHasFocusedSuggestion', false, ( localize(1531, "Whether any suggestion is focused")))),
25
+ DetailsVisible: ( new RawContextKey('suggestWidgetDetailsVisible', false, ( localize(1532, "Whether suggestion details are visible")))),
26
+ MultipleSuggestions: ( new RawContextKey('suggestWidgetMultipleSuggestions', false, ( localize(1533, "Whether there are multiple suggestions to pick from")))),
27
27
  MakesTextEdit: ( new RawContextKey('suggestionMakesTextEdit', true, ( localize(
28
- 1532,
28
+ 1534,
29
29
  "Whether inserting the current suggestion yields in a change or has everything already been typed"
30
30
  )))),
31
- AcceptSuggestionsOnEnter: ( new RawContextKey('acceptSuggestionOnEnter', true, ( localize(1533, "Whether suggestions are inserted when pressing Enter")))),
32
- HasInsertAndReplaceRange: ( new RawContextKey('suggestionHasInsertAndReplaceRange', false, ( localize(1534, "Whether the current suggestion has insert and replace behaviour")))),
31
+ AcceptSuggestionsOnEnter: ( new RawContextKey('acceptSuggestionOnEnter', true, ( localize(1535, "Whether suggestions are inserted when pressing Enter")))),
32
+ HasInsertAndReplaceRange: ( new RawContextKey('suggestionHasInsertAndReplaceRange', false, ( localize(1536, "Whether the current suggestion has insert and replace behaviour")))),
33
33
  InsertMode: ( new RawContextKey(
34
34
  'suggestionInsertMode',
35
35
  undefined,
36
- { type: 'string', description: ( localize(1535, "Whether the default behaviour is to insert or replace")) }
36
+ { type: 'string', description: ( localize(1537, "Whether the default behaviour is to insert or replace")) }
37
37
  )),
38
- CanResolve: ( new RawContextKey('suggestionCanResolve', false, ( localize(1536, "Whether the current suggestion supports to resolve further details")))),
38
+ CanResolve: ( new RawContextKey('suggestionCanResolve', false, ( localize(1538, "Whether the current suggestion supports to resolve further details")))),
39
39
  };
40
40
  const suggestWidgetStatusbarMenu = ( new MenuId('suggestWidgetStatusBar'));
41
41
  class CompletionItem {
@@ -39,9 +39,10 @@ export declare class SuggestController implements IEditorContribution {
39
39
  private readonly _overtypingCapturer;
40
40
  private readonly _selectors;
41
41
  private readonly _onWillInsertSuggestItem;
42
- readonly onWillInsertSuggestItem: Event<{
42
+ get onWillInsertSuggestItem(): Event<{
43
43
  item: CompletionItem;
44
44
  }>;
45
+ private _wantsForceRenderingAbove;
45
46
  constructor(editor: ICodeEditor, _memoryService: ISuggestMemoryService, _commandService: ICommandService, _contextKeyService: IContextKeyService, _instantiationService: IInstantiationService, _logService: ILogService, _telemetryService: ITelemetryService);
46
47
  dispose(): void;
47
48
  protected _insertSuggestion(event: ISelectedSuggestion | undefined, flags: InsertFlags): void;
@@ -103,6 +103,7 @@ let SuggestController = class SuggestController {
103
103
  static get(editor) {
104
104
  return editor.getContribution(SuggestController_1.ID);
105
105
  }
106
+ get onWillInsertSuggestItem() { return this._onWillInsertSuggestItem.event; }
106
107
  constructor(editor, _memoryService, _commandService, _contextKeyService, _instantiationService, _logService, _telemetryService) {
107
108
  this._memoryService = _memoryService;
108
109
  this._commandService = _commandService;
@@ -114,7 +115,7 @@ let SuggestController = class SuggestController {
114
115
  this._toDispose = ( new DisposableStore());
115
116
  this._selectors = ( new PriorityRegistry(s => s.priority));
116
117
  this._onWillInsertSuggestItem = ( new Emitter());
117
- this.onWillInsertSuggestItem = this._onWillInsertSuggestItem.event;
118
+ this._wantsForceRenderingAbove = false;
118
119
  this.editor = editor;
119
120
  this.model = _instantiationService.createInstance(SuggestModel, this.editor);
120
121
  this._selectors.register({
@@ -175,6 +176,9 @@ let SuggestController = class SuggestController {
175
176
  this.editor.focus();
176
177
  }
177
178
  }));
179
+ if (this._wantsForceRenderingAbove) {
180
+ widget.forceRenderingAbove();
181
+ }
178
182
  return widget;
179
183
  })));
180
184
  this._overtypingCapturer = this._toDispose.add(( new WindowIdleValue(getWindow(editor.getDomNode()), () => {
@@ -451,7 +455,7 @@ let SuggestController = class SuggestController {
451
455
  _alertCompletionItem(item) {
452
456
  if (isNonEmptyArray(item.completion.additionalTextEdits)) {
453
457
  const msg = ( localize(
454
- 1537,
458
+ 1539,
455
459
  "Accepting '{0}' made {1} additional edits",
456
460
  item.textLabel,
457
461
  item.completion.additionalTextEdits.length
@@ -579,13 +583,20 @@ let SuggestController = class SuggestController {
579
583
  this.widget.value.resetPersistedSize();
580
584
  }
581
585
  forceRenderingAbove() {
582
- this.widget.value.forceRenderingAbove();
586
+ if (this.widget.isInitialized) {
587
+ this.widget.value.forceRenderingAbove();
588
+ }
589
+ else {
590
+ this._wantsForceRenderingAbove = true;
591
+ }
583
592
  }
584
593
  stopForceRenderingAbove() {
585
- if (!this.widget.isInitialized) {
586
- return;
594
+ if (this.widget.isInitialized) {
595
+ this.widget.value.stopForceRenderingAbove();
596
+ }
597
+ else {
598
+ this._wantsForceRenderingAbove = false;
587
599
  }
588
- this.widget.value.stopForceRenderingAbove();
589
600
  }
590
601
  registerSelector(selector) {
591
602
  return this._selectors.register(selector);
@@ -628,7 +639,7 @@ class TriggerSuggestAction extends EditorAction {
628
639
  constructor() {
629
640
  super({
630
641
  id: TriggerSuggestAction.id,
631
- label: ( localize2(1538, "Trigger Suggest")),
642
+ label: ( localize2(1540, "Trigger Suggest")),
632
643
  precondition: ( ContextKeyExpr.and(
633
644
  EditorContextKeys.writable,
634
645
  EditorContextKeys.hasCompletionItemProvider,
@@ -683,19 +694,19 @@ registerEditorCommand(( new SuggestCommand({
683
694
  }],
684
695
  menuOpts: [{
685
696
  menuId: suggestWidgetStatusbarMenu,
686
- title: ( localize(1539, "Insert")),
697
+ title: ( localize(1541, "Insert")),
687
698
  group: 'left',
688
699
  order: 1,
689
700
  when: ( Context.HasInsertAndReplaceRange.toNegated())
690
701
  }, {
691
702
  menuId: suggestWidgetStatusbarMenu,
692
- title: ( localize(1539, "Insert")),
703
+ title: ( localize(1541, "Insert")),
693
704
  group: 'left',
694
705
  order: 1,
695
706
  when: ( ContextKeyExpr.and(Context.HasInsertAndReplaceRange, ( Context.InsertMode.isEqualTo('insert'))))
696
707
  }, {
697
708
  menuId: suggestWidgetStatusbarMenu,
698
- title: ( localize(1540, "Replace")),
709
+ title: ( localize(1542, "Replace")),
699
710
  group: 'left',
700
711
  order: 1,
701
712
  when: ( ContextKeyExpr.and(Context.HasInsertAndReplaceRange, ( Context.InsertMode.isEqualTo('replace'))))
@@ -722,13 +733,13 @@ registerEditorCommand(( new SuggestCommand({
722
733
  group: 'left',
723
734
  order: 2,
724
735
  when: ( ContextKeyExpr.and(Context.HasInsertAndReplaceRange, ( Context.InsertMode.isEqualTo('insert')))),
725
- title: ( localize(1540, "Replace"))
736
+ title: ( localize(1542, "Replace"))
726
737
  }, {
727
738
  menuId: suggestWidgetStatusbarMenu,
728
739
  group: 'left',
729
740
  order: 2,
730
741
  when: ( ContextKeyExpr.and(Context.HasInsertAndReplaceRange, ( Context.InsertMode.isEqualTo('replace')))),
731
- title: ( localize(1539, "Insert"))
742
+ title: ( localize(1541, "Insert"))
732
743
  }]
733
744
  })));
734
745
  CommandsRegistry.registerCommandAlias('acceptSelectedSuggestionOnEnter', 'acceptSelectedSuggestion');
@@ -835,13 +846,13 @@ registerEditorCommand(( new SuggestCommand({
835
846
  group: 'right',
836
847
  order: 1,
837
848
  when: ( ContextKeyExpr.and(Context.DetailsVisible, Context.CanResolve)),
838
- title: ( localize(1541, "Show Less"))
849
+ title: ( localize(1543, "Show Less"))
839
850
  }, {
840
851
  menuId: suggestWidgetStatusbarMenu,
841
852
  group: 'right',
842
853
  order: 1,
843
854
  when: ( ContextKeyExpr.and(( Context.DetailsVisible.toNegated()), Context.CanResolve)),
844
- title: ( localize(1542, "Show More"))
855
+ title: ( localize(1544, "Show More"))
845
856
  }]
846
857
  })));
847
858
  registerEditorCommand(( new SuggestCommand({
@@ -899,7 +910,7 @@ registerEditorAction(class extends EditorAction {
899
910
  constructor() {
900
911
  super({
901
912
  id: 'editor.action.resetSuggestSize',
902
- label: ( localize2(1543, "Reset Suggest Widget Size")),
913
+ label: ( localize2(1545, "Reset Suggest Widget Size")),
903
914
  precondition: undefined
904
915
  });
905
916
  }