@codingame/monaco-vscode-notebook-service-override 14.0.6 → 15.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +26 -29
- package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.d.ts +34 -0
- package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.js +216 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +29 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticEditorContrib.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticEditorContrib.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticsActions.js +9 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.js +5 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/contributedStatusBarItemController.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/contributedStatusBarItemController.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/contribution.js +10 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookCellDecorators.d.ts +4 -40
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookCellDecorators.js +13 -217
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatActionsOverlay.d.ts +3 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatActionsOverlay.js +22 -33
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatEditController.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatEditController.js +17 -20
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookOriginalCellModelFactory.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookOriginalCellModelFactory.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookOriginalModelRefFactory.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookOriginalModelRefFactory.js +8 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizer.d.ts +6 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizer.js +47 -29
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizerService.d.ts +5 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizerService.js +28 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookBreakpoints.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorHint/emptyCellEditorHint.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +13 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/execute/executionEditorProgress.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/execute/executionEditorProgress.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +12 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/marker/markerProvider.js +4 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.js +14 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookSelectionHighlight.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +18 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.d.ts +11 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.js +328 -116
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +8 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +16 -16
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +19 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/undoRedo/notebookUndoRedo.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/viewportWarmup/viewportWarmup.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.d.ts +3 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +39 -37
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +99 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +40 -35
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +31 -31
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +37 -33
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +22 -25
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +11 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +17 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/variablesActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +58 -25
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +99 -87
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +12 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibleView.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +33 -33
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.d.ts +6 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.js +7 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +8 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +2 -3
- package/vscode/src/vs/workbench/contrib/notebook/common/model/cellEdit.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookProvider.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookProvider.js +3 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookSimpleWorker.js +20 -16
- package/vscode/src/vs/workbench/services/workingCopy/common/abstractFileWorkingCopyManager.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.d.ts +2 -2
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +14 -14
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +3 -3
- package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.d.ts +2 -2
- package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.js +2 -2
|
@@ -15,27 +15,26 @@ import { IKeybindingService } from '@codingame/monaco-vscode-api/vscode/vs/platf
|
|
|
15
15
|
import { WorkbenchAsyncDataTree } from '@codingame/monaco-vscode-api/vscode/vs/platform/list/browser/listService';
|
|
16
16
|
import { IOpenerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service';
|
|
17
17
|
import { IQuickInputService } from '@codingame/monaco-vscode-api/vscode/vs/platform/quickinput/common/quickInput.service';
|
|
18
|
-
import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
19
18
|
import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
|
|
20
19
|
import { ViewPane } from '@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common/vscode/vs/workbench/browser/parts/views/viewPane';
|
|
21
20
|
import { IViewDescriptorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service';
|
|
22
21
|
import { CONTEXT_VARIABLE_NAME, CONTEXT_VARIABLE_VALUE, CONTEXT_VARIABLE_TYPE, CONTEXT_VARIABLE_INTERFACES, CONTEXT_VARIABLE_LANGUAGE, CONTEXT_VARIABLE_EXTENSIONID } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
|
|
23
22
|
import { NotebookVariableDataSource } from './notebookVariablesDataSource.js';
|
|
24
23
|
import { NotebookVariablesDelegate, NotebookVariableRenderer, NotebookVariableAccessibilityProvider } from './notebookVariablesTree.js';
|
|
25
|
-
import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-
|
|
24
|
+
import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
26
25
|
import { INotebookExecutionStateService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service';
|
|
27
26
|
import { INotebookKernelService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookKernelService.service';
|
|
28
27
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
29
|
-
import { isCompositeNotebookEditorInput } from '@codingame/monaco-vscode-
|
|
28
|
+
import { isCompositeNotebookEditorInput } from '@codingame/monaco-vscode-9b5a5e82-d649-5455-b4bf-ef90d6afd294-common/vscode/vs/workbench/contrib/notebook/common/notebookEditorInput';
|
|
30
29
|
|
|
31
30
|
var NotebookVariablesView_1;
|
|
32
31
|
let NotebookVariablesView = class NotebookVariablesView extends ViewPane {
|
|
33
32
|
static { NotebookVariablesView_1 = this; }
|
|
34
33
|
static { this.ID = 'notebookVariablesView'; }
|
|
35
|
-
static { this.NOTEBOOK_TITLE = ( localize2(
|
|
36
|
-
static { this.REPL_TITLE = ( localize2(
|
|
37
|
-
constructor(options, editorService, notebookKernelService, notebookExecutionStateService, keybindingService, contextMenuService, contextKeyService, configurationService, instantiationService, viewDescriptorService, openerService, quickInputService, commandService, themeService,
|
|
38
|
-
super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService,
|
|
34
|
+
static { this.NOTEBOOK_TITLE = ( localize2(7630, "Notebook Variables")); }
|
|
35
|
+
static { this.REPL_TITLE = ( localize2(7631, "REPL Variables")); }
|
|
36
|
+
constructor(options, editorService, notebookKernelService, notebookExecutionStateService, keybindingService, contextMenuService, contextKeyService, configurationService, instantiationService, viewDescriptorService, openerService, quickInputService, commandService, themeService, hoverService, menuService) {
|
|
37
|
+
super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, hoverService);
|
|
39
38
|
this.editorService = editorService;
|
|
40
39
|
this.notebookKernelService = notebookKernelService;
|
|
41
40
|
this.notebookExecutionStateService = notebookExecutionStateService;
|
|
@@ -177,9 +176,8 @@ NotebookVariablesView = NotebookVariablesView_1 = ( __decorate([
|
|
|
177
176
|
( __param(11, IQuickInputService)),
|
|
178
177
|
( __param(12, ICommandService)),
|
|
179
178
|
( __param(13, IThemeService)),
|
|
180
|
-
( __param(14,
|
|
181
|
-
( __param(15,
|
|
182
|
-
( __param(16, IMenuService))
|
|
179
|
+
( __param(14, IHoverService)),
|
|
180
|
+
( __param(15, IMenuService))
|
|
183
181
|
], NotebookVariablesView));
|
|
184
182
|
|
|
185
183
|
export { NotebookVariablesView };
|
package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.d.ts
CHANGED
|
@@ -7,18 +7,18 @@ import { IEditorOptions } from "@codingame/monaco-vscode-api/vscode/vs/platform/
|
|
|
7
7
|
import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
8
8
|
import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
|
|
9
9
|
import { IEditorPane } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor";
|
|
10
|
-
import { CellFoldingState, INotebookEditorPane } from "@codingame/monaco-vscode-
|
|
10
|
+
import { CellFoldingState, INotebookEditorPane } from "@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
|
|
11
11
|
import { NotebookEditor } from "@codingame/monaco-vscode-6f9bc782-77e0-5716-93bd-b05210c768c5-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditor";
|
|
12
|
-
import { INotebookCellOutlineDataSource } from "@codingame/monaco-vscode-
|
|
12
|
+
import { INotebookCellOutlineDataSource } from "@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSource";
|
|
13
13
|
import { CellKind } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon";
|
|
14
14
|
import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
15
|
-
import { IBreadcrumbsDataSource, IOutline, IOutlineCreator, IOutlineListConfig, IQuickPickDataSource, IQuickPickOutlineElement, OutlineChangeEvent, OutlineTarget } from "@codingame/monaco-vscode-
|
|
15
|
+
import { IBreadcrumbsDataSource, IOutline, IOutlineCreator, IOutlineListConfig, IQuickPickDataSource, IQuickPickOutlineElement, OutlineChangeEvent, OutlineTarget } from "@codingame/monaco-vscode-2e69e120-617a-5258-95e0-3b8902f4e014-common/vscode/vs/workbench/services/outline/browser/outline";
|
|
16
16
|
import { IOutlineService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/outline/browser/outline.service";
|
|
17
|
-
import { OutlineEntry } from "@codingame/monaco-vscode-
|
|
17
|
+
import { OutlineEntry } from "@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/viewModel/OutlineEntry";
|
|
18
18
|
import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation";
|
|
19
19
|
import { RawContextKey } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey";
|
|
20
20
|
import { INotebookExecutionStateService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service";
|
|
21
|
-
import { ILanguageFeaturesService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures";
|
|
21
|
+
import { ILanguageFeaturesService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures.service";
|
|
22
22
|
export declare class NotebookQuickPickProvider implements IQuickPickDataSource<OutlineEntry> {
|
|
23
23
|
private readonly notebookCellOutlineDataSourceRef;
|
|
24
24
|
private readonly _configurationService;
|
|
@@ -27,13 +27,13 @@ import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/quic
|
|
|
27
27
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/searchColors';
|
|
28
28
|
import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
|
|
29
29
|
import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
30
|
-
import { CellFoldingState, CellRevealType } from '@codingame/monaco-vscode-
|
|
30
|
+
import { CellFoldingState, CellRevealType } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
31
31
|
import { NotebookEditor } from '@codingame/monaco-vscode-6f9bc782-77e0-5716-93bd-b05210c768c5-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditor';
|
|
32
32
|
import { CellKind, NotebookSetting, NotebookCellsChangeType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
33
33
|
import { SIDE_GROUP } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService';
|
|
34
34
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
35
35
|
import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
36
|
-
import { OutlineConfigKeys, OutlineTarget, OutlineConfigCollapseItemsValues } from '@codingame/monaco-vscode-
|
|
36
|
+
import { OutlineConfigKeys, OutlineTarget, OutlineConfigCollapseItemsValues } from '@codingame/monaco-vscode-2e69e120-617a-5258-95e0-3b8902f4e014-common/vscode/vs/workbench/services/outline/browser/outline';
|
|
37
37
|
import { IOutlineService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/outline/browser/outline.service';
|
|
38
38
|
import { CancellationToken } from '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
|
|
39
39
|
import { Range } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/range';
|
|
@@ -47,12 +47,12 @@ import { MenuEntryActionViewItem, getActionBarActions } from '@codingame/monaco-
|
|
|
47
47
|
import { disposableTimeout, Delayer } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
48
48
|
import { IOutlinePane } from '@codingame/monaco-vscode-0cd5242b-7b61-5f66-ac25-ffa40baf8e8f-common/vscode/vs/workbench/contrib/outline/browser/outline';
|
|
49
49
|
import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
|
|
50
|
-
import { NOTEBOOK_IS_ACTIVE_EDITOR } from '@codingame/monaco-vscode-
|
|
50
|
+
import { NOTEBOOK_IS_ACTIVE_EDITOR } from '@codingame/monaco-vscode-52bb4d5b-ba1a-57fd-9bee-b28824214eac-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
|
|
51
51
|
import { NotebookOutlineConstants } from '../../viewModel/notebookOutlineEntryFactory.js';
|
|
52
|
-
import { INotebookCellOutlineDataSourceFactory } from '@codingame/monaco-vscode-
|
|
53
|
-
import { NotebookExecutionType } from '@codingame/monaco-vscode-
|
|
52
|
+
import { INotebookCellOutlineDataSourceFactory } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSourceFactory.service';
|
|
53
|
+
import { NotebookExecutionType } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService';
|
|
54
54
|
import { INotebookExecutionStateService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service';
|
|
55
|
-
import { ILanguageFeaturesService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures';
|
|
55
|
+
import { ILanguageFeaturesService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures.service';
|
|
56
56
|
|
|
57
57
|
class NotebookOutlineTemplate {
|
|
58
58
|
static { this.templateId = 'NotebookOutlineRenderer'; }
|
|
@@ -182,7 +182,7 @@ let NotebookOutlineRenderer = class NotebookOutlineRenderer {
|
|
|
182
182
|
}
|
|
183
183
|
disposeTemplate(templateData) {
|
|
184
184
|
templateData.iconLabel.dispose();
|
|
185
|
-
templateData.elementDisposables.
|
|
185
|
+
templateData.elementDisposables.dispose();
|
|
186
186
|
}
|
|
187
187
|
disposeElement(element, index, templateData, height) {
|
|
188
188
|
templateData.elementDisposables.clear();
|
|
@@ -728,33 +728,33 @@ const NotebookOutlineContext = {
|
|
|
728
728
|
type: 'boolean',
|
|
729
729
|
default: true,
|
|
730
730
|
markdownDescription: ( localize(
|
|
731
|
-
|
|
731
|
+
7632,
|
|
732
732
|
"When enabled, notebook outline will show only markdown cells containing a header."
|
|
733
733
|
))
|
|
734
734
|
},
|
|
735
735
|
[NotebookSetting.outlineShowCodeCells]: {
|
|
736
736
|
type: 'boolean',
|
|
737
737
|
default: false,
|
|
738
|
-
markdownDescription: ( localize(
|
|
738
|
+
markdownDescription: ( localize(7633, "When enabled, notebook outline shows code cells."))
|
|
739
739
|
},
|
|
740
740
|
[NotebookSetting.outlineShowCodeCellSymbols]: {
|
|
741
741
|
type: 'boolean',
|
|
742
742
|
default: true,
|
|
743
743
|
markdownDescription: ( localize(
|
|
744
|
-
|
|
744
|
+
7634,
|
|
745
745
|
"When enabled, notebook outline shows code cell symbols. Relies on `notebook.outline.showCodeCells` being enabled."
|
|
746
746
|
))
|
|
747
747
|
},
|
|
748
748
|
[NotebookSetting.breadcrumbsShowCodeCells]: {
|
|
749
749
|
type: 'boolean',
|
|
750
750
|
default: true,
|
|
751
|
-
markdownDescription: ( localize(
|
|
751
|
+
markdownDescription: ( localize(7635, "When enabled, notebook breadcrumbs contain code cells."))
|
|
752
752
|
},
|
|
753
753
|
[NotebookSetting.gotoSymbolsAllSymbols]: {
|
|
754
754
|
type: 'boolean',
|
|
755
755
|
default: true,
|
|
756
756
|
markdownDescription: ( localize(
|
|
757
|
-
|
|
757
|
+
7636,
|
|
758
758
|
"When enabled, the Go to Symbol Quick Pick will display full code symbols from the notebook, as well as Markdown headers."
|
|
759
759
|
))
|
|
760
760
|
},
|
|
@@ -762,7 +762,7 @@ const NotebookOutlineContext = {
|
|
|
762
762
|
});
|
|
763
763
|
MenuRegistry.appendMenuItem(MenuId.ViewTitle, {
|
|
764
764
|
submenu: MenuId.NotebookOutlineFilter,
|
|
765
|
-
title: ( localize(
|
|
765
|
+
title: ( localize(7637, "Filter Entries")),
|
|
766
766
|
icon: Codicon.filter,
|
|
767
767
|
group: 'navigation',
|
|
768
768
|
order: -1,
|
|
@@ -772,7 +772,7 @@ registerAction2(class ToggleShowMarkdownHeadersOnly extends Action2 {
|
|
|
772
772
|
constructor() {
|
|
773
773
|
super({
|
|
774
774
|
id: 'notebook.outline.toggleShowMarkdownHeadersOnly',
|
|
775
|
-
title: ( localize(
|
|
775
|
+
title: ( localize(7638, "Markdown Headers Only")),
|
|
776
776
|
f1: false,
|
|
777
777
|
toggled: {
|
|
778
778
|
condition: ( ContextKeyExpr.equals('config.notebook.outline.showMarkdownHeadersOnly', true))
|
|
@@ -793,7 +793,7 @@ registerAction2(class ToggleCodeCellEntries extends Action2 {
|
|
|
793
793
|
constructor() {
|
|
794
794
|
super({
|
|
795
795
|
id: 'notebook.outline.toggleCodeCells',
|
|
796
|
-
title: ( localize(
|
|
796
|
+
title: ( localize(7639, "Code Cells")),
|
|
797
797
|
f1: false,
|
|
798
798
|
toggled: {
|
|
799
799
|
condition: ( ContextKeyExpr.equals('config.notebook.outline.showCodeCells', true))
|
|
@@ -815,7 +815,7 @@ registerAction2(class ToggleCodeCellSymbolEntries extends Action2 {
|
|
|
815
815
|
constructor() {
|
|
816
816
|
super({
|
|
817
817
|
id: 'notebook.outline.toggleCodeCellSymbols',
|
|
818
|
-
title: ( localize(
|
|
818
|
+
title: ( localize(7640, "Code Cell Symbols")),
|
|
819
819
|
f1: false,
|
|
820
820
|
toggled: {
|
|
821
821
|
condition: ( ContextKeyExpr.equals('config.notebook.outline.showCodeCellSymbols', true))
|
|
@@ -3,13 +3,13 @@ import { HierarchicalKind } from "@codingame/monaco-vscode-api/vscode/vs/base/co
|
|
|
3
3
|
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
4
4
|
import { CodeActionProvider } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages";
|
|
5
5
|
import { ITextModel } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/model";
|
|
6
|
-
import { ILanguageFeaturesService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures";
|
|
6
|
+
import { ILanguageFeaturesService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures.service";
|
|
7
7
|
import { IInstantiationService, ServicesAccessor } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
8
8
|
import { IProgress, IProgressStep } from "@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress";
|
|
9
9
|
import { IWorkbenchContribution } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions";
|
|
10
10
|
import { NotebookTextModel } from "../../../common/model/notebookTextModel.js";
|
|
11
11
|
import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
12
|
-
import { IStoredFileWorkingCopy, IStoredFileWorkingCopyModel } from "@codingame/monaco-vscode-
|
|
12
|
+
import { IStoredFileWorkingCopy, IStoredFileWorkingCopyModel } from "@codingame/monaco-vscode-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopy";
|
|
13
13
|
import { IStoredFileWorkingCopySaveParticipant, IStoredFileWorkingCopySaveParticipantContext } from "@codingame/monaco-vscode-base-service-override/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService";
|
|
14
14
|
import { IWorkingCopyFileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.service";
|
|
15
15
|
export declare abstract class NotebookSaveParticipant implements IStoredFileWorkingCopySaveParticipant {
|
|
@@ -3,14 +3,15 @@ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib
|
|
|
3
3
|
import { HierarchicalKind } from '@codingame/monaco-vscode-api/vscode/vs/base/common/hierarchicalKind';
|
|
4
4
|
import { DisposableStore, Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
5
5
|
import { isEqual } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
6
|
-
import { ResourceTextEdit
|
|
6
|
+
import { ResourceTextEdit } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/bulkEditService';
|
|
7
|
+
import { IBulkEditService } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/bulkEditService.service';
|
|
7
8
|
import { trimTrailingWhitespace } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/commands/trimTrailingWhitespaceCommand';
|
|
8
9
|
import { Position } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/position';
|
|
9
10
|
import { Range } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/range';
|
|
10
11
|
import { CodeActionTriggerType } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages';
|
|
11
|
-
import { IEditorWorkerService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/editorWorker';
|
|
12
|
-
import { ILanguageFeaturesService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures';
|
|
13
|
-
import { ITextModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService';
|
|
12
|
+
import { IEditorWorkerService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/editorWorker.service';
|
|
13
|
+
import { ILanguageFeaturesService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures.service';
|
|
14
|
+
import { ITextModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService.service';
|
|
14
15
|
import { applyCodeAction, ApplyCodeActionReason, getCodeActions } from '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/codeAction/browser/codeAction';
|
|
15
16
|
import { CodeActionKind, CodeActionTriggerSource } from '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/codeAction/common/types';
|
|
16
17
|
import { getDocumentFormattingEditsWithSelectedProvider, FormattingMode } from '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/format/browser/format';
|
|
@@ -23,9 +24,9 @@ import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/regist
|
|
|
23
24
|
import { IWorkspaceTrustManagementService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspaceTrust.service';
|
|
24
25
|
import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
25
26
|
import { SaveReason } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
26
|
-
import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-
|
|
27
|
+
import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
27
28
|
import { NotebookSetting, CellKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
28
|
-
import { NotebookFileWorkingCopyModel } from '@codingame/monaco-vscode-
|
|
29
|
+
import { NotebookFileWorkingCopyModel } from '@codingame/monaco-vscode-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common/vscode/vs/workbench/contrib/notebook/common/notebookEditorModel';
|
|
29
30
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
30
31
|
import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
31
32
|
import { IWorkingCopyFileService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.service';
|
|
@@ -64,7 +65,7 @@ let FormatOnSaveParticipant = class FormatOnSaveParticipant {
|
|
|
64
65
|
if (!enabled) {
|
|
65
66
|
return undefined;
|
|
66
67
|
}
|
|
67
|
-
progress.report({ message: ( localize(
|
|
68
|
+
progress.report({ message: ( localize(7642, "Formatting")) });
|
|
68
69
|
const notebook = workingCopy.model.notebookModel;
|
|
69
70
|
const formatApplied = await this.instantiationService.invokeFunction(CodeActionParticipantUtils.checkAndRunFormatCodeAction, notebook, progress, token);
|
|
70
71
|
const disposable = ( new DisposableStore());
|
|
@@ -82,7 +83,7 @@ let FormatOnSaveParticipant = class FormatOnSaveParticipant {
|
|
|
82
83
|
}
|
|
83
84
|
return [];
|
|
84
85
|
})));
|
|
85
|
-
await this.bulkEditService.apply( allCellEdits.flat(), { label: ( localize(
|
|
86
|
+
await this.bulkEditService.apply( allCellEdits.flat(), { label: ( localize(7643, "Format Notebook")), code: 'undoredo.formatNotebook', });
|
|
86
87
|
}
|
|
87
88
|
}
|
|
88
89
|
finally {
|
|
@@ -151,7 +152,7 @@ let TrimWhitespaceParticipant = class TrimWhitespaceParticipant extends Notebook
|
|
|
151
152
|
return ( ops.map(op => ( new ResourceTextEdit(model.uri, { ...op, text: op.text || '' }, model.getVersionId()))));
|
|
152
153
|
})));
|
|
153
154
|
const filteredEdits = allCellEdits.flat().filter(edit => edit !== undefined);
|
|
154
|
-
await this.bulkEditService.apply(filteredEdits, { label: ( localize(
|
|
155
|
+
await this.bulkEditService.apply(filteredEdits, { label: ( localize(7644, "Notebook Trim Trailing Whitespace")), code: 'undoredo.notebookTrimTrailingWhitespace' });
|
|
155
156
|
}
|
|
156
157
|
finally {
|
|
157
158
|
progress.report({ increment: 100 });
|
|
@@ -228,7 +229,7 @@ let TrimFinalNewLinesParticipant = class TrimFinalNewLinesParticipant extends No
|
|
|
228
229
|
));
|
|
229
230
|
})));
|
|
230
231
|
const filteredEdits = allCellEdits.flat().filter(edit => edit !== undefined);
|
|
231
|
-
await this.bulkEditService.apply(filteredEdits, { label: ( localize(
|
|
232
|
+
await this.bulkEditService.apply(filteredEdits, { label: ( localize(7645, "Trim Final New Lines")), code: 'undoredo.trimFinalNewLines' });
|
|
232
233
|
}
|
|
233
234
|
finally {
|
|
234
235
|
progress.report({ increment: 100 });
|
|
@@ -282,7 +283,7 @@ let InsertFinalNewLineParticipant = class InsertFinalNewLineParticipant extends
|
|
|
282
283
|
)), text: cell.textBuffer.getEOL() }, cell.textModel?.getVersionId()));
|
|
283
284
|
})));
|
|
284
285
|
const filteredEdits = allCellEdits.filter(edit => edit !== undefined);
|
|
285
|
-
await this.bulkEditService.apply(filteredEdits, { label: ( localize(
|
|
286
|
+
await this.bulkEditService.apply(filteredEdits, { label: ( localize(7646, "Insert Final New Line")), code: 'undoredo.insertFinalNewLine' });
|
|
286
287
|
if (activeCellEditor && selections) {
|
|
287
288
|
activeCellEditor.setSelections(selections);
|
|
288
289
|
}
|
|
@@ -338,7 +339,7 @@ let CodeActionOnSaveParticipant = class CodeActionOnSaveParticipant {
|
|
|
338
339
|
const notebookCodeActionsOnSave = includedActions.filter(x => CodeActionKind.Notebook.contains(x));
|
|
339
340
|
if (notebookCodeActionsOnSave.length) {
|
|
340
341
|
const nbDisposable = ( new DisposableStore());
|
|
341
|
-
progress.report({ message: ( localize(
|
|
342
|
+
progress.report({ message: ( localize(7647, "Running 'Notebook' code actions")) });
|
|
342
343
|
try {
|
|
343
344
|
const cell = notebookModel.cells[0];
|
|
344
345
|
const ref = await this.textModelService.createModelReference(cell.uri);
|
|
@@ -370,7 +371,7 @@ let CodeActionOnSaveParticipant = class CodeActionOnSaveParticipant {
|
|
|
370
371
|
});
|
|
371
372
|
}
|
|
372
373
|
const cellDisposable = ( new DisposableStore());
|
|
373
|
-
progress.report({ message: ( localize(
|
|
374
|
+
progress.report({ message: ( localize(7648, "Running 'Cell' code actions")) });
|
|
374
375
|
try {
|
|
375
376
|
await Promise.all(( notebookModel.cells.map(async (cell) => {
|
|
376
377
|
const ref = await this.textModelService.createModelReference(cell.uri);
|
|
@@ -410,7 +411,7 @@ class CodeActionParticipantUtils {
|
|
|
410
411
|
const configurationService = accessor.get(IConfigurationService);
|
|
411
412
|
const formatDisposable = ( new DisposableStore());
|
|
412
413
|
let formatResult = false;
|
|
413
|
-
progress.report({ message: ( localize(
|
|
414
|
+
progress.report({ message: ( localize(7649, "Running 'Format' code actions")) });
|
|
414
415
|
try {
|
|
415
416
|
const cell = notebookModel.cells[0];
|
|
416
417
|
const ref = await textModelService.createModelReference(cell.uri);
|
|
@@ -439,7 +440,7 @@ class CodeActionParticipantUtils {
|
|
|
439
440
|
_report() {
|
|
440
441
|
progress.report({
|
|
441
442
|
message: ( localize(
|
|
442
|
-
|
|
443
|
+
7650,
|
|
443
444
|
"Getting code actions from '{0}' ([configure]({1})).",
|
|
444
445
|
( [...this._names].map(name => `'${name}'`)).join(', '),
|
|
445
446
|
'command:workbench.action.openSettings?%5B%22notebook.codeActionsOnSave%22%5D'
|
|
@@ -479,7 +480,7 @@ class CodeActionParticipantUtils {
|
|
|
479
480
|
logService.warn('Failed to apply code action on save, applied to multiple resources.');
|
|
480
481
|
continue;
|
|
481
482
|
}
|
|
482
|
-
progress.report({ message: ( localize(
|
|
483
|
+
progress.report({ message: ( localize(7651, "Applying code action '{0}'.", action.action.title)) });
|
|
483
484
|
await instantiationService.invokeFunction(applyCodeAction, action, ApplyCodeActionReason.OnSave, {}, token);
|
|
484
485
|
if (token.isCancellationRequested) {
|
|
485
486
|
return;
|
|
@@ -504,7 +505,7 @@ class CodeActionParticipantUtils {
|
|
|
504
505
|
_report() {
|
|
505
506
|
progress.report({
|
|
506
507
|
message: ( localize(
|
|
507
|
-
|
|
508
|
+
7650,
|
|
508
509
|
"Getting code actions from '{0}' ([configure]({1})).",
|
|
509
510
|
( [...this._names].map(name => `'${name}'`)).join(', '),
|
|
510
511
|
'command:workbench.action.openSettings?%5B%22notebook.defaultFormatter%22%5D'
|
|
@@ -531,7 +532,7 @@ class CodeActionParticipantUtils {
|
|
|
531
532
|
if (!action) {
|
|
532
533
|
return false;
|
|
533
534
|
}
|
|
534
|
-
progress.report({ message: ( localize(
|
|
535
|
+
progress.report({ message: ( localize(7651, "Applying code action '{0}'.", action.action.title)) });
|
|
535
536
|
await instantiationService.invokeFunction(applyCodeAction, action, ApplyCodeActionReason.OnSave, {}, token);
|
|
536
537
|
if (token.isCancellationRequested) {
|
|
537
538
|
return false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
2
|
-
import { INotebookEditor, INotebookEditorContribution } from "@codingame/monaco-vscode-
|
|
2
|
+
import { INotebookEditor, INotebookEditorContribution } from "@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
|
|
3
3
|
export declare class TroubleshootController extends Disposable implements INotebookEditorContribution {
|
|
4
4
|
private readonly _notebookEditor;
|
|
5
5
|
static id: string;
|
|
@@ -3,8 +3,8 @@ import { Disposable, DisposableStore, dispose } from '@codingame/monaco-vscode-a
|
|
|
3
3
|
import { localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
4
4
|
import { Categories } from '@codingame/monaco-vscode-api/vscode/vs/platform/action/common/actionCommonCategories';
|
|
5
5
|
import { registerAction2, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
6
|
-
import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-
|
|
7
|
-
import { registerNotebookContribution } from '@codingame/monaco-vscode-
|
|
6
|
+
import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
7
|
+
import { registerNotebookContribution } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorExtensions';
|
|
8
8
|
import { CellStatusbarAlignment } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
9
9
|
import { INotebookService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
|
|
10
10
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
@@ -95,7 +95,7 @@ registerAction2(class extends Action2 {
|
|
|
95
95
|
constructor() {
|
|
96
96
|
super({
|
|
97
97
|
id: 'notebook.toggleLayoutTroubleshoot',
|
|
98
|
-
title: ( localize2(
|
|
98
|
+
title: ( localize2(7652, "Toggle Layout Troubleshoot")),
|
|
99
99
|
category: Categories.Developer,
|
|
100
100
|
f1: true
|
|
101
101
|
});
|
|
@@ -114,7 +114,7 @@ registerAction2(class extends Action2 {
|
|
|
114
114
|
constructor() {
|
|
115
115
|
super({
|
|
116
116
|
id: 'notebook.inspectLayout',
|
|
117
|
-
title: ( localize2(
|
|
117
|
+
title: ( localize2(7653, "Inspect Notebook Layout")),
|
|
118
118
|
category: Categories.Developer,
|
|
119
119
|
f1: true
|
|
120
120
|
});
|
|
@@ -135,7 +135,7 @@ registerAction2(class extends Action2 {
|
|
|
135
135
|
constructor() {
|
|
136
136
|
super({
|
|
137
137
|
id: 'notebook.clearNotebookEdtitorTypeCache',
|
|
138
|
-
title: ( localize2(
|
|
138
|
+
title: ( localize2(7654, "Clear Notebook Editor Type Cache")),
|
|
139
139
|
category: Categories.Developer,
|
|
140
140
|
f1: true
|
|
141
141
|
});
|
package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/undoRedo/notebookUndoRedo.js
CHANGED
|
@@ -4,7 +4,7 @@ import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/l
|
|
|
4
4
|
import { registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
5
5
|
import { CellKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
6
6
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
7
|
-
import { getNotebookEditorFromEditorPane, CellEditState } from '@codingame/monaco-vscode-
|
|
7
|
+
import { getNotebookEditorFromEditorPane, CellEditState } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
8
8
|
import { UndoCommand, RedoCommand } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorExtensions';
|
|
9
9
|
|
|
10
10
|
let NotebookUndoRedoContribution = class NotebookUndoRedoContribution extends Disposable {
|
package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/viewportWarmup/viewportWarmup.js
CHANGED
|
@@ -3,11 +3,11 @@ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib
|
|
|
3
3
|
import { RunOnceScheduler } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
4
4
|
import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
5
5
|
import { IAccessibilityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/common/accessibility.service';
|
|
6
|
-
import { CellEditState, RenderOutputType } from '@codingame/monaco-vscode-
|
|
7
|
-
import { registerNotebookContribution } from '@codingame/monaco-vscode-
|
|
8
|
-
import { outputDisplayLimit } from '@codingame/monaco-vscode-
|
|
6
|
+
import { CellEditState, RenderOutputType } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
7
|
+
import { registerNotebookContribution } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorExtensions';
|
|
8
|
+
import { outputDisplayLimit } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel';
|
|
9
9
|
import { CellKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
10
|
-
import { cellRangesToIndexes } from '@codingame/monaco-vscode-
|
|
10
|
+
import { cellRangesToIndexes } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/common/notebookRange';
|
|
11
11
|
import { INotebookService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
|
|
12
12
|
|
|
13
13
|
let NotebookViewportContribution = class NotebookViewportContribution extends Disposable {
|
package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { ServicesAccessor } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
2
2
|
import { ICodeEditor } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorBrowser";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import { HunkInformation } from "@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSession";
|
|
6
|
-
export declare class AcceptChangesAndRun extends AbstractInlineChatAction {
|
|
3
|
+
import { EditorAction2 } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorExtensions";
|
|
4
|
+
export declare class AcceptChangesAndRun extends EditorAction2 {
|
|
7
5
|
constructor();
|
|
8
|
-
|
|
6
|
+
runEditorCommand(accessor: ServicesAccessor, codeEditor: ICodeEditor): Promise<void> | undefined;
|
|
9
7
|
}
|