@codingame/monaco-vscode-api 37.1.0 → 37.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (313) hide show
  1. package/missing-services.js +6 -26
  2. package/package.json +8 -8
  3. package/services.d.ts +1 -1
  4. package/services.js +3 -3
  5. package/tools.d.ts +4 -0
  6. package/tools.js +24 -1
  7. package/vscode/src/vs/platform/product/common/product.js +1 -1
  8. package/vscode/src/vs/platform/webWorker/browser/webWorkerServiceImpl.js +2 -2
  9. package/vscode/src/vs/workbench/api/browser/mainThreadDocuments.d.ts +63 -0
  10. package/vscode/src/vs/workbench/api/browser/mainThreadDocuments.js +305 -0
  11. package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +2 -2
  12. package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +1 -2
  13. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +1 -1
  14. package/vscode/src/vs/workbench/browser/media/code-icon.svg +1 -0
  15. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatConstants.d.ts +1 -0
  16. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatConstants.js +2 -1
  17. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginActions.d.ts +2 -2
  18. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.service.d.ts +1 -1
  19. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsBanner.d.ts +30 -0
  20. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsBanner.js +39 -0
  21. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsService.service.d.ts +1 -1
  22. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionService.service.d.ts +1 -1
  23. package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +1 -1
  24. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.service.d.ts +1 -1
  25. package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.d.ts +1 -1
  26. package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariables.service.d.ts +1 -1
  27. package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.service.d.ts +1 -1
  28. package/vscode/src/vs/workbench/contrib/chat/common/chatImageBuffer.d.ts +1 -0
  29. package/vscode/src/vs/workbench/contrib/chat/common/chatImageBuffer.js +29 -0
  30. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.d.ts +2 -2
  31. package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.service.d.ts +1 -1
  32. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginRepositoryService.d.ts +1 -1
  33. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginRepositoryService.service.d.ts +2 -2
  34. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.service.d.ts +1 -1
  35. package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginInstallService.d.ts +1 -1
  36. package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginInstallService.service.d.ts +1 -1
  37. package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.service.d.ts +2 -2
  38. package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginSource.d.ts +1 -1
  39. package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatParserTypes.d.ts +1 -1
  40. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/toolIds.d.ts +3 -0
  41. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/toolIds.js +7 -0
  42. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.d.ts +3 -3
  43. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts +1 -1
  44. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +1 -1
  45. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.d.ts +1 -1
  46. package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.d.ts +1 -1
  47. package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.service.d.ts +1 -1
  48. package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service.d.ts +1 -1
  49. package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +1 -1
  50. package/vscode/src/vs/workbench/contrib/search/browser/AISearch/aiSearchModel.d.ts +1 -1
  51. package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchModel.d.ts +1 -1
  52. package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchModelBase.d.ts +1 -1
  53. package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/folderMatch.d.ts +1 -1
  54. package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/searchTreeCommon.d.ts +1 -1
  55. package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +4 -3
  56. package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/agentSessionsWelcomeInput.d.ts +34 -0
  57. package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/agentSessionsWelcomeInput.js +72 -0
  58. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedInput.d.ts +44 -0
  59. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedInput.js +96 -0
  60. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/media/gettingStarted.css +1148 -0
  61. package/vscode/src/vs/workbench/contrib/welcomeOnboarding/common/onboardingTypes.d.ts +81 -0
  62. package/vscode/src/vs/workbench/contrib/welcomeOnboarding/common/onboardingTypes.js +97 -0
  63. package/vscode/src/vs/workbench/services/extensions/common/extHostCustomers.d.ts +32 -0
  64. package/vscode/src/vs/workbench/services/extensions/common/extHostCustomers.js +45 -0
  65. package/vscode/src/vs/platform/agentHost/common/agentHostEnablementService.d.ts +0 -7
  66. package/vscode/src/vs/platform/agentHost/common/agentHostEnablementService.js +0 -92
  67. package/vscode/src/vs/platform/layout/browser/zIndexRegistry.d.ts +0 -12
  68. package/vscode/src/vs/platform/layout/browser/zIndexRegistry.js +0 -64
  69. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.d.ts +0 -262
  70. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.js +0 -865
  71. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables.d.ts +0 -57
  72. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables.js +0 -311
  73. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatVariables.d.ts +0 -15
  74. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatVariables.js +0 -80
  75. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.d.ts +0 -2
  76. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.js +0 -57
  77. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.d.ts +0 -231
  78. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +0 -1850
  79. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.d.ts +0 -109
  80. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.js +0 -85
  81. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.d.ts +0 -140
  82. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.js +0 -186
  83. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatDynamicVariablesConstant.d.ts +0 -1
  84. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatDynamicVariablesConstant.js +0 -5
  85. package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariables.d.ts +0 -46
  86. package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariables.js +0 -17
  87. package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.d.ts +0 -253
  88. package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.js +0 -20
  89. package/vscode/src/vs/workbench/contrib/chat/common/chatImageExtraction.d.ts +0 -34
  90. package/vscode/src/vs/workbench/contrib/chat/common/chatImageExtraction.js +0 -194
  91. package/vscode/src/vs/workbench/contrib/chat/common/chatSelectedModel.d.ts +0 -87
  92. package/vscode/src/vs/workbench/contrib/chat/common/chatSelectedModel.js +0 -69
  93. package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.d.ts +0 -300
  94. package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.js +0 -272
  95. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement.d.ts +0 -25
  96. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement.js +0 -178
  97. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.d.ts +0 -78
  98. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.js +0 -51
  99. package/vscode/src/vs/workbench/contrib/chat/common/plugins/fileBackedInstalledPluginsStore.d.ts +0 -67
  100. package/vscode/src/vs/workbench/contrib/chat/common/plugins/fileBackedInstalledPluginsStore.js +0 -195
  101. package/vscode/src/vs/workbench/contrib/chat/common/plugins/marketplaceReference.d.ts +0 -67
  102. package/vscode/src/vs/workbench/contrib/chat/common/plugins/marketplaceReference.js +0 -294
  103. package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.d.ts +0 -212
  104. package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.js +0 -955
  105. package/vscode/src/vs/workbench/contrib/chat/common/plugins/strictKnownMarketplaces.d.ts +0 -31
  106. package/vscode/src/vs/workbench/contrib/chat/common/plugins/strictKnownMarketplaces.js +0 -122
  107. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts +0 -65
  108. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +0 -697
  109. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/config.d.ts +0 -150
  110. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/config.js +0 -142
  111. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookClaudeCompat.d.ts +0 -50
  112. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookClaudeCompat.js +0 -77
  113. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCompatibility.d.ts +0 -77
  114. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCompatibility.js +0 -120
  115. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCopilotCliCompat.d.ts +0 -10
  116. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCopilotCliCompat.js +0 -23
  117. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/extensionPromptFileService.d.ts +0 -92
  118. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/extensionPromptFileService.js +0 -335
  119. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.d.ts +0 -235
  120. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +0 -1673
  121. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.d.ts +0 -202
  122. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +0 -872
  123. package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.d.ts +0 -35
  124. package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.js +0 -289
  125. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.d.ts +0 -72
  126. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.js +0 -600
  127. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/confirmationTool.d.ts +0 -36
  128. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/confirmationTool.js +0 -239
  129. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/editFileTool.d.ts +0 -22
  130. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/editFileTool.js +0 -143
  131. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.d.ts +0 -24
  132. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.js +0 -298
  133. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/reviewPlanTool.d.ts +0 -25
  134. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/reviewPlanTool.js +0 -177
  135. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.d.ts +0 -73
  136. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +0 -577
  137. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactRulesTool.d.ts +0 -11
  138. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactRulesTool.js +0 -90
  139. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.d.ts +0 -16
  140. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.js +0 -130
  141. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/taskCompleteTool.d.ts +0 -12
  142. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/taskCompleteTool.js +0 -53
  143. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/toolHelpers.d.ts +0 -5
  144. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/toolHelpers.js +0 -12
  145. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/tools.d.ts +0 -10
  146. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/tools.js +0 -92
  147. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.d.ts +0 -38
  148. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +0 -518
  149. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsParametersSchema.d.ts +0 -6
  150. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsParametersSchema.js +0 -231
  151. package/vscode/src/vs/workbench/contrib/chat/common/tools/terminalToolIds.d.ts +0 -20
  152. package/vscode/src/vs/workbench/contrib/chat/common/tools/terminalToolIds.js +0 -17
  153. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.d.ts +0 -6
  154. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +0 -283
  155. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.d.ts +0 -91
  156. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +0 -340
  157. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.d.ts +0 -17
  158. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +0 -272
  159. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebook.css +0 -686
  160. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellChat.css +0 -348
  161. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellEditorHint.css +0 -8
  162. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellInsertToolbar.css +0 -92
  163. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellOutput.css +0 -119
  164. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellStatusBar.css +0 -79
  165. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellTitleToolbar.css +0 -61
  166. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookChatEditController.css +0 -55
  167. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookChatEditorOverlay.css +0 -63
  168. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookDnd.css +0 -79
  169. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookEditorStickyScroll.css +0 -63
  170. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookFocusIndicator.css +0 -92
  171. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookFolding.css +0 -79
  172. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookKernelActionViewItem.css +0 -24
  173. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookOutline.css +0 -61
  174. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookToolbar.css +0 -102
  175. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.d.ts +0 -27
  176. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +0 -131
  177. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookCellLayoutManager.d.ts +0 -18
  178. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookCellLayoutManager.js +0 -92
  179. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.d.ts +0 -105
  180. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +0 -673
  181. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorExtensions.d.ts +0 -9
  182. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorExtensions.js +0 -37
  183. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.d.ts +0 -354
  184. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +0 -2926
  185. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.d.ts +0 -29
  186. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +0 -36
  187. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookLogger.d.ts +0 -1
  188. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookLogger.js +0 -19
  189. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.d.ts +0 -200
  190. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.js +0 -591
  191. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookViewEvents.d.ts +0 -56
  192. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookViewEvents.js +0 -30
  193. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellPart.d.ts +0 -99
  194. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellPart.js +0 -131
  195. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.d.ts +0 -30
  196. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.js +0 -115
  197. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.d.ts +0 -28
  198. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +0 -158
  199. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellContextKeys.d.ts +0 -40
  200. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellContextKeys.js +0 -183
  201. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDecorations.d.ts +0 -10
  202. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDecorations.js +0 -66
  203. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDnd.d.ts +0 -52
  204. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDnd.js +0 -429
  205. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDragRenderer.d.ts +0 -6
  206. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDragRenderer.js +0 -108
  207. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.d.ts +0 -36
  208. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +0 -221
  209. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellExecution.d.ts +0 -17
  210. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellExecution.js +0 -142
  211. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocus.d.ts +0 -5
  212. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocus.js +0 -23
  213. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocusIndicator.d.ts +0 -18
  214. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocusIndicator.js +0 -104
  215. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.d.ts +0 -92
  216. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +0 -762
  217. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellProgressBar.d.ts +0 -15
  218. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellProgressBar.js +0 -58
  219. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.d.ts +0 -36
  220. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.js +0 -357
  221. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbarStickyScroll.d.ts +0 -6
  222. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbarStickyScroll.js +0 -32
  223. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.d.ts +0 -47
  224. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.js +0 -260
  225. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellWidgets.d.ts +0 -9
  226. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellWidgets.js +0 -10
  227. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatPart.d.ts +0 -10
  228. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatPart.js +0 -24
  229. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.d.ts +0 -182
  230. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +0 -796
  231. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.d.ts +0 -13
  232. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +0 -79
  233. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.d.ts +0 -30
  234. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +0 -126
  235. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellInput.d.ts +0 -6
  236. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellInput.js +0 -32
  237. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.d.ts +0 -8
  238. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +0 -50
  239. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.d.ts +0 -18
  240. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +0 -119
  241. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.d.ts +0 -57
  242. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +0 -443
  243. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellAnchor.d.ts +0 -20
  244. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellAnchor.js +0 -56
  245. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellEditorPool.d.ts +0 -24
  246. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellEditorPool.js +0 -121
  247. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.d.ts +0 -152
  248. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +0 -1288
  249. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.d.ts +0 -59
  250. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.js +0 -287
  251. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookRenderingCommon.d.ts +0 -117
  252. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookRenderingCommon.js +0 -6
  253. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.d.ts +0 -222
  254. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +0 -1840
  255. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.d.ts +0 -63
  256. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +0 -449
  257. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewMessages.d.ts +0 -432
  258. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.d.ts +0 -18
  259. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +0 -2546
  260. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewThemeMapping.d.ts +0 -8
  261. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewThemeMapping.js +0 -105
  262. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.d.ts +0 -137
  263. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +0 -646
  264. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellEditorOptions.d.ts +0 -21
  265. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellEditorOptions.js +0 -101
  266. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputTextHelper.d.ts +0 -13
  267. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputTextHelper.js +0 -111
  268. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputViewModel.d.ts +0 -30
  269. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputViewModel.js +0 -65
  270. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellSelectionCollection.d.ts +0 -13
  271. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellSelectionCollection.js +0 -49
  272. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.d.ts +0 -89
  273. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +0 -472
  274. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/eventDispatcher.d.ts +0 -11
  275. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/eventDispatcher.js +0 -34
  276. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/foldingModel.d.ts +0 -33
  277. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/foldingModel.js +0 -275
  278. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.d.ts +0 -69
  279. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +0 -269
  280. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.d.ts +0 -125
  281. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +0 -958
  282. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/viewContext.d.ts +0 -9
  283. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/viewContext.js +0 -11
  284. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookCellOverlays.d.ts +0 -20
  285. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookCellOverlays.js +0 -101
  286. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.d.ts +0 -65
  287. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +0 -458
  288. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.d.ts +0 -80
  289. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.js +0 -708
  290. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorWidgetContextKeys.d.ts +0 -37
  291. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorWidgetContextKeys.js +0 -193
  292. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookHorizontalTracker.d.ts +0 -7
  293. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookHorizontalTracker.js +0 -62
  294. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.d.ts +0 -108
  295. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +0 -717
  296. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.d.ts +0 -23
  297. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +0 -183
  298. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookOverviewRuler.d.ts +0 -11
  299. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookOverviewRuler.js +0 -134
  300. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookTopCellToolbar.d.ts +0 -20
  301. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookTopCellToolbar.js +0 -135
  302. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.d.ts +0 -27
  303. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +0 -213
  304. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellOutputTextModel.d.ts +0 -27
  305. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellOutputTextModel.js +0 -104
  306. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellTextModel.d.ts +0 -115
  307. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellTextModel.js +0 -480
  308. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.d.ts +0 -87
  309. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +0 -352
  310. package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.d.ts +0 -81
  311. package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.js +0 -9
  312. package/vscode/src/vs/workbench/contrib/notebook/common/notebookPerformance.d.ts +0 -10
  313. package/vscode/src/vs/workbench/contrib/notebook/common/notebookPerformance.js +0 -19
@@ -1,29 +0,0 @@
1
- export declare const selectKernelIcon: import("../../../../base/common/themables.js").ThemeIcon;
2
- export declare const executeIcon: import("../../../../base/common/themables.js").ThemeIcon;
3
- export declare const executeAboveIcon: import("../../../../base/common/themables.js").ThemeIcon;
4
- export declare const executeBelowIcon: import("../../../../base/common/themables.js").ThemeIcon;
5
- export declare const stopIcon: import("../../../../base/common/themables.js").ThemeIcon;
6
- export declare const deleteCellIcon: import("../../../../base/common/themables.js").ThemeIcon;
7
- export declare const executeAllIcon: import("../../../../base/common/themables.js").ThemeIcon;
8
- export declare const editIcon: import("../../../../base/common/themables.js").ThemeIcon;
9
- export declare const stopEditIcon: import("../../../../base/common/themables.js").ThemeIcon;
10
- export declare const moveUpIcon: import("../../../../base/common/themables.js").ThemeIcon;
11
- export declare const moveDownIcon: import("../../../../base/common/themables.js").ThemeIcon;
12
- export declare const clearIcon: import("../../../../base/common/themables.js").ThemeIcon;
13
- export declare const splitCellIcon: import("../../../../base/common/themables.js").ThemeIcon;
14
- export declare const successStateIcon: import("../../../../base/common/themables.js").ThemeIcon;
15
- export declare const errorStateIcon: import("../../../../base/common/themables.js").ThemeIcon;
16
- export declare const pendingStateIcon: import("../../../../base/common/themables.js").ThemeIcon;
17
- export declare const executingStateIcon: import("../../../../base/common/themables.js").ThemeIcon;
18
- export declare const collapsedIcon: import("../../../../base/common/themables.js").ThemeIcon;
19
- export declare const expandedIcon: import("../../../../base/common/themables.js").ThemeIcon;
20
- export declare const openAsTextIcon: import("../../../../base/common/themables.js").ThemeIcon;
21
- export declare const revertIcon: import("../../../../base/common/themables.js").ThemeIcon;
22
- export declare const toggleWhitespace: import("../../../../base/common/themables.js").ThemeIcon;
23
- export declare const renderOutputIcon: import("../../../../base/common/themables.js").ThemeIcon;
24
- export declare const mimetypeIcon: import("../../../../base/common/themables.js").ThemeIcon;
25
- export declare const copyIcon: import("../../../../base/common/themables.js").ThemeIcon;
26
- export declare const saveIcon: import("../../../../base/common/themables.js").ThemeIcon;
27
- export declare const previousChangeIcon: import("../../../../base/common/themables.js").ThemeIcon;
28
- export declare const nextChangeIcon: import("../../../../base/common/themables.js").ThemeIcon;
29
- export declare const variablesViewIcon: import("../../../../base/common/themables.js").ThemeIcon;
@@ -1,36 +0,0 @@
1
-
2
- import { Codicon } from '../../../../base/common/codicons.js';
3
- import { localize } from '../../../../nls.js';
4
- import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
5
-
6
- const selectKernelIcon = registerIcon("notebook-kernel-select", Codicon.serverEnvironment, ( localize(14776, "Configure icon to select a kernel in notebook editors.")));
7
- const executeIcon = registerIcon("notebook-execute", Codicon.play, ( localize(14777, "Icon to execute in notebook editors.")));
8
- const executeAboveIcon = registerIcon("notebook-execute-above", Codicon.runAbove, ( localize(14778, "Icon to execute above cells in notebook editors.")));
9
- const executeBelowIcon = registerIcon("notebook-execute-below", Codicon.runBelow, ( localize(14779, "Icon to execute below cells in notebook editors.")));
10
- const stopIcon = registerIcon("notebook-stop", Codicon.primitiveSquare, ( localize(14780, "Icon to stop an execution in notebook editors.")));
11
- const deleteCellIcon = registerIcon("notebook-delete-cell", Codicon.trash, ( localize(14781, "Icon to delete a cell in notebook editors.")));
12
- const executeAllIcon = registerIcon("notebook-execute-all", Codicon.runAll, ( localize(14782, "Icon to execute all cells in notebook editors.")));
13
- const editIcon = registerIcon("notebook-edit", Codicon.pencil, ( localize(14783, "Icon to edit a cell in notebook editors.")));
14
- const stopEditIcon = registerIcon("notebook-stop-edit", Codicon.check, ( localize(14784, "Icon to stop editing a cell in notebook editors.")));
15
- const moveUpIcon = registerIcon("notebook-move-up", Codicon.arrowUp, ( localize(14785, "Icon to move up a cell in notebook editors.")));
16
- const moveDownIcon = registerIcon("notebook-move-down", Codicon.arrowDown, ( localize(14786, "Icon to move down a cell in notebook editors.")));
17
- const clearIcon = registerIcon("notebook-clear", Codicon.clearAll, ( localize(14787, "Icon to clear cell outputs in notebook editors.")));
18
- const splitCellIcon = registerIcon("notebook-split-cell", Codicon.splitVertical, ( localize(14788, "Icon to split a cell in notebook editors.")));
19
- const successStateIcon = registerIcon("notebook-state-success", Codicon.check, ( localize(14789, "Icon to indicate a success state in notebook editors.")));
20
- const errorStateIcon = registerIcon("notebook-state-error", Codicon.error, ( localize(14790, "Icon to indicate an error state in notebook editors.")));
21
- const pendingStateIcon = registerIcon("notebook-state-pending", Codicon.clock, ( localize(14791, "Icon to indicate a pending state in notebook editors.")));
22
- const executingStateIcon = registerIcon("notebook-state-executing", Codicon.sync, ( localize(14792, "Icon to indicate an executing state in notebook editors.")));
23
- const collapsedIcon = registerIcon("notebook-collapsed", Codicon.chevronRight, ( localize(14793, "Icon to annotate a collapsed section in notebook editors.")));
24
- const expandedIcon = registerIcon("notebook-expanded", Codicon.chevronDown, ( localize(14794, "Icon to annotate an expanded section in notebook editors.")));
25
- const openAsTextIcon = registerIcon("notebook-open-as-text", Codicon.fileCode, ( localize(14795, "Icon to open the notebook in a text editor.")));
26
- const revertIcon = registerIcon("notebook-revert", Codicon.discard, ( localize(14796, "Icon to revert in notebook editors.")));
27
- const toggleWhitespace = registerIcon("notebook-diff-cell-toggle-whitespace", Codicon.whitespace, ( localize(14797, "Icon for the toggle whitespace action in the diff editor.")));
28
- const renderOutputIcon = registerIcon("notebook-render-output", Codicon.preview, ( localize(14798, "Icon to render output in diff editor.")));
29
- const mimetypeIcon = registerIcon("notebook-mimetype", Codicon.code, ( localize(14799, "Icon for a mime type in notebook editors.")));
30
- const copyIcon = registerIcon("notebook-copy", Codicon.copy, ( localize(14800, "Icon to copy content to clipboard")));
31
- const saveIcon = registerIcon("notebook-save", Codicon.save, ( localize(14801, "Icon to save content to disk")));
32
- const previousChangeIcon = registerIcon("notebook-diff-editor-previous-change", Codicon.arrowUp, ( localize(14802, "Icon for the previous change action in the diff editor.")));
33
- const nextChangeIcon = registerIcon("notebook-diff-editor-next-change", Codicon.arrowDown, ( localize(14803, "Icon for the next change action in the diff editor.")));
34
- const variablesViewIcon = registerIcon("variables-view-icon", Codicon.variableGroup, ( localize(14804, "View icon of the variables view.")));
35
-
36
- export { clearIcon, collapsedIcon, copyIcon, deleteCellIcon, editIcon, errorStateIcon, executeAboveIcon, executeAllIcon, executeBelowIcon, executeIcon, executingStateIcon, expandedIcon, mimetypeIcon, moveDownIcon, moveUpIcon, nextChangeIcon, openAsTextIcon, pendingStateIcon, previousChangeIcon, renderOutputIcon, revertIcon, saveIcon, selectKernelIcon, splitCellIcon, stopEditIcon, stopIcon, successStateIcon, toggleWhitespace, variablesViewIcon };
@@ -1 +0,0 @@
1
- export declare function notebookDebug(...args: unknown[]): void;
@@ -1,19 +0,0 @@
1
-
2
-
3
- class NotebookLogger {
4
- constructor() {
5
- this._frameId = 0;
6
- this._domFrameLog();
7
- }
8
- _domFrameLog() {}
9
- debug(...args) {
10
- const date = ( new Date());
11
- console.log(`${date.getSeconds()}:${( date.getMilliseconds().toString()).padStart(3, "0")}`, `frame #${this._frameId}: `, ...args);
12
- }
13
- }
14
- const instance = ( new NotebookLogger());
15
- function notebookDebug(...args) {
16
- instance.debug(...args);
17
- }
18
-
19
- export { notebookDebug };
@@ -1,200 +0,0 @@
1
- import { CodeWindow } from "../../../../base/browser/window.js";
2
- import { Emitter } from "../../../../base/common/event.js";
3
- import { Disposable } from "../../../../base/common/lifecycle.js";
4
- import { URI } from "../../../../base/common/uri.js";
5
- import { ICodeEditorService } from "../../../../editor/browser/services/codeEditorService.service.js";
6
- import { IConfigurationService } from "../../../../platform/configuration/common/configuration.service.js";
7
- import { NotebookTextModel } from "@codingame/monaco-vscode-notebook-service-override/vscode/vs/workbench/contrib/notebook/common/model/notebookTextModel";
8
- import { InteractiveWindowCollapseCodeCells, NotebookCellDefaultCollapseConfig, NotebookCellInternalMetadata, ShowCellStatusBarType } from "../common/notebookCommon.js";
9
- import { INotebookExecutionStateService } from "../common/notebookExecutionStateService.service.js";
10
- export declare const OutputInnerContainerTopPadding = 4;
11
- export interface NotebookDisplayOptions {
12
- showCellStatusBar: ShowCellStatusBarType;
13
- cellToolbarLocation: string | {
14
- [key: string]: string;
15
- };
16
- cellToolbarInteraction: string;
17
- compactView: boolean;
18
- focusIndicator: "border" | "gutter";
19
- insertToolbarPosition: "betweenCells" | "notebookToolbar" | "both" | "hidden";
20
- insertToolbarAlignment: "left" | "center";
21
- globalToolbar: boolean;
22
- stickyScrollEnabled: boolean;
23
- stickyScrollMode: "flat" | "indented";
24
- consolidatedOutputButton: boolean;
25
- consolidatedRunButton: boolean;
26
- showFoldingControls: "always" | "never" | "mouseover";
27
- dragAndDropEnabled: boolean;
28
- interactiveWindowCollapseCodeCells: InteractiveWindowCollapseCodeCells;
29
- outputScrolling: boolean;
30
- outputWordWrap: boolean;
31
- outputLineLimit: number;
32
- outputLinkifyFilePaths: boolean;
33
- outputMinimalError: boolean;
34
- fontSize: number;
35
- outputFontSize: number;
36
- outputFontFamily: string;
37
- outputLineHeight: number;
38
- markupFontSize: number;
39
- markdownLineHeight: number;
40
- editorOptionsCustomizations: Partial<{
41
- "editor.indentSize": "tabSize" | number;
42
- "editor.tabSize": number;
43
- "editor.insertSpaces": boolean;
44
- }> | undefined;
45
- markupFontFamily: string;
46
- disableRulers: boolean | undefined;
47
- }
48
- export interface NotebookLayoutConfiguration {
49
- cellRightMargin: number;
50
- cellRunGutter: number;
51
- cellTopMargin: number;
52
- cellBottomMargin: number;
53
- cellOutputPadding: number;
54
- codeCellLeftMargin: number;
55
- markdownCellLeftMargin: number;
56
- markdownCellGutter: number;
57
- markdownCellTopMargin: number;
58
- markdownCellBottomMargin: number;
59
- markdownPreviewPadding: number;
60
- markdownFoldHintHeight: number;
61
- editorToolbarHeight: number;
62
- editorTopPadding: number;
63
- editorBottomPadding: number;
64
- editorBottomPaddingWithoutStatusBar: number;
65
- collapsedIndicatorHeight: number;
66
- cellStatusBarHeight: number;
67
- focusIndicatorLeftMargin: number;
68
- focusIndicatorGap: number;
69
- }
70
- export interface NotebookOptionsChangeEvent {
71
- readonly cellStatusBarVisibility?: boolean;
72
- readonly cellToolbarLocation?: boolean;
73
- readonly cellToolbarInteraction?: boolean;
74
- readonly editorTopPadding?: boolean;
75
- readonly compactView?: boolean;
76
- readonly focusIndicator?: boolean;
77
- readonly insertToolbarPosition?: boolean;
78
- readonly insertToolbarAlignment?: boolean;
79
- readonly globalToolbar?: boolean;
80
- readonly stickyScrollEnabled?: boolean;
81
- readonly stickyScrollMode?: boolean;
82
- readonly showFoldingControls?: boolean;
83
- readonly consolidatedOutputButton?: boolean;
84
- readonly consolidatedRunButton?: boolean;
85
- readonly dragAndDropEnabled?: boolean;
86
- readonly fontSize?: boolean;
87
- readonly outputFontSize?: boolean;
88
- readonly markupFontSize?: boolean;
89
- readonly markdownLineHeight?: boolean;
90
- readonly fontFamily?: boolean;
91
- readonly outputFontFamily?: boolean;
92
- readonly editorOptionsCustomizations?: boolean;
93
- readonly interactiveWindowCollapseCodeCells?: boolean;
94
- readonly outputLineHeight?: boolean;
95
- readonly outputWordWrap?: boolean;
96
- readonly outputScrolling?: boolean;
97
- readonly outputLinkifyFilePaths?: boolean;
98
- readonly minimalError?: boolean;
99
- readonly readonly?: boolean;
100
- readonly markupFontFamily?: boolean;
101
- }
102
- export declare class NotebookOptions extends Disposable {
103
- readonly targetWindow: CodeWindow;
104
- private isReadonly;
105
- private readonly overrides;
106
- private readonly configurationService;
107
- private readonly notebookExecutionStateService;
108
- private readonly codeEditorService;
109
- private _layoutConfiguration;
110
- protected readonly _onDidChangeOptions: Emitter<NotebookOptionsChangeEvent>;
111
- readonly onDidChangeOptions: import("../../../../base/common/event.js").Event<NotebookOptionsChangeEvent>;
112
- private _editorTopPadding;
113
- readonly previousModelToCompare: import("../../../../base/common/observable.js").ISettableObservable<NotebookTextModel | undefined, void>;
114
- constructor(targetWindow: CodeWindow, isReadonly: boolean, overrides: {
115
- cellToolbarInteraction: string;
116
- globalToolbar: boolean;
117
- stickyScrollEnabled: boolean;
118
- dragAndDropEnabled: boolean;
119
- disableRulers: boolean;
120
- } | undefined, configurationService: IConfigurationService, notebookExecutionStateService: INotebookExecutionStateService, codeEditorService: ICodeEditorService);
121
- updateOptions(isReadonly: boolean): void;
122
- private _computeEditorTopPadding;
123
- private _computeOutputLineHeight;
124
- private _updateConfiguration;
125
- private _computeInsertToolbarPositionOption;
126
- private _computeInsertToolbarAlignmentOption;
127
- private _computeShowFoldingControlsOption;
128
- private _computeFocusIndicatorOption;
129
- private _computeStickyScrollModeOption;
130
- getCellCollapseDefault(): NotebookCellDefaultCollapseConfig;
131
- getLayoutConfiguration(): NotebookLayoutConfiguration & NotebookDisplayOptions;
132
- getDisplayOptions(): NotebookDisplayOptions;
133
- getCellEditorContainerLeftMargin(): number;
134
- computeCollapsedMarkdownCellHeight(viewType: string): number;
135
- computeBottomToolbarOffset(totalHeight: number, viewType: string): number;
136
- computeCodeCellEditorWidth(outerWidth: number): number;
137
- computeMarkdownCellEditorWidth(outerWidth: number): number;
138
- computeStatusBarHeight(): number;
139
- private _computeBottomToolbarDimensions;
140
- computeBottomToolbarDimensions(viewType?: string): {
141
- bottomToolbarGap: number;
142
- bottomToolbarHeight: number;
143
- };
144
- computeCellToolbarLocation(viewType?: string): "right" | "left" | "hidden";
145
- computeTopInsertToolbarHeight(viewType?: string): number;
146
- computeEditorPadding(internalMetadata: NotebookCellInternalMetadata, cellUri: URI): {
147
- top: number;
148
- bottom: number;
149
- };
150
- computeEditorStatusbarHeight(internalMetadata: NotebookCellInternalMetadata, cellUri: URI): number;
151
- private statusBarIsVisible;
152
- computeWebviewOptions(): {
153
- outputNodePadding: number;
154
- outputNodeLeftPadding: number;
155
- previewNodePadding: number;
156
- markdownLeftMargin: number;
157
- leftMargin: number;
158
- rightMargin: number;
159
- runGutter: number;
160
- dragAndDropEnabled: boolean;
161
- fontSize: number;
162
- outputFontSize: number;
163
- outputFontFamily: string;
164
- markupFontSize: number;
165
- markdownLineHeight: number;
166
- outputLineHeight: number;
167
- outputScrolling: boolean;
168
- outputWordWrap: boolean;
169
- outputLineLimit: number;
170
- outputLinkifyFilePaths: boolean;
171
- minimalError: boolean;
172
- markupFontFamily: string;
173
- };
174
- computeDiffWebviewOptions(): {
175
- outputNodePadding: number;
176
- outputNodeLeftPadding: number;
177
- previewNodePadding: number;
178
- markdownLeftMargin: number;
179
- leftMargin: number;
180
- rightMargin: number;
181
- runGutter: number;
182
- dragAndDropEnabled: boolean;
183
- fontSize: number;
184
- outputFontSize: number;
185
- outputFontFamily: string;
186
- markupFontSize: number;
187
- markdownLineHeight: number;
188
- outputLineHeight: number;
189
- outputScrolling: boolean;
190
- outputWordWrap: boolean;
191
- outputLineLimit: number;
192
- outputLinkifyFilePaths: boolean;
193
- minimalError: boolean;
194
- markupFontFamily: string;
195
- };
196
- computeIndicatorPosition(totalHeight: number, foldHintHeight: number, viewType?: string): {
197
- bottomIndicatorTop: number;
198
- verticalIndicatorHeight: number;
199
- };
200
- }