@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.
- package/missing-services.js +6 -26
- package/package.json +8 -8
- package/services.d.ts +1 -1
- package/services.js +3 -3
- package/tools.d.ts +4 -0
- package/tools.js +24 -1
- package/vscode/src/vs/platform/product/common/product.js +1 -1
- package/vscode/src/vs/platform/webWorker/browser/webWorkerServiceImpl.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadDocuments.d.ts +63 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadDocuments.js +305 -0
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +1 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +1 -1
- package/vscode/src/vs/workbench/browser/media/code-icon.svg +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatConstants.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatConstants.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginActions.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsBanner.d.ts +30 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsBanner.js +39 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariables.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatImageBuffer.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatImageBuffer.js +29 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginRepositoryService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginRepositoryService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginInstallService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginInstallService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginSource.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatParserTypes.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/toolIds.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/toolIds.js +7 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/AISearch/aiSearchModel.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchModel.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchModelBase.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/folderMatch.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/searchTreeCommon.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +4 -3
- package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/agentSessionsWelcomeInput.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/agentSessionsWelcomeInput.js +72 -0
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedInput.d.ts +44 -0
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedInput.js +96 -0
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/media/gettingStarted.css +1148 -0
- package/vscode/src/vs/workbench/contrib/welcomeOnboarding/common/onboardingTypes.d.ts +81 -0
- package/vscode/src/vs/workbench/contrib/welcomeOnboarding/common/onboardingTypes.js +97 -0
- package/vscode/src/vs/workbench/services/extensions/common/extHostCustomers.d.ts +32 -0
- package/vscode/src/vs/workbench/services/extensions/common/extHostCustomers.js +45 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostEnablementService.d.ts +0 -7
- package/vscode/src/vs/platform/agentHost/common/agentHostEnablementService.js +0 -92
- package/vscode/src/vs/platform/layout/browser/zIndexRegistry.d.ts +0 -12
- package/vscode/src/vs/platform/layout/browser/zIndexRegistry.js +0 -64
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.d.ts +0 -262
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.js +0 -865
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables.d.ts +0 -57
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables.js +0 -311
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatVariables.d.ts +0 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatVariables.js +0 -80
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.d.ts +0 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.js +0 -57
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.d.ts +0 -231
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +0 -1850
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.d.ts +0 -109
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.js +0 -85
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.d.ts +0 -140
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.js +0 -186
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatDynamicVariablesConstant.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatDynamicVariablesConstant.js +0 -5
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariables.d.ts +0 -46
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariables.js +0 -17
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.d.ts +0 -253
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.js +0 -20
- package/vscode/src/vs/workbench/contrib/chat/common/chatImageExtraction.d.ts +0 -34
- package/vscode/src/vs/workbench/contrib/chat/common/chatImageExtraction.js +0 -194
- package/vscode/src/vs/workbench/contrib/chat/common/chatSelectedModel.d.ts +0 -87
- package/vscode/src/vs/workbench/contrib/chat/common/chatSelectedModel.js +0 -69
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.d.ts +0 -300
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.js +0 -272
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement.d.ts +0 -25
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement.js +0 -178
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.d.ts +0 -78
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.js +0 -51
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/fileBackedInstalledPluginsStore.d.ts +0 -67
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/fileBackedInstalledPluginsStore.js +0 -195
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/marketplaceReference.d.ts +0 -67
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/marketplaceReference.js +0 -294
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.d.ts +0 -212
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.js +0 -955
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/strictKnownMarketplaces.d.ts +0 -31
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/strictKnownMarketplaces.js +0 -122
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts +0 -65
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +0 -697
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/config.d.ts +0 -150
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/config.js +0 -142
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookClaudeCompat.d.ts +0 -50
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookClaudeCompat.js +0 -77
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCompatibility.d.ts +0 -77
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCompatibility.js +0 -120
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCopilotCliCompat.d.ts +0 -10
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCopilotCliCompat.js +0 -23
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/extensionPromptFileService.d.ts +0 -92
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/extensionPromptFileService.js +0 -335
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.d.ts +0 -235
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +0 -1673
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.d.ts +0 -202
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +0 -872
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.d.ts +0 -35
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.js +0 -289
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.d.ts +0 -72
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.js +0 -600
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/confirmationTool.d.ts +0 -36
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/confirmationTool.js +0 -239
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/editFileTool.d.ts +0 -22
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/editFileTool.js +0 -143
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.d.ts +0 -24
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.js +0 -298
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/reviewPlanTool.d.ts +0 -25
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/reviewPlanTool.js +0 -177
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.d.ts +0 -73
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +0 -577
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactRulesTool.d.ts +0 -11
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactRulesTool.js +0 -90
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.d.ts +0 -16
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.js +0 -130
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/taskCompleteTool.d.ts +0 -12
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/taskCompleteTool.js +0 -53
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/toolHelpers.d.ts +0 -5
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/toolHelpers.js +0 -12
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/tools.d.ts +0 -10
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/tools.js +0 -92
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.d.ts +0 -38
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +0 -518
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsParametersSchema.d.ts +0 -6
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsParametersSchema.js +0 -231
- package/vscode/src/vs/workbench/contrib/chat/common/tools/terminalToolIds.d.ts +0 -20
- package/vscode/src/vs/workbench/contrib/chat/common/tools/terminalToolIds.js +0 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.d.ts +0 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +0 -283
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.d.ts +0 -91
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +0 -340
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.d.ts +0 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +0 -272
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebook.css +0 -686
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellChat.css +0 -348
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellEditorHint.css +0 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellInsertToolbar.css +0 -92
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellOutput.css +0 -119
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellStatusBar.css +0 -79
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellTitleToolbar.css +0 -61
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookChatEditController.css +0 -55
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookChatEditorOverlay.css +0 -63
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookDnd.css +0 -79
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookEditorStickyScroll.css +0 -63
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookFocusIndicator.css +0 -92
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookFolding.css +0 -79
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookKernelActionViewItem.css +0 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookOutline.css +0 -61
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookToolbar.css +0 -102
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.d.ts +0 -27
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +0 -131
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookCellLayoutManager.d.ts +0 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookCellLayoutManager.js +0 -92
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.d.ts +0 -105
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +0 -673
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorExtensions.d.ts +0 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorExtensions.js +0 -37
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.d.ts +0 -354
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +0 -2926
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.d.ts +0 -29
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +0 -36
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookLogger.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookLogger.js +0 -19
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.d.ts +0 -200
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.js +0 -591
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookViewEvents.d.ts +0 -56
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookViewEvents.js +0 -30
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellPart.d.ts +0 -99
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellPart.js +0 -131
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.d.ts +0 -30
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.js +0 -115
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.d.ts +0 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +0 -158
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellContextKeys.d.ts +0 -40
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellContextKeys.js +0 -183
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDecorations.d.ts +0 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDecorations.js +0 -66
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDnd.d.ts +0 -52
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDnd.js +0 -429
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDragRenderer.d.ts +0 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDragRenderer.js +0 -108
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.d.ts +0 -36
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +0 -221
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellExecution.d.ts +0 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellExecution.js +0 -142
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocus.d.ts +0 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocus.js +0 -23
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocusIndicator.d.ts +0 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocusIndicator.js +0 -104
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.d.ts +0 -92
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +0 -762
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellProgressBar.d.ts +0 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellProgressBar.js +0 -58
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.d.ts +0 -36
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.js +0 -357
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbarStickyScroll.d.ts +0 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbarStickyScroll.js +0 -32
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.d.ts +0 -47
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.js +0 -260
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellWidgets.d.ts +0 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellWidgets.js +0 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatPart.d.ts +0 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatPart.js +0 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.d.ts +0 -182
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +0 -796
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.d.ts +0 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +0 -79
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.d.ts +0 -30
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +0 -126
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellInput.d.ts +0 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellInput.js +0 -32
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +0 -50
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.d.ts +0 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +0 -119
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.d.ts +0 -57
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +0 -443
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellAnchor.d.ts +0 -20
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellAnchor.js +0 -56
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellEditorPool.d.ts +0 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellEditorPool.js +0 -121
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.d.ts +0 -152
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +0 -1288
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.d.ts +0 -59
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.js +0 -287
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookRenderingCommon.d.ts +0 -117
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookRenderingCommon.js +0 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.d.ts +0 -222
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +0 -1840
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.d.ts +0 -63
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +0 -449
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewMessages.d.ts +0 -432
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.d.ts +0 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +0 -2546
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewThemeMapping.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewThemeMapping.js +0 -105
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.d.ts +0 -137
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +0 -646
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellEditorOptions.d.ts +0 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellEditorOptions.js +0 -101
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputTextHelper.d.ts +0 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputTextHelper.js +0 -111
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputViewModel.d.ts +0 -30
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputViewModel.js +0 -65
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellSelectionCollection.d.ts +0 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellSelectionCollection.js +0 -49
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.d.ts +0 -89
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +0 -472
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/eventDispatcher.d.ts +0 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/eventDispatcher.js +0 -34
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/foldingModel.d.ts +0 -33
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/foldingModel.js +0 -275
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.d.ts +0 -69
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +0 -269
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.d.ts +0 -125
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +0 -958
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/viewContext.d.ts +0 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/viewContext.js +0 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookCellOverlays.d.ts +0 -20
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookCellOverlays.js +0 -101
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.d.ts +0 -65
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +0 -458
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.d.ts +0 -80
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.js +0 -708
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorWidgetContextKeys.d.ts +0 -37
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorWidgetContextKeys.js +0 -193
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookHorizontalTracker.d.ts +0 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookHorizontalTracker.js +0 -62
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.d.ts +0 -108
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +0 -717
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.d.ts +0 -23
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +0 -183
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookOverviewRuler.d.ts +0 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookOverviewRuler.js +0 -134
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookTopCellToolbar.d.ts +0 -20
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookTopCellToolbar.js +0 -135
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.d.ts +0 -27
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +0 -213
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellOutputTextModel.d.ts +0 -27
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellOutputTextModel.js +0 -104
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellTextModel.d.ts +0 -115
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellTextModel.js +0 -480
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.d.ts +0 -87
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +0 -352
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.d.ts +0 -81
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.js +0 -9
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookPerformance.d.ts +0 -10
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookPerformance.js +0 -19
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
class EditorContributionRegistry {
|
|
4
|
-
static {
|
|
5
|
-
this.INSTANCE = ( new EditorContributionRegistry());
|
|
6
|
-
}
|
|
7
|
-
constructor() {
|
|
8
|
-
this.editorContributions = [];
|
|
9
|
-
}
|
|
10
|
-
registerEditorContribution(id, ctor) {
|
|
11
|
-
this.editorContributions.push({
|
|
12
|
-
id,
|
|
13
|
-
ctor: ctor
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
getEditorContributions() {
|
|
17
|
-
return this.editorContributions.slice(0);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
function registerNotebookContribution(id, ctor) {
|
|
21
|
-
EditorContributionRegistry.INSTANCE.registerEditorContribution(id, ctor);
|
|
22
|
-
}
|
|
23
|
-
var NotebookEditorExtensionsRegistry;
|
|
24
|
-
(function(NotebookEditorExtensionsRegistry) {
|
|
25
|
-
function getEditorContributions() {
|
|
26
|
-
return EditorContributionRegistry.INSTANCE.getEditorContributions();
|
|
27
|
-
}
|
|
28
|
-
NotebookEditorExtensionsRegistry.getEditorContributions = getEditorContributions;
|
|
29
|
-
function getSomeEditorContributions(ids) {
|
|
30
|
-
return EditorContributionRegistry.INSTANCE.getEditorContributions().filter(c => ids.indexOf(c.id) >= 0);
|
|
31
|
-
}
|
|
32
|
-
NotebookEditorExtensionsRegistry.getSomeEditorContributions = getSomeEditorContributions;
|
|
33
|
-
})(
|
|
34
|
-
NotebookEditorExtensionsRegistry || (NotebookEditorExtensionsRegistry = {})
|
|
35
|
-
);
|
|
36
|
-
|
|
37
|
-
export { NotebookEditorExtensionsRegistry, registerNotebookContribution };
|
|
@@ -1,354 +0,0 @@
|
|
|
1
|
-
import * as DOM from "../../../../base/browser/dom.js";
|
|
2
|
-
import { CancellationToken } from "../../../../base/common/cancellation.js";
|
|
3
|
-
import { Event } from "../../../../base/common/event.js";
|
|
4
|
-
import { Disposable } from "../../../../base/common/lifecycle.js";
|
|
5
|
-
import { URI } from "../../../../base/common/uri.js";
|
|
6
|
-
import { ICodeEditor } from "../../../../editor/browser/editorBrowser.js";
|
|
7
|
-
import { Range } from "../../../../editor/common/core/range.js";
|
|
8
|
-
import { Selection } from "../../../../editor/common/core/selection.js";
|
|
9
|
-
import { IConfigurationService } from "../../../../platform/configuration/common/configuration.service.js";
|
|
10
|
-
import { IContextKeyService } from "../../../../platform/contextkey/common/contextkey.service.js";
|
|
11
|
-
import { IContextMenuService } from "../../../../platform/contextview/browser/contextView.service.js";
|
|
12
|
-
import { IInstantiationService } from "../../../../platform/instantiation/common/instantiation.js";
|
|
13
|
-
import { IWorkbenchLayoutService } from "../../../services/layout/browser/layoutService.service.js";
|
|
14
|
-
import { IEditorProgressService } from "../../../../platform/progress/common/progress.service.js";
|
|
15
|
-
import { ITelemetryService } from "../../../../platform/telemetry/common/telemetry.service.js";
|
|
16
|
-
import { CellFindMatchWithIndex, CellLayoutContext, IActiveNotebookEditorDelegate, IBaseCellEditorOptions, ICellOutputViewModel, ICellViewModel, ICommonCellInfo, IFocusNotebookCellOptions, IInsetRenderOutput, IModelDecorationsChangeAccessor, INotebookCellOverlayChangeAccessor, INotebookDeltaDecoration, INotebookEditor, INotebookEditorContribution, INotebookEditorCreationOptions, INotebookEditorDelegate, INotebookEditorMouseEvent, INotebookEditorOptions, INotebookEditorViewState, INotebookViewCellsUpdateEvent, INotebookViewZoneChangeAccessor, INotebookWebviewMessage } from "./notebookBrowser.js";
|
|
17
|
-
import { INotebookEditorService } from "./services/notebookEditorService.service.js";
|
|
18
|
-
import { NotebookCellStateChangedEvent, NotebookLayoutInfo } from "./notebookViewEvents.js";
|
|
19
|
-
import { CodeCellViewModel } from "./viewModel/codeCellViewModel.js";
|
|
20
|
-
import { MarkupCellViewModel } from "./viewModel/markupCellViewModel.js";
|
|
21
|
-
import { NotebookViewModel } from "./viewModel/notebookViewModelImpl.js";
|
|
22
|
-
import { NotebookTextModel } from "@codingame/monaco-vscode-notebook-service-override/vscode/vs/workbench/contrib/notebook/common/model/notebookTextModel";
|
|
23
|
-
import { CellKind, INotebookFindOptions } from "../common/notebookCommon.js";
|
|
24
|
-
import { INotebookExecutionService } from "../common/notebookExecutionService.service.js";
|
|
25
|
-
import { INotebookKernelService } from "../common/notebookKernelService.service.js";
|
|
26
|
-
import { NotebookOptions } from "./notebookOptions.js";
|
|
27
|
-
import { ICellRange } from "../common/notebookRange.js";
|
|
28
|
-
import { INotebookRendererMessagingService } from "../common/notebookRendererMessagingService.service.js";
|
|
29
|
-
import { INotebookService } from "../common/notebookService.service.js";
|
|
30
|
-
import { IWebviewElement } from "../../webview/browser/webview.js";
|
|
31
|
-
import { IEditorGroupsService } from "../../../services/editor/common/editorGroupsService.service.js";
|
|
32
|
-
import { NotebookPerfMarks } from "../common/notebookPerformance.js";
|
|
33
|
-
import { INotebookLoggingService } from "../common/notebookLoggingService.service.js";
|
|
34
|
-
export declare function getDefaultNotebookCreationOptions(): INotebookEditorCreationOptions;
|
|
35
|
-
export declare class NotebookEditorWidget extends Disposable implements INotebookEditorDelegate, INotebookEditor {
|
|
36
|
-
readonly creationOptions: INotebookEditorCreationOptions;
|
|
37
|
-
private readonly editorGroupsService;
|
|
38
|
-
private readonly notebookRendererMessaging;
|
|
39
|
-
private readonly notebookEditorService;
|
|
40
|
-
private readonly notebookKernelService;
|
|
41
|
-
private readonly _notebookService;
|
|
42
|
-
private readonly configurationService;
|
|
43
|
-
private readonly layoutService;
|
|
44
|
-
private readonly contextMenuService;
|
|
45
|
-
private readonly telemetryService;
|
|
46
|
-
private readonly notebookExecutionService;
|
|
47
|
-
private editorProgressService;
|
|
48
|
-
private readonly logService;
|
|
49
|
-
private readonly _onDidChangeCellState;
|
|
50
|
-
readonly onDidChangeCellState: Event<NotebookCellStateChangedEvent>;
|
|
51
|
-
private readonly _onDidChangeViewCells;
|
|
52
|
-
readonly onDidChangeViewCells: Event<INotebookViewCellsUpdateEvent>;
|
|
53
|
-
private readonly _onWillChangeModel;
|
|
54
|
-
readonly onWillChangeModel: Event<NotebookTextModel | undefined>;
|
|
55
|
-
private readonly _onDidChangeModel;
|
|
56
|
-
readonly onDidChangeModel: Event<NotebookTextModel | undefined>;
|
|
57
|
-
private readonly _onDidAttachViewModel;
|
|
58
|
-
readonly onDidAttachViewModel: Event<void>;
|
|
59
|
-
private readonly _onDidChangeOptions;
|
|
60
|
-
readonly onDidChangeOptions: Event<void>;
|
|
61
|
-
private readonly _onDidChangeDecorations;
|
|
62
|
-
readonly onDidChangeDecorations: Event<void>;
|
|
63
|
-
private readonly _onDidScroll;
|
|
64
|
-
readonly onDidScroll: Event<void>;
|
|
65
|
-
private readonly _onDidChangeLayout;
|
|
66
|
-
readonly onDidChangeLayout: Event<void>;
|
|
67
|
-
private readonly _onDidChangeActiveCell;
|
|
68
|
-
readonly onDidChangeActiveCell: Event<void>;
|
|
69
|
-
private readonly _onDidChangeFocus;
|
|
70
|
-
readonly onDidChangeFocus: Event<void>;
|
|
71
|
-
private readonly _onDidChangeSelection;
|
|
72
|
-
readonly onDidChangeSelection: Event<void>;
|
|
73
|
-
private readonly _onDidChangeVisibleRanges;
|
|
74
|
-
readonly onDidChangeVisibleRanges: Event<void>;
|
|
75
|
-
private readonly _onDidFocusEmitter;
|
|
76
|
-
readonly onDidFocusWidget: Event<void>;
|
|
77
|
-
private readonly _onDidBlurEmitter;
|
|
78
|
-
readonly onDidBlurWidget: Event<void>;
|
|
79
|
-
private readonly _onDidChangeActiveEditor;
|
|
80
|
-
readonly onDidChangeActiveEditor: Event<this>;
|
|
81
|
-
private readonly _onDidChangeActiveKernel;
|
|
82
|
-
readonly onDidChangeActiveKernel: Event<void>;
|
|
83
|
-
private readonly _onMouseUp;
|
|
84
|
-
readonly onMouseUp: Event<INotebookEditorMouseEvent>;
|
|
85
|
-
private readonly _onMouseDown;
|
|
86
|
-
readonly onMouseDown: Event<INotebookEditorMouseEvent>;
|
|
87
|
-
private readonly _onDidReceiveMessage;
|
|
88
|
-
readonly onDidReceiveMessage: Event<INotebookWebviewMessage>;
|
|
89
|
-
private readonly _onDidRenderOutput;
|
|
90
|
-
private readonly onDidRenderOutput;
|
|
91
|
-
private readonly _onDidRemoveOutput;
|
|
92
|
-
private readonly onDidRemoveOutput;
|
|
93
|
-
private readonly _onDidResizeOutputEmitter;
|
|
94
|
-
readonly onDidResizeOutput: Event<ICellViewModel>;
|
|
95
|
-
private _overlayContainer;
|
|
96
|
-
private _overlayLayout;
|
|
97
|
-
private _notebookTopToolbarContainer;
|
|
98
|
-
private _notebookTopToolbar;
|
|
99
|
-
private _notebookStickyScrollContainer;
|
|
100
|
-
private _notebookStickyScroll;
|
|
101
|
-
private _notebookOverviewRulerContainer;
|
|
102
|
-
private _notebookOverviewRuler;
|
|
103
|
-
private _body;
|
|
104
|
-
private _styleElement;
|
|
105
|
-
private _overflowContainer;
|
|
106
|
-
private _webview;
|
|
107
|
-
private _webviewResolvePromise;
|
|
108
|
-
private _webviewTransparentCover;
|
|
109
|
-
private _listDelegate;
|
|
110
|
-
private _list;
|
|
111
|
-
private _listViewInfoAccessor;
|
|
112
|
-
private _dndController;
|
|
113
|
-
private _listTopCellToolbar;
|
|
114
|
-
private _renderedEditors;
|
|
115
|
-
private _editorPool;
|
|
116
|
-
private _viewContext;
|
|
117
|
-
private _notebookViewModel;
|
|
118
|
-
private readonly _localStore;
|
|
119
|
-
private _localCellStateListeners;
|
|
120
|
-
private _fontInfo;
|
|
121
|
-
private _dimension?;
|
|
122
|
-
private _shadowElement?;
|
|
123
|
-
private _cellLayoutManager;
|
|
124
|
-
private readonly _editorFocus;
|
|
125
|
-
private readonly _outputFocus;
|
|
126
|
-
private readonly _editorEditable;
|
|
127
|
-
private readonly _cursorNavMode;
|
|
128
|
-
private readonly _outputInputFocus;
|
|
129
|
-
protected readonly _contributions: Map<string, INotebookEditorContribution>;
|
|
130
|
-
private _scrollBeyondLastLine;
|
|
131
|
-
private readonly _insetModifyQueueByOutputId;
|
|
132
|
-
private _cellContextKeyManager;
|
|
133
|
-
private readonly _uuid;
|
|
134
|
-
private _focusTracker;
|
|
135
|
-
private _webviewFocused;
|
|
136
|
-
private _isVisible;
|
|
137
|
-
get isVisible(): boolean;
|
|
138
|
-
private _isDisposed;
|
|
139
|
-
get isDisposed(): boolean;
|
|
140
|
-
set viewModel(newModel: NotebookViewModel | undefined);
|
|
141
|
-
get viewModel(): NotebookViewModel | undefined;
|
|
142
|
-
get textModel(): NotebookTextModel | undefined;
|
|
143
|
-
get isReadOnly(): boolean;
|
|
144
|
-
get activeCodeEditor(): ICodeEditor | undefined;
|
|
145
|
-
get activeCellAndCodeEditor(): [
|
|
146
|
-
ICellViewModel,
|
|
147
|
-
ICodeEditor
|
|
148
|
-
] | undefined;
|
|
149
|
-
get codeEditors(): [
|
|
150
|
-
ICellViewModel,
|
|
151
|
-
ICodeEditor
|
|
152
|
-
][];
|
|
153
|
-
get visibleRanges(): ICellRange[];
|
|
154
|
-
private _baseCellEditorOptions;
|
|
155
|
-
readonly isReplHistory: boolean;
|
|
156
|
-
private _readOnly;
|
|
157
|
-
readonly scopedContextKeyService: IContextKeyService;
|
|
158
|
-
private readonly instantiationService;
|
|
159
|
-
private readonly _notebookOptions;
|
|
160
|
-
private _currentProgress;
|
|
161
|
-
get notebookOptions(): NotebookOptions;
|
|
162
|
-
constructor(creationOptions: INotebookEditorCreationOptions, dimension: DOM.Dimension | undefined, instantiationService: IInstantiationService, editorGroupsService: IEditorGroupsService, notebookRendererMessaging: INotebookRendererMessagingService, notebookEditorService: INotebookEditorService, notebookKernelService: INotebookKernelService, _notebookService: INotebookService, configurationService: IConfigurationService, contextKeyService: IContextKeyService, layoutService: IWorkbenchLayoutService, contextMenuService: IContextMenuService, telemetryService: ITelemetryService, notebookExecutionService: INotebookExecutionService, editorProgressService: IEditorProgressService, logService: INotebookLoggingService);
|
|
163
|
-
private _debugFlag;
|
|
164
|
-
private _debug;
|
|
165
|
-
/**
|
|
166
|
-
* EditorId
|
|
167
|
-
*/
|
|
168
|
-
getId(): string;
|
|
169
|
-
getViewModel(): NotebookViewModel | undefined;
|
|
170
|
-
getLength(): number;
|
|
171
|
-
getSelections(): ICellRange[];
|
|
172
|
-
setSelections(selections: ICellRange[]): void;
|
|
173
|
-
getFocus(): ICellRange;
|
|
174
|
-
setFocus(focus: ICellRange): void;
|
|
175
|
-
getSelectionViewModels(): ICellViewModel[];
|
|
176
|
-
hasModel(): this is IActiveNotebookEditorDelegate;
|
|
177
|
-
showProgress(): void;
|
|
178
|
-
hideProgress(): void;
|
|
179
|
-
getBaseCellEditorOptions(language: string): IBaseCellEditorOptions;
|
|
180
|
-
private _updateForNotebookConfiguration;
|
|
181
|
-
private _generateFontInfo;
|
|
182
|
-
private _createBody;
|
|
183
|
-
private _generateFontFamily;
|
|
184
|
-
private _createLayoutStyles;
|
|
185
|
-
private _createCellList;
|
|
186
|
-
private showListContextMenu;
|
|
187
|
-
private _registerNotebookOverviewRuler;
|
|
188
|
-
private _registerNotebookActionsToolbar;
|
|
189
|
-
private _registerNotebookStickyScroll;
|
|
190
|
-
private _updateOutputRenderers;
|
|
191
|
-
getDomNode(): HTMLElement;
|
|
192
|
-
getOverflowContainerDomNode(): HTMLElement;
|
|
193
|
-
getInnerWebview(): IWebviewElement | undefined;
|
|
194
|
-
setEditorProgressService(editorProgressService: IEditorProgressService): void;
|
|
195
|
-
setParentContextKeyService(parentContextKeyService: IContextKeyService): void;
|
|
196
|
-
setModel(textModel: NotebookTextModel, viewState: INotebookEditorViewState | undefined, perf?: NotebookPerfMarks, viewType?: string): Promise<void>;
|
|
197
|
-
private _backgroundMarkdownRenderRunning;
|
|
198
|
-
private _backgroundMarkdownRendering;
|
|
199
|
-
private _backgroundMarkdownRenderingWithDeadline;
|
|
200
|
-
private updateContextKeysOnFocusChange;
|
|
201
|
-
setOptions(options: INotebookEditorOptions | undefined): Promise<void>;
|
|
202
|
-
private _parseIndexedCellOptions;
|
|
203
|
-
private _detachModel;
|
|
204
|
-
private _updateForOptions;
|
|
205
|
-
private _resolveWebview;
|
|
206
|
-
private _ensureWebview;
|
|
207
|
-
private _attachModel;
|
|
208
|
-
private _bindCellListener;
|
|
209
|
-
private _lastCellWithEditorFocus;
|
|
210
|
-
private _validateCellFocusMode;
|
|
211
|
-
private _warmupWithMarkdownRenderer;
|
|
212
|
-
private _warmupViewportMarkdownCells;
|
|
213
|
-
private createMarkupCellInitialization;
|
|
214
|
-
restoreListViewState(viewState: INotebookEditorViewState | undefined): void;
|
|
215
|
-
private _restoreSelectedKernel;
|
|
216
|
-
getEditorViewState(): INotebookEditorViewState;
|
|
217
|
-
private _allowScrollBeyondLastLine;
|
|
218
|
-
private getBodyHeight;
|
|
219
|
-
layout(dimension: DOM.Dimension, shadowElement?: HTMLElement, position?: DOM.IDomPosition): void;
|
|
220
|
-
private layoutNotebook;
|
|
221
|
-
private layoutContainerOverShadowElement;
|
|
222
|
-
focus(): void;
|
|
223
|
-
onShow(): void;
|
|
224
|
-
private focusEditor;
|
|
225
|
-
focusContainer(clearSelection?: boolean): void;
|
|
226
|
-
selectOutputContent(cell: ICellViewModel): void;
|
|
227
|
-
selectInputContents(cell: ICellViewModel): void;
|
|
228
|
-
onWillHide(): void;
|
|
229
|
-
private clearActiveCellWidgets;
|
|
230
|
-
private editorHasDomFocus;
|
|
231
|
-
updateEditorFocus(): void;
|
|
232
|
-
updateCellFocusMode(): void;
|
|
233
|
-
hasEditorFocus(): boolean;
|
|
234
|
-
hasWebviewFocus(): boolean;
|
|
235
|
-
hasOutputTextSelection(): boolean;
|
|
236
|
-
_didFocusOutputInputChange(hasFocus: boolean): void;
|
|
237
|
-
focusElement(cell: ICellViewModel): void;
|
|
238
|
-
get scrollTop(): number;
|
|
239
|
-
get scrollBottom(): number;
|
|
240
|
-
getAbsoluteTopOfElement(cell: ICellViewModel): number;
|
|
241
|
-
getAbsoluteBottomOfElement(cell: ICellViewModel): number;
|
|
242
|
-
getHeightOfElement(cell: ICellViewModel): number;
|
|
243
|
-
scrollToBottom(): void;
|
|
244
|
-
setScrollTop(scrollTop: number): void;
|
|
245
|
-
revealCellRangeInView(range: ICellRange): void;
|
|
246
|
-
revealInView(cell: ICellViewModel): Promise<void>;
|
|
247
|
-
revealInViewAtTop(cell: ICellViewModel): void;
|
|
248
|
-
revealInCenter(cell: ICellViewModel): void;
|
|
249
|
-
revealInCenterIfOutsideViewport(cell: ICellViewModel): Promise<void>;
|
|
250
|
-
revealFirstLineIfOutsideViewport(cell: ICellViewModel): Promise<void>;
|
|
251
|
-
revealLineInViewAsync(cell: ICellViewModel, line: number): Promise<void>;
|
|
252
|
-
revealLineInCenterAsync(cell: ICellViewModel, line: number): Promise<void>;
|
|
253
|
-
revealLineInCenterIfOutsideViewportAsync(cell: ICellViewModel, line: number): Promise<void>;
|
|
254
|
-
revealRangeInViewAsync(cell: ICellViewModel, range: Selection | Range): Promise<void>;
|
|
255
|
-
revealRangeInCenterAsync(cell: ICellViewModel, range: Selection | Range): Promise<void>;
|
|
256
|
-
revealRangeInCenterIfOutsideViewportAsync(cell: ICellViewModel, range: Selection | Range): Promise<void>;
|
|
257
|
-
revealCellOffsetInCenter(cell: ICellViewModel, offset: number): void;
|
|
258
|
-
revealOffsetInCenterIfOutsideViewport(offset: number): void;
|
|
259
|
-
getViewIndexByModelIndex(index: number): number;
|
|
260
|
-
getViewHeight(cell: ICellViewModel): number;
|
|
261
|
-
getCellRangeFromViewRange(startIndex: number, endIndex: number): ICellRange | undefined;
|
|
262
|
-
getCellsInRange(range?: ICellRange): ReadonlyArray<ICellViewModel>;
|
|
263
|
-
setCellEditorSelection(cell: ICellViewModel, range: Range): void;
|
|
264
|
-
setHiddenAreas(_ranges: ICellRange[]): boolean;
|
|
265
|
-
getVisibleRangesPlusViewportAboveAndBelow(): ICellRange[];
|
|
266
|
-
deltaCellDecorations(oldDecorations: string[], newDecorations: INotebookDeltaDecoration[]): string[];
|
|
267
|
-
deltaCellContainerClassNames(cellId: string, added: string[], removed: string[], cellkind: CellKind): void;
|
|
268
|
-
changeModelDecorations<T>(callback: (changeAccessor: IModelDecorationsChangeAccessor) => T): T | null;
|
|
269
|
-
changeViewZones(callback: (accessor: INotebookViewZoneChangeAccessor) => void): void;
|
|
270
|
-
getViewZoneLayoutInfo(id: string): {
|
|
271
|
-
top: number;
|
|
272
|
-
height: number;
|
|
273
|
-
} | null;
|
|
274
|
-
changeCellOverlays(callback: (accessor: INotebookCellOverlayChangeAccessor) => void): void;
|
|
275
|
-
private _loadKernelPreloads;
|
|
276
|
-
get activeKernel(): import("../common/notebookKernelService.js").INotebookKernel | undefined;
|
|
277
|
-
cancelNotebookCells(cells?: Iterable<ICellViewModel>): Promise<void>;
|
|
278
|
-
executeNotebookCells(cells?: Iterable<ICellViewModel>): Promise<void>;
|
|
279
|
-
layoutNotebookCell(cell: ICellViewModel, height: number, context?: CellLayoutContext): Promise<void>;
|
|
280
|
-
getActiveCell(): ICellViewModel | undefined;
|
|
281
|
-
private _toggleNotebookCellSelection;
|
|
282
|
-
private getCellsInViewRange;
|
|
283
|
-
focusNotebookCell(cell: ICellViewModel, focusItem: "editor" | "container" | "output", options?: IFocusNotebookCellOptions): Promise<void>;
|
|
284
|
-
focusNextNotebookCell(cell: ICellViewModel, focusItem: "editor" | "container" | "output"): Promise<void>;
|
|
285
|
-
private _warmupCell;
|
|
286
|
-
private _warmupAll;
|
|
287
|
-
private _warmupSelection;
|
|
288
|
-
find(query: string, options: INotebookFindOptions, token: CancellationToken, skipWarmup?: boolean, shouldGetSearchPreviewInfo?: boolean, ownerID?: string): Promise<CellFindMatchWithIndex[]>;
|
|
289
|
-
findHighlightCurrent(matchIndex: number, ownerID?: string): Promise<number>;
|
|
290
|
-
findUnHighlightCurrent(matchIndex: number, ownerID?: string): Promise<void>;
|
|
291
|
-
findStop(ownerID?: string): void;
|
|
292
|
-
getLayoutInfo(): NotebookLayoutInfo;
|
|
293
|
-
createMarkupPreview(cell: MarkupCellViewModel): Promise<void>;
|
|
294
|
-
private cellIsHidden;
|
|
295
|
-
unhideMarkupPreviews(cells: readonly MarkupCellViewModel[]): Promise<void>;
|
|
296
|
-
hideMarkupPreviews(cells: readonly MarkupCellViewModel[]): Promise<void>;
|
|
297
|
-
deleteMarkupPreviews(cells: readonly MarkupCellViewModel[]): Promise<void>;
|
|
298
|
-
private updateSelectedMarkdownPreviews;
|
|
299
|
-
createOutput(cell: CodeCellViewModel, output: IInsetRenderOutput, offset: number, createWhenIdle: boolean): Promise<void>;
|
|
300
|
-
updateOutput(cell: CodeCellViewModel, output: IInsetRenderOutput, offset: number): Promise<void>;
|
|
301
|
-
copyOutputImage(cellOutput: ICellOutputViewModel): Promise<void>;
|
|
302
|
-
removeInset(output: ICellOutputViewModel): void;
|
|
303
|
-
hideInset(output: ICellOutputViewModel): void;
|
|
304
|
-
postMessage(message: unknown): void;
|
|
305
|
-
addClassName(className: string): void;
|
|
306
|
-
removeClassName(className: string): void;
|
|
307
|
-
cellAt(index: number): ICellViewModel | undefined;
|
|
308
|
-
getCellByInfo(cellInfo: ICommonCellInfo): ICellViewModel;
|
|
309
|
-
getCellByHandle(handle: number): ICellViewModel | undefined;
|
|
310
|
-
getCellIndex(cell: ICellViewModel): number | undefined;
|
|
311
|
-
getNextVisibleCellIndex(index: number): number | undefined;
|
|
312
|
-
getPreviousVisibleCellIndex(index: number): number | undefined;
|
|
313
|
-
private _updateScrollHeight;
|
|
314
|
-
private _updateOutputHeight;
|
|
315
|
-
private readonly _pendingOutputHeightAcks;
|
|
316
|
-
private _scheduleOutputHeightAck;
|
|
317
|
-
private _getCellById;
|
|
318
|
-
private _updateMarkupCellHeight;
|
|
319
|
-
private _setMarkupCellEditState;
|
|
320
|
-
private _didStartDragMarkupCell;
|
|
321
|
-
private _didDragMarkupCell;
|
|
322
|
-
private _didDropMarkupCell;
|
|
323
|
-
private _didEndDragMarkupCell;
|
|
324
|
-
private _didResizeOutput;
|
|
325
|
-
private _updatePerformanceMetadata;
|
|
326
|
-
getContribution<T extends INotebookEditorContribution>(id: string): T;
|
|
327
|
-
dispose(): void;
|
|
328
|
-
toJSON(): {
|
|
329
|
-
notebookUri: URI | undefined;
|
|
330
|
-
};
|
|
331
|
-
}
|
|
332
|
-
export declare const notebookCellBorder: string;
|
|
333
|
-
export declare const focusedEditorBorderColor: string;
|
|
334
|
-
export declare const cellStatusIconSuccess: string;
|
|
335
|
-
export declare const runningCellRulerDecorationColor: string;
|
|
336
|
-
export declare const cellStatusIconError: string;
|
|
337
|
-
export declare const cellStatusIconRunning: string;
|
|
338
|
-
export declare const notebookOutputContainerBorderColor: string;
|
|
339
|
-
export declare const notebookOutputContainerColor: string;
|
|
340
|
-
export declare const CELL_TOOLBAR_SEPERATOR: string;
|
|
341
|
-
export declare const focusedCellBackground: string;
|
|
342
|
-
export declare const selectedCellBackground: string;
|
|
343
|
-
export declare const cellHoverBackground: string;
|
|
344
|
-
export declare const selectedCellBorder: string;
|
|
345
|
-
export declare const inactiveSelectedCellBorder: string;
|
|
346
|
-
export declare const focusedCellBorder: string;
|
|
347
|
-
export declare const inactiveFocusedCellBorder: string;
|
|
348
|
-
export declare const cellStatusBarItemHover: string;
|
|
349
|
-
export declare const cellInsertionIndicator: string;
|
|
350
|
-
export declare const listScrollbarSliderBackground: string;
|
|
351
|
-
export declare const listScrollbarSliderHoverBackground: string;
|
|
352
|
-
export declare const listScrollbarSliderActiveBackground: string;
|
|
353
|
-
export declare const cellSymbolHighlight: string;
|
|
354
|
-
export declare const cellEditorBackground: string;
|