@codingame/monaco-vscode-notebook-service-override 16.1.0 → 17.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/index.js +2 -2
- package/package.json +26 -24
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.d.ts +7 -24
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +88 -166
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +27 -27
- 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 +10 -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 +4 -4
- 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 +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +4 -4
- 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.d.ts +4 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorHint/emptyCellEditorHint.js +11 -26
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +12 -12
- 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 +7 -7
- 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 +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.js +12 -12
- 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 +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.js +4 -4
- 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.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +14 -14
- 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.js +14 -14
- 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.js +34 -34
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +23 -52
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +31 -31
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +30 -30
- 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 +28 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +20 -20
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +8 -8
- 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 +26 -26
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +111 -84
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +11 -11
- 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/outputEditor/notebookOutputEditor.d.ts +89 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditor.js +292 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditorInput.d.ts +39 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditorInput.js +93 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.js +4 -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 +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +1 -1
- 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 +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookWebWorker.js +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +12 -12
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +1 -1
|
@@ -6,7 +6,7 @@ import { parse } from '@codingame/monaco-vscode-api/vscode/vs/base/common/marsha
|
|
|
6
6
|
import { isEqual, extname } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
7
7
|
import { assertType } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
|
|
8
8
|
import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
9
|
-
import { toFormattedString } from '@codingame/monaco-vscode-
|
|
9
|
+
import { toFormattedString } from '@codingame/monaco-vscode-407531d3-fdae-5387-8c41-49ba0e9574b5-common/vscode/vs/base/common/jsonFormatter';
|
|
10
10
|
import { DefaultEndOfLine } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/model';
|
|
11
11
|
import { IModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model.service';
|
|
12
12
|
import { ILanguageService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language.service';
|
|
@@ -18,24 +18,24 @@ import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/ext
|
|
|
18
18
|
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
19
19
|
import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
20
20
|
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
21
|
-
import { EditorPaneDescriptor } from '@codingame/monaco-vscode-
|
|
21
|
+
import { EditorPaneDescriptor } from '@codingame/monaco-vscode-d0fb86d3-2a47-594e-955b-9a24631a7124-common/vscode/vs/workbench/browser/editor';
|
|
22
22
|
import { Extensions as Extensions$1, registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
23
23
|
import { EditorExtensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
24
24
|
import { NotebookEditor } from '@codingame/monaco-vscode-6f9bc782-77e0-5716-93bd-b05210c768c5-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditor';
|
|
25
|
-
import { NotebookEditorInput } from '@codingame/monaco-vscode-
|
|
25
|
+
import { NotebookEditorInput } from '@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-common/vscode/vs/workbench/contrib/notebook/common/notebookEditorInput';
|
|
26
26
|
import { INotebookService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
|
|
27
27
|
import './services/notebookServiceImpl.js';
|
|
28
28
|
import { NotebookSetting, CellUri, CellKind, NotebookCellsChangeType, NotebookMetadataUri, NotebookWorkingCopyTypeIdentifier } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
29
29
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
30
30
|
import { IUndoRedoService } from '@codingame/monaco-vscode-api/vscode/vs/platform/undoRedo/common/undoRedo.service';
|
|
31
31
|
import { INotebookEditorModelResolverService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookEditorModelResolverService.service';
|
|
32
|
-
import { NotebookDiffEditorInput } from '@codingame/monaco-vscode-
|
|
33
|
-
import { NotebookTextDiffEditor } from '@codingame/monaco-vscode-
|
|
32
|
+
import { NotebookDiffEditorInput } from '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/notebook/common/notebookDiffEditorInput';
|
|
33
|
+
import { NotebookTextDiffEditor } from '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor';
|
|
34
34
|
import './services/notebookWorkerServiceImpl.js';
|
|
35
35
|
import { Event } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
36
36
|
import './services/notebookEditorServiceImpl.js';
|
|
37
37
|
import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/platform/jsonschemas/common/jsonContributionRegistry';
|
|
38
|
-
import { getStreamOutputData, getFormattedOutputJSON } from '@codingame/monaco-vscode-
|
|
38
|
+
import { getStreamOutputData, getFormattedOutputJSON } from '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel';
|
|
39
39
|
import '../common/notebookEditorModelResolverServiceImpl.js';
|
|
40
40
|
import './services/notebookKernelServiceImpl.js';
|
|
41
41
|
import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
@@ -44,16 +44,16 @@ import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/pl
|
|
|
44
44
|
import { ILabelService } from '@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service';
|
|
45
45
|
import { IEditorGroupsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
|
|
46
46
|
import './services/notebookRendererMessagingServiceImpl.js';
|
|
47
|
-
import '@codingame/monaco-vscode-
|
|
48
|
-
import '@codingame/monaco-vscode-
|
|
47
|
+
import '@codingame/monaco-vscode-bed2b49f-41ae-5ed2-b61a-1105500a3f8a-common/vscode/vs/workbench/services/outline/browser/outline';
|
|
48
|
+
import '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
|
|
49
49
|
import './controller/insertCellActions.js';
|
|
50
50
|
import './controller/executeActions.js';
|
|
51
51
|
import './controller/sectionActions.js';
|
|
52
52
|
import './controller/layoutActions.js';
|
|
53
53
|
import './controller/editActions.js';
|
|
54
|
-
import '@codingame/monaco-vscode-
|
|
54
|
+
import '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/notebook/browser/controller/cellOutputActions';
|
|
55
55
|
import './controller/apiActions.js';
|
|
56
|
-
import '@codingame/monaco-vscode-
|
|
56
|
+
import '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/foldingController';
|
|
57
57
|
import './controller/chat/notebook.chat.contribution.js';
|
|
58
58
|
import './controller/variablesActions.js';
|
|
59
59
|
import './contrib/editorHint/emptyCellEditorHint.js';
|
|
@@ -69,7 +69,7 @@ import './contrib/outline/notebookOutline.js';
|
|
|
69
69
|
import './contrib/profile/notebookProfile.js';
|
|
70
70
|
import './contrib/cellStatusBar/statusBarProviders.js';
|
|
71
71
|
import './contrib/cellStatusBar/contributedStatusBarItemController.js';
|
|
72
|
-
import '@codingame/monaco-vscode-
|
|
72
|
+
import '@codingame/monaco-vscode-9f229325-8261-585c-a552-16085958c680-common/vscode/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController';
|
|
73
73
|
import './contrib/editorStatusBar/editorStatusBar.js';
|
|
74
74
|
import './contrib/undoRedo/notebookUndoRedo.js';
|
|
75
75
|
import './contrib/cellCommands/cellCommands.js';
|
|
@@ -93,7 +93,7 @@ import './services/notebookExecutionServiceImpl.js';
|
|
|
93
93
|
import './services/notebookKeymapServiceImpl.js';
|
|
94
94
|
import { PLAINTEXT_LANGUAGE_ID } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/modesRegistry';
|
|
95
95
|
import { ILanguageFeaturesService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures.service';
|
|
96
|
-
import { COMMENTEDITOR_DECORATION_KEY } from '@codingame/monaco-vscode-
|
|
96
|
+
import { COMMENTEDITOR_DECORATION_KEY } from '@codingame/monaco-vscode-9ee79c1a-3f03-568b-8eac-b02513a98b68-common/vscode/vs/workbench/contrib/comments/browser/commentReply';
|
|
97
97
|
import { ICodeEditorService } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/codeEditorService.service';
|
|
98
98
|
import './services/notebookKernelHistoryServiceImpl.js';
|
|
99
99
|
import './services/notebookLoggingServiceImpl.js';
|
|
@@ -103,11 +103,13 @@ import { AccessibleViewRegistry } from '@codingame/monaco-vscode-api/vscode/vs/p
|
|
|
103
103
|
import { NotebookAccessibilityHelp } from './notebookAccessibilityHelp.js';
|
|
104
104
|
import { NotebookAccessibleView } from './notebookAccessibleView.js';
|
|
105
105
|
import { DefaultFormatter } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/format/browser/formatActionsMultiple';
|
|
106
|
-
import { NotebookMultiTextDiffEditor } from '@codingame/monaco-vscode-
|
|
107
|
-
import { NotebookMultiDiffEditorInput } from '@codingame/monaco-vscode-
|
|
108
|
-
import { getFormattedMetadataJSON } from '@codingame/monaco-vscode-
|
|
106
|
+
import { NotebookMultiTextDiffEditor } from '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor';
|
|
107
|
+
import { NotebookMultiDiffEditorInput } from '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditorInput';
|
|
108
|
+
import { getFormattedMetadataJSON } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/common/model/notebookCellTextModel';
|
|
109
109
|
import './viewModel/notebookOutlineEntryFactory.js';
|
|
110
|
-
import { getFormattedNotebookMetadataJSON } from '@codingame/monaco-vscode-
|
|
110
|
+
import { getFormattedNotebookMetadataJSON } from '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel';
|
|
111
|
+
import { NotebookOutputEditor } from './outputEditor/notebookOutputEditor.js';
|
|
112
|
+
import { NotebookOutputEditorInput } from './outputEditor/notebookOutputEditorInput.js';
|
|
111
113
|
|
|
112
114
|
var NotebookContribution_1;
|
|
113
115
|
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(NotebookEditor, NotebookEditor.ID, 'Notebook Editor'), [
|
|
@@ -116,6 +118,9 @@ var NotebookContribution_1;
|
|
|
116
118
|
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(NotebookTextDiffEditor, NotebookTextDiffEditor.ID, 'Notebook Diff Editor'), [
|
|
117
119
|
( new SyncDescriptor(NotebookDiffEditorInput))
|
|
118
120
|
]);
|
|
121
|
+
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(NotebookOutputEditor, NotebookOutputEditor.ID, 'Notebook Output Editor'), [
|
|
122
|
+
( new SyncDescriptor(NotebookOutputEditorInput))
|
|
123
|
+
]);
|
|
119
124
|
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(NotebookMultiTextDiffEditor, NotebookMultiTextDiffEditor.ID, 'Notebook Diff Editor'), [
|
|
120
125
|
( new SyncDescriptor(NotebookMultiDiffEditorInput))
|
|
121
126
|
]);
|
|
@@ -187,8 +192,30 @@ class NotebookEditorSerializer {
|
|
|
187
192
|
return input;
|
|
188
193
|
}
|
|
189
194
|
}
|
|
195
|
+
class NotebookOutputEditorSerializer {
|
|
196
|
+
canSerialize(input) {
|
|
197
|
+
return input.typeId === NotebookOutputEditorInput.ID;
|
|
198
|
+
}
|
|
199
|
+
serialize(input) {
|
|
200
|
+
assertType(input instanceof NotebookOutputEditorInput);
|
|
201
|
+
const data = input.getSerializedData();
|
|
202
|
+
if (!data) {
|
|
203
|
+
return undefined;
|
|
204
|
+
}
|
|
205
|
+
return JSON.stringify(data);
|
|
206
|
+
}
|
|
207
|
+
deserialize(instantiationService, raw) {
|
|
208
|
+
const data = parse(raw);
|
|
209
|
+
if (!data) {
|
|
210
|
+
return undefined;
|
|
211
|
+
}
|
|
212
|
+
const input = instantiationService.createInstance(NotebookOutputEditorInput, data.notebookUri, data.cellIndex, undefined, data.outputIndex);
|
|
213
|
+
return input;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
190
216
|
( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(NotebookEditorInput.ID, NotebookEditorSerializer);
|
|
191
217
|
( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(NotebookDiffEditorInput.ID, NotebookDiffEditorSerializer);
|
|
218
|
+
( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(NotebookOutputEditorInput.ID, NotebookOutputEditorSerializer);
|
|
192
219
|
let NotebookContribution = class NotebookContribution extends Disposable {
|
|
193
220
|
static { NotebookContribution_1 = this; }
|
|
194
221
|
static { this.ID = 'workbench.contrib.notebook'; }
|
|
@@ -715,7 +742,7 @@ for (const editorOption of editorOptionsRegistry) {
|
|
|
715
742
|
}
|
|
716
743
|
const editorOptionsCustomizationSchema = {
|
|
717
744
|
description: ( localize(
|
|
718
|
-
|
|
745
|
+
8211,
|
|
719
746
|
'Settings for code editors used in notebooks. This can be used to customize most editor.* settings.'
|
|
720
747
|
)),
|
|
721
748
|
default: {},
|
|
@@ -730,11 +757,11 @@ const configurationRegistry = ( Registry.as(Extensions$2.Configuration));
|
|
|
730
757
|
configurationRegistry.registerConfiguration({
|
|
731
758
|
id: 'notebook',
|
|
732
759
|
order: 100,
|
|
733
|
-
title: ( localize(
|
|
760
|
+
title: ( localize(8212, "Notebook")),
|
|
734
761
|
type: 'object',
|
|
735
762
|
properties: {
|
|
736
763
|
[NotebookSetting.displayOrder]: {
|
|
737
|
-
description: ( localize(
|
|
764
|
+
description: ( localize(8213, "Priority list for output mime types")),
|
|
738
765
|
type: 'array',
|
|
739
766
|
items: {
|
|
740
767
|
type: 'string'
|
|
@@ -743,12 +770,12 @@ configurationRegistry.registerConfiguration({
|
|
|
743
770
|
},
|
|
744
771
|
[NotebookSetting.cellToolbarLocation]: {
|
|
745
772
|
description: ( localize(
|
|
746
|
-
|
|
773
|
+
8214,
|
|
747
774
|
"Where the cell toolbar should be shown, or whether it should be hidden."
|
|
748
775
|
)),
|
|
749
776
|
type: 'object',
|
|
750
777
|
additionalProperties: {
|
|
751
|
-
markdownDescription: ( localize(
|
|
778
|
+
markdownDescription: ( localize(8215, "Configure the cell toolbar position for for specific file types")),
|
|
752
779
|
type: 'string',
|
|
753
780
|
enum: ['left', 'right', 'hidden']
|
|
754
781
|
},
|
|
@@ -758,14 +785,14 @@ configurationRegistry.registerConfiguration({
|
|
|
758
785
|
tags: ['notebookLayout']
|
|
759
786
|
},
|
|
760
787
|
[NotebookSetting.showCellStatusBar]: {
|
|
761
|
-
description: ( localize(
|
|
788
|
+
description: ( localize(8216, "Whether the cell status bar should be shown.")),
|
|
762
789
|
type: 'string',
|
|
763
790
|
enum: ['hidden', 'visible', 'visibleAfterExecute'],
|
|
764
791
|
enumDescriptions: [
|
|
765
|
-
( localize(
|
|
766
|
-
( localize(
|
|
792
|
+
( localize(8217, "The cell Status bar is always hidden.")),
|
|
793
|
+
( localize(8218, "The cell Status bar is always visible.")),
|
|
767
794
|
( localize(
|
|
768
|
-
|
|
795
|
+
8219,
|
|
769
796
|
"The cell Status bar is hidden until the cell has executed. Then it becomes visible to show the execution status."
|
|
770
797
|
))
|
|
771
798
|
],
|
|
@@ -774,18 +801,18 @@ configurationRegistry.registerConfiguration({
|
|
|
774
801
|
},
|
|
775
802
|
[NotebookSetting.cellExecutionTimeVerbosity]: {
|
|
776
803
|
description: ( localize(
|
|
777
|
-
|
|
804
|
+
8220,
|
|
778
805
|
"Controls the verbosity of the cell execution time in the cell status bar."
|
|
779
806
|
)),
|
|
780
807
|
type: 'string',
|
|
781
808
|
enum: ['default', 'verbose'],
|
|
782
809
|
enumDescriptions: [
|
|
783
810
|
( localize(
|
|
784
|
-
|
|
811
|
+
8221,
|
|
785
812
|
"The cell execution duration is visible, with advanced information in the hover tooltip."
|
|
786
813
|
)),
|
|
787
814
|
( localize(
|
|
788
|
-
|
|
815
|
+
8222,
|
|
789
816
|
"The cell last execution timestamp and duration are visible, with advanced information in the hover tooltip."
|
|
790
817
|
))
|
|
791
818
|
],
|
|
@@ -793,14 +820,14 @@ configurationRegistry.registerConfiguration({
|
|
|
793
820
|
tags: ['notebookLayout']
|
|
794
821
|
},
|
|
795
822
|
[NotebookSetting.textDiffEditorPreview]: {
|
|
796
|
-
description: ( localize(
|
|
823
|
+
description: ( localize(8223, "Whether to use the enhanced text diff editor for notebook.")),
|
|
797
824
|
type: 'boolean',
|
|
798
825
|
default: true,
|
|
799
826
|
tags: ['notebookLayout']
|
|
800
827
|
},
|
|
801
828
|
[NotebookSetting.diffOverviewRuler]: {
|
|
802
829
|
description: ( localize(
|
|
803
|
-
|
|
830
|
+
8224,
|
|
804
831
|
"Whether to render the overview ruler in the diff editor for notebook."
|
|
805
832
|
)),
|
|
806
833
|
type: 'boolean',
|
|
@@ -808,21 +835,21 @@ configurationRegistry.registerConfiguration({
|
|
|
808
835
|
tags: ['notebookLayout']
|
|
809
836
|
},
|
|
810
837
|
[NotebookSetting.cellToolbarVisibility]: {
|
|
811
|
-
markdownDescription: ( localize(
|
|
838
|
+
markdownDescription: ( localize(8225, "Whether the cell toolbar should appear on hover or click.")),
|
|
812
839
|
type: 'string',
|
|
813
840
|
enum: ['hover', 'click'],
|
|
814
841
|
default: 'click',
|
|
815
842
|
tags: ['notebookLayout']
|
|
816
843
|
},
|
|
817
844
|
[NotebookSetting.undoRedoPerCell]: {
|
|
818
|
-
description: ( localize(
|
|
845
|
+
description: ( localize(8226, "Whether to use separate undo/redo stack for each cell.")),
|
|
819
846
|
type: 'boolean',
|
|
820
847
|
default: true,
|
|
821
848
|
tags: ['notebookLayout']
|
|
822
849
|
},
|
|
823
850
|
[NotebookSetting.compactView]: {
|
|
824
851
|
description: ( localize(
|
|
825
|
-
|
|
852
|
+
8227,
|
|
826
853
|
"Control whether the notebook editor should be rendered in a compact form. For example, when turned on, it will decrease the left margin width."
|
|
827
854
|
)),
|
|
828
855
|
type: 'boolean',
|
|
@@ -831,7 +858,7 @@ configurationRegistry.registerConfiguration({
|
|
|
831
858
|
},
|
|
832
859
|
[NotebookSetting.focusIndicator]: {
|
|
833
860
|
description: ( localize(
|
|
834
|
-
|
|
861
|
+
8228,
|
|
835
862
|
"Controls where the focus indicator is rendered, either along the cell borders or on the left gutter."
|
|
836
863
|
)),
|
|
837
864
|
type: 'string',
|
|
@@ -840,21 +867,21 @@ configurationRegistry.registerConfiguration({
|
|
|
840
867
|
tags: ['notebookLayout']
|
|
841
868
|
},
|
|
842
869
|
[NotebookSetting.insertToolbarLocation]: {
|
|
843
|
-
description: ( localize(
|
|
870
|
+
description: ( localize(8229, "Control where the insert cell actions should appear.")),
|
|
844
871
|
type: 'string',
|
|
845
872
|
enum: ['betweenCells', 'notebookToolbar', 'both', 'hidden'],
|
|
846
873
|
enumDescriptions: [
|
|
847
|
-
( localize(
|
|
848
|
-
( localize(
|
|
849
|
-
( localize(
|
|
850
|
-
( localize(
|
|
874
|
+
( localize(8230, "A toolbar that appears on hover between cells.")),
|
|
875
|
+
( localize(8231, "The toolbar at the top of the notebook editor.")),
|
|
876
|
+
( localize(8232, "Both toolbars.")),
|
|
877
|
+
( localize(8233, "The insert actions don't appear anywhere.")),
|
|
851
878
|
],
|
|
852
879
|
default: 'both',
|
|
853
880
|
tags: ['notebookLayout']
|
|
854
881
|
},
|
|
855
882
|
[NotebookSetting.globalToolbar]: {
|
|
856
883
|
description: ( localize(
|
|
857
|
-
|
|
884
|
+
8234,
|
|
858
885
|
"Control whether to render a global toolbar inside the notebook editor."
|
|
859
886
|
)),
|
|
860
887
|
type: 'boolean',
|
|
@@ -863,7 +890,7 @@ configurationRegistry.registerConfiguration({
|
|
|
863
890
|
},
|
|
864
891
|
[NotebookSetting.stickyScrollEnabled]: {
|
|
865
892
|
description: ( localize(
|
|
866
|
-
|
|
893
|
+
8235,
|
|
867
894
|
"Experimental. Control whether to render notebook Sticky Scroll headers in the notebook editor."
|
|
868
895
|
)),
|
|
869
896
|
type: 'boolean',
|
|
@@ -872,21 +899,21 @@ configurationRegistry.registerConfiguration({
|
|
|
872
899
|
},
|
|
873
900
|
[NotebookSetting.stickyScrollMode]: {
|
|
874
901
|
description: ( localize(
|
|
875
|
-
|
|
902
|
+
8236,
|
|
876
903
|
"Control whether nested sticky lines appear to stack flat or indented."
|
|
877
904
|
)),
|
|
878
905
|
type: 'string',
|
|
879
906
|
enum: ['flat', 'indented'],
|
|
880
907
|
enumDescriptions: [
|
|
881
|
-
( localize(
|
|
882
|
-
( localize(
|
|
908
|
+
( localize(8237, "Nested sticky lines appear flat.")),
|
|
909
|
+
( localize(8238, "Nested sticky lines appear indented.")),
|
|
883
910
|
],
|
|
884
911
|
default: 'indented',
|
|
885
912
|
tags: ['notebookLayout']
|
|
886
913
|
},
|
|
887
914
|
[NotebookSetting.consolidatedOutputButton]: {
|
|
888
915
|
description: ( localize(
|
|
889
|
-
|
|
916
|
+
8239,
|
|
890
917
|
"Control whether outputs action should be rendered in the output toolbar."
|
|
891
918
|
)),
|
|
892
919
|
type: 'boolean',
|
|
@@ -894,20 +921,20 @@ configurationRegistry.registerConfiguration({
|
|
|
894
921
|
tags: ['notebookLayout']
|
|
895
922
|
},
|
|
896
923
|
[NotebookSetting.showFoldingControls]: {
|
|
897
|
-
description: ( localize(
|
|
924
|
+
description: ( localize(8240, "Controls when the Markdown header folding arrow is shown.")),
|
|
898
925
|
type: 'string',
|
|
899
926
|
enum: ['always', 'never', 'mouseover'],
|
|
900
927
|
enumDescriptions: [
|
|
901
|
-
( localize(
|
|
902
|
-
( localize(
|
|
903
|
-
( localize(
|
|
928
|
+
( localize(8241, "The folding controls are always visible.")),
|
|
929
|
+
( localize(8242, "Never show the folding controls and reduce the gutter size.")),
|
|
930
|
+
( localize(8243, "The folding controls are visible only on mouseover.")),
|
|
904
931
|
],
|
|
905
932
|
default: 'mouseover',
|
|
906
933
|
tags: ['notebookLayout']
|
|
907
934
|
},
|
|
908
935
|
[NotebookSetting.dragAndDropEnabled]: {
|
|
909
936
|
description: ( localize(
|
|
910
|
-
|
|
937
|
+
8244,
|
|
911
938
|
"Control whether the notebook editor should allow moving cells through drag and drop."
|
|
912
939
|
)),
|
|
913
940
|
type: 'boolean',
|
|
@@ -916,7 +943,7 @@ configurationRegistry.registerConfiguration({
|
|
|
916
943
|
},
|
|
917
944
|
[NotebookSetting.consolidatedRunButton]: {
|
|
918
945
|
description: ( localize(
|
|
919
|
-
|
|
946
|
+
8245,
|
|
920
947
|
"Control whether extra actions are shown in a dropdown next to the run button."
|
|
921
948
|
)),
|
|
922
949
|
type: 'boolean',
|
|
@@ -925,7 +952,7 @@ configurationRegistry.registerConfiguration({
|
|
|
925
952
|
},
|
|
926
953
|
[NotebookSetting.globalToolbarShowLabel]: {
|
|
927
954
|
description: ( localize(
|
|
928
|
-
|
|
955
|
+
8246,
|
|
929
956
|
"Control whether the actions on the notebook toolbar should render label or not."
|
|
930
957
|
)),
|
|
931
958
|
type: 'string',
|
|
@@ -935,7 +962,7 @@ configurationRegistry.registerConfiguration({
|
|
|
935
962
|
},
|
|
936
963
|
[NotebookSetting.textOutputLineLimit]: {
|
|
937
964
|
markdownDescription: ( localize(
|
|
938
|
-
|
|
965
|
+
8247,
|
|
939
966
|
"Controls how many lines of text are displayed in a text output. If {0} is enabled, this setting is used to determine the scroll height of the output.",
|
|
940
967
|
'`#notebook.output.scrolling#`'
|
|
941
968
|
)),
|
|
@@ -946,7 +973,7 @@ configurationRegistry.registerConfiguration({
|
|
|
946
973
|
},
|
|
947
974
|
[NotebookSetting.LinkifyOutputFilePaths]: {
|
|
948
975
|
description: ( localize(
|
|
949
|
-
|
|
976
|
+
8248,
|
|
950
977
|
"Control whether to disable filepath links in the output of notebook cells."
|
|
951
978
|
)),
|
|
952
979
|
type: 'boolean',
|
|
@@ -954,14 +981,14 @@ configurationRegistry.registerConfiguration({
|
|
|
954
981
|
tags: ['notebookOutputLayout']
|
|
955
982
|
},
|
|
956
983
|
[NotebookSetting.minimalErrorRendering]: {
|
|
957
|
-
description: ( localize(
|
|
984
|
+
description: ( localize(8249, "Control whether to render error output in a minimal style.")),
|
|
958
985
|
type: 'boolean',
|
|
959
986
|
default: false,
|
|
960
987
|
tags: ['notebookOutputLayout']
|
|
961
988
|
},
|
|
962
989
|
[NotebookSetting.markupFontSize]: {
|
|
963
990
|
markdownDescription: ( localize(
|
|
964
|
-
|
|
991
|
+
8250,
|
|
965
992
|
"Controls the font size in pixels of rendered markup in notebooks. When set to {0}, 120% of {1} is used.",
|
|
966
993
|
'`0`',
|
|
967
994
|
'`#editor.fontSize#`'
|
|
@@ -972,7 +999,7 @@ configurationRegistry.registerConfiguration({
|
|
|
972
999
|
},
|
|
973
1000
|
[NotebookSetting.markdownLineHeight]: {
|
|
974
1001
|
markdownDescription: ( localize(
|
|
975
|
-
|
|
1002
|
+
8251,
|
|
976
1003
|
"Controls the line height in pixels of markdown cells in notebooks. When set to {0}, {1} will be used",
|
|
977
1004
|
'`0`',
|
|
978
1005
|
'`normal`'
|
|
@@ -984,7 +1011,7 @@ configurationRegistry.registerConfiguration({
|
|
|
984
1011
|
[NotebookSetting.cellEditorOptionsCustomizations]: editorOptionsCustomizationSchema,
|
|
985
1012
|
[NotebookSetting.interactiveWindowCollapseCodeCells]: {
|
|
986
1013
|
markdownDescription: ( localize(
|
|
987
|
-
|
|
1014
|
+
8252,
|
|
988
1015
|
"Controls whether code cells in the interactive window are collapsed by default."
|
|
989
1016
|
)),
|
|
990
1017
|
type: 'string',
|
|
@@ -993,7 +1020,7 @@ configurationRegistry.registerConfiguration({
|
|
|
993
1020
|
},
|
|
994
1021
|
[NotebookSetting.outputLineHeight]: {
|
|
995
1022
|
markdownDescription: ( localize(
|
|
996
|
-
|
|
1023
|
+
8253,
|
|
997
1024
|
"Line height of the output text within notebook cells.\n - When set to 0, editor line height is used.\n - Values between 0 and 8 will be used as a multiplier with the font size.\n - Values greater than or equal to 8 will be used as effective values."
|
|
998
1025
|
)),
|
|
999
1026
|
type: 'number',
|
|
@@ -1002,7 +1029,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1002
1029
|
},
|
|
1003
1030
|
[NotebookSetting.outputFontSize]: {
|
|
1004
1031
|
markdownDescription: ( localize(
|
|
1005
|
-
|
|
1032
|
+
8254,
|
|
1006
1033
|
"Font size for the output text within notebook cells. When set to 0, {0} is used.",
|
|
1007
1034
|
'`#editor.fontSize#`'
|
|
1008
1035
|
)),
|
|
@@ -1012,7 +1039,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1012
1039
|
},
|
|
1013
1040
|
[NotebookSetting.outputFontFamily]: {
|
|
1014
1041
|
markdownDescription: ( localize(
|
|
1015
|
-
|
|
1042
|
+
8255,
|
|
1016
1043
|
"The font family of the output text within notebook cells. When set to empty, the {0} is used.",
|
|
1017
1044
|
'`#editor.fontFamily#`'
|
|
1018
1045
|
)),
|
|
@@ -1021,7 +1048,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1021
1048
|
},
|
|
1022
1049
|
[NotebookSetting.outputScrolling]: {
|
|
1023
1050
|
markdownDescription: ( localize(
|
|
1024
|
-
|
|
1051
|
+
8256,
|
|
1025
1052
|
"Initially render notebook outputs in a scrollable region when longer than the limit."
|
|
1026
1053
|
)),
|
|
1027
1054
|
type: 'boolean',
|
|
@@ -1029,14 +1056,14 @@ configurationRegistry.registerConfiguration({
|
|
|
1029
1056
|
default: typeof product.quality === 'string' && product.quality !== 'stable'
|
|
1030
1057
|
},
|
|
1031
1058
|
[NotebookSetting.outputWordWrap]: {
|
|
1032
|
-
markdownDescription: ( localize(
|
|
1059
|
+
markdownDescription: ( localize(8257, "Controls whether the lines in output should wrap.")),
|
|
1033
1060
|
type: 'boolean',
|
|
1034
1061
|
tags: ['notebookLayout', 'notebookOutputLayout'],
|
|
1035
1062
|
default: false
|
|
1036
1063
|
},
|
|
1037
1064
|
[NotebookSetting.defaultFormatter]: {
|
|
1038
1065
|
description: ( localize(
|
|
1039
|
-
|
|
1066
|
+
8258,
|
|
1040
1067
|
"Defines a default notebook formatter which takes precedence over all other formatter settings. Must be the identifier of an extension contributing a formatter."
|
|
1041
1068
|
)),
|
|
1042
1069
|
type: ['string', 'null'],
|
|
@@ -1047,7 +1074,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1047
1074
|
},
|
|
1048
1075
|
[NotebookSetting.formatOnSave]: {
|
|
1049
1076
|
markdownDescription: ( localize(
|
|
1050
|
-
|
|
1077
|
+
8259,
|
|
1051
1078
|
"Format a notebook on save. A formatter must be available and the editor must not be shutting down. When {0} is set to `afterDelay`, the file will only be formatted when saved explicitly.",
|
|
1052
1079
|
'`#files.autoSave#`'
|
|
1053
1080
|
)),
|
|
@@ -1057,7 +1084,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1057
1084
|
},
|
|
1058
1085
|
[NotebookSetting.insertFinalNewline]: {
|
|
1059
1086
|
markdownDescription: ( localize(
|
|
1060
|
-
|
|
1087
|
+
8260,
|
|
1061
1088
|
"When enabled, insert a final new line into the end of code cells when saving a notebook."
|
|
1062
1089
|
)),
|
|
1063
1090
|
type: 'boolean',
|
|
@@ -1066,7 +1093,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1066
1093
|
},
|
|
1067
1094
|
[NotebookSetting.formatOnCellExecution]: {
|
|
1068
1095
|
markdownDescription: ( localize(
|
|
1069
|
-
|
|
1096
|
+
8261,
|
|
1070
1097
|
"Format a notebook cell upon execution. A formatter must be available."
|
|
1071
1098
|
)),
|
|
1072
1099
|
type: 'boolean',
|
|
@@ -1074,7 +1101,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1074
1101
|
},
|
|
1075
1102
|
[NotebookSetting.confirmDeleteRunningCell]: {
|
|
1076
1103
|
markdownDescription: ( localize(
|
|
1077
|
-
|
|
1104
|
+
8262,
|
|
1078
1105
|
"Control whether a confirmation prompt is required to delete a running cell."
|
|
1079
1106
|
)),
|
|
1080
1107
|
type: 'boolean',
|
|
@@ -1082,7 +1109,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1082
1109
|
},
|
|
1083
1110
|
[NotebookSetting.findFilters]: {
|
|
1084
1111
|
markdownDescription: ( localize(
|
|
1085
|
-
|
|
1112
|
+
8263,
|
|
1086
1113
|
"Customize the Find Widget behavior for searching within notebook cells. When both markup source and markup preview are enabled, the Find Widget will search either the source code or preview based on the current state of the cell."
|
|
1087
1114
|
)),
|
|
1088
1115
|
type: 'object',
|
|
@@ -1114,7 +1141,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1114
1141
|
},
|
|
1115
1142
|
[NotebookSetting.remoteSaving]: {
|
|
1116
1143
|
markdownDescription: ( localize(
|
|
1117
|
-
|
|
1144
|
+
8264,
|
|
1118
1145
|
"Enables the incremental saving of notebooks between processes and across Remote connections. When enabled, only the changes to the notebook are sent to the extension host, improving performance for large notebooks and slow network connections."
|
|
1119
1146
|
)),
|
|
1120
1147
|
type: 'boolean',
|
|
@@ -1123,22 +1150,22 @@ configurationRegistry.registerConfiguration({
|
|
|
1123
1150
|
},
|
|
1124
1151
|
[NotebookSetting.scrollToRevealCell]: {
|
|
1125
1152
|
markdownDescription: ( localize(
|
|
1126
|
-
|
|
1153
|
+
8265,
|
|
1127
1154
|
"How far to scroll when revealing the next cell upon running {0}.",
|
|
1128
1155
|
'notebook.cell.executeAndSelectBelow'
|
|
1129
1156
|
)),
|
|
1130
1157
|
type: 'string',
|
|
1131
1158
|
enum: ['fullCell', 'firstLine', 'none'],
|
|
1132
1159
|
markdownEnumDescriptions: [
|
|
1133
|
-
( localize(
|
|
1134
|
-
( localize(
|
|
1135
|
-
( localize(
|
|
1160
|
+
( localize(8266, 'Scroll to fully reveal the next cell.')),
|
|
1161
|
+
( localize(8267, 'Scroll to reveal the first line of the next cell.')),
|
|
1162
|
+
( localize(8268, 'Do not scroll.')),
|
|
1136
1163
|
],
|
|
1137
1164
|
default: 'fullCell'
|
|
1138
1165
|
},
|
|
1139
1166
|
[NotebookSetting.cellGenerate]: {
|
|
1140
1167
|
markdownDescription: ( localize(
|
|
1141
|
-
|
|
1168
|
+
8269,
|
|
1142
1169
|
"Enable experimental generate action to create code cell with inline chat enabled."
|
|
1143
1170
|
)),
|
|
1144
1171
|
type: 'boolean',
|
|
@@ -1146,7 +1173,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1146
1173
|
},
|
|
1147
1174
|
[NotebookSetting.notebookVariablesView]: {
|
|
1148
1175
|
markdownDescription: ( localize(
|
|
1149
|
-
|
|
1176
|
+
8270,
|
|
1150
1177
|
"Enable the experimental notebook variables view within the debug panel."
|
|
1151
1178
|
)),
|
|
1152
1179
|
type: 'boolean',
|
|
@@ -1154,32 +1181,32 @@ configurationRegistry.registerConfiguration({
|
|
|
1154
1181
|
},
|
|
1155
1182
|
[NotebookSetting.notebookInlineValues]: {
|
|
1156
1183
|
markdownDescription: ( localize(
|
|
1157
|
-
|
|
1184
|
+
8271,
|
|
1158
1185
|
"Control whether to show inline values within notebook code cells after cell execution. Values will remain until the cell is edited, re-executed, or explicitly cleared via the Clear All Outputs toolbar button or the `Notebook: Clear Inline Values` command."
|
|
1159
1186
|
)),
|
|
1160
1187
|
type: 'string',
|
|
1161
1188
|
enum: ['on', 'auto', 'off'],
|
|
1162
1189
|
enumDescriptions: [
|
|
1163
1190
|
( localize(
|
|
1164
|
-
|
|
1191
|
+
8272,
|
|
1165
1192
|
"Always show inline values, with a regex fallback if no inline value provider is registered. Note: There may be a performance impact in larger cells if the fallback is used."
|
|
1166
1193
|
)),
|
|
1167
1194
|
( localize(
|
|
1168
|
-
|
|
1195
|
+
8273,
|
|
1169
1196
|
"Show inline values only when an inline value provider is registered."
|
|
1170
1197
|
)),
|
|
1171
|
-
( localize(
|
|
1198
|
+
( localize(8274, "Never show inline values.")),
|
|
1172
1199
|
],
|
|
1173
1200
|
default: 'off'
|
|
1174
1201
|
},
|
|
1175
1202
|
[NotebookSetting.cellFailureDiagnostics]: {
|
|
1176
|
-
markdownDescription: ( localize(
|
|
1203
|
+
markdownDescription: ( localize(8275, "Show available diagnostics for cell failures.")),
|
|
1177
1204
|
type: 'boolean',
|
|
1178
1205
|
default: true
|
|
1179
1206
|
},
|
|
1180
1207
|
[NotebookSetting.outputBackupSizeLimit]: {
|
|
1181
1208
|
markdownDescription: ( localize(
|
|
1182
|
-
|
|
1209
|
+
8276,
|
|
1183
1210
|
"The limit of notebook output size in kilobytes (KB) where notebook files will no longer be backed up for hot reload. Use 0 for unlimited."
|
|
1184
1211
|
)),
|
|
1185
1212
|
type: 'number',
|
|
@@ -1187,7 +1214,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1187
1214
|
},
|
|
1188
1215
|
[NotebookSetting.multiCursor]: {
|
|
1189
1216
|
markdownDescription: ( localize(
|
|
1190
|
-
|
|
1217
|
+
8277,
|
|
1191
1218
|
"Experimental. Enables a limited set of multi cursor controls across multiple cells in the notebook editor. Currently supported are core editor actions (typing/cut/copy/paste/composition) and a limited subset of editor commands."
|
|
1192
1219
|
)),
|
|
1193
1220
|
type: 'boolean',
|
|
@@ -1195,7 +1222,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1195
1222
|
},
|
|
1196
1223
|
[NotebookSetting.markupFontFamily]: {
|
|
1197
1224
|
markdownDescription: ( localize(
|
|
1198
|
-
|
|
1225
|
+
8278,
|
|
1199
1226
|
"Controls the font family of rendered markup in notebooks. When left blank, this will fall back to the default workbench font family."
|
|
1200
1227
|
)),
|
|
1201
1228
|
type: 'string',
|