@codingame/monaco-vscode-notebook-service-override 14.0.6 → 15.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +26 -29
- 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
package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
|
|
2
2
|
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
3
3
|
import { DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
4
|
-
import {
|
|
4
|
+
import { ResourceTextEdit } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/bulkEditService';
|
|
5
|
+
import { IBulkEditService } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/bulkEditService.service';
|
|
5
6
|
import { Range } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/range';
|
|
6
|
-
import { ITextModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService';
|
|
7
|
+
import { ITextModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService.service';
|
|
7
8
|
import { Action2, registerAction2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
8
9
|
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
9
10
|
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
10
11
|
import { IQuickInputService } from '@codingame/monaco-vscode-api/vscode/vs/platform/quickinput/common/quickInput.service';
|
|
11
12
|
import { INotebookEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service';
|
|
12
13
|
import { NotebookSetting } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
13
|
-
import { isNotebookEditorInput } from '@codingame/monaco-vscode-
|
|
14
|
+
import { isNotebookEditorInput } from '@codingame/monaco-vscode-9b5a5e82-d649-5455-b4bf-ef90d6afd294-common/vscode/vs/workbench/contrib/notebook/common/notebookEditorInput';
|
|
14
15
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
15
16
|
|
|
16
17
|
class NotebookIndentUsingTabs extends Action2 {
|
|
@@ -18,7 +19,7 @@ class NotebookIndentUsingTabs extends Action2 {
|
|
|
18
19
|
constructor() {
|
|
19
20
|
super({
|
|
20
21
|
id: NotebookIndentUsingTabs.ID,
|
|
21
|
-
title: ( localize(
|
|
22
|
+
title: ( localize(7783, "Indent Using Tabs")),
|
|
22
23
|
precondition: undefined,
|
|
23
24
|
});
|
|
24
25
|
}
|
|
@@ -31,7 +32,7 @@ class NotebookIndentUsingSpaces extends Action2 {
|
|
|
31
32
|
constructor() {
|
|
32
33
|
super({
|
|
33
34
|
id: NotebookIndentUsingSpaces.ID,
|
|
34
|
-
title: ( localize(
|
|
35
|
+
title: ( localize(7784, "Indent Using Spaces")),
|
|
35
36
|
precondition: undefined,
|
|
36
37
|
});
|
|
37
38
|
}
|
|
@@ -44,7 +45,7 @@ class NotebookChangeTabDisplaySize extends Action2 {
|
|
|
44
45
|
constructor() {
|
|
45
46
|
super({
|
|
46
47
|
id: NotebookChangeTabDisplaySize.ID,
|
|
47
|
-
title: ( localize(
|
|
48
|
+
title: ( localize(7785, "Change Tab Display Size")),
|
|
48
49
|
precondition: undefined,
|
|
49
50
|
});
|
|
50
51
|
}
|
|
@@ -57,7 +58,7 @@ class NotebookIndentationToSpacesAction extends Action2 {
|
|
|
57
58
|
constructor() {
|
|
58
59
|
super({
|
|
59
60
|
id: NotebookIndentationToSpacesAction.ID,
|
|
60
|
-
title: ( localize(
|
|
61
|
+
title: ( localize(7786, "Convert Indentation to Spaces")),
|
|
61
62
|
precondition: undefined,
|
|
62
63
|
});
|
|
63
64
|
}
|
|
@@ -70,7 +71,7 @@ class NotebookIndentationToTabsAction extends Action2 {
|
|
|
70
71
|
constructor() {
|
|
71
72
|
super({
|
|
72
73
|
id: NotebookIndentationToTabsAction.ID,
|
|
73
|
-
title: ( localize(
|
|
74
|
+
title: ( localize(7787, "Convert Indentation to Tabs")),
|
|
74
75
|
precondition: undefined,
|
|
75
76
|
});
|
|
76
77
|
}
|
|
@@ -102,7 +103,7 @@ function changeNotebookIndentation(accessor, insertSpaces, displaySizeOnly) {
|
|
|
102
103
|
delete initialConfig['editor.tabSize'];
|
|
103
104
|
delete initialConfig['editor.insertSpaces'];
|
|
104
105
|
setTimeout(() => {
|
|
105
|
-
quickInputService.pick(picks, { placeHolder: ( localize(
|
|
106
|
+
quickInputService.pick(picks, { placeHolder: ( localize(7788, "Select Tab Size for Current File")) }).then(pick => {
|
|
106
107
|
if (pick) {
|
|
107
108
|
const pickedVal = parseInt(pick.label, 10);
|
|
108
109
|
if (displaySizeOnly) {
|
|
@@ -152,7 +153,7 @@ function convertNotebookIndentation(accessor, tabsToSpaces) {
|
|
|
152
153
|
return;
|
|
153
154
|
}
|
|
154
155
|
const edits = getIndentationEditOperations(textEditorModel, modelOpts.tabSize, tabsToSpaces);
|
|
155
|
-
bulkEditService.apply(edits, { label: ( localize(
|
|
156
|
+
bulkEditService.apply(edits, { label: ( localize(7789, "Convert Indentation")), code: 'undoredo.convertIndentation', });
|
|
156
157
|
}))).then(() => {
|
|
157
158
|
const initialConfig = configurationService.getValue(NotebookSetting.cellEditorOptionsCustomizations);
|
|
158
159
|
const initialIndentSize = initialConfig['editor.indentSize'];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Action2 } from "@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions";
|
|
2
2
|
import { ServicesAccessor } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
3
|
-
import { ICellViewModel, INotebookEditor } from "@codingame/monaco-vscode-
|
|
4
|
-
import { OutlineEntry } from "@codingame/monaco-vscode-
|
|
3
|
+
import { ICellViewModel, INotebookEditor } from "@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
|
|
4
|
+
import { OutlineEntry } from "@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/viewModel/OutlineEntry";
|
|
5
5
|
export type NotebookOutlineEntryArgs = {
|
|
6
6
|
notebookEditor: INotebookEditor;
|
|
7
7
|
outlineEntry: OutlineEntry;
|
|
@@ -3,12 +3,12 @@ import { localize, localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls'
|
|
|
3
3
|
import { Action2, MenuId, registerAction2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
4
4
|
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
5
5
|
import { NotebookOutlineContext } from '../contrib/outline/notebookOutline.js';
|
|
6
|
-
import { FoldingController } from '@codingame/monaco-vscode-
|
|
7
|
-
import { CellEditState, CellFoldingState } from '@codingame/monaco-vscode-
|
|
8
|
-
import { executeIcon } from '@codingame/monaco-vscode-
|
|
6
|
+
import { FoldingController } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/controller/foldingController';
|
|
7
|
+
import { CellEditState, CellFoldingState } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
8
|
+
import { executeIcon } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
|
|
9
9
|
import { CellKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
10
|
-
import { OutlineTarget } from '@codingame/monaco-vscode-
|
|
11
|
-
import { CELL_TITLE_CELL_GROUP_ID, CellToolbarOrder } from '@codingame/monaco-vscode-
|
|
10
|
+
import { OutlineTarget } from '@codingame/monaco-vscode-2e69e120-617a-5258-95e0-3b8902f4e014-common/vscode/vs/workbench/services/outline/browser/outline';
|
|
11
|
+
import { CELL_TITLE_CELL_GROUP_ID, CellToolbarOrder } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
|
|
12
12
|
import { executeSectionCondition } from './executeActions.js';
|
|
13
13
|
|
|
14
14
|
class NotebookRunSingleCellInSection extends Action2 {
|
|
@@ -16,10 +16,10 @@ class NotebookRunSingleCellInSection extends Action2 {
|
|
|
16
16
|
super({
|
|
17
17
|
id: 'notebook.section.runSingleCell',
|
|
18
18
|
title: {
|
|
19
|
-
...( localize2(
|
|
20
|
-
mnemonicTitle: ( localize(
|
|
19
|
+
...( localize2(7790, "Run Cell")),
|
|
20
|
+
mnemonicTitle: ( localize(7791, "&&Run Cell")),
|
|
21
21
|
},
|
|
22
|
-
shortTitle: ( localize(
|
|
22
|
+
shortTitle: ( localize(7790, "Run Cell")),
|
|
23
23
|
icon: executeIcon,
|
|
24
24
|
menu: [
|
|
25
25
|
{
|
|
@@ -43,10 +43,10 @@ class NotebookRunCellsInSection extends Action2 {
|
|
|
43
43
|
super({
|
|
44
44
|
id: 'notebook.section.runCells',
|
|
45
45
|
title: {
|
|
46
|
-
...( localize2(
|
|
47
|
-
mnemonicTitle: ( localize(
|
|
46
|
+
...( localize2(7792, "Run Cells In Section")),
|
|
47
|
+
mnemonicTitle: ( localize(7793, "&&Run Cells In Section")),
|
|
48
48
|
},
|
|
49
|
-
shortTitle: ( localize(
|
|
49
|
+
shortTitle: ( localize(7792, "Run Cells In Section")),
|
|
50
50
|
icon: executeIcon,
|
|
51
51
|
menu: [
|
|
52
52
|
{
|
|
@@ -105,10 +105,10 @@ class NotebookFoldSection extends Action2 {
|
|
|
105
105
|
super({
|
|
106
106
|
id: 'notebook.section.foldSection',
|
|
107
107
|
title: {
|
|
108
|
-
...( localize2(
|
|
109
|
-
mnemonicTitle: ( localize(
|
|
108
|
+
...( localize2(7794, "Fold Section")),
|
|
109
|
+
mnemonicTitle: ( localize(7795, "&&Fold Section")),
|
|
110
110
|
},
|
|
111
|
-
shortTitle: ( localize(
|
|
111
|
+
shortTitle: ( localize(7794, "Fold Section")),
|
|
112
112
|
menu: [
|
|
113
113
|
{
|
|
114
114
|
id: MenuId.NotebookOutlineActionMenu,
|
|
@@ -138,10 +138,10 @@ class NotebookExpandSection extends Action2 {
|
|
|
138
138
|
super({
|
|
139
139
|
id: 'notebook.section.expandSection',
|
|
140
140
|
title: {
|
|
141
|
-
...( localize2(
|
|
142
|
-
mnemonicTitle: ( localize(
|
|
141
|
+
...( localize2(7796, "Expand Section")),
|
|
142
|
+
mnemonicTitle: ( localize(7797, "&&Expand Section")),
|
|
143
143
|
},
|
|
144
|
-
shortTitle: ( localize(
|
|
144
|
+
shortTitle: ( localize(7796, "Expand Section")),
|
|
145
145
|
menu: [
|
|
146
146
|
{
|
|
147
147
|
id: MenuId.NotebookOutlineActionMenu,
|
|
@@ -3,17 +3,17 @@ import { localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
|
3
3
|
import { registerAction2, MenuId } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
4
4
|
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
5
5
|
import { IViewsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
6
|
-
import { KERNEL_HAS_VARIABLE_PROVIDER } from '@codingame/monaco-vscode-
|
|
6
|
+
import { KERNEL_HAS_VARIABLE_PROVIDER } from '@codingame/monaco-vscode-52bb4d5b-ba1a-57fd-9bee-b28824214eac-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
|
|
7
7
|
import { NOTEBOOK_VARIABLE_VIEW_ENABLED } from '../contrib/notebookVariables/notebookVariableContextKeys.js';
|
|
8
|
-
import { variablesViewIcon } from '@codingame/monaco-vscode-
|
|
9
|
-
import { NotebookAction } from '@codingame/monaco-vscode-
|
|
8
|
+
import { variablesViewIcon } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
|
|
9
|
+
import { NotebookAction } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
|
|
10
10
|
|
|
11
11
|
const OPEN_VARIABLES_VIEW_COMMAND_ID = 'notebook.openVariablesView';
|
|
12
12
|
registerAction2(class OpenVariablesViewAction extends NotebookAction {
|
|
13
13
|
constructor() {
|
|
14
14
|
super({
|
|
15
15
|
id: OPEN_VARIABLES_VIEW_COMMAND_ID,
|
|
16
|
-
title: ( localize2(
|
|
16
|
+
title: ( localize2(7798, "Variables")),
|
|
17
17
|
icon: variablesViewIcon,
|
|
18
18
|
menu: [
|
|
19
19
|
{
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { ResourceTextEdit } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/bulkEditService';
|
|
3
|
+
import { IBulkEditService } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/bulkEditService.service';
|
|
3
4
|
import { localize2, localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
4
5
|
import { registerAction2, Action2, MenuId } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
5
6
|
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
6
7
|
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
7
8
|
import { ActiveEditorContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
|
|
8
|
-
import { SideBySideDiffElementViewModel } from '@codingame/monaco-vscode-
|
|
9
|
-
import { NOTEBOOK_DIFF_HAS_UNCHANGED_CELLS, NOTEBOOK_DIFF_UNCHANGED_CELLS_HIDDEN, NOTEBOOK_DIFF_ITEM_KIND, NOTEBOOK_DIFF_ITEM_DIFF_STATE, NOTEBOOK_DIFF_METADATA, NOTEBOOK_DIFF_CELL_PROPERTY, NOTEBOOK_DIFF_CELL_PROPERTY_EXPANDED,
|
|
10
|
-
import { NotebookTextDiffEditor } from '@codingame/monaco-vscode-
|
|
11
|
-
import { openAsTextIcon, revertIcon, renderOutputIcon, toggleWhitespace, previousChangeIcon, nextChangeIcon } from '@codingame/monaco-vscode-
|
|
9
|
+
import { SideBySideDiffElementViewModel } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel';
|
|
10
|
+
import { NOTEBOOK_DIFF_HAS_UNCHANGED_CELLS, NOTEBOOK_DIFF_UNCHANGED_CELLS_HIDDEN, NOTEBOOK_DIFF_ITEM_KIND, NOTEBOOK_DIFF_ITEM_DIFF_STATE, NOTEBOOK_DIFF_METADATA, NOTEBOOK_DIFF_CELL_PROPERTY, NOTEBOOK_DIFF_CELL_PROPERTY_EXPANDED, NOTEBOOK_DIFF_CELL_IGNORE_WHITESPACE_KEY, NOTEBOOK_DIFF_CELL_INPUT } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser';
|
|
11
|
+
import { NotebookTextDiffEditor } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor';
|
|
12
|
+
import { openAsTextIcon, revertIcon, renderOutputIcon, toggleWhitespace, previousChangeIcon, nextChangeIcon } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
|
|
12
13
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
13
14
|
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
14
15
|
import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
@@ -16,17 +17,19 @@ import { DEFAULT_EDITOR_ASSOCIATION } from '@codingame/monaco-vscode-api/vscode/
|
|
|
16
17
|
import { KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
17
18
|
import { KeyMod, KeyCode } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
|
|
18
19
|
import { CellEditType, NOTEBOOK_DIFF_EDITOR_ID } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
19
|
-
import { ITextResourceConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration';
|
|
20
|
+
import { ITextResourceConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration.service';
|
|
20
21
|
import { NotebookMultiTextDiffEditor } from '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor';
|
|
21
22
|
import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
|
|
22
23
|
import { TextEditorSelectionRevealType } from '@codingame/monaco-vscode-api/vscode/vs/platform/editor/common/editor';
|
|
24
|
+
import product from '@codingame/monaco-vscode-api/vscode/vs/platform/product/common/product';
|
|
25
|
+
import { ctxHasEditorModification, ctxHasRequestInProgress } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys';
|
|
23
26
|
|
|
24
27
|
registerAction2(class extends Action2 {
|
|
25
28
|
constructor() {
|
|
26
29
|
super({
|
|
27
30
|
id: 'notebook.diff.openFile',
|
|
28
31
|
icon: Codicon.goToFile,
|
|
29
|
-
title: ( localize2(
|
|
32
|
+
title: ( localize2(7810, 'Open File')),
|
|
30
33
|
precondition: ( ContextKeyExpr.or(( ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)), ( ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)))),
|
|
31
34
|
menu: [{
|
|
32
35
|
id: MenuId.EditorTitle,
|
|
@@ -52,7 +55,7 @@ registerAction2(class extends Action2 {
|
|
|
52
55
|
constructor() {
|
|
53
56
|
super({
|
|
54
57
|
id: 'notebook.diff.cell.toggleCollapseUnchangedRegions',
|
|
55
|
-
title: ( localize2(
|
|
58
|
+
title: ( localize2(7811, 'Toggle Collapse Unchanged Regions')),
|
|
56
59
|
icon: Codicon.map,
|
|
57
60
|
toggled: ( ContextKeyExpr.has('config.diffEditor.hideUnchangedRegions.enabled')),
|
|
58
61
|
precondition: ( ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)),
|
|
@@ -74,7 +77,7 @@ registerAction2(class extends Action2 {
|
|
|
74
77
|
super({
|
|
75
78
|
id: 'notebook.diff.switchToText',
|
|
76
79
|
icon: openAsTextIcon,
|
|
77
|
-
title: ( localize2(
|
|
80
|
+
title: ( localize2(7812, 'Open Text Diff Editor')),
|
|
78
81
|
precondition: ( ContextKeyExpr.or(( ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)), ( ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)))),
|
|
79
82
|
menu: [{
|
|
80
83
|
id: MenuId.EditorTitle,
|
|
@@ -107,7 +110,7 @@ registerAction2(class extends Action2 {
|
|
|
107
110
|
constructor() {
|
|
108
111
|
super({
|
|
109
112
|
id: 'notebook.diffEditor.showUnchangedCells',
|
|
110
|
-
title: ( localize2(
|
|
113
|
+
title: ( localize2(7813, 'Show Unchanged Cells')),
|
|
111
114
|
icon: Codicon.unfold,
|
|
112
115
|
precondition: ( ContextKeyExpr.and(( ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)), ( ContextKeyExpr.has(NOTEBOOK_DIFF_HAS_UNCHANGED_CELLS.key)))),
|
|
113
116
|
menu: {
|
|
@@ -132,7 +135,7 @@ registerAction2(class extends Action2 {
|
|
|
132
135
|
constructor() {
|
|
133
136
|
super({
|
|
134
137
|
id: 'notebook.diffEditor.hideUnchangedCells',
|
|
135
|
-
title: ( localize2(
|
|
138
|
+
title: ( localize2(7814, 'Hide Unchanged Cells')),
|
|
136
139
|
icon: Codicon.fold,
|
|
137
140
|
precondition: ( ContextKeyExpr.and(( ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)), ( ContextKeyExpr.has(NOTEBOOK_DIFF_HAS_UNCHANGED_CELLS.key)))),
|
|
138
141
|
menu: {
|
|
@@ -157,7 +160,7 @@ registerAction2(class GoToFileAction extends Action2 {
|
|
|
157
160
|
constructor() {
|
|
158
161
|
super({
|
|
159
162
|
id: 'notebook.diffEditor.2.goToCell',
|
|
160
|
-
title: ( localize2(
|
|
163
|
+
title: ( localize2(7815, 'Go To Cell')),
|
|
161
164
|
icon: Codicon.goToFile,
|
|
162
165
|
menu: {
|
|
163
166
|
when: ( ContextKeyExpr.and(( ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)), ( ContextKeyExpr.equals(NOTEBOOK_DIFF_ITEM_KIND.key, 'Cell')), ( ContextKeyExpr.notEquals(NOTEBOOK_DIFF_ITEM_DIFF_STATE.key, 'delete')))),
|
|
@@ -186,7 +189,7 @@ registerAction2(class extends Action2 {
|
|
|
186
189
|
constructor() {
|
|
187
190
|
super({
|
|
188
191
|
id: 'notebook.diff.revertMetadata',
|
|
189
|
-
title: ( localize(
|
|
192
|
+
title: ( localize(7816, "Revert Notebook Metadata")),
|
|
190
193
|
icon: revertIcon,
|
|
191
194
|
f1: false,
|
|
192
195
|
menu: {
|
|
@@ -211,7 +214,7 @@ registerAction2(class extends Action2 {
|
|
|
211
214
|
}], true, undefined, () => undefined, undefined, true);
|
|
212
215
|
}
|
|
213
216
|
});
|
|
214
|
-
const revertInput = ( localize(
|
|
217
|
+
const revertInput = ( localize(7817, "Revert Input"));
|
|
215
218
|
registerAction2(class extends Action2 {
|
|
216
219
|
constructor() {
|
|
217
220
|
super({
|
|
@@ -250,7 +253,7 @@ registerAction2(class extends Action2 {
|
|
|
250
253
|
}
|
|
251
254
|
}
|
|
252
255
|
});
|
|
253
|
-
const revertOutputs = ( localize(
|
|
256
|
+
const revertOutputs = ( localize(7818, "Revert Outputs"));
|
|
254
257
|
registerAction2(class extends Action2 {
|
|
255
258
|
constructor() {
|
|
256
259
|
super({
|
|
@@ -286,7 +289,7 @@ registerAction2(class extends Action2 {
|
|
|
286
289
|
}
|
|
287
290
|
}
|
|
288
291
|
});
|
|
289
|
-
const revertMetadata = ( localize(
|
|
292
|
+
const revertMetadata = ( localize(7819, "Revert Metadata"));
|
|
290
293
|
registerAction2(class extends Action2 {
|
|
291
294
|
constructor() {
|
|
292
295
|
super({
|
|
@@ -360,7 +363,7 @@ registerAction2(class extends Action2 {
|
|
|
360
363
|
constructor() {
|
|
361
364
|
super({
|
|
362
365
|
id: 'notebook.diff.cell.switchOutputRenderingStyleToText',
|
|
363
|
-
title: ( localize(
|
|
366
|
+
title: ( localize(7820, "Switch Output Rendering")),
|
|
364
367
|
icon: renderOutputIcon,
|
|
365
368
|
f1: false,
|
|
366
369
|
menu: {
|
|
@@ -380,7 +383,7 @@ registerAction2(class extends Action2 {
|
|
|
380
383
|
constructor() {
|
|
381
384
|
super({
|
|
382
385
|
id: 'notebook.diff.cell.revertOutputs',
|
|
383
|
-
title: ( localize(
|
|
386
|
+
title: ( localize(7818, "Revert Outputs")),
|
|
384
387
|
icon: revertIcon,
|
|
385
388
|
f1: false,
|
|
386
389
|
menu: {
|
|
@@ -412,7 +415,7 @@ registerAction2(class extends Action2 {
|
|
|
412
415
|
constructor() {
|
|
413
416
|
super({
|
|
414
417
|
id: 'notebook.toggle.diff.cell.ignoreTrimWhitespace',
|
|
415
|
-
title: ( localize(
|
|
418
|
+
title: ( localize(7821, "Show Leading/Trailing Whitespace Differences")),
|
|
416
419
|
icon: toggleWhitespace,
|
|
417
420
|
f1: false,
|
|
418
421
|
menu: {
|
|
@@ -500,19 +503,19 @@ class ToggleRenderAction extends Action2 {
|
|
|
500
503
|
}
|
|
501
504
|
registerAction2(class extends ToggleRenderAction {
|
|
502
505
|
constructor() {
|
|
503
|
-
super('notebook.diff.showOutputs', ( localize2(
|
|
506
|
+
super('notebook.diff.showOutputs', ( localize2(7822, 'Show Outputs Differences')), ( ContextKeyExpr.or(( ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)), ( ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)))), ( ContextKeyExpr.notEquals('config.notebook.diff.ignoreOutputs', true)), 2, true, undefined);
|
|
504
507
|
}
|
|
505
508
|
});
|
|
506
509
|
registerAction2(class extends ToggleRenderAction {
|
|
507
510
|
constructor() {
|
|
508
|
-
super('notebook.diff.showMetadata', ( localize2(
|
|
511
|
+
super('notebook.diff.showMetadata', ( localize2(7823, 'Show Metadata Differences')), ( ContextKeyExpr.or(( ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)), ( ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)))), ( ContextKeyExpr.notEquals('config.notebook.diff.ignoreMetadata', true)), 1, undefined, true);
|
|
509
512
|
}
|
|
510
513
|
});
|
|
511
514
|
registerAction2(class extends Action2 {
|
|
512
515
|
constructor() {
|
|
513
516
|
super({
|
|
514
517
|
id: 'notebook.diff.action.previous',
|
|
515
|
-
title: ( localize(
|
|
518
|
+
title: ( localize(7824, "Show Previous Change")),
|
|
516
519
|
icon: previousChangeIcon,
|
|
517
520
|
f1: false,
|
|
518
521
|
keybinding: {
|
|
@@ -540,7 +543,7 @@ registerAction2(class extends Action2 {
|
|
|
540
543
|
constructor() {
|
|
541
544
|
super({
|
|
542
545
|
id: 'notebook.diff.action.next',
|
|
543
|
-
title: ( localize(
|
|
546
|
+
title: ( localize(7825, "Show Next Change")),
|
|
544
547
|
icon: nextChangeIcon,
|
|
545
548
|
f1: false,
|
|
546
549
|
keybinding: {
|
|
@@ -564,6 +567,28 @@ registerAction2(class extends Action2 {
|
|
|
564
567
|
editor?.nextChange();
|
|
565
568
|
}
|
|
566
569
|
});
|
|
570
|
+
registerAction2(class extends Action2 {
|
|
571
|
+
constructor() {
|
|
572
|
+
super({
|
|
573
|
+
id: 'notebook.diff.inline.toggle',
|
|
574
|
+
title: ( localize(7826, "Toggle Inline View")),
|
|
575
|
+
menu: {
|
|
576
|
+
id: MenuId.EditorTitle,
|
|
577
|
+
group: '1_diff',
|
|
578
|
+
order: 10,
|
|
579
|
+
when: ( ContextKeyExpr.and(( ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)), ( ContextKeyExpr.equals('config.notebook.diff.experimental.toggleInline', true)), ( ctxHasEditorModification.negate()), ( ctxHasRequestInProgress.negate())))
|
|
580
|
+
}
|
|
581
|
+
});
|
|
582
|
+
}
|
|
583
|
+
run(accessor) {
|
|
584
|
+
const editorService = accessor.get(IEditorService);
|
|
585
|
+
if (editorService.activeEditorPane?.getId() !== NOTEBOOK_DIFF_EDITOR_ID) {
|
|
586
|
+
return;
|
|
587
|
+
}
|
|
588
|
+
const editor = editorService.activeEditorPane.getControl();
|
|
589
|
+
editor?.toggleInlineView();
|
|
590
|
+
}
|
|
591
|
+
});
|
|
567
592
|
( Registry.as(Extensions.Configuration)).registerConfiguration({
|
|
568
593
|
id: 'notebook',
|
|
569
594
|
order: 100,
|
|
@@ -572,12 +597,20 @@ registerAction2(class extends Action2 {
|
|
|
572
597
|
'notebook.diff.ignoreMetadata': {
|
|
573
598
|
type: 'boolean',
|
|
574
599
|
default: false,
|
|
575
|
-
markdownDescription: ( localize(
|
|
600
|
+
markdownDescription: ( localize(7827, "Hide Metadata Differences"))
|
|
576
601
|
},
|
|
577
602
|
'notebook.diff.ignoreOutputs': {
|
|
578
603
|
type: 'boolean',
|
|
579
604
|
default: false,
|
|
580
|
-
markdownDescription: ( localize(
|
|
605
|
+
markdownDescription: ( localize(7828, "Hide Outputs Differences"))
|
|
606
|
+
},
|
|
607
|
+
'notebook.diff.experimental.toggleInline': {
|
|
608
|
+
type: 'boolean',
|
|
609
|
+
default: typeof product.quality === 'string' && product.quality !== 'stable',
|
|
610
|
+
markdownDescription: ( localize(
|
|
611
|
+
7829,
|
|
612
|
+
"Enable the command to toggle the experimental notebook inline diff editor."
|
|
613
|
+
))
|
|
581
614
|
},
|
|
582
615
|
}
|
|
583
616
|
});
|
|
@@ -2,7 +2,7 @@ import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/l
|
|
|
2
2
|
import { IWorkbenchContribution } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions";
|
|
3
3
|
import { IUndoRedoService } from "@codingame/monaco-vscode-api/vscode/vs/platform/undoRedo/common/undoRedo.service";
|
|
4
4
|
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
5
|
-
import { ICodeEditorService } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/codeEditorService";
|
|
5
|
+
import { ICodeEditorService } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/codeEditorService.service";
|
|
6
6
|
export declare class NotebookContribution extends Disposable implements IWorkbenchContribution {
|
|
7
7
|
private readonly codeEditorService;
|
|
8
8
|
static readonly ID = "workbench.contrib.notebook";
|