@codingame/monaco-vscode-api 1.85.0 → 1.85.2

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 (298) hide show
  1. package/README.md +31 -13
  2. package/contributions.js +1 -0
  3. package/missing-services.js +396 -68
  4. package/monaco-editor-treemending.patch +957 -950
  5. package/package.json +8 -7
  6. package/service-override/tools/editor.js +1 -1
  7. package/services.js +10 -6
  8. package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +14 -0
  9. package/vscode/src/vs/base/common/jsonFormatter.js +8 -1
  10. package/vscode/src/vs/platform/actions/browser/buttonbar.js +128 -0
  11. package/vscode/src/vs/platform/extensionManagement/common/extensionEnablementService.js +140 -0
  12. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -1
  13. package/vscode/src/vs/platform/extensions/common/extensions.d.ts +1062 -93
  14. package/vscode/src/vs/platform/files/common/inMemoryFilesystemProvider.js +220 -0
  15. package/vscode/src/vs/platform/layout/browser/zIndexRegistry.js +58 -0
  16. package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +102 -0
  17. package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +56 -1
  18. package/vscode/src/vs/platform/userDataSync/common/content.js +9 -0
  19. package/vscode/src/vs/platform/userDataSync/common/settingsMerge.js +514 -0
  20. package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +154 -2
  21. package/vscode/src/vs/platform/userDataSync/common/userDataSyncAccount.js +43 -1
  22. package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +177 -0
  23. package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +1 -1
  24. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +1 -1
  25. package/vscode/src/vs/workbench/api/common/extHostWebview.js +2 -2
  26. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +186 -4
  27. package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +105 -0
  28. package/vscode/src/vs/workbench/browser/parts/views/media/views.css.js +4 -0
  29. package/vscode/src/vs/workbench/browser/parts/views/treeView.js +1614 -0
  30. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +191 -0
  31. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +238 -2
  32. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +75 -0
  33. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +205 -1
  34. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +168 -0
  35. package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +35 -0
  36. package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +340 -0
  37. package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +1195 -0
  38. package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer.js +115 -0
  39. package/vscode/src/vs/workbench/contrib/chat/browser/chatOptions.js +81 -0
  40. package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommandContentWidget.css.js +4 -0
  41. package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommandContentWidget.js +62 -0
  42. package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +583 -0
  43. package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.css.js +4 -0
  44. package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +290 -0
  45. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +167 -0
  46. package/vscode/src/vs/workbench/contrib/chat/browser/media/chat.css.js +4 -0
  47. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +6 -1
  48. package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +562 -0
  49. package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +31 -1
  50. package/vscode/src/vs/workbench/contrib/chat/common/chatProvider.js +24 -1
  51. package/vscode/src/vs/workbench/contrib/chat/common/chatRequestParser.js +193 -0
  52. package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +22 -1
  53. package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js +52 -1
  54. package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +258 -0
  55. package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.js +37 -0
  56. package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.js +25 -0
  57. package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.css.js +4 -0
  58. package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +388 -0
  59. package/vscode/src/vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint.js +7 -7
  60. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +61 -0
  61. package/vscode/src/vs/workbench/contrib/comments/browser/commentFormActions.js +49 -0
  62. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +647 -0
  63. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +300 -0
  64. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadAdditionalActions.js +60 -0
  65. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +249 -0
  66. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +107 -0
  67. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +333 -0
  68. package/vscode/src/vs/workbench/contrib/comments/browser/media/review.css.js +4 -0
  69. package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +99 -0
  70. package/vscode/src/vs/workbench/contrib/comments/browser/timestamp.js +55 -0
  71. package/vscode/src/vs/workbench/contrib/comments/common/commentsConfiguration.js +2 -0
  72. package/vscode/src/vs/workbench/contrib/contextmenu/browser/contextmenu.contribution.js +20 -0
  73. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +855 -0
  74. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +410 -0
  75. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +1591 -0
  76. package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +178 -0
  77. package/vscode/src/vs/workbench/contrib/debug/browser/media/breakpointWidget.css.js +4 -0
  78. package/vscode/src/vs/workbench/contrib/debug/browser/media/callStackEditorContribution.css.js +4 -0
  79. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +1485 -0
  80. package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +125 -0
  81. package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +29 -0
  82. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +41 -0
  83. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +102 -0
  84. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +73 -2
  85. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.css.js +4 -0
  86. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +988 -0
  87. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatLivePreviewWidget.js +431 -0
  88. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +417 -0
  89. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +806 -0
  90. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +915 -0
  91. package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +19 -0
  92. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +129 -10
  93. package/vscode/src/vs/workbench/contrib/markdown/browser/markdownDocumentRenderer.js +205 -0
  94. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +150 -0
  95. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +480 -0
  96. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeMarkers/mergeMarkersController.js +5 -0
  97. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/diffComputer.js +90 -0
  98. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/editing.js +54 -0
  99. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/lineRange.js +108 -0
  100. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mapping.js +258 -0
  101. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +614 -0
  102. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/modifiedBaseRange.js +307 -0
  103. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/rangeUtils.js +44 -0
  104. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +165 -0
  105. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/telemetry.js +78 -0
  106. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/utils.js +169 -0
  107. package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +64 -0
  108. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/cellOutputClipboard.js +49 -0
  109. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findFilters.js +70 -0
  110. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findMatchDecorationModel.js +120 -0
  111. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findModel.js +416 -0
  112. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.css.js +4 -0
  113. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +663 -0
  114. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +593 -0
  115. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +72 -0
  116. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +326 -0
  117. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +539 -0
  118. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +265 -0
  119. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +348 -0
  120. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebook.css.js +4 -0
  121. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellChat.css.js +4 -0
  122. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellEditorHint.css.js +4 -0
  123. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellInsertToolbar.css.js +4 -0
  124. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellOutput.css.js +4 -0
  125. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellStatusBar.css.js +4 -0
  126. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellTitleToolbar.css.js +4 -0
  127. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookDnd.css.js +4 -0
  128. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookEditorStickyScroll.css.js +4 -0
  129. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookFocusIndicator.css.js +4 -0
  130. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookFolding.css.js +4 -0
  131. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookKernelActionViewItem.css.js +4 -0
  132. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookOutline.css.js +4 -0
  133. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookToolbar.css.js +4 -0
  134. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.js +95 -3
  135. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +437 -0
  136. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorExtensions.js +29 -0
  137. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +2730 -0
  138. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +139 -0
  139. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookLogger.js +17 -0
  140. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.js +564 -0
  141. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookViewEvents.js +27 -0
  142. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellPart.js +119 -0
  143. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.js +27 -0
  144. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +135 -0
  145. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellContextKeys.js +178 -0
  146. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDecorations.js +35 -0
  147. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDnd.js +377 -0
  148. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDragRenderer.js +97 -0
  149. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +194 -0
  150. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellExecution.js +71 -0
  151. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocus.js +20 -0
  152. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocusIndicator.js +85 -0
  153. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +652 -0
  154. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellProgressBar.js +59 -0
  155. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.js +303 -0
  156. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbarStickyScroll.js +24 -0
  157. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.js +228 -0
  158. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatActions.js +302 -0
  159. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatController.js +438 -0
  160. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatPart.js +45 -0
  161. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +435 -0
  162. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +95 -0
  163. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +107 -0
  164. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellInput.js +29 -0
  165. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +59 -0
  166. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +67 -0
  167. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +430 -0
  168. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellAnchor.js +54 -0
  169. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +1131 -0
  170. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.js +21 -0
  171. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +1591 -0
  172. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +341 -0
  173. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +2155 -0
  174. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewThemeMapping.js +65 -0
  175. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/OutlineEntry.js +95 -0
  176. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +507 -0
  177. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellEditorOptions.js +85 -0
  178. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputViewModel.js +47 -0
  179. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellSelectionCollection.js +40 -0
  180. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +435 -0
  181. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/eventDispatcher.js +31 -0
  182. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/foldingModel.js +257 -0
  183. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +239 -0
  184. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +103 -0
  185. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineProvider.js +211 -0
  186. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +808 -0
  187. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/viewContext.js +8 -0
  188. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +381 -0
  189. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.js +527 -0
  190. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorWidgetContextKeys.js +163 -0
  191. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +651 -0
  192. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +173 -0
  193. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookOverviewRuler.js +98 -0
  194. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookTopCellToolbar.js +62 -0
  195. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellOutputTextModel.js +101 -0
  196. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellTextModel.js +346 -0
  197. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +152 -1
  198. package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.js +39 -0
  199. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +296 -0
  200. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +261 -0
  201. package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.js +3 -1
  202. package/vscode/src/vs/workbench/contrib/notebook/common/notebookKernelService.js +2 -1
  203. package/vscode/src/vs/workbench/contrib/notebook/common/notebookKeymapService.js +3 -0
  204. package/vscode/src/vs/workbench/contrib/notebook/common/notebookLoggingService.js +3 -0
  205. package/vscode/src/vs/workbench/contrib/notebook/common/notebookPerformance.js +16 -0
  206. package/vscode/src/vs/workbench/contrib/notebook/common/notebookRange.js +66 -0
  207. package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookWorkerService.js +4 -0
  208. package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +130 -0
  209. package/vscode/src/vs/workbench/contrib/remote/browser/media/tunnelView.css.js +4 -0
  210. package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +847 -0
  211. package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +89 -0
  212. package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +1942 -0
  213. package/vscode/src/vs/workbench/contrib/remote/browser/urlFinder.js +107 -0
  214. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +49 -0
  215. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +387 -0
  216. package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +2 -2
  217. package/vscode/src/vs/workbench/contrib/search/common/constants.js +66 -0
  218. package/vscode/src/vs/workbench/contrib/searchEditor/browser/constants.js +11 -0
  219. package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +24 -0
  220. package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +95 -0
  221. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +6 -6
  222. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +12 -2
  223. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +712 -0
  224. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.js +4 -1
  225. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProcessExtHostProxy.js +130 -0
  226. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +2 -1
  227. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/featuredExtensionService.js +159 -0
  228. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedExtensionPoint.js +375 -0
  229. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js +563 -0
  230. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.js +932 -0
  231. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +20 -1
  232. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +205 -0
  233. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +11 -0
  234. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +9 -9
  235. package/vscode/src/vs/workbench/services/extensionManagement/browser/extensionBisect.js +1 -1
  236. package/vscode/src/vs/workbench/services/keybinding/common/keybindingEditing.js +2 -2
  237. package/vscode/src/vs/workbench/services/languageStatus/common/languageStatusService.js +24 -1
  238. package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +15 -1
  239. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +41 -0
  240. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +588 -0
  241. package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +43 -0
  242. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.d.ts +2 -2
  243. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +190 -2
  244. package/vscode/src/vs/workbench/services/search/common/search.js +3 -3
  245. package/vscode/src/vs/workbench/services/terminal/common/embedderTerminalService.js +75 -1
  246. package/vscode/src/vs/workbench/services/timer/browser/timerService.js +240 -1
  247. package/vscode/src/vs/workbench/services/userData/browser/userDataInit.js +31 -1
  248. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +25 -1
  249. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +75 -1
  250. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +74 -4
  251. package/vscode/src/vs/workbench/services/workingCopy/common/resourceWorkingCopy.js +77 -0
  252. package/assets/break.mp3 +0 -0
  253. package/assets/chatRequestSent.mp3 +0 -0
  254. package/assets/chatResponsePending.mp3 +0 -0
  255. package/assets/chatResponseReceived1.mp3 +0 -0
  256. package/assets/chatResponseReceived2.mp3 +0 -0
  257. package/assets/chatResponseReceived3.mp3 +0 -0
  258. package/assets/chatResponseReceived4.mp3 +0 -0
  259. package/assets/clear.mp3 +0 -0
  260. package/assets/defaultIcon.png +0 -0
  261. package/assets/diffLineDeleted.mp3 +0 -0
  262. package/assets/diffLineInserted.mp3 +0 -0
  263. package/assets/diffLineModified.mp3 +0 -0
  264. package/assets/error.mp3 +0 -0
  265. package/assets/fake.html +0 -10
  266. package/assets/foldedAreas.mp3 +0 -0
  267. package/assets/format.mp3 +0 -0
  268. package/assets/index-no-csp.html +0 -1226
  269. package/assets/index.html +0 -1227
  270. package/assets/quickFixes.mp3 +0 -0
  271. package/assets/save.mp3 +0 -0
  272. package/assets/service-worker.js +0 -457
  273. package/assets/taskCompleted.mp3 +0 -0
  274. package/assets/taskFailed.mp3 +0 -0
  275. package/assets/terminalBell.mp3 +0 -0
  276. package/assets/warning.mp3 +0 -0
  277. package/assets/webWorkerExtensionHostIframe.html +0 -123
  278. package/override/vs/workbench/contrib/notebook/browser/contrib/find/findMatchDecorationModel.js +0 -2
  279. package/override/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +0 -2
  280. package/override/vs/workbench/contrib/notebook/common/notebookEditorInput.js +0 -5
  281. package/vscode/src/vs/base/parts/request/browser/request.js +0 -60
  282. package/vscode/src/vs/platform/request/browser/requestService.js +0 -28
  283. package/vscode/src/vs/platform/request/common/requestIpc.js +0 -17
  284. package/vscode/src/vs/platform/url/common/urlService.js +0 -17
  285. package/vscode/src/vs/workbench/services/configuration/common/jsonEditingService.js +0 -120
  286. package/vscode/src/vs/workbench/services/decorations/browser/decorationsService.js +0 -319
  287. package/vscode/src/vs/workbench/services/files/browser/elevatedFileService.js +0 -9
  288. package/vscode/src/vs/workbench/services/host/browser/browserHostService.js +0 -408
  289. package/vscode/src/vs/workbench/services/request/browser/requestService.js +0 -48
  290. package/vscode/src/vs/workbench/services/textfile/browser/browserTextFileService.js +0 -56
  291. package/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +0 -639
  292. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModelManager.js +0 -402
  293. package/vscode/src/vs/workbench/services/textfile/common/textFileSaveParticipant.js +0 -62
  294. package/vscode/src/vs/workbench/services/themes/browser/browserHostColorSchemeService.js +0 -38
  295. package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +0 -295
  296. package/vscode/src/vs/workbench/services/url/browser/urlService.js +0 -47
  297. package/vscode/src/vs/workbench/services/views/common/treeViewsService.js +0 -20
  298. package/vscode/src/vs/workbench/services/workspaces/common/canonicalUriService.js +0 -19
@@ -0,0 +1,265 @@
1
+ import { Disposable, DisposableStore } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
2
+ import { NOTEBOOK_EDITOR_FOCUSED, NOTEBOOK_IS_ACTIVE_EDITOR } from '../../common/notebookContextKeys.js';
3
+ import { getNotebookEditorFromEditorPane } from '../notebookBrowser.js';
4
+ import { FoldingModel } from '../viewModel/foldingModel.js';
5
+ import { CellKind } from '../../common/notebookCommon.js';
6
+ import { registerNotebookContribution } from '../notebookEditorExtensions.js';
7
+ import { registerAction2, Action2 } from 'monaco-editor/esm/vs/platform/actions/common/actions.js';
8
+ import { ContextKeyExpr } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
9
+ import { InputFocusedContextKey } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkeys.js';
10
+ import { IEditorService } from '../../../../services/editor/common/editorService.js';
11
+ import { NOTEBOOK_ACTIONS_CATEGORY } from './coreActions.js';
12
+ import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
13
+ class FoldingController extends Disposable {
14
+ static { this.id = 'workbench.notebook.foldingController'; }
15
+ constructor(_notebookEditor) {
16
+ super();
17
+ this._notebookEditor = _notebookEditor;
18
+ this._foldingModel = null;
19
+ this._localStore = this._register(( new DisposableStore()));
20
+ this._register(this._notebookEditor.onMouseUp(e => { this.onMouseUp(e); }));
21
+ this._register(this._notebookEditor.onDidChangeModel(() => {
22
+ this._localStore.clear();
23
+ if (!this._notebookEditor.hasModel()) {
24
+ return;
25
+ }
26
+ this._localStore.add(this._notebookEditor.onDidChangeCellState(e => {
27
+ if (e.source.editStateChanged && e.cell.cellKind === CellKind.Markup) {
28
+ this._foldingModel?.recompute();
29
+ }
30
+ }));
31
+ this._foldingModel = ( new FoldingModel());
32
+ this._localStore.add(this._foldingModel);
33
+ this._foldingModel.attachViewModel(this._notebookEditor.getViewModel());
34
+ this._localStore.add(this._foldingModel.onDidFoldingRegionChanged(() => {
35
+ this._updateEditorFoldingRanges();
36
+ }));
37
+ }));
38
+ }
39
+ saveViewState() {
40
+ return this._foldingModel?.getMemento() || [];
41
+ }
42
+ restoreViewState(state) {
43
+ this._foldingModel?.applyMemento(state || []);
44
+ this._updateEditorFoldingRanges();
45
+ }
46
+ setFoldingStateDown(index, state, levels) {
47
+ const doCollapse = state === 2 ;
48
+ const region = this._foldingModel.getRegionAtLine(index + 1);
49
+ const regions = [];
50
+ if (region) {
51
+ if (region.isCollapsed !== doCollapse) {
52
+ regions.push(region);
53
+ }
54
+ if (levels > 1) {
55
+ const regionsInside = this._foldingModel.getRegionsInside(region, (r, level) => r.isCollapsed !== doCollapse && level < levels);
56
+ regions.push(...regionsInside);
57
+ }
58
+ }
59
+ regions.forEach(r => this._foldingModel.setCollapsed(r.regionIndex, state === 2 ));
60
+ this._updateEditorFoldingRanges();
61
+ }
62
+ setFoldingStateUp(index, state, levels) {
63
+ if (!this._foldingModel) {
64
+ return;
65
+ }
66
+ const regions = this._foldingModel.getAllRegionsAtLine(index + 1, (region, level) => region.isCollapsed !== ((state === 2) ) && level <= levels);
67
+ regions.forEach(r => this._foldingModel.setCollapsed(r.regionIndex, state === 2 ));
68
+ this._updateEditorFoldingRanges();
69
+ }
70
+ _updateEditorFoldingRanges() {
71
+ if (!this._foldingModel) {
72
+ return;
73
+ }
74
+ if (!this._notebookEditor.hasModel()) {
75
+ return;
76
+ }
77
+ const vm = this._notebookEditor.getViewModel();
78
+ vm.updateFoldingRanges(this._foldingModel.regions);
79
+ const hiddenRanges = vm.getHiddenRanges();
80
+ this._notebookEditor.setHiddenAreas(hiddenRanges);
81
+ }
82
+ onMouseUp(e) {
83
+ if (!e.event.target) {
84
+ return;
85
+ }
86
+ if (!this._notebookEditor.hasModel()) {
87
+ return;
88
+ }
89
+ const viewModel = this._notebookEditor.getViewModel();
90
+ const target = e.event.target;
91
+ if (target.classList.contains('codicon-notebook-collapsed') || target.classList.contains('codicon-notebook-expanded')) {
92
+ const parent = target.parentElement;
93
+ if (!parent.classList.contains('notebook-folding-indicator')) {
94
+ return;
95
+ }
96
+ const cellViewModel = e.target;
97
+ const modelIndex = viewModel.getCellIndex(cellViewModel);
98
+ const state = viewModel.getFoldingState(modelIndex);
99
+ if (state === 0 ) {
100
+ return;
101
+ }
102
+ this.setFoldingStateUp(modelIndex, state === 2 ? 1 : 2 , 1);
103
+ this._notebookEditor.focusElement(cellViewModel);
104
+ }
105
+ return;
106
+ }
107
+ }
108
+ registerNotebookContribution(FoldingController.id, FoldingController);
109
+ const NOTEBOOK_FOLD_COMMAND_LABEL = ( localizeWithPath(
110
+ 'vs/workbench/contrib/notebook/browser/controller/foldingController',
111
+ 'fold.cell',
112
+ "Fold Cell"
113
+ ));
114
+ const NOTEBOOK_UNFOLD_COMMAND_LABEL = ( localizeWithPath(
115
+ 'vs/workbench/contrib/notebook/browser/controller/foldingController',
116
+ 'unfold.cell',
117
+ "Unfold Cell"
118
+ ));
119
+ const FOLDING_COMMAND_ARGS = {
120
+ args: [{
121
+ isOptional: true,
122
+ name: 'index',
123
+ description: 'The cell index',
124
+ schema: {
125
+ 'type': 'object',
126
+ 'required': ['index', 'direction'],
127
+ 'properties': {
128
+ 'index': {
129
+ 'type': 'number'
130
+ },
131
+ 'direction': {
132
+ 'type': 'string',
133
+ 'enum': ['up', 'down'],
134
+ 'default': 'down'
135
+ },
136
+ 'levels': {
137
+ 'type': 'number',
138
+ 'default': 1
139
+ },
140
+ }
141
+ }
142
+ }]
143
+ };
144
+ registerAction2(class extends Action2 {
145
+ constructor() {
146
+ super({
147
+ id: 'notebook.fold',
148
+ title: { value: ( localizeWithPath(
149
+ 'vs/workbench/contrib/notebook/browser/controller/foldingController',
150
+ 'fold.cell',
151
+ "Fold Cell"
152
+ )), original: 'Fold Cell' },
153
+ category: NOTEBOOK_ACTIONS_CATEGORY,
154
+ keybinding: {
155
+ when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ContextKeyExpr.not(InputFocusedContextKey))),
156
+ primary: 2048 | 1024 | 92 ,
157
+ mac: {
158
+ primary: 2048 | 512 | 92 ,
159
+ secondary: [15 ],
160
+ },
161
+ secondary: [15 ],
162
+ weight: 200
163
+ },
164
+ metadata: {
165
+ description: NOTEBOOK_FOLD_COMMAND_LABEL,
166
+ args: FOLDING_COMMAND_ARGS.args
167
+ },
168
+ precondition: NOTEBOOK_IS_ACTIVE_EDITOR,
169
+ f1: true
170
+ });
171
+ }
172
+ async run(accessor, args) {
173
+ const editorService = accessor.get(IEditorService);
174
+ const editor = getNotebookEditorFromEditorPane(editorService.activeEditorPane);
175
+ if (!editor) {
176
+ return;
177
+ }
178
+ if (!editor.hasModel()) {
179
+ return;
180
+ }
181
+ const levels = args && args.levels || 1;
182
+ const direction = args && args.direction === 'up' ? 'up' : 'down';
183
+ let index = undefined;
184
+ if (args) {
185
+ index = args.index;
186
+ }
187
+ else {
188
+ const activeCell = editor.getActiveCell();
189
+ if (!activeCell) {
190
+ return;
191
+ }
192
+ index = editor.getCellIndex(activeCell);
193
+ }
194
+ const controller = editor.getContribution(FoldingController.id);
195
+ if (index !== undefined) {
196
+ const targetCell = (index < 0 || index >= editor.getLength()) ? undefined : editor.cellAt(index);
197
+ if (targetCell?.cellKind === CellKind.Code && direction === 'down') {
198
+ return;
199
+ }
200
+ if (direction === 'up') {
201
+ controller.setFoldingStateUp(index, 2 , levels);
202
+ }
203
+ else {
204
+ controller.setFoldingStateDown(index, 2 , levels);
205
+ }
206
+ const viewIndex = editor.getViewModel().getNearestVisibleCellIndexUpwards(index);
207
+ editor.focusElement(editor.cellAt(viewIndex));
208
+ }
209
+ }
210
+ });
211
+ registerAction2(class extends Action2 {
212
+ constructor() {
213
+ super({
214
+ id: 'notebook.unfold',
215
+ title: { value: NOTEBOOK_UNFOLD_COMMAND_LABEL, original: 'Unfold Cell' },
216
+ category: NOTEBOOK_ACTIONS_CATEGORY,
217
+ keybinding: {
218
+ when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ContextKeyExpr.not(InputFocusedContextKey))),
219
+ primary: 2048 | 1024 | 94 ,
220
+ mac: {
221
+ primary: 2048 | 512 | 94 ,
222
+ secondary: [17 ],
223
+ },
224
+ secondary: [17 ],
225
+ weight: 200
226
+ },
227
+ metadata: {
228
+ description: NOTEBOOK_UNFOLD_COMMAND_LABEL,
229
+ args: FOLDING_COMMAND_ARGS.args
230
+ },
231
+ precondition: NOTEBOOK_IS_ACTIVE_EDITOR,
232
+ f1: true
233
+ });
234
+ }
235
+ async run(accessor, args) {
236
+ const editorService = accessor.get(IEditorService);
237
+ const editor = getNotebookEditorFromEditorPane(editorService.activeEditorPane);
238
+ if (!editor) {
239
+ return;
240
+ }
241
+ const levels = args && args.levels || 1;
242
+ const direction = args && args.direction === 'up' ? 'up' : 'down';
243
+ let index = undefined;
244
+ if (args) {
245
+ index = args.index;
246
+ }
247
+ else {
248
+ const activeCell = editor.getActiveCell();
249
+ if (!activeCell) {
250
+ return;
251
+ }
252
+ index = editor.getCellIndex(activeCell);
253
+ }
254
+ const controller = editor.getContribution(FoldingController.id);
255
+ if (index !== undefined) {
256
+ if (direction === 'up') {
257
+ controller.setFoldingStateUp(index, 1 , levels);
258
+ }
259
+ else {
260
+ controller.setFoldingStateDown(index, 1 , levels);
261
+ }
262
+ }
263
+ }
264
+ });
265
+ export { FoldingController };
@@ -0,0 +1,348 @@
1
+ import { Codicon } from 'monaco-editor/esm/vs/base/common/codicons.js';
2
+ import { ILanguageService } from 'monaco-editor/esm/vs/editor/common/languages/language.js';
3
+ import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
4
+ import { registerAction2, MenuId, MenuRegistry } from 'monaco-editor/esm/vs/platform/actions/common/actions.js';
5
+ import { ContextKeyExpr } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
6
+ import { InputFocusedContext } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkeys.js';
7
+ import { insertCell } from './cellOperations.js';
8
+ import { NotebookAction } from './coreActions.js';
9
+ import { NOTEBOOK_CELL_LIST_FOCUSED, NOTEBOOK_EDITOR_EDITABLE } from '../../common/notebookContextKeys.js';
10
+ import { CellKind, NotebookSetting } from '../../common/notebookCommon.js';
11
+ const INSERT_CODE_CELL_ABOVE_COMMAND_ID = 'notebook.cell.insertCodeCellAbove';
12
+ const INSERT_CODE_CELL_BELOW_COMMAND_ID = 'notebook.cell.insertCodeCellBelow';
13
+ const INSERT_CODE_CELL_ABOVE_AND_FOCUS_CONTAINER_COMMAND_ID = 'notebook.cell.insertCodeCellAboveAndFocusContainer';
14
+ const INSERT_CODE_CELL_BELOW_AND_FOCUS_CONTAINER_COMMAND_ID = 'notebook.cell.insertCodeCellBelowAndFocusContainer';
15
+ const INSERT_CODE_CELL_AT_TOP_COMMAND_ID = 'notebook.cell.insertCodeCellAtTop';
16
+ const INSERT_MARKDOWN_CELL_ABOVE_COMMAND_ID = 'notebook.cell.insertMarkdownCellAbove';
17
+ const INSERT_MARKDOWN_CELL_BELOW_COMMAND_ID = 'notebook.cell.insertMarkdownCellBelow';
18
+ const INSERT_MARKDOWN_CELL_AT_TOP_COMMAND_ID = 'notebook.cell.insertMarkdownCellAtTop';
19
+ function insertNewCell(accessor, context, kind, direction, focusEditor) {
20
+ let newCell = null;
21
+ if (context.ui) {
22
+ context.notebookEditor.focus();
23
+ }
24
+ const languageService = accessor.get(ILanguageService);
25
+ if (context.cell) {
26
+ const idx = context.notebookEditor.getCellIndex(context.cell);
27
+ newCell = insertCell(languageService, context.notebookEditor, idx, kind, direction, undefined, true);
28
+ }
29
+ else {
30
+ const focusRange = context.notebookEditor.getFocus();
31
+ const next = Math.max(focusRange.end - 1, 0);
32
+ newCell = insertCell(languageService, context.notebookEditor, next, kind, direction, undefined, true);
33
+ }
34
+ return newCell;
35
+ }
36
+ class InsertCellCommand extends NotebookAction {
37
+ constructor(desc, kind, direction, focusEditor) {
38
+ super(desc);
39
+ this.kind = kind;
40
+ this.direction = direction;
41
+ this.focusEditor = focusEditor;
42
+ }
43
+ async runWithContext(accessor, context) {
44
+ const newCell = await insertNewCell(accessor, context, this.kind, this.direction);
45
+ if (newCell) {
46
+ await context.notebookEditor.focusNotebookCell(newCell, this.focusEditor ? 'editor' : 'container');
47
+ }
48
+ }
49
+ }
50
+ registerAction2(class InsertCodeCellAboveAction extends InsertCellCommand {
51
+ constructor() {
52
+ super({
53
+ id: INSERT_CODE_CELL_ABOVE_COMMAND_ID,
54
+ title: ( localizeWithPath(
55
+ 'vs/workbench/contrib/notebook/browser/controller/insertCellActions',
56
+ 'notebookActions.insertCodeCellAbove',
57
+ "Insert Code Cell Above"
58
+ )),
59
+ keybinding: {
60
+ primary: 2048 | 1024 | 3 ,
61
+ when: ( ContextKeyExpr.and(NOTEBOOK_CELL_LIST_FOCUSED, ( InputFocusedContext.toNegated()))),
62
+ weight: 200
63
+ },
64
+ menu: {
65
+ id: MenuId.NotebookCellInsert,
66
+ order: 0
67
+ }
68
+ }, CellKind.Code, 'above', true);
69
+ }
70
+ });
71
+ registerAction2(class InsertCodeCellAboveAndFocusContainerAction extends InsertCellCommand {
72
+ constructor() {
73
+ super({
74
+ id: INSERT_CODE_CELL_ABOVE_AND_FOCUS_CONTAINER_COMMAND_ID,
75
+ title: ( localizeWithPath(
76
+ 'vs/workbench/contrib/notebook/browser/controller/insertCellActions',
77
+ 'notebookActions.insertCodeCellAboveAndFocusContainer',
78
+ "Insert Code Cell Above and Focus Container"
79
+ ))
80
+ }, CellKind.Code, 'above', false);
81
+ }
82
+ });
83
+ registerAction2(class InsertCodeCellBelowAction extends InsertCellCommand {
84
+ constructor() {
85
+ super({
86
+ id: INSERT_CODE_CELL_BELOW_COMMAND_ID,
87
+ title: ( localizeWithPath(
88
+ 'vs/workbench/contrib/notebook/browser/controller/insertCellActions',
89
+ 'notebookActions.insertCodeCellBelow',
90
+ "Insert Code Cell Below"
91
+ )),
92
+ keybinding: {
93
+ primary: 2048 | 3 ,
94
+ when: ( ContextKeyExpr.and(NOTEBOOK_CELL_LIST_FOCUSED, ( InputFocusedContext.toNegated()))),
95
+ weight: 200
96
+ },
97
+ menu: {
98
+ id: MenuId.NotebookCellInsert,
99
+ order: 1
100
+ }
101
+ }, CellKind.Code, 'below', true);
102
+ }
103
+ });
104
+ registerAction2(class InsertCodeCellBelowAndFocusContainerAction extends InsertCellCommand {
105
+ constructor() {
106
+ super({
107
+ id: INSERT_CODE_CELL_BELOW_AND_FOCUS_CONTAINER_COMMAND_ID,
108
+ title: ( localizeWithPath(
109
+ 'vs/workbench/contrib/notebook/browser/controller/insertCellActions',
110
+ 'notebookActions.insertCodeCellBelowAndFocusContainer',
111
+ "Insert Code Cell Below and Focus Container"
112
+ )),
113
+ }, CellKind.Code, 'below', false);
114
+ }
115
+ });
116
+ registerAction2(class InsertMarkdownCellAboveAction extends InsertCellCommand {
117
+ constructor() {
118
+ super({
119
+ id: INSERT_MARKDOWN_CELL_ABOVE_COMMAND_ID,
120
+ title: ( localizeWithPath(
121
+ 'vs/workbench/contrib/notebook/browser/controller/insertCellActions',
122
+ 'notebookActions.insertMarkdownCellAbove',
123
+ "Insert Markdown Cell Above"
124
+ )),
125
+ menu: {
126
+ id: MenuId.NotebookCellInsert,
127
+ order: 2
128
+ }
129
+ }, CellKind.Markup, 'above', true);
130
+ }
131
+ });
132
+ registerAction2(class InsertMarkdownCellBelowAction extends InsertCellCommand {
133
+ constructor() {
134
+ super({
135
+ id: INSERT_MARKDOWN_CELL_BELOW_COMMAND_ID,
136
+ title: ( localizeWithPath(
137
+ 'vs/workbench/contrib/notebook/browser/controller/insertCellActions',
138
+ 'notebookActions.insertMarkdownCellBelow',
139
+ "Insert Markdown Cell Below"
140
+ )),
141
+ menu: {
142
+ id: MenuId.NotebookCellInsert,
143
+ order: 3
144
+ }
145
+ }, CellKind.Markup, 'below', true);
146
+ }
147
+ });
148
+ registerAction2(class InsertCodeCellAtTopAction extends NotebookAction {
149
+ constructor() {
150
+ super({
151
+ id: INSERT_CODE_CELL_AT_TOP_COMMAND_ID,
152
+ title: ( localizeWithPath(
153
+ 'vs/workbench/contrib/notebook/browser/controller/insertCellActions',
154
+ 'notebookActions.insertCodeCellAtTop',
155
+ "Add Code Cell At Top"
156
+ )),
157
+ f1: false
158
+ });
159
+ }
160
+ async run(accessor, context) {
161
+ context = context ?? this.getEditorContextFromArgsOrActive(accessor);
162
+ if (context) {
163
+ this.runWithContext(accessor, context);
164
+ }
165
+ }
166
+ async runWithContext(accessor, context) {
167
+ const languageService = accessor.get(ILanguageService);
168
+ const newCell = insertCell(languageService, context.notebookEditor, 0, CellKind.Code, 'above', undefined, true);
169
+ if (newCell) {
170
+ await context.notebookEditor.focusNotebookCell(newCell, 'editor');
171
+ }
172
+ }
173
+ });
174
+ registerAction2(class InsertMarkdownCellAtTopAction extends NotebookAction {
175
+ constructor() {
176
+ super({
177
+ id: INSERT_MARKDOWN_CELL_AT_TOP_COMMAND_ID,
178
+ title: ( localizeWithPath(
179
+ 'vs/workbench/contrib/notebook/browser/controller/insertCellActions',
180
+ 'notebookActions.insertMarkdownCellAtTop',
181
+ "Add Markdown Cell At Top"
182
+ )),
183
+ f1: false
184
+ });
185
+ }
186
+ async run(accessor, context) {
187
+ context = context ?? this.getEditorContextFromArgsOrActive(accessor);
188
+ if (context) {
189
+ this.runWithContext(accessor, context);
190
+ }
191
+ }
192
+ async runWithContext(accessor, context) {
193
+ const languageService = accessor.get(ILanguageService);
194
+ const newCell = insertCell(languageService, context.notebookEditor, 0, CellKind.Markup, 'above', undefined, true);
195
+ if (newCell) {
196
+ await context.notebookEditor.focusNotebookCell(newCell, 'editor');
197
+ }
198
+ }
199
+ });
200
+ MenuRegistry.appendMenuItem(MenuId.NotebookCellBetween, {
201
+ command: {
202
+ id: INSERT_CODE_CELL_BELOW_COMMAND_ID,
203
+ title: '$(add) ' + ( localizeWithPath(
204
+ 'vs/workbench/contrib/notebook/browser/controller/insertCellActions',
205
+ 'notebookActions.menu.insertCode',
206
+ "Code"
207
+ )),
208
+ tooltip: ( localizeWithPath(
209
+ 'vs/workbench/contrib/notebook/browser/controller/insertCellActions',
210
+ 'notebookActions.menu.insertCode.tooltip',
211
+ "Add Code Cell"
212
+ ))
213
+ },
214
+ order: 0,
215
+ group: 'inline',
216
+ when: ( ContextKeyExpr.and(( NOTEBOOK_EDITOR_EDITABLE.isEqualTo(true)), ( ContextKeyExpr.notEquals('config.notebook.experimental.insertToolbarAlignment', 'left'))))
217
+ });
218
+ MenuRegistry.appendMenuItem(MenuId.NotebookCellBetween, {
219
+ command: {
220
+ id: INSERT_CODE_CELL_BELOW_COMMAND_ID,
221
+ title: ( localizeWithPath(
222
+ 'vs/workbench/contrib/notebook/browser/controller/insertCellActions',
223
+ 'notebookActions.menu.insertCode.minimalToolbar',
224
+ "Add Code"
225
+ )),
226
+ icon: Codicon.add,
227
+ tooltip: ( localizeWithPath(
228
+ 'vs/workbench/contrib/notebook/browser/controller/insertCellActions',
229
+ 'notebookActions.menu.insertCode.tooltip',
230
+ "Add Code Cell"
231
+ ))
232
+ },
233
+ order: 0,
234
+ group: 'inline',
235
+ when: ( ContextKeyExpr.and(( NOTEBOOK_EDITOR_EDITABLE.isEqualTo(true)), ( ContextKeyExpr.equals('config.notebook.experimental.insertToolbarAlignment', 'left'))))
236
+ });
237
+ MenuRegistry.appendMenuItem(MenuId.NotebookToolbar, {
238
+ command: {
239
+ id: INSERT_CODE_CELL_BELOW_COMMAND_ID,
240
+ icon: Codicon.add,
241
+ title: ( localizeWithPath(
242
+ 'vs/workbench/contrib/notebook/browser/controller/insertCellActions',
243
+ 'notebookActions.menu.insertCode.ontoolbar',
244
+ "Code"
245
+ )),
246
+ tooltip: ( localizeWithPath(
247
+ 'vs/workbench/contrib/notebook/browser/controller/insertCellActions',
248
+ 'notebookActions.menu.insertCode.tooltip',
249
+ "Add Code Cell"
250
+ ))
251
+ },
252
+ order: -5,
253
+ group: 'navigation/add',
254
+ when: ( ContextKeyExpr.and(( NOTEBOOK_EDITOR_EDITABLE.isEqualTo(true)), ( ContextKeyExpr.notEquals('config.notebook.insertToolbarLocation', 'betweenCells')), ( ContextKeyExpr.notEquals('config.notebook.insertToolbarLocation', 'hidden'))))
255
+ });
256
+ MenuRegistry.appendMenuItem(MenuId.NotebookCellListTop, {
257
+ command: {
258
+ id: INSERT_CODE_CELL_AT_TOP_COMMAND_ID,
259
+ title: '$(add) ' + ( localizeWithPath(
260
+ 'vs/workbench/contrib/notebook/browser/controller/insertCellActions',
261
+ 'notebookActions.menu.insertCode',
262
+ "Code"
263
+ )),
264
+ tooltip: ( localizeWithPath(
265
+ 'vs/workbench/contrib/notebook/browser/controller/insertCellActions',
266
+ 'notebookActions.menu.insertCode.tooltip',
267
+ "Add Code Cell"
268
+ ))
269
+ },
270
+ order: 0,
271
+ group: 'inline',
272
+ when: ( ContextKeyExpr.and(( NOTEBOOK_EDITOR_EDITABLE.isEqualTo(true)), ( ContextKeyExpr.notEquals('config.notebook.experimental.insertToolbarAlignment', 'left'))))
273
+ });
274
+ MenuRegistry.appendMenuItem(MenuId.NotebookCellListTop, {
275
+ command: {
276
+ id: INSERT_CODE_CELL_AT_TOP_COMMAND_ID,
277
+ title: ( localizeWithPath(
278
+ 'vs/workbench/contrib/notebook/browser/controller/insertCellActions',
279
+ 'notebookActions.menu.insertCode.minimaltoolbar',
280
+ "Add Code"
281
+ )),
282
+ icon: Codicon.add,
283
+ tooltip: ( localizeWithPath(
284
+ 'vs/workbench/contrib/notebook/browser/controller/insertCellActions',
285
+ 'notebookActions.menu.insertCode.tooltip',
286
+ "Add Code Cell"
287
+ ))
288
+ },
289
+ order: 0,
290
+ group: 'inline',
291
+ when: ( ContextKeyExpr.and(( NOTEBOOK_EDITOR_EDITABLE.isEqualTo(true)), ( ContextKeyExpr.equals('config.notebook.experimental.insertToolbarAlignment', 'left'))))
292
+ });
293
+ MenuRegistry.appendMenuItem(MenuId.NotebookCellBetween, {
294
+ command: {
295
+ id: INSERT_MARKDOWN_CELL_BELOW_COMMAND_ID,
296
+ title: '$(add) ' + ( localizeWithPath(
297
+ 'vs/workbench/contrib/notebook/browser/controller/insertCellActions',
298
+ 'notebookActions.menu.insertMarkdown',
299
+ "Markdown"
300
+ )),
301
+ tooltip: ( localizeWithPath(
302
+ 'vs/workbench/contrib/notebook/browser/controller/insertCellActions',
303
+ 'notebookActions.menu.insertMarkdown.tooltip',
304
+ "Add Markdown Cell"
305
+ ))
306
+ },
307
+ order: 1,
308
+ group: 'inline',
309
+ when: ( ContextKeyExpr.and(( NOTEBOOK_EDITOR_EDITABLE.isEqualTo(true)), ( ContextKeyExpr.notEquals('config.notebook.experimental.insertToolbarAlignment', 'left'))))
310
+ });
311
+ MenuRegistry.appendMenuItem(MenuId.NotebookToolbar, {
312
+ command: {
313
+ id: INSERT_MARKDOWN_CELL_BELOW_COMMAND_ID,
314
+ icon: Codicon.add,
315
+ title: ( localizeWithPath(
316
+ 'vs/workbench/contrib/notebook/browser/controller/insertCellActions',
317
+ 'notebookActions.menu.insertMarkdown.ontoolbar',
318
+ "Markdown"
319
+ )),
320
+ tooltip: ( localizeWithPath(
321
+ 'vs/workbench/contrib/notebook/browser/controller/insertCellActions',
322
+ 'notebookActions.menu.insertMarkdown.tooltip',
323
+ "Add Markdown Cell"
324
+ ))
325
+ },
326
+ order: -5,
327
+ group: 'navigation/add',
328
+ when: ( ContextKeyExpr.and(( NOTEBOOK_EDITOR_EDITABLE.isEqualTo(true)), ( ContextKeyExpr.notEquals('config.notebook.insertToolbarLocation', 'betweenCells')), ( ContextKeyExpr.notEquals('config.notebook.insertToolbarLocation', 'hidden')), ( ContextKeyExpr.notEquals(`config.${NotebookSetting.globalToolbarShowLabel}`, false)), ( ContextKeyExpr.notEquals(`config.${NotebookSetting.globalToolbarShowLabel}`, 'never'))))
329
+ });
330
+ MenuRegistry.appendMenuItem(MenuId.NotebookCellListTop, {
331
+ command: {
332
+ id: INSERT_MARKDOWN_CELL_AT_TOP_COMMAND_ID,
333
+ title: '$(add) ' + ( localizeWithPath(
334
+ 'vs/workbench/contrib/notebook/browser/controller/insertCellActions',
335
+ 'notebookActions.menu.insertMarkdown',
336
+ "Markdown"
337
+ )),
338
+ tooltip: ( localizeWithPath(
339
+ 'vs/workbench/contrib/notebook/browser/controller/insertCellActions',
340
+ 'notebookActions.menu.insertMarkdown.tooltip',
341
+ "Add Markdown Cell"
342
+ ))
343
+ },
344
+ order: 1,
345
+ group: 'inline',
346
+ when: ( ContextKeyExpr.and(( NOTEBOOK_EDITOR_EDITABLE.isEqualTo(true)), ( ContextKeyExpr.notEquals('config.notebook.experimental.insertToolbarAlignment', 'left'))))
347
+ });
348
+ export { InsertCellCommand, insertNewCell };
@@ -0,0 +1,4 @@
1
+ import n from '../../../../../../../../external/rollup-plugin-styles/dist/runtime/inject-css.js';
2
+ var css = ".monaco-workbench .notebookOverlay.notebook-editor{box-sizing:border-box;line-height:22px;position:relative;user-select:auto;-webkit-user-select:initial}.monaco-workbench .notebookOverlay .cell-list-container>.monaco-list{position:absolute}.monaco-workbench .notebookOverlay .cell-list-container .monaco-list-rows{min-height:100%;overflow:visible!important}.monaco-workbench .notebookOverlay .cell-list-container .overflowingContentWidgets>div{white-space:normal;z-index:600!important}.monaco-workbench .notebookOverlay .cell-list-container .monaco-editor .overlayWidgets{z-index:638!important}.monaco-workbench .notebookOverlay .cell-list-container .overflowingContentWidgets>div.parameter-hints-widget{z-index:639!important}.monaco-workbench .notebookOverlay .cell-list-container .overflowingContentWidgets>div.suggest-widget{z-index:640!important}.monaco-workbench .notebookOverlay .cell-list-container .overflowingContentWidgets>div .suggest-details-container{z-index:641!important}.monaco-workbench .notebookOverlay .cell-list-container .monaco-editor .zone-widget.interactive-editor-widget .interactive-editor .markdownMessage{white-space:normal}.monaco-workbench .notebookOverlay .cell-list-container{position:relative}.monaco-workbench .notebookOverlay.global-drag-active .webview{pointer-events:none}.monaco-workbench .notebookOverlay .cell-list-container .webview-cover{position:absolute;top:0}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row,.monaco-workbench .notebookOverlay>.cell-list-container>.notebook-gutter>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row{cursor:default;overflow:visible!important;width:100%}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell{display:flex;position:relative}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .menu{left:0;margin:auto;padding-left:4px;position:absolute;top:28px;visibility:hidden;width:16px}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell-output-hover .menu,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .menu.mouseover,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row:hover .menu{visibility:visible}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell-output-hover,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row.focused,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row:hover{outline:none!important}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container{align-items:center;box-sizing:border-box;display:flex;position:relative;width:100%}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container .collapsed-execution-icon{line-height:normal;margin-left:6px}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container .collapsed-execution-icon .codicon-notebook-state-success{color:var(--vscode-notebookStatusSuccessIcon-foreground)}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container .collapsed-execution-icon .codicon-notebook-state-error{color:var(--vscode-notebookStatusErrorIcon-foreground)}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container .cell-collapse-preview{align-items:center;display:flex;padding:0 8px}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container .cell-collapse-preview .monaco-tokenized-source{cursor:pointer;font-family:var(--notebook-cell-input-preview-font-family);font-size:var(--notebook-cell-input-preview-font-size);overflow:hidden;white-space:normal}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container .cell-collapse-preview .expandInputIcon{border-radius:5px;cursor:pointer;height:16px;padding:2px;width:16px;z-index:var(--z-index-notebook-input-collapse-condicon)}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container .cell-collapse-preview .expandInputIcon:before{color:grey;font-size:12px;line-height:16px;vertical-align:bottom}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .output-collapse-container{cursor:pointer}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .output-collapse-container .expandOutputPlaceholder{font-family:var(--monaco-monospace-font);font-size:var(--notebook-cell-output-font-size);font-style:italic;min-height:24px;opacity:.7;user-select:none}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .output-collapse-container .expandOutputIcon{border-radius:5px;height:16px;left:0;margin-left:4px;padding:2px;position:relative;vertical-align:middle;width:16px}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell-expand-part-button{border-radius:5px;height:16px;left:0;margin-left:4px;padding:2px;position:relative;vertical-align:middle;width:16px;z-index:var(--z-index-notebook-cell-expand-part-button)}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell-expand-part-button:before,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .output-collapse-container .expandOutputIcon:before{color:grey;font-size:12px;line-height:16px;vertical-align:bottom}.monaco-workbench.hc-black .notebookOverlay .monaco-list-row.focused .cell-editor-focus .cell-editor-part:before,.monaco-workbench.hc-light .notebookOverlay .monaco-list-row.focused .cell-editor-focus .cell-editor-part:before{outline-style:dashed}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .menu.mouseover,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .menu:hover{cursor:pointer}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .run-button-container{flex-shrink:0;left:-35px;position:absolute;width:35px;z-index:var(--z-index-run-button-container)}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .run-button-container .monaco-toolbar{height:auto;visibility:hidden}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .run-button-container .monaco-toolbar .action-item:not(.monaco-dropdown-with-primary) .codicon{padding:6px}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .run-button-container .monaco-toolbar .actions-container{justify-content:center}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell-output-hover .run-button-container .monaco-toolbar,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell-run-toolbar-dropdown-active .run-button-container .monaco-toolbar,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row.focused .run-button-container .monaco-toolbar,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row:hover .run-button-container .monaco-toolbar{visibility:visible}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .execution-count-label{box-sizing:border-box;font-family:var(--monaco-monospace-font);font-size:10px;opacity:.7;position:absolute;right:0;text-align:center;white-space:pre;width:35px}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell-statusbar-hidden .execution-count-label{line-height:15px}.monaco-workbench .notebookOverlay .cell .cell-editor-part{position:relative}.monaco-workbench .notebookOverlay .cell .monaco-progress-container{left:0;position:absolute;top:-3px;z-index:var(--z-index-notebook-progress-bar)}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list:not(.element-focused):focus:before{outline:none!important}.monaco-workbench .notebookOverlay.notebook-editor>.cell-list-container>.monaco-list>.monaco-scrollable-element>.scrollbar.visible{cursor:default;z-index:var(--z-index-notebook-scrollbar)}.monaco-workbench .notebookOverlay .monaco-list-row .cell-editor-part:before{bottom:0;content:\"\";display:block;left:0;outline-offset:-1px;pointer-events:none;position:absolute;right:0;top:0;z-index:var(--z-index-notebook-cell-editor-outline)}.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-insertion-indicator-top{top:-15px}.monaco-workbench .notebookOverlay>.cell-list-container>.cell-list-insertion-indicator{height:2px;left:0;opacity:0;position:absolute;right:0;z-index:var(--z-index-notebook-list-insertion-indicator)}.monaco-action-bar .action-item.verticalSeparator{cursor:default;height:16px!important;margin:5px 4px!important;min-width:1px!important;width:1px!important}.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-decoration{display:flex;position:absolute;top:-6px}.cell-contributed-items.cell-contributed-items-left{margin-left:4px}.cell-contributed-items.cell-contributed-items-right{flex-direction:row-reverse}.monaco-workbench .notebookOverlay .monaco-list:focus-within .monaco-list-row .codicon:not(.suggest-icon){color:inherit}.monaco-workbench .notebookOverlay>.cell-list-container .notebook-overview-ruler-container{position:absolute;right:0;top:0}.hc-black .notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected:not(.focused) .cell-focus-indicator-top:before,.hc-light .notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected:not(.focused) .cell-focus-indicator-top:before{border-top-style:dotted}.hc-black .notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected:not(.focused) .cell-focus-indicator-bottom:before,.hc-light .notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected:not(.focused) .cell-focus-indicator-bottom:before{border-bottom-style:dotted}.hc-black .notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected:not(.focused) .cell-inner-container:not(.cell-editor-focus) .cell-focus-indicator-left:before,.hc-light .notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected:not(.focused) .cell-inner-container:not(.cell-editor-focus) .cell-focus-indicator-left:before{border-left-style:dotted}.hc-black .notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected:not(.focused) .cell-inner-container:not(.cell-editor-focus) .cell-focus-indicator-right:before,.hc-light .notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected:not(.focused) .cell-inner-container:not(.cell-editor-focus) .cell-focus-indicator-right:before{border-right-style:dotted}.cell-comment-container.review-widget{border-left:1px solid var(--vscode-peekView-border);border-right:1px solid var(--vscode-peekView-border)}.cell-comment-container.review-widget>.head{border-top:1px solid var(--vscode-peekView-border)}.cell-comment-container.review-widget>.body{border-bottom:1px solid var(--vscode-peekView-border)}.cell-comment-container.review-widget{background-color:var(--vscode-peekViewResult-background)}.notebookOverlay .cell-drag-image .cell-editor-container>div{background:var(--vscode-editor-background)!important}.notebookOverlay .cell-bottom-toolbar-container .action-item,.notebookOverlay .cell-list-top-cell-toolbar-container .action-item,.notebookOverlay .monaco-list-row .cell-title-toolbar,.notebookOverlay .monaco-list-row.cell-drag-image{background-color:var(--vscode-editor-background)}.monaco-workbench .notebookOverlay.notebook-editor{background-color:var(--vscode-notebook-editorBackground)}.notebookOverlay .cell .cell-statusbar-container,.notebookOverlay .cell .margin-view-overlays,.notebookOverlay .cell .monaco-editor-background{background:var(--vscode-notebook-cellEditorBackground,var(--vscode-editor-background))}.notebookOverlay .cell-bottom-toolbar-container .action-item,.notebookOverlay .cell-list-top-cell-toolbar-container .action-item,.notebookOverlay .monaco-list-row .cell-title-toolbar{border:1px solid var(--vscode-notebook-cellToolbarSeparator)}.notebookOverlay .monaco-action-bar .action-item.verticalSeparator{background-color:var(--vscode-notebook-cellToolbarSeparator)}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container{border-bottom:1px solid var(--vscode-notebook-cellToolbarSeparator)}.notebookOverlay .code-cell-row.focused .cell-focus-indicator,.notebookOverlay .code-cell-row.focused .input-collapse-container,.notebookOverlay .markdown-cell-row.focused{background-color:var(--vscode-notebook-focusedCellBackground)!important}.notebookOverlay .monaco-list.selection-multiple .code-cell-row.selected .cell-focus-indicator-bottom,.notebookOverlay .monaco-list.selection-multiple .code-cell-row.selected .cell-focus-indicator-left,.notebookOverlay .monaco-list.selection-multiple .code-cell-row.selected .cell-focus-indicator-right,.notebookOverlay .monaco-list.selection-multiple .code-cell-row.selected .cell-focus-indicator-top,.notebookOverlay .monaco-list.selection-multiple .markdown-cell-row.selected,.notebookOverlay .monaco-list.selection-multiple .markdown-cell-row.selected .cell-focus-indicator-bottom{background-color:var(--vscode-notebook-selectedCellBackground,inherit)!important}.notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected .cell-focus-indicator-bottom:before,.notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected .cell-focus-indicator-top:before,.notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected .cell-inner-container:not(.cell-editor-focus) .cell-focus-indicator-left:before,.notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected .cell-inner-container:not(.cell-editor-focus) .cell-focus-indicator-right:before{border-color:var(--vscode-notebook-inactiveSelectedCellBorder,transparent)!important}.notebookOverlay .code-cell-row:not(.focused).cell-output-hover .cell-focus-indicator,.notebookOverlay .code-cell-row:not(.focused):hover .cell-focus-indicator,.notebookOverlay .markdown-cell-row:not(.focused):hover{background-color:var(--vscode-notebook-cellHoverBackground)!important}.notebookOverlay .code-cell-row:not(.focused).cell-output-hover .input-collapse-container,.notebookOverlay .code-cell-row:not(.focused):hover .input-collapse-container{background-color:var(--vscode-notebook-cellHoverBackground)}.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.code-cell-row.nb-symbolHighlight .cell-focus-indicator,.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.markdown-cell-row.nb-symbolHighlight{background-color:var(--vscode-notebook-symbolHighlightBackground)!important}.notebookOverlay .monaco-list:focus-within .monaco-list-row.focused .cell-editor-focus .cell-editor-part:before{outline:solid 1px var(--vscode-notebook-focusedEditorBorder)}.notebookOverlay .cell.markdown h1{border-color:var(--vscode-notebook-cellBorderColor)}.notebookOverlay .monaco-list-row .cell-editor-part:before{outline:solid 1px var(--vscode-notebook-cellBorderColor)}.monaco-workbench .notebookOverlay .cell-statusbar-container .cell-language-picker:hover,.monaco-workbench .notebookOverlay .cell-statusbar-container .cell-status-item.cell-status-item-has-command:hover{background-color:var(--vscode-notebook-cellStatusBarItemHoverBackground)}.notebookOverlay>.cell-list-container>.cell-list-insertion-indicator{background-color:var(--vscode-notebook-cellInsertionIndicator)}.notebookOverlay .cell-list-container>.monaco-list>.monaco-scrollable-element>.scrollbar>.slider{background:var(--vscode-notebookScrollbarSlider-background)}.notebookOverlay .cell-list-container>.monaco-list>.monaco-scrollable-element>.scrollbar>.slider:hover{background:var(--vscode-notebookScrollbarSlider-hoverBackground)}.notebookOverlay .cell-list-container>.monaco-list>.monaco-scrollable-element>.scrollbar>.slider.active{background:var(--vscode-notebookScrollbarSlider-activeBackground)}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell-expand-part-button:hover,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .expandInputIcon:hover,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .expandOutputIcon:hover{background-color:var(--vscode-toolbar-hoverBackground)}.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.code-cell-row.nb-cell-modified .cell-focus-indicator,.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.markdown-cell-row.nb-cell-modified{background-color:var(--vscode-editorGutter-modifiedBackground)!important}.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.code-cell-row.nb-cell-added .cell-focus-indicator,.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.markdown-cell-row.nb-cell-added{background-color:var(--vscode-diffEditor-insertedTextBackground)!important}.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.code-cell-row.nb-cell-deleted .cell-focus-indicator,.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.markdown-cell-row.nb-cell-deleted{background-color:var(--vscode-diffEditor-removedTextBackground)!important}.monaco-workbench .notebookOverlay .codicon-debug-continue{color:var(--vscode-icon-foreground)!important}";
3
+ n(css,{});
4
+ export { css, css as default };