@codingame/monaco-vscode-api 21.6.0 → 22.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (446) hide show
  1. package/missing-services.js +68 -78
  2. package/package.json +8 -8
  3. package/services.d.ts +4 -4
  4. package/services.js +5 -4
  5. package/vscode/product.json.js +1 -1
  6. package/vscode/src/vs/base/browser/dom.js +6 -3
  7. package/vscode/src/vs/base/browser/domSanitize.d.ts +8 -0
  8. package/vscode/src/vs/base/browser/domSanitize.js +49 -27
  9. package/vscode/src/vs/base/browser/domStylesheets.js +5 -1
  10. package/vscode/src/vs/base/browser/markdownRenderer.js +7 -5
  11. package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  12. package/vscode/src/vs/base/browser/ui/contextview/contextview.js +2 -2
  13. package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +1 -1
  14. package/vscode/src/vs/base/browser/ui/menu/menu.js +1 -0
  15. package/vscode/src/vs/base/browser/ui/progressbar/progressbar.d.ts +1 -1
  16. package/vscode/src/vs/base/common/async.js +6 -0
  17. package/vscode/src/vs/base/common/cancellation.d.ts +21 -0
  18. package/vscode/src/vs/base/common/cancellation.js +42 -1
  19. package/vscode/src/vs/base/common/codicons.d.ts +3 -0
  20. package/vscode/src/vs/base/common/codiconsLibrary.d.ts +3 -0
  21. package/vscode/src/vs/base/common/codiconsLibrary.js +3 -0
  22. package/vscode/src/vs/base/common/decorators/cancelPreviousCalls.d.ts +84 -0
  23. package/vscode/src/vs/base/common/decorators.d.ts +1 -1
  24. package/vscode/src/vs/base/common/htmlContent.d.ts +2 -0
  25. package/vscode/src/vs/base/common/htmlContent.js +9 -6
  26. package/vscode/src/vs/base/common/lifecycle.js +21 -7
  27. package/vscode/src/vs/base/common/numbers.d.ts +0 -45
  28. package/vscode/src/vs/base/common/oauth.d.ts +33 -0
  29. package/vscode/src/vs/base/common/oauth.js +79 -3
  30. package/vscode/src/vs/base/common/observableInternal/base.d.ts +4 -0
  31. package/vscode/src/vs/base/common/observableInternal/index.js +3 -0
  32. package/vscode/src/vs/base/common/observableInternal/logging/debugGetDependencyGraph.d.ts +4 -0
  33. package/vscode/src/vs/base/common/observableInternal/logging/debugGetDependencyGraph.js +98 -0
  34. package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.d.ts +4 -0
  35. package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.js +8 -1
  36. package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.d.ts +1 -0
  37. package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.js +10 -0
  38. package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.d.ts +4 -0
  39. package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.js +3 -0
  40. package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.d.ts +1 -0
  41. package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.js +9 -0
  42. package/vscode/src/vs/base/common/product.d.ts +7 -1
  43. package/vscode/src/vs/base/common/strings.d.ts +0 -1
  44. package/vscode/src/vs/base/common/strings.js +9 -4
  45. package/vscode/src/vs/base/common/uriIpc.js +24 -1
  46. package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderContentRich.js +26 -16
  47. package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderContentSimple.js +3 -3
  48. package/vscode/src/vs/editor/browser/services/hoverService/hover.css +1 -1
  49. package/vscode/src/vs/editor/browser/widget/diffEditor/commands.d.ts +3 -1
  50. package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -1
  51. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +8 -8
  52. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +4 -4
  53. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.d.ts +1 -0
  54. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +26 -1
  55. package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +1 -1
  56. package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +1 -1
  57. package/vscode/src/vs/editor/common/config/editorOptions.d.ts +93 -85
  58. package/vscode/src/vs/editor/common/config/editorOptions.js +386 -351
  59. package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
  60. package/vscode/src/vs/editor/common/core/ranges/lineRange.d.ts +3 -3
  61. package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
  62. package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
  63. package/vscode/src/vs/editor/common/languages.d.ts +5 -1
  64. package/vscode/src/vs/editor/common/languages.js +56 -56
  65. package/vscode/src/vs/editor/common/model/editStack.js +1 -1
  66. package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +86 -85
  67. package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +86 -85
  68. package/vscode/src/vs/editor/common/standaloneStrings.js +47 -47
  69. package/vscode/src/vs/editor/common/textModelEditSource.d.ts +1 -0
  70. package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
  71. package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +9 -7
  72. package/vscode/src/vs/editor/common/viewModel/screenReaderSimpleModel.d.ts +1 -0
  73. package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
  74. package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
  75. package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
  76. package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
  77. package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
  78. package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
  79. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
  80. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
  81. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
  82. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
  83. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
  84. package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
  85. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
  86. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
  87. package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
  88. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
  89. package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
  90. package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
  91. package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  92. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
  93. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
  94. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
  95. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
  96. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
  97. package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  98. package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
  99. package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +26 -26
  100. package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.contribution.d.ts +1 -0
  101. package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.contribution.js +8 -0
  102. package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.css +44 -0
  103. package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.d.ts +10 -0
  104. package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.js +81 -0
  105. package/vscode/src/vs/editor/contrib/folding/browser/folding.js +21 -20
  106. package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  107. package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  108. package/vscode/src/vs/editor/contrib/format/browser/format.js +3 -0
  109. package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
  110. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
  111. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
  112. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
  113. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.d.ts +4 -1
  114. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js +20 -11
  115. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
  116. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
  117. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  118. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  119. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  120. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
  121. package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  122. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +2 -1
  123. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
  124. package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
  125. package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  126. package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
  127. package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
  128. package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
  129. package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  130. package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
  131. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHints.js +2 -7
  132. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
  133. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -19
  134. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
  135. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +18 -13
  136. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
  137. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
  138. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +3 -1
  139. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +14 -6
  140. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +7 -1
  141. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +154 -5
  142. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +1 -0
  143. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +3 -0
  144. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +7 -3
  145. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +18 -3
  146. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/telemetry.d.ts +45 -0
  147. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/telemetry.js +7 -0
  148. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +16 -15
  149. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +5 -2
  150. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
  151. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js +2 -2
  152. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +24 -21
  153. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css +13 -4
  154. package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  155. package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  156. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.d.ts +2 -1
  157. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +36 -35
  158. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
  159. package/vscode/src/vs/editor/contrib/links/browser/links.js +11 -11
  160. package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
  161. package/vscode/src/vs/editor/contrib/middleScroll/browser/middleScrollController.js +3 -3
  162. package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  163. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  164. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  165. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  166. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  167. package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
  168. package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
  169. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
  170. package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
  171. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.d.ts +3 -0
  172. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +13 -4
  173. package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  174. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  175. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +12 -19
  176. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +10 -1
  177. package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
  178. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
  179. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +18 -18
  180. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
  181. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  182. package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
  183. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  184. package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  185. package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  186. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  187. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +26 -26
  188. package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  189. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  190. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
  191. package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
  192. package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +1 -1
  193. package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +0 -1
  194. package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.js +1 -0
  195. package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +1 -1
  196. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
  197. package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
  198. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +9 -6
  199. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +13 -14
  200. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
  201. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
  202. package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +1 -1
  203. package/vscode/src/vs/platform/actions/browser/toolbar.js +5 -5
  204. package/vscode/src/vs/platform/actions/common/actions.d.ts +2 -0
  205. package/vscode/src/vs/platform/actions/common/actions.js +2 -0
  206. package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
  207. package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
  208. package/vscode/src/vs/platform/assignment/common/assignment.d.ts +6 -1
  209. package/vscode/src/vs/platform/clipboard/browser/clipboardService.js +2 -2
  210. package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +10 -10
  211. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.d.ts +2 -0
  212. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +32 -3
  213. package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
  214. package/vscode/src/vs/platform/contextkey/common/contextkeys.d.ts +0 -1
  215. package/vscode/src/vs/platform/contextkey/common/contextkeys.js +10 -11
  216. package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
  217. package/vscode/src/vs/platform/dataChannel/browser/forwardingTelemetryService.d.ts +32 -0
  218. package/vscode/src/vs/platform/dataChannel/browser/forwardingTelemetryService.js +86 -0
  219. package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
  220. package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
  221. package/vscode/src/vs/platform/environment/common/argv.d.ts +1 -0
  222. package/vscode/src/vs/platform/environment/common/environment.service.d.ts +0 -1
  223. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +19 -19
  224. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
  225. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
  226. package/vscode/src/vs/platform/extensionManagement/common/implicitActivationEvents.d.ts +1 -3
  227. package/vscode/src/vs/platform/extensionManagement/common/implicitActivationEvents.js +1 -1
  228. package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
  229. package/vscode/src/vs/platform/extensions/common/extensions.d.ts +2 -1
  230. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +4 -3
  231. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +4 -3
  232. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
  233. package/vscode/src/vs/platform/files/common/files.js +6 -6
  234. package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  235. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  236. package/vscode/src/vs/platform/list/browser/listService.js +27 -27
  237. package/vscode/src/vs/platform/log/common/log.js +6 -6
  238. package/vscode/src/vs/platform/markers/common/markerService.js +2 -2
  239. package/vscode/src/vs/platform/markers/common/markers.js +6 -6
  240. package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.d.ts +10 -2
  241. package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.js +10 -2
  242. package/vscode/src/vs/platform/mcp/common/mcpManagement.service.d.ts +3 -3
  243. package/vscode/src/vs/platform/notification/common/notification.js +3 -3
  244. package/vscode/src/vs/platform/product/common/product.js +3 -3
  245. package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +1 -0
  246. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +23 -15
  247. package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +47 -13
  248. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +10 -61
  249. package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +1 -1
  250. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  251. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
  252. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.d.ts +6 -0
  253. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.js +10 -0
  254. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js +10 -5
  255. package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +4 -1
  256. package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +10 -1
  257. package/vscode/src/vs/platform/request/common/request.js +34 -18
  258. package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
  259. package/vscode/src/vs/platform/terminal/common/terminal.d.ts +2 -3
  260. package/vscode/src/vs/platform/terminal/common/terminal.js +6 -7
  261. package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
  262. package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
  263. package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
  264. package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
  265. package/vscode/src/vs/platform/theme/common/colors/inputColors.js +47 -47
  266. package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
  267. package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
  268. package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
  269. package/vscode/src/vs/platform/theme/common/colors/miscColors.js +15 -15
  270. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  271. package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
  272. package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
  273. package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  274. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
  275. package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
  276. package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
  277. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +11 -10
  278. package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +25 -24
  279. package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +4 -4
  280. package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +10 -18
  281. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +5 -0
  282. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +16 -4
  283. package/vscode/src/vs/workbench/api/common/extHostChatSessions.d.ts +1 -3
  284. package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +9 -5
  285. package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +1 -1
  286. package/vscode/src/vs/workbench/api/common/extHostDebugService.js +0 -3
  287. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
  288. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
  289. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
  290. package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +9 -4
  291. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +7 -2
  292. package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
  293. package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +97 -9
  294. package/vscode/src/vs/workbench/api/common/extHostMcp.js +66 -62
  295. package/vscode/src/vs/workbench/api/common/extHostNotebook.d.ts +1 -1
  296. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
  297. package/vscode/src/vs/workbench/api/common/extHostSCM.d.ts +2 -0
  298. package/vscode/src/vs/workbench/api/common/extHostSCM.js +22 -0
  299. package/vscode/src/vs/workbench/api/common/extHostSecrets.d.ts +0 -1
  300. package/vscode/src/vs/workbench/api/common/extHostSecrets.js +0 -3
  301. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
  302. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
  303. package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +2 -2
  304. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +8 -8
  305. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +53 -3
  306. package/vscode/src/vs/workbench/api/common/extHostTunnelService.d.ts +2 -0
  307. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +5 -2
  308. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +6 -2
  309. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +60 -9
  310. package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +18 -14
  311. package/vscode/src/vs/workbench/api/common/extHostTypes.js +7 -7
  312. package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +1 -1
  313. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
  314. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
  315. package/vscode/src/vs/workbench/browser/actions/developerActions.js +262 -31
  316. package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
  317. package/vscode/src/vs/workbench/browser/contextkeys.d.ts +5 -7
  318. package/vscode/src/vs/workbench/browser/contextkeys.js +15 -43
  319. package/vscode/src/vs/workbench/common/configuration.js +9 -9
  320. package/vscode/src/vs/workbench/common/contextkeys.js +73 -73
  321. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
  322. package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
  323. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
  324. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
  325. package/vscode/src/vs/workbench/common/editor.js +4 -4
  326. package/vscode/src/vs/workbench/common/theme.js +167 -167
  327. package/vscode/src/vs/workbench/common/views.js +4 -4
  328. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +3 -2
  329. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +175 -158
  330. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
  331. package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +2 -1
  332. package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.service.d.ts +1 -1
  333. package/vscode/src/vs/workbench/contrib/chat/browser/chatContextPickService.service.d.ts +1 -1
  334. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.d.ts +1 -0
  335. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +15 -9
  336. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +7 -0
  337. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +61 -66
  338. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +2 -1
  339. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +2 -2
  340. package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.service.d.ts +1 -2
  341. package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +24 -8
  342. package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +8 -1
  343. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +6 -2
  344. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +0 -2
  345. package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.d.ts +28 -3
  346. package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.js +35 -6
  347. package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +16 -6
  348. package/vscode/src/vs/workbench/contrib/chat/common/constants.js +11 -8
  349. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +9 -2
  350. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +4 -4
  351. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +10 -3
  352. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +8 -4
  353. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +50 -42
  354. package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +1 -1
  355. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +23 -8
  356. package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.d.ts +4 -3
  357. package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.js +29 -29
  358. package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.js +4 -3
  359. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
  360. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
  361. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
  362. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
  363. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
  364. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +7 -6
  365. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
  366. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
  367. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
  368. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
  369. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
  370. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
  371. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
  372. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
  373. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
  374. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +2 -2
  375. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
  376. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.d.ts +3 -1
  377. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
  378. package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +4 -4
  379. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
  380. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
  381. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
  382. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
  383. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  384. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
  385. package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
  386. package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
  387. package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.d.ts +6 -1
  388. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +33 -0
  389. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +16 -5
  390. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +2 -2
  391. package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocol.d.ts +217 -60
  392. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.d.ts +1 -1
  393. package/vscode/src/vs/workbench/contrib/scm/common/history.d.ts +2 -0
  394. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
  395. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
  396. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
  397. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
  398. package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
  399. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +7 -7
  400. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +1 -1
  401. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.d.ts +16 -3
  402. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +18 -6
  403. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +42 -8
  404. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.js +2 -1
  405. package/vscode/src/vs/workbench/contrib/testing/common/constants.d.ts +1 -0
  406. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +12 -11
  407. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
  408. package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +2 -2
  409. package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +1 -1
  410. package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +4 -4
  411. package/vscode/src/vs/workbench/services/authentication/common/authentication.js +2 -2
  412. package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +6 -6
  413. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.d.ts +286 -0
  414. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +861 -0
  415. package/vscode/src/vs/workbench/{contrib → services}/chat/common/chatEntitlementService.service.d.ts +8 -2
  416. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
  417. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
  418. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +87 -87
  419. package/vscode/src/vs/workbench/services/language/common/languageService.js +30 -30
  420. package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
  421. package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +1 -1
  422. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
  423. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
  424. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
  425. package/vscode/src/vs/workbench/services/textfile/common/encoding.js +1 -1
  426. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
  427. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
  428. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
  429. package/vscode-dts/vscode.d.ts +92 -47
  430. package/vscode-dts/vscode.proposed.authenticationChallenges.d.ts +7 -80
  431. package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +14 -1
  432. package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +12 -0
  433. package/vscode-dts/vscode.proposed.chatProvider.d.ts +19 -0
  434. package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +19 -11
  435. package/vscode-dts/vscode.proposed.d.ts +1 -1
  436. package/vscode-dts/{vscode.proposed.secretStorageKeys.d.ts → vscode.proposed.devDeviceId.d.ts} +3 -4
  437. package/vscode-dts/vscode.proposed.languageModelCapabilities.d.ts +5 -0
  438. package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +2 -0
  439. package/vscode-dts/vscode.proposed.terminalCompletionProvider.d.ts +70 -16
  440. package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.d.ts +0 -8
  441. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/codecs/base/frontMatterCodec/tokens/index.d.ts +0 -5
  442. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/codecs/base/simpleCodec/tokens/tokens.d.ts +0 -20
  443. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +0 -55
  444. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +0 -91
  445. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +0 -125
  446. /package/vscode/src/vs/workbench/{contrib → services}/chat/common/chatEntitlementService.service.js +0 -0
@@ -408,7 +408,7 @@ function createMenuHide(menu, command, states) {
408
408
  const title = typeof command.title === 'string' ? command.title : command.title.value;
409
409
  const hide = toAction({
410
410
  id: `hide/${menu.id}/${id}`,
411
- label: ( localize(1737, 'Hide \'{0}\'', title)),
411
+ label: ( localize(1740, 'Hide \'{0}\'', title)),
412
412
  run() { states.updateHidden(menu, id, true); }
413
413
  });
414
414
  const toggle = toAction({
@@ -426,7 +426,7 @@ function createMenuHide(menu, command, states) {
426
426
  function createConfigureKeybindingAction(commandService, keybindingService, commandId, when = undefined, enabled = true) {
427
427
  return toAction({
428
428
  id: `configureKeybinding/${commandId}`,
429
- label: ( localize(1738, "Configure Keybinding")),
429
+ label: ( localize(1741, "Configure Keybinding")),
430
430
  enabled,
431
431
  run() {
432
432
  const hasKeybinding = !!keybindingService.lookupKeybinding(commandId);
@@ -33,6 +33,10 @@ export declare enum Filters {
33
33
  * Client Id which is used as primary unit for the experimentation.
34
34
  */
35
35
  ClientId = "X-MSEdge-ClientId",
36
+ /**
37
+ * Developer Device Id which can be used as an alternate unit for experimentation.
38
+ */
39
+ DeveloperDeviceId = "X-VSCode-DevDeviceId",
36
40
  /**
37
41
  * Extension header.
38
42
  */
@@ -55,8 +59,9 @@ export declare class AssignmentFilterProvider implements IExperimentationFilterP
55
59
  private version;
56
60
  private appName;
57
61
  private machineId;
62
+ private devDeviceId;
58
63
  private targetPopulation;
59
- constructor(version: string, appName: string, machineId: string, targetPopulation: TargetPopulation);
64
+ constructor(version: string, appName: string, machineId: string, devDeviceId: string, targetPopulation: TargetPopulation);
60
65
  /**
61
66
  * Returns a version string that can be parsed by the TAS client.
62
67
  * The tas client cannot handle suffixes lke "-insider"
@@ -1,7 +1,7 @@
1
1
 
2
2
  import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
3
3
  import { isSafari, isWebkitWebView } from '../../../base/browser/browser.js';
4
- import { onDidRegisterWindow, addDisposableListener, getActiveWindow, getActiveDocument, $, isHTMLElement } from '../../../base/browser/dom.js';
4
+ import { onDidRegisterWindow, addDisposableListener, getActiveWindow, getActiveDocument, getActiveElement, $, isHTMLElement } from '../../../base/browser/dom.js';
5
5
  import { mainWindow } from '../../../base/browser/window.js';
6
6
  import { DeferredPromise } from '../../../base/common/async.js';
7
7
  import { Event } from '../../../base/common/event.js';
@@ -97,7 +97,7 @@ let BrowserClipboardService = class BrowserClipboardService extends Disposable {
97
97
  fallbackWriteText(text) {
98
98
  this.logService.trace('BrowserClipboardService#fallbackWriteText');
99
99
  const activeDocument = getActiveDocument();
100
- const activeElement = activeDocument.activeElement;
100
+ const activeElement = getActiveElement();
101
101
  const textArea = activeDocument.body.appendChild($('textarea', { 'aria-hidden': true }));
102
102
  textArea.style.height = '1px';
103
103
  textArea.style.width = '1px';
@@ -48,7 +48,7 @@ class ConfigurationRegistry extends Disposable {
48
48
  this.configurationDefaultsOverrides = ( new Map());
49
49
  this.defaultLanguageConfigurationOverridesNode = {
50
50
  id: 'defaultOverrides',
51
- title: ( localize(1739, "Default Language Configuration Overrides")),
51
+ title: ( localize(1742, "Default Language Configuration Overrides")),
52
52
  properties: {}
53
53
  };
54
54
  this.configurationContributors = [this.defaultLanguageConfigurationOverridesNode];
@@ -197,7 +197,7 @@ class ConfigurationRegistry extends Disposable {
197
197
  type: 'object',
198
198
  default: newDefaultOverride.value,
199
199
  description: ( localize(
200
- 1740,
200
+ 1743,
201
201
  "Configure settings to be overridden for {0}.",
202
202
  getLanguageTagSettingPlainKey(key)
203
203
  )),
@@ -478,8 +478,8 @@ class ConfigurationRegistry extends Disposable {
478
478
  const overrideIdentifierProperty = `[${overrideIdentifier}]`;
479
479
  const resourceLanguagePropertiesSchema = {
480
480
  type: 'object',
481
- description: ( localize(1741, "Configure editor settings to be overridden for a language.")),
482
- errorMessage: ( localize(1742, "This setting does not support per-language configuration.")),
481
+ description: ( localize(1744, "Configure editor settings to be overridden for a language.")),
482
+ errorMessage: ( localize(1745, "This setting does not support per-language configuration.")),
483
483
  $ref: resourceLanguageSettingsSchemaId,
484
484
  };
485
485
  this.updatePropertyDefaultValue(overrideIdentifierProperty, resourceLanguagePropertiesSchema);
@@ -495,8 +495,8 @@ class ConfigurationRegistry extends Disposable {
495
495
  registerOverridePropertyPatternKey() {
496
496
  const resourceLanguagePropertiesSchema = {
497
497
  type: 'object',
498
- description: ( localize(1741, "Configure editor settings to be overridden for a language.")),
499
- errorMessage: ( localize(1742, "This setting does not support per-language configuration.")),
498
+ description: ( localize(1744, "Configure editor settings to be overridden for a language.")),
499
+ errorMessage: ( localize(1745, "This setting does not support per-language configuration.")),
500
500
  $ref: resourceLanguageSettingsSchemaId,
501
501
  };
502
502
  allSettings.patternProperties[OVERRIDE_PROPERTY_PATTERN] = resourceLanguagePropertiesSchema;
@@ -572,25 +572,25 @@ const configurationRegistry = ( new ConfigurationRegistry());
572
572
  Registry.add(Extensions.Configuration, configurationRegistry);
573
573
  function validateProperty(property, schema) {
574
574
  if (!property.trim()) {
575
- return localize(1743, "Cannot register an empty property");
575
+ return localize(1746, "Cannot register an empty property");
576
576
  }
577
577
  if (OVERRIDE_PROPERTY_REGEX.test(property)) {
578
578
  return localize(
579
- 1744,
579
+ 1747,
580
580
  "Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",
581
581
  property
582
582
  );
583
583
  }
584
584
  if (configurationRegistry.getConfigurationProperties()[property] !== undefined) {
585
585
  return localize(
586
- 1745,
586
+ 1748,
587
587
  "Cannot register '{0}'. This property is already registered.",
588
588
  property
589
589
  );
590
590
  }
591
591
  if (schema.policy?.name && configurationRegistry.getPolicyConfigurations().get(schema.policy?.name) !== undefined) {
592
592
  return localize(
593
- 1746,
593
+ 1749,
594
594
  "Cannot register '{0}'. The associated policy {1} is already registered with {2}.",
595
595
  property,
596
596
  schema.policy?.name,
@@ -45,7 +45,9 @@ export declare abstract class AbstractContextKeyService extends Disposable imple
45
45
  export declare class ContextKeyService extends AbstractContextKeyService implements IContextKeyService {
46
46
  private _lastContextId;
47
47
  private readonly _contexts;
48
+ private inputFocusedContext;
48
49
  constructor(configurationService: IConfigurationService);
50
+ private updateInputContextKeys;
49
51
  getContextValuesContainer(contextId: number): Context;
50
52
  createChildContext(parentContextId?: number): number;
51
53
  disposeContext(contextId: number): void;
@@ -1,8 +1,8 @@
1
1
 
2
2
  import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
3
- import { PauseableEmitter } from '../../../base/common/event.js';
3
+ import { PauseableEmitter, Event } from '../../../base/common/event.js';
4
4
  import { Iterable } from '../../../base/common/iterator.js';
5
- import { Disposable, MutableDisposable } from '../../../base/common/lifecycle.js';
5
+ import { Disposable, MutableDisposable, DisposableStore } from '../../../base/common/lifecycle.js';
6
6
  import { MarshalledId } from '../../../base/common/marshallingIds.js';
7
7
  import { distinct, cloneAndChange } from '../../../base/common/objects.js';
8
8
  import { TernarySearchTree } from '../../../base/common/ternarySearchTree.js';
@@ -13,6 +13,9 @@ import { ConfigurationTarget } from '../../configuration/common/configuration.js
13
13
  import { IConfigurationService } from '../../configuration/common/configuration.service.js';
14
14
  import { RawContextKey } from '../common/contextkey.js';
15
15
  import { IContextKeyService } from '../common/contextkey.service.js';
16
+ import { InputFocusedContext } from '../common/contextkeys.js';
17
+ import { mainWindow } from '../../../base/browser/window.js';
18
+ import { onDidRegisterWindow, addDisposableListener, EventType, getActiveElement, isEditableElement, trackFocus, getActiveWindow } from '../../../base/browser/dom.js';
16
19
 
17
20
  const KEYBINDING_CONTEXT_ATTR = 'data-keybinding-context';
18
21
  class Context {
@@ -302,8 +305,34 @@ let ContextKeyService = class ContextKeyService extends AbstractContextKeyServic
302
305
  super(0);
303
306
  this._contexts = ( new Map());
304
307
  this._lastContextId = 0;
308
+ this.inputFocusedContext = InputFocusedContext.bindTo(this);
305
309
  const myContext = this._register(( new ConfigAwareContextValuesContainer(this._myContextId, configurationService, this._onDidChangeContext)));
306
310
  this._contexts.set(this._myContextId, myContext);
311
+ this._register(Event.runAndSubscribe(onDidRegisterWindow, ({ window, disposables }) => {
312
+ const onFocusDisposables = disposables.add(( new MutableDisposable()));
313
+ disposables.add(addDisposableListener(window, EventType.FOCUS_IN, () => {
314
+ onFocusDisposables.value = ( new DisposableStore());
315
+ this.updateInputContextKeys(window.document, onFocusDisposables.value);
316
+ }, true));
317
+ }, { window: mainWindow, disposables: this._store }));
318
+ }
319
+ updateInputContextKeys(ownerDocument, disposables) {
320
+ function activeElementIsInput() {
321
+ const activeElement = getActiveElement(ownerDocument);
322
+ return !!activeElement && isEditableElement(activeElement);
323
+ }
324
+ const isInputFocused = activeElementIsInput();
325
+ this.inputFocusedContext.set(isInputFocused);
326
+ if (isInputFocused) {
327
+ const activeElement = getActiveElement(ownerDocument);
328
+ const tracker = disposables.add(trackFocus(activeElement));
329
+ Event.once(tracker.onDidBlur)(() => {
330
+ if (getActiveWindow().document === ownerDocument) {
331
+ this.inputFocusedContext.set(activeElementIsInput());
332
+ }
333
+ tracker.dispose();
334
+ }, undefined, disposables);
335
+ }
307
336
  }
308
337
  getContextValuesContainer(contextId) {
309
338
  if (this._isDisposed) {
@@ -487,7 +516,7 @@ CommandsRegistry.registerCommand({
487
516
  return [...RawContextKey.all()].sort((a, b) => a.key.localeCompare(b.key));
488
517
  },
489
518
  metadata: {
490
- description: ( localize(1747, "A command that returns information about context keys")),
519
+ description: ( localize(1750, "A command that returns information about context keys")),
491
520
  args: []
492
521
  }
493
522
  });
@@ -47,17 +47,17 @@ var ContextKeyExprType;
47
47
  const defaultConfig = {
48
48
  regexParsingWithErrorRecovery: true
49
49
  };
50
- const errorEmptyString = ( localize(1748, "Empty context key expression"));
50
+ const errorEmptyString = ( localize(1751, "Empty context key expression"));
51
51
  const hintEmptyString = ( localize(
52
- 1749,
52
+ 1752,
53
53
  "Did you forget to write an expression? You can also put 'false' or 'true' to always evaluate to false or true, respectively."
54
54
  ));
55
- const errorNoInAfterNot = ( localize(1750, "'in' after 'not'."));
56
- const errorClosingParenthesis = ( localize(1751, "closing parenthesis ')'"));
57
- const errorUnexpectedToken = ( localize(1752, "Unexpected token"));
58
- const hintUnexpectedToken = ( localize(1753, "Did you forget to put && or || before the token?"));
59
- const errorUnexpectedEOF = ( localize(1754, "Unexpected end of expression"));
60
- const hintUnexpectedEOF = ( localize(1755, "Did you forget to put a context key?"));
55
+ const errorNoInAfterNot = ( localize(1753, "'in' after 'not'."));
56
+ const errorClosingParenthesis = ( localize(1754, "closing parenthesis ')'"));
57
+ const errorUnexpectedToken = ( localize(1755, "Unexpected token"));
58
+ const hintUnexpectedToken = ( localize(1756, "Did you forget to put && or || before the token?"));
59
+ const errorUnexpectedEOF = ( localize(1757, "Unexpected end of expression"));
60
+ const hintUnexpectedEOF = ( localize(1758, "Did you forget to put a context key?"));
61
61
  class Parser {
62
62
  static { this._parseError = ( new Error()); }
63
63
  get lexingErrors() {
@@ -369,7 +369,7 @@ class Parser {
369
369
  throw this._errExpectedButGot(message, this._peek());
370
370
  }
371
371
  _errExpectedButGot(expected, got, additionalInfo) {
372
- const message = ( localize(1756, "Expected: {0}\nReceived: '{1}'.", expected, Scanner.getLexeme(got)));
372
+ const message = ( localize(1759, "Expected: {0}\nReceived: '{1}'.", expected, Scanner.getLexeme(got)));
373
373
  const offset = got.offset;
374
374
  const lexeme = Scanner.getLexeme(got);
375
375
  this._parsingErrors.push({ message, offset, lexeme, additionalInfo });
@@ -447,8 +447,8 @@ function validateWhenClauses(whenClauses) {
447
447
  if (parser.lexingErrors.length > 0) {
448
448
  return (parser.lexingErrors.map((se) => ({
449
449
  errorMessage: se.additionalInfo ?
450
- ( localize(1757, "Unexpected token. Hint: {0}", se.additionalInfo)) :
451
- ( localize(1758, "Unexpected token.")),
450
+ ( localize(1760, "Unexpected token. Hint: {0}", se.additionalInfo)) :
451
+ ( localize(1761, "Unexpected token.")),
452
452
  offset: se.offset,
453
453
  length: se.lexeme.length,
454
454
  })));
@@ -8,6 +8,5 @@ export declare const IsIOSContext: RawContextKey<boolean>;
8
8
  export declare const IsMobileContext: RawContextKey<boolean>;
9
9
  export declare const IsDevelopmentContext: RawContextKey<boolean>;
10
10
  export declare const ProductQualityContext: RawContextKey<string>;
11
- export declare const IsSimulationContext: RawContextKey<boolean>;
12
11
  export declare const InputFocusedContextKey = "inputFocus";
13
12
  export declare const InputFocusedContext: RawContextKey<boolean>;
@@ -3,17 +3,16 @@ import { isMacintosh, isLinux, isWindows, isWeb, isIOS, isMobile } from '../../.
3
3
  import { localize } from '../../../nls.js';
4
4
  import { RawContextKey } from './contextkey.js';
5
5
 
6
- const IsMacContext = ( new RawContextKey('isMac', isMacintosh, ( localize(1759, "Whether the operating system is macOS"))));
7
- const IsLinuxContext = ( new RawContextKey('isLinux', isLinux, ( localize(1760, "Whether the operating system is Linux"))));
8
- const IsWindowsContext = ( new RawContextKey('isWindows', isWindows, ( localize(1761, "Whether the operating system is Windows"))));
9
- const IsWebContext = ( new RawContextKey('isWeb', isWeb, ( localize(1762, "Whether the platform is a web browser"))));
10
- const IsMacNativeContext = ( new RawContextKey('isMacNative', isMacintosh && !isWeb, ( localize(1763, "Whether the operating system is macOS on a non-browser platform"))));
11
- const IsIOSContext = ( new RawContextKey('isIOS', isIOS, ( localize(1764, "Whether the operating system is iOS"))));
12
- const IsMobileContext = ( new RawContextKey('isMobile', isMobile, ( localize(1765, "Whether the platform is a mobile web browser"))));
6
+ const IsMacContext = ( new RawContextKey('isMac', isMacintosh, ( localize(1762, "Whether the operating system is macOS"))));
7
+ const IsLinuxContext = ( new RawContextKey('isLinux', isLinux, ( localize(1763, "Whether the operating system is Linux"))));
8
+ const IsWindowsContext = ( new RawContextKey('isWindows', isWindows, ( localize(1764, "Whether the operating system is Windows"))));
9
+ const IsWebContext = ( new RawContextKey('isWeb', isWeb, ( localize(1765, "Whether the platform is a web browser"))));
10
+ const IsMacNativeContext = ( new RawContextKey('isMacNative', isMacintosh && !isWeb, ( localize(1766, "Whether the operating system is macOS on a non-browser platform"))));
11
+ const IsIOSContext = ( new RawContextKey('isIOS', isIOS, ( localize(1767, "Whether the operating system is iOS"))));
12
+ const IsMobileContext = ( new RawContextKey('isMobile', isMobile, ( localize(1768, "Whether the platform is a mobile web browser"))));
13
13
  const IsDevelopmentContext = ( new RawContextKey('isDevelopment', false, true));
14
- const ProductQualityContext = ( new RawContextKey('productQualityType', '', ( localize(1766, "Quality type of VS Code"))));
15
- const IsSimulationContext = ( new RawContextKey('isSimulation', false, ( localize(1767, "Whether the application runs in simulation mode"))));
14
+ const ProductQualityContext = ( new RawContextKey('productQualityType', '', ( localize(1769, "Quality type of VS Code"))));
16
15
  const InputFocusedContextKey = 'inputFocus';
17
- const InputFocusedContext = ( new RawContextKey(InputFocusedContextKey, false, ( localize(1768, "Whether keyboard focus is inside an input box"))));
16
+ const InputFocusedContext = ( new RawContextKey(InputFocusedContextKey, false, ( localize(1770, "Whether keyboard focus is inside an input box"))));
18
17
 
19
- export { InputFocusedContext, InputFocusedContextKey, IsDevelopmentContext, IsIOSContext, IsLinuxContext, IsMacContext, IsMacNativeContext, IsMobileContext, IsSimulationContext, IsWebContext, IsWindowsContext, ProductQualityContext };
18
+ export { InputFocusedContext, InputFocusedContextKey, IsDevelopmentContext, IsIOSContext, IsLinuxContext, IsMacContext, IsMacNativeContext, IsMobileContext, IsWebContext, IsWindowsContext, ProductQualityContext };
@@ -30,18 +30,18 @@ var TokenType;
30
30
  function hintDidYouMean(...meant) {
31
31
  switch (meant.length) {
32
32
  case 1:
33
- return localize(1769, "Did you mean {0}?", meant[0]);
33
+ return localize(1771, "Did you mean {0}?", meant[0]);
34
34
  case 2:
35
- return localize(1770, "Did you mean {0} or {1}?", meant[0], meant[1]);
35
+ return localize(1772, "Did you mean {0} or {1}?", meant[0], meant[1]);
36
36
  case 3:
37
- return localize(1771, "Did you mean {0}, {1} or {2}?", meant[0], meant[1], meant[2]);
37
+ return localize(1773, "Did you mean {0}, {1} or {2}?", meant[0], meant[1], meant[2]);
38
38
  default:
39
39
  return undefined;
40
40
  }
41
41
  }
42
- const hintDidYouForgetToOpenOrCloseQuote = ( localize(1772, "Did you forget to open or close the quote?"));
42
+ const hintDidYouForgetToOpenOrCloseQuote = ( localize(1774, "Did you forget to open or close the quote?"));
43
43
  const hintDidYouForgetToEscapeSlash = ( localize(
44
- 1773,
44
+ 1775,
45
45
  "Did you forget to escape the '/' (slash) character? Put two backslashes before it to escape, e.g., '\\\\/\'."
46
46
  ));
47
47
  class Scanner {
@@ -0,0 +1,32 @@
1
+ import { ClassifiedEvent, OmitMetadata, IGDPRProperty, StrictPropertyCheck } from "../../telemetry/common/gdprTypings.js";
2
+ import { ITelemetryData, TelemetryLevel } from "../../telemetry/common/telemetry.js";
3
+ import { ITelemetryService } from "../../telemetry/common/telemetry.service.js";
4
+ import { IDataChannelService } from "../common/dataChannel.service.js";
5
+ export declare class InterceptingTelemetryService implements ITelemetryService {
6
+ private readonly _baseService;
7
+ private readonly _intercept;
8
+ _serviceBrand: undefined;
9
+ constructor(_baseService: ITelemetryService, _intercept: (eventName: string, data?: ITelemetryData) => void);
10
+ get telemetryLevel(): TelemetryLevel;
11
+ get sessionId(): string;
12
+ get machineId(): string;
13
+ get sqmId(): string;
14
+ get devDeviceId(): string;
15
+ get firstSessionDate(): string;
16
+ get msftInternal(): boolean | undefined;
17
+ get sendErrorTelemetry(): boolean;
18
+ publicLog(eventName: string, data?: ITelemetryData): void;
19
+ publicLog2<E extends ClassifiedEvent<OmitMetadata<T>> = never, T extends IGDPRProperty = never>(eventName: string, data?: StrictPropertyCheck<T, E>): void;
20
+ publicLogError(errorEventName: string, data?: ITelemetryData): void;
21
+ publicLogError2<E extends ClassifiedEvent<OmitMetadata<T>> = never, T extends IGDPRProperty = never>(eventName: string, data?: StrictPropertyCheck<T, E>): void;
22
+ setExperimentProperty(name: string, value: string): void;
23
+ }
24
+ export interface IEditTelemetryData {
25
+ eventName: string;
26
+ data: Record<string, unknown>;
27
+ }
28
+ export declare class DataChannelForwardingTelemetryService extends InterceptingTelemetryService {
29
+ constructor(telemetryService: ITelemetryService, dataChannelService: IDataChannelService);
30
+ }
31
+ export declare function forwardToChannelIf(value: boolean): Record<string, unknown>;
32
+ export declare function isCopilotLikeExtension(extensionId: string | undefined): boolean;
@@ -0,0 +1,86 @@
1
+
2
+ import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
3
+ import { ITelemetryService } from '../../telemetry/common/telemetry.service.js';
4
+ import { IDataChannelService } from '../common/dataChannel.service.js';
5
+
6
+ class InterceptingTelemetryService {
7
+ constructor(_baseService, _intercept) {
8
+ this._baseService = _baseService;
9
+ this._intercept = _intercept;
10
+ }
11
+ get telemetryLevel() {
12
+ return this._baseService.telemetryLevel;
13
+ }
14
+ get sessionId() {
15
+ return this._baseService.sessionId;
16
+ }
17
+ get machineId() {
18
+ return this._baseService.machineId;
19
+ }
20
+ get sqmId() {
21
+ return this._baseService.sqmId;
22
+ }
23
+ get devDeviceId() {
24
+ return this._baseService.devDeviceId;
25
+ }
26
+ get firstSessionDate() {
27
+ return this._baseService.firstSessionDate;
28
+ }
29
+ get msftInternal() {
30
+ return this._baseService.msftInternal;
31
+ }
32
+ get sendErrorTelemetry() {
33
+ return this._baseService.sendErrorTelemetry;
34
+ }
35
+ publicLog(eventName, data) {
36
+ this._intercept(eventName, data);
37
+ this._baseService.publicLog(eventName, data);
38
+ }
39
+ publicLog2(eventName, data) {
40
+ this._intercept(eventName, data);
41
+ this._baseService.publicLog2(eventName, data);
42
+ }
43
+ publicLogError(errorEventName, data) {
44
+ this._intercept(errorEventName, data);
45
+ this._baseService.publicLogError(errorEventName, data);
46
+ }
47
+ publicLogError2(eventName, data) {
48
+ this._intercept(eventName, data);
49
+ this._baseService.publicLogError2(eventName, data);
50
+ }
51
+ setExperimentProperty(name, value) {
52
+ this._baseService.setExperimentProperty(name, value);
53
+ }
54
+ }
55
+ let DataChannelForwardingTelemetryService = class DataChannelForwardingTelemetryService extends InterceptingTelemetryService {
56
+ constructor(telemetryService, dataChannelService) {
57
+ super(telemetryService, (eventName, data) => {
58
+ let forward = true;
59
+ if (data && shouldForwardToChannel in data) {
60
+ forward = Boolean(data[shouldForwardToChannel]);
61
+ }
62
+ if (forward) {
63
+ dataChannelService.getDataChannel('editTelemetry').sendData({ eventName, data: data });
64
+ }
65
+ });
66
+ }
67
+ };
68
+ DataChannelForwardingTelemetryService = ( __decorate([
69
+ ( __param(0, ITelemetryService)),
70
+ ( __param(1, IDataChannelService))
71
+ ], DataChannelForwardingTelemetryService));
72
+ const shouldForwardToChannel = Symbol('shouldForwardToChannel');
73
+ function forwardToChannelIf(value) {
74
+ return {
75
+ [shouldForwardToChannel]: value
76
+ };
77
+ }
78
+ function isCopilotLikeExtension(extensionId) {
79
+ if (!extensionId) {
80
+ return false;
81
+ }
82
+ const extIdLowerCase = extensionId.toLowerCase();
83
+ return extIdLowerCase === 'github.copilot' || extIdLowerCase === 'github.copilot-chat';
84
+ }
85
+
86
+ export { DataChannelForwardingTelemetryService, InterceptingTelemetryService, forwardToChannelIf, isCopilotLikeExtension };
@@ -1,6 +1,6 @@
1
1
  import { Event } from "../../../base/common/event.js";
2
2
  import { URI } from "../../../base/common/uri.js";
3
- import { IConfirmation, IConfirmationResult, IPromptWithCustomCancel, IPromptResultWithCancel, IPromptWithDefaultCancel, IPromptResult, IPrompt, IInput, IInputResult, type ConfirmResult, type IOpenDialogOptions, type IPickAndOpenOptions, type ISaveDialogOptions } from "@codingame/monaco-vscode-23b6fb38-5e58-5886-b34b-27abc4f5df02-common/vscode/vs/platform/dialogs/common/dialogs";
3
+ import { IConfirmation, IConfirmationResult, IPromptWithCustomCancel, IPromptResultWithCancel, IPromptWithDefaultCancel, IPromptResult, IPrompt, IInput, IInputResult, type ConfirmResult, type IOpenDialogOptions, type IPickAndOpenOptions, type ISaveDialogOptions } from "@codingame/monaco-vscode-d941ac7b-412f-57e3-b1bf-f6b0eb253b21-common/vscode/vs/platform/dialogs/common/dialogs";
4
4
  export declare const IDialogService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<IDialogService>;
5
5
  /**
6
6
  * A service to bring up modal dialogs.
@@ -184,7 +184,7 @@ async function extractFileListData(accessor, files) {
184
184
  if (file) {
185
185
  if (file.size > 100 * ByteSize.MB) {
186
186
  dialogService.warn(( localize(
187
- 1780,
187
+ 1782,
188
188
  "File is too large to open as untitled editor. Please upload it first into the file explorer and then try again."
189
189
  )));
190
190
  continue;
@@ -23,6 +23,7 @@ export interface NativeParsedArgs {
23
23
  maximize?: boolean;
24
24
  "reuse-window"?: boolean;
25
25
  "new-window"?: boolean;
26
+ profile?: string;
26
27
  help?: boolean;
27
28
  };
28
29
  _: string[];
@@ -40,7 +40,6 @@ export interface IEnvironmentService {
40
40
  disableExperiments: boolean;
41
41
  serviceMachineIdResource: URI;
42
42
  policyFile?: URI;
43
- isSimulation?: boolean;
44
43
  }
45
44
  export declare const INativeEnvironmentService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<INativeEnvironmentService>;
46
45
  /**
@@ -268,39 +268,39 @@ async function computeSize(location, fileService) {
268
268
  }
269
269
  return stat.size ?? 0;
270
270
  }
271
- const ExtensionsLocalizedLabel = ( localize2(1801, "Extensions"));
272
- const PreferencesLocalizedLabel = ( localize2(1802, 'Preferences'));
271
+ const ExtensionsLocalizedLabel = ( localize2(1803, "Extensions"));
272
+ const PreferencesLocalizedLabel = ( localize2(1804, 'Preferences'));
273
273
  const AllowedExtensionsConfigKey = 'extensions.allowed';
274
274
  const VerifyExtensionSignatureConfigKey = 'extensions.verifySignature';
275
275
  ( Registry.as(Extensions.Configuration))
276
276
  .registerConfiguration({
277
277
  id: 'extensions',
278
278
  order: 30,
279
- title: ( localize(1803, "Extensions")),
279
+ title: ( localize(1805, "Extensions")),
280
280
  type: 'object',
281
281
  properties: {
282
282
  [AllowedExtensionsConfigKey]: {
283
283
  type: 'object',
284
284
  markdownDescription: ( localize(
285
- 1804,
285
+ 1806,
286
286
  "Specify a list of extensions that are allowed to use. This helps maintain a secure and consistent development environment by restricting the use of unauthorized extensions. For more information on how to configure this setting, please visit the [Configure Allowed Extensions](https://code.visualstudio.com/docs/setup/enterprise#_configure-allowed-extensions) section."
287
287
  )),
288
288
  default: '*',
289
289
  defaultSnippets: [{
290
290
  body: {},
291
- description: ( localize(1805, "No extensions are allowed.")),
291
+ description: ( localize(1807, "No extensions are allowed.")),
292
292
  }, {
293
293
  body: {
294
294
  '*': true
295
295
  },
296
- description: ( localize(1806, "All extensions are allowed.")),
296
+ description: ( localize(1808, "All extensions are allowed.")),
297
297
  }],
298
298
  scope: ConfigurationScope.APPLICATION,
299
299
  policy: {
300
300
  name: 'AllowedExtensions',
301
301
  minimumVersion: '1.96',
302
302
  description: ( localize(
303
- 1807,
303
+ 1809,
304
304
  "Specify a list of extensions that are allowed to use. This helps maintain a secure and consistent development environment by restricting the use of unauthorized extensions. More information: https://code.visualstudio.com/docs/setup/enterprise#_configure-allowed-extensions"
305
305
  )),
306
306
  },
@@ -311,11 +311,11 @@ const VerifyExtensionSignatureConfigKey = 'extensions.verifySignature';
311
311
  {
312
312
  type: ['boolean', 'string'],
313
313
  enum: [true, false, 'stable'],
314
- description: ( localize(1808, "Allow or disallow the extension.")),
314
+ description: ( localize(1810, "Allow or disallow the extension.")),
315
315
  enumDescriptions: [
316
- ( localize(1809, "Extension is allowed.")),
317
- ( localize(1810, "Extension is not allowed.")),
318
- ( localize(1811, "Allow only stable versions of the extension.")),
316
+ ( localize(1811, "Extension is allowed.")),
317
+ ( localize(1812, "Extension is not allowed.")),
318
+ ( localize(1813, "Allow only stable versions of the extension.")),
319
319
  ],
320
320
  },
321
321
  {
@@ -324,7 +324,7 @@ const VerifyExtensionSignatureConfigKey = 'extensions.verifySignature';
324
324
  type: 'string',
325
325
  },
326
326
  description: ( localize(
327
- 1812,
327
+ 1814,
328
328
  "Allow or disallow specific versions of the extension. To specifcy a platform specific version, use the format `platform@1.2.3`, e.g. `win32-x64@1.2.3`. Supported platforms are `win32-x64`, `win32-arm64`, `linux-x64`, `linux-arm64`, `linux-armhf`, `alpine-x64`, `alpine-arm64`, `darwin-x64`, `darwin-arm64`"
329
329
  )),
330
330
  },
@@ -333,20 +333,20 @@ const VerifyExtensionSignatureConfigKey = 'extensions.verifySignature';
333
333
  '([a-z0-9A-Z][a-z0-9-A-Z]*)$': {
334
334
  type: ['boolean', 'string'],
335
335
  enum: [true, false, 'stable'],
336
- description: ( localize(1813, "Allow or disallow all extensions from the publisher.")),
336
+ description: ( localize(1815, "Allow or disallow all extensions from the publisher.")),
337
337
  enumDescriptions: [
338
- ( localize(1814, "All extensions from the publisher are allowed.")),
339
- ( localize(1815, "All extensions from the publisher are not allowed.")),
340
- ( localize(1816, "Allow only stable versions of the extensions from the publisher.")),
338
+ ( localize(1816, "All extensions from the publisher are allowed.")),
339
+ ( localize(1817, "All extensions from the publisher are not allowed.")),
340
+ ( localize(1818, "Allow only stable versions of the extensions from the publisher.")),
341
341
  ],
342
342
  },
343
343
  '\\*': {
344
344
  type: 'boolean',
345
345
  enum: [true, false],
346
- description: ( localize(1817, "Allow or disallow all extensions.")),
346
+ description: ( localize(1819, "Allow or disallow all extensions.")),
347
347
  enumDescriptions: [
348
- ( localize(1818, "Allow all extensions.")),
349
- ( localize(1819, "Disallow all extensions."))
348
+ ( localize(1820, "Allow all extensions.")),
349
+ ( localize(1821, "Disallow all extensions."))
350
350
  ],
351
351
  }
352
352
  }
@@ -28,7 +28,7 @@ function replaceNLStrings(logger, extensionManifest, messages, originalMessages)
28
28
  const originalMessage = typeof original === 'string' ? original : original?.message;
29
29
  if (!message) {
30
30
  if (!originalMessage) {
31
- logger.warn(`[${extensionManifest.name}]: ${( localize(1851, "Couldn't find message for key {0}.", messageKey))}`);
31
+ logger.warn(`[${extensionManifest.name}]: ${( localize(1853, "Couldn't find message for key {0}.", messageKey))}`);
32
32
  }
33
33
  return;
34
34
  }