@codingame/monaco-vscode-notebook-service-override 13.1.7 → 14.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 +3 -3
- package/package.json +29 -28
- 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 +25 -24
- 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 +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticsActions.js +6 -6
- 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 +2 -2
- 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 +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookCellDecorators.d.ts +60 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookCellDecorators.js +536 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatActionsOverlay.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatActionsOverlay.js +310 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatEditController.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatEditController.js +182 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookOriginalCellModelFactory.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookOriginalCellModelFactory.js +42 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookOriginalModelRefFactory.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookOriginalModelRefFactory.js +72 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizer.d.ts +62 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizer.js +425 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizerService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizerService.js +0 -1
- 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 +9 -9
- 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 +3 -3
- 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 +11 -11
- 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 +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +6 -6
- 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 +1 -1
- 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 +9 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookSelectionHighlight.js +2 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +15 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.d.ts +29 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.js +310 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +2 -2
- 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 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +35 -25
- 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 +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +32 -32
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +29 -26
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +25 -25
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +25 -25
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +19 -19
- 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 +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/variablesActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +21 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +92 -74
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibleView.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibleView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +33 -33
- 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 +2 -2
- 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 +1 -1
- 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 +2 -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 +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.d.ts +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 +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/abstractFileWorkingCopyManager.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +16 -13
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +5 -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/services/workingCopy/common/untitledFileWorkingCopyManager.d.ts +9 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopyManager.js +5 -0
|
@@ -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';
|
|
12
12
|
import { ILanguageService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language';
|
|
@@ -18,11 +18,11 @@ 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-api/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';
|
|
@@ -35,7 +35,7 @@ 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,7 +44,7 @@ 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-
|
|
47
|
+
import '@codingame/monaco-vscode-d4a98668-f793-5361-a9cf-1e6ae6d62ce3-common/vscode/vs/workbench/services/outline/browser/outline';
|
|
48
48
|
import '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
|
|
49
49
|
import './controller/insertCellActions.js';
|
|
50
50
|
import './controller/executeActions.js';
|
|
@@ -85,8 +85,9 @@ import './contrib/cellDiagnostics/cellDiagnosticsActions.js';
|
|
|
85
85
|
import './contrib/cellDiagnostics/diagnosticCellStatusBarContrib.js';
|
|
86
86
|
import './contrib/multicursor/notebookMulticursor.js';
|
|
87
87
|
import './contrib/multicursor/notebookSelectionHighlight.js';
|
|
88
|
+
import './contrib/notebookVariables/notebookInlineVariables.js';
|
|
88
89
|
import './diff/notebookDiffActions.js';
|
|
89
|
-
import '
|
|
90
|
+
import './contrib/chatEdit/notebookChatEditController.js';
|
|
90
91
|
import { editorOptionsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/config/editorOptions';
|
|
91
92
|
import './services/notebookExecutionStateServiceImpl.js';
|
|
92
93
|
import './services/notebookExecutionServiceImpl.js';
|
|
@@ -105,9 +106,9 @@ import { NotebookAccessibleView } from './notebookAccessibleView.js';
|
|
|
105
106
|
import { DefaultFormatter } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/format/browser/formatActionsMultiple';
|
|
106
107
|
import { NotebookMultiTextDiffEditor } from '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor';
|
|
107
108
|
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-
|
|
109
|
+
import { getFormattedMetadataJSON } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/common/model/notebookCellTextModel';
|
|
109
110
|
import './viewModel/notebookOutlineEntryFactory.js';
|
|
110
|
-
import { getFormattedNotebookMetadataJSON } from '@codingame/monaco-vscode-
|
|
111
|
+
import { getFormattedNotebookMetadataJSON } from '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel';
|
|
111
112
|
import './contrib/chatEdit/notebookSynchronizerService.js';
|
|
112
113
|
|
|
113
114
|
var NotebookContribution_1;
|
|
@@ -348,15 +349,15 @@ let CellInfoContentProvider = class CellInfoContentProvider {
|
|
|
348
349
|
for (const cell of ref.object.notebook.cells) {
|
|
349
350
|
if (cell.handle === data.handle) {
|
|
350
351
|
const cellIndex = ref.object.notebook.cells.indexOf(cell);
|
|
351
|
-
const metadataSource = getFormattedMetadataJSON(ref.object.notebook.transientOptions.transientCellMetadata, cell.metadata, cell.language);
|
|
352
|
+
const metadataSource = getFormattedMetadataJSON(ref.object.notebook.transientOptions.transientCellMetadata, cell.metadata, cell.language, true);
|
|
352
353
|
result = this._modelService.createModel(metadataSource, mode, resource);
|
|
353
354
|
this._disposables.push(disposables.add(ref.object.notebook.onDidChangeContent(e => {
|
|
354
355
|
if (result && ( e.rawEvents.some(
|
|
355
356
|
event => (event.kind === NotebookCellsChangeType.ChangeCellMetadata || event.kind === NotebookCellsChangeType.ChangeCellLanguage) && event.index === cellIndex
|
|
356
357
|
))) {
|
|
357
|
-
const value = getFormattedMetadataJSON(ref.object.notebook.transientOptions.transientCellMetadata, cell.metadata, cell.language);
|
|
358
|
+
const value = getFormattedMetadataJSON(ref.object.notebook.transientOptions.transientCellMetadata, cell.metadata, cell.language, true);
|
|
358
359
|
if (result.getValue() !== value) {
|
|
359
|
-
result.setValue(
|
|
360
|
+
result.setValue(value);
|
|
360
361
|
}
|
|
361
362
|
}
|
|
362
363
|
})));
|
|
@@ -716,7 +717,7 @@ for (const editorOption of editorOptionsRegistry) {
|
|
|
716
717
|
}
|
|
717
718
|
const editorOptionsCustomizationSchema = {
|
|
718
719
|
description: ( localize(
|
|
719
|
-
|
|
720
|
+
7736,
|
|
720
721
|
'Settings for code editors used in notebooks. This can be used to customize most editor.* settings.'
|
|
721
722
|
)),
|
|
722
723
|
default: {},
|
|
@@ -731,11 +732,11 @@ const configurationRegistry = ( Registry.as(Extensions$2.Configuration));
|
|
|
731
732
|
configurationRegistry.registerConfiguration({
|
|
732
733
|
id: 'notebook',
|
|
733
734
|
order: 100,
|
|
734
|
-
title: ( localize(
|
|
735
|
+
title: ( localize(7737, "Notebook")),
|
|
735
736
|
type: 'object',
|
|
736
737
|
properties: {
|
|
737
738
|
[NotebookSetting.displayOrder]: {
|
|
738
|
-
description: ( localize(
|
|
739
|
+
description: ( localize(7738, "Priority list for output mime types")),
|
|
739
740
|
type: 'array',
|
|
740
741
|
items: {
|
|
741
742
|
type: 'string'
|
|
@@ -744,12 +745,12 @@ configurationRegistry.registerConfiguration({
|
|
|
744
745
|
},
|
|
745
746
|
[NotebookSetting.cellToolbarLocation]: {
|
|
746
747
|
description: ( localize(
|
|
747
|
-
|
|
748
|
+
7739,
|
|
748
749
|
"Where the cell toolbar should be shown, or whether it should be hidden."
|
|
749
750
|
)),
|
|
750
751
|
type: 'object',
|
|
751
752
|
additionalProperties: {
|
|
752
|
-
markdownDescription: ( localize(
|
|
753
|
+
markdownDescription: ( localize(7740, "Configure the cell toolbar position for for specific file types")),
|
|
753
754
|
type: 'string',
|
|
754
755
|
enum: ['left', 'right', 'hidden']
|
|
755
756
|
},
|
|
@@ -759,14 +760,14 @@ configurationRegistry.registerConfiguration({
|
|
|
759
760
|
tags: ['notebookLayout']
|
|
760
761
|
},
|
|
761
762
|
[NotebookSetting.showCellStatusBar]: {
|
|
762
|
-
description: ( localize(
|
|
763
|
+
description: ( localize(7741, "Whether the cell status bar should be shown.")),
|
|
763
764
|
type: 'string',
|
|
764
765
|
enum: ['hidden', 'visible', 'visibleAfterExecute'],
|
|
765
766
|
enumDescriptions: [
|
|
766
|
-
( localize(
|
|
767
|
-
( localize(
|
|
767
|
+
( localize(7742, "The cell Status bar is always hidden.")),
|
|
768
|
+
( localize(7743, "The cell Status bar is always visible.")),
|
|
768
769
|
( localize(
|
|
769
|
-
|
|
770
|
+
7744,
|
|
770
771
|
"The cell Status bar is hidden until the cell has executed. Then it becomes visible to show the execution status."
|
|
771
772
|
))
|
|
772
773
|
],
|
|
@@ -775,18 +776,18 @@ configurationRegistry.registerConfiguration({
|
|
|
775
776
|
},
|
|
776
777
|
[NotebookSetting.cellExecutionTimeVerbosity]: {
|
|
777
778
|
description: ( localize(
|
|
778
|
-
|
|
779
|
+
7745,
|
|
779
780
|
"Controls the verbosity of the cell execution time in the cell status bar."
|
|
780
781
|
)),
|
|
781
782
|
type: 'string',
|
|
782
783
|
enum: ['default', 'verbose'],
|
|
783
784
|
enumDescriptions: [
|
|
784
785
|
( localize(
|
|
785
|
-
|
|
786
|
+
7746,
|
|
786
787
|
"The cell execution duration is visible, with advanced information in the hover tooltip."
|
|
787
788
|
)),
|
|
788
789
|
( localize(
|
|
789
|
-
|
|
790
|
+
7747,
|
|
790
791
|
"The cell last execution timestamp and duration are visible, with advanced information in the hover tooltip."
|
|
791
792
|
))
|
|
792
793
|
],
|
|
@@ -794,14 +795,14 @@ configurationRegistry.registerConfiguration({
|
|
|
794
795
|
tags: ['notebookLayout']
|
|
795
796
|
},
|
|
796
797
|
[NotebookSetting.textDiffEditorPreview]: {
|
|
797
|
-
description: ( localize(
|
|
798
|
+
description: ( localize(7748, "Whether to use the enhanced text diff editor for notebook.")),
|
|
798
799
|
type: 'boolean',
|
|
799
800
|
default: true,
|
|
800
801
|
tags: ['notebookLayout']
|
|
801
802
|
},
|
|
802
803
|
[NotebookSetting.diffOverviewRuler]: {
|
|
803
804
|
description: ( localize(
|
|
804
|
-
|
|
805
|
+
7749,
|
|
805
806
|
"Whether to render the overview ruler in the diff editor for notebook."
|
|
806
807
|
)),
|
|
807
808
|
type: 'boolean',
|
|
@@ -809,21 +810,21 @@ configurationRegistry.registerConfiguration({
|
|
|
809
810
|
tags: ['notebookLayout']
|
|
810
811
|
},
|
|
811
812
|
[NotebookSetting.cellToolbarVisibility]: {
|
|
812
|
-
markdownDescription: ( localize(
|
|
813
|
+
markdownDescription: ( localize(7750, "Whether the cell toolbar should appear on hover or click.")),
|
|
813
814
|
type: 'string',
|
|
814
815
|
enum: ['hover', 'click'],
|
|
815
816
|
default: 'click',
|
|
816
817
|
tags: ['notebookLayout']
|
|
817
818
|
},
|
|
818
819
|
[NotebookSetting.undoRedoPerCell]: {
|
|
819
|
-
description: ( localize(
|
|
820
|
+
description: ( localize(7751, "Whether to use separate undo/redo stack for each cell.")),
|
|
820
821
|
type: 'boolean',
|
|
821
822
|
default: true,
|
|
822
823
|
tags: ['notebookLayout']
|
|
823
824
|
},
|
|
824
825
|
[NotebookSetting.compactView]: {
|
|
825
826
|
description: ( localize(
|
|
826
|
-
|
|
827
|
+
7752,
|
|
827
828
|
"Control whether the notebook editor should be rendered in a compact form. For example, when turned on, it will decrease the left margin width."
|
|
828
829
|
)),
|
|
829
830
|
type: 'boolean',
|
|
@@ -832,7 +833,7 @@ configurationRegistry.registerConfiguration({
|
|
|
832
833
|
},
|
|
833
834
|
[NotebookSetting.focusIndicator]: {
|
|
834
835
|
description: ( localize(
|
|
835
|
-
|
|
836
|
+
7753,
|
|
836
837
|
"Controls where the focus indicator is rendered, either along the cell borders or on the left gutter."
|
|
837
838
|
)),
|
|
838
839
|
type: 'string',
|
|
@@ -841,21 +842,21 @@ configurationRegistry.registerConfiguration({
|
|
|
841
842
|
tags: ['notebookLayout']
|
|
842
843
|
},
|
|
843
844
|
[NotebookSetting.insertToolbarLocation]: {
|
|
844
|
-
description: ( localize(
|
|
845
|
+
description: ( localize(7754, "Control where the insert cell actions should appear.")),
|
|
845
846
|
type: 'string',
|
|
846
847
|
enum: ['betweenCells', 'notebookToolbar', 'both', 'hidden'],
|
|
847
848
|
enumDescriptions: [
|
|
848
|
-
( localize(
|
|
849
|
-
( localize(
|
|
850
|
-
( localize(
|
|
851
|
-
( localize(
|
|
849
|
+
( localize(7755, "A toolbar that appears on hover between cells.")),
|
|
850
|
+
( localize(7756, "The toolbar at the top of the notebook editor.")),
|
|
851
|
+
( localize(7757, "Both toolbars.")),
|
|
852
|
+
( localize(7758, "The insert actions don't appear anywhere.")),
|
|
852
853
|
],
|
|
853
854
|
default: 'both',
|
|
854
855
|
tags: ['notebookLayout']
|
|
855
856
|
},
|
|
856
857
|
[NotebookSetting.globalToolbar]: {
|
|
857
858
|
description: ( localize(
|
|
858
|
-
|
|
859
|
+
7759,
|
|
859
860
|
"Control whether to render a global toolbar inside the notebook editor."
|
|
860
861
|
)),
|
|
861
862
|
type: 'boolean',
|
|
@@ -864,7 +865,7 @@ configurationRegistry.registerConfiguration({
|
|
|
864
865
|
},
|
|
865
866
|
[NotebookSetting.stickyScrollEnabled]: {
|
|
866
867
|
description: ( localize(
|
|
867
|
-
|
|
868
|
+
7760,
|
|
868
869
|
"Experimental. Control whether to render notebook Sticky Scroll headers in the notebook editor."
|
|
869
870
|
)),
|
|
870
871
|
type: 'boolean',
|
|
@@ -873,21 +874,21 @@ configurationRegistry.registerConfiguration({
|
|
|
873
874
|
},
|
|
874
875
|
[NotebookSetting.stickyScrollMode]: {
|
|
875
876
|
description: ( localize(
|
|
876
|
-
|
|
877
|
+
7761,
|
|
877
878
|
"Control whether nested sticky lines appear to stack flat or indented."
|
|
878
879
|
)),
|
|
879
880
|
type: 'string',
|
|
880
881
|
enum: ['flat', 'indented'],
|
|
881
882
|
enumDescriptions: [
|
|
882
|
-
( localize(
|
|
883
|
-
( localize(
|
|
883
|
+
( localize(7762, "Nested sticky lines appear flat.")),
|
|
884
|
+
( localize(7763, "Nested sticky lines appear indented.")),
|
|
884
885
|
],
|
|
885
886
|
default: 'indented',
|
|
886
887
|
tags: ['notebookLayout']
|
|
887
888
|
},
|
|
888
889
|
[NotebookSetting.consolidatedOutputButton]: {
|
|
889
890
|
description: ( localize(
|
|
890
|
-
|
|
891
|
+
7764,
|
|
891
892
|
"Control whether outputs action should be rendered in the output toolbar."
|
|
892
893
|
)),
|
|
893
894
|
type: 'boolean',
|
|
@@ -895,20 +896,20 @@ configurationRegistry.registerConfiguration({
|
|
|
895
896
|
tags: ['notebookLayout']
|
|
896
897
|
},
|
|
897
898
|
[NotebookSetting.showFoldingControls]: {
|
|
898
|
-
description: ( localize(
|
|
899
|
+
description: ( localize(7765, "Controls when the Markdown header folding arrow is shown.")),
|
|
899
900
|
type: 'string',
|
|
900
901
|
enum: ['always', 'never', 'mouseover'],
|
|
901
902
|
enumDescriptions: [
|
|
902
|
-
( localize(
|
|
903
|
-
( localize(
|
|
904
|
-
( localize(
|
|
903
|
+
( localize(7766, "The folding controls are always visible.")),
|
|
904
|
+
( localize(7767, "Never show the folding controls and reduce the gutter size.")),
|
|
905
|
+
( localize(7768, "The folding controls are visible only on mouseover.")),
|
|
905
906
|
],
|
|
906
907
|
default: 'mouseover',
|
|
907
908
|
tags: ['notebookLayout']
|
|
908
909
|
},
|
|
909
910
|
[NotebookSetting.dragAndDropEnabled]: {
|
|
910
911
|
description: ( localize(
|
|
911
|
-
|
|
912
|
+
7769,
|
|
912
913
|
"Control whether the notebook editor should allow moving cells through drag and drop."
|
|
913
914
|
)),
|
|
914
915
|
type: 'boolean',
|
|
@@ -917,7 +918,7 @@ configurationRegistry.registerConfiguration({
|
|
|
917
918
|
},
|
|
918
919
|
[NotebookSetting.consolidatedRunButton]: {
|
|
919
920
|
description: ( localize(
|
|
920
|
-
|
|
921
|
+
7770,
|
|
921
922
|
"Control whether extra actions are shown in a dropdown next to the run button."
|
|
922
923
|
)),
|
|
923
924
|
type: 'boolean',
|
|
@@ -926,7 +927,7 @@ configurationRegistry.registerConfiguration({
|
|
|
926
927
|
},
|
|
927
928
|
[NotebookSetting.globalToolbarShowLabel]: {
|
|
928
929
|
description: ( localize(
|
|
929
|
-
|
|
930
|
+
7771,
|
|
930
931
|
"Control whether the actions on the notebook toolbar should render label or not."
|
|
931
932
|
)),
|
|
932
933
|
type: 'string',
|
|
@@ -936,7 +937,7 @@ configurationRegistry.registerConfiguration({
|
|
|
936
937
|
},
|
|
937
938
|
[NotebookSetting.textOutputLineLimit]: {
|
|
938
939
|
markdownDescription: ( localize(
|
|
939
|
-
|
|
940
|
+
7772,
|
|
940
941
|
"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.",
|
|
941
942
|
'`#notebook.output.scrolling#`'
|
|
942
943
|
)),
|
|
@@ -947,7 +948,7 @@ configurationRegistry.registerConfiguration({
|
|
|
947
948
|
},
|
|
948
949
|
[NotebookSetting.LinkifyOutputFilePaths]: {
|
|
949
950
|
description: ( localize(
|
|
950
|
-
|
|
951
|
+
7773,
|
|
951
952
|
"Control whether to disable filepath links in the output of notebook cells."
|
|
952
953
|
)),
|
|
953
954
|
type: 'boolean',
|
|
@@ -955,14 +956,14 @@ configurationRegistry.registerConfiguration({
|
|
|
955
956
|
tags: ['notebookOutputLayout']
|
|
956
957
|
},
|
|
957
958
|
[NotebookSetting.minimalErrorRendering]: {
|
|
958
|
-
description: ( localize(
|
|
959
|
+
description: ( localize(7774, "Control whether to render error output in a minimal style.")),
|
|
959
960
|
type: 'boolean',
|
|
960
961
|
default: false,
|
|
961
962
|
tags: ['notebookOutputLayout']
|
|
962
963
|
},
|
|
963
964
|
[NotebookSetting.markupFontSize]: {
|
|
964
965
|
markdownDescription: ( localize(
|
|
965
|
-
|
|
966
|
+
7775,
|
|
966
967
|
"Controls the font size in pixels of rendered markup in notebooks. When set to {0}, 120% of {1} is used.",
|
|
967
968
|
'`0`',
|
|
968
969
|
'`#editor.fontSize#`'
|
|
@@ -973,7 +974,7 @@ configurationRegistry.registerConfiguration({
|
|
|
973
974
|
},
|
|
974
975
|
[NotebookSetting.markdownLineHeight]: {
|
|
975
976
|
markdownDescription: ( localize(
|
|
976
|
-
|
|
977
|
+
7776,
|
|
977
978
|
"Controls the line height in pixels of markdown cells in notebooks. When set to {0}, {1} will be used",
|
|
978
979
|
'`0`',
|
|
979
980
|
'`normal`'
|
|
@@ -985,7 +986,7 @@ configurationRegistry.registerConfiguration({
|
|
|
985
986
|
[NotebookSetting.cellEditorOptionsCustomizations]: editorOptionsCustomizationSchema,
|
|
986
987
|
[NotebookSetting.interactiveWindowCollapseCodeCells]: {
|
|
987
988
|
markdownDescription: ( localize(
|
|
988
|
-
|
|
989
|
+
7777,
|
|
989
990
|
"Controls whether code cells in the interactive window are collapsed by default."
|
|
990
991
|
)),
|
|
991
992
|
type: 'string',
|
|
@@ -994,7 +995,7 @@ configurationRegistry.registerConfiguration({
|
|
|
994
995
|
},
|
|
995
996
|
[NotebookSetting.outputLineHeight]: {
|
|
996
997
|
markdownDescription: ( localize(
|
|
997
|
-
|
|
998
|
+
7778,
|
|
998
999
|
"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."
|
|
999
1000
|
)),
|
|
1000
1001
|
type: 'number',
|
|
@@ -1003,7 +1004,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1003
1004
|
},
|
|
1004
1005
|
[NotebookSetting.outputFontSize]: {
|
|
1005
1006
|
markdownDescription: ( localize(
|
|
1006
|
-
|
|
1007
|
+
7779,
|
|
1007
1008
|
"Font size for the output text within notebook cells. When set to 0, {0} is used.",
|
|
1008
1009
|
'`#editor.fontSize#`'
|
|
1009
1010
|
)),
|
|
@@ -1013,7 +1014,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1013
1014
|
},
|
|
1014
1015
|
[NotebookSetting.outputFontFamily]: {
|
|
1015
1016
|
markdownDescription: ( localize(
|
|
1016
|
-
|
|
1017
|
+
7780,
|
|
1017
1018
|
"The font family of the output text within notebook cells. When set to empty, the {0} is used.",
|
|
1018
1019
|
'`#editor.fontFamily#`'
|
|
1019
1020
|
)),
|
|
@@ -1022,7 +1023,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1022
1023
|
},
|
|
1023
1024
|
[NotebookSetting.outputScrolling]: {
|
|
1024
1025
|
markdownDescription: ( localize(
|
|
1025
|
-
|
|
1026
|
+
7781,
|
|
1026
1027
|
"Initially render notebook outputs in a scrollable region when longer than the limit."
|
|
1027
1028
|
)),
|
|
1028
1029
|
type: 'boolean',
|
|
@@ -1030,14 +1031,14 @@ configurationRegistry.registerConfiguration({
|
|
|
1030
1031
|
default: typeof product.quality === 'string' && product.quality !== 'stable'
|
|
1031
1032
|
},
|
|
1032
1033
|
[NotebookSetting.outputWordWrap]: {
|
|
1033
|
-
markdownDescription: ( localize(
|
|
1034
|
+
markdownDescription: ( localize(7782, "Controls whether the lines in output should wrap.")),
|
|
1034
1035
|
type: 'boolean',
|
|
1035
1036
|
tags: ['notebookLayout', 'notebookOutputLayout'],
|
|
1036
1037
|
default: false
|
|
1037
1038
|
},
|
|
1038
1039
|
[NotebookSetting.defaultFormatter]: {
|
|
1039
1040
|
description: ( localize(
|
|
1040
|
-
|
|
1041
|
+
7783,
|
|
1041
1042
|
"Defines a default notebook formatter which takes precedence over all other formatter settings. Must be the identifier of an extension contributing a formatter."
|
|
1042
1043
|
)),
|
|
1043
1044
|
type: ['string', 'null'],
|
|
@@ -1048,7 +1049,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1048
1049
|
},
|
|
1049
1050
|
[NotebookSetting.formatOnSave]: {
|
|
1050
1051
|
markdownDescription: ( localize(
|
|
1051
|
-
|
|
1052
|
+
7784,
|
|
1052
1053
|
"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.",
|
|
1053
1054
|
'`#files.autoSave#`'
|
|
1054
1055
|
)),
|
|
@@ -1058,7 +1059,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1058
1059
|
},
|
|
1059
1060
|
[NotebookSetting.insertFinalNewline]: {
|
|
1060
1061
|
markdownDescription: ( localize(
|
|
1061
|
-
|
|
1062
|
+
7785,
|
|
1062
1063
|
"When enabled, insert a final new line into the end of code cells when saving a notebook."
|
|
1063
1064
|
)),
|
|
1064
1065
|
type: 'boolean',
|
|
@@ -1067,7 +1068,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1067
1068
|
},
|
|
1068
1069
|
[NotebookSetting.formatOnCellExecution]: {
|
|
1069
1070
|
markdownDescription: ( localize(
|
|
1070
|
-
|
|
1071
|
+
7786,
|
|
1071
1072
|
"Format a notebook cell upon execution. A formatter must be available."
|
|
1072
1073
|
)),
|
|
1073
1074
|
type: 'boolean',
|
|
@@ -1075,7 +1076,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1075
1076
|
},
|
|
1076
1077
|
[NotebookSetting.confirmDeleteRunningCell]: {
|
|
1077
1078
|
markdownDescription: ( localize(
|
|
1078
|
-
|
|
1079
|
+
7787,
|
|
1079
1080
|
"Control whether a confirmation prompt is required to delete a running cell."
|
|
1080
1081
|
)),
|
|
1081
1082
|
type: 'boolean',
|
|
@@ -1083,7 +1084,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1083
1084
|
},
|
|
1084
1085
|
[NotebookSetting.findFilters]: {
|
|
1085
1086
|
markdownDescription: ( localize(
|
|
1086
|
-
|
|
1087
|
+
7788,
|
|
1087
1088
|
"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."
|
|
1088
1089
|
)),
|
|
1089
1090
|
type: 'object',
|
|
@@ -1115,7 +1116,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1115
1116
|
},
|
|
1116
1117
|
[NotebookSetting.remoteSaving]: {
|
|
1117
1118
|
markdownDescription: ( localize(
|
|
1118
|
-
|
|
1119
|
+
7789,
|
|
1119
1120
|
"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."
|
|
1120
1121
|
)),
|
|
1121
1122
|
type: 'boolean',
|
|
@@ -1124,22 +1125,22 @@ configurationRegistry.registerConfiguration({
|
|
|
1124
1125
|
},
|
|
1125
1126
|
[NotebookSetting.scrollToRevealCell]: {
|
|
1126
1127
|
markdownDescription: ( localize(
|
|
1127
|
-
|
|
1128
|
+
7790,
|
|
1128
1129
|
"How far to scroll when revealing the next cell upon running {0}.",
|
|
1129
1130
|
'notebook.cell.executeAndSelectBelow'
|
|
1130
1131
|
)),
|
|
1131
1132
|
type: 'string',
|
|
1132
1133
|
enum: ['fullCell', 'firstLine', 'none'],
|
|
1133
1134
|
markdownEnumDescriptions: [
|
|
1134
|
-
( localize(
|
|
1135
|
-
( localize(
|
|
1136
|
-
( localize(
|
|
1135
|
+
( localize(7791, 'Scroll to fully reveal the next cell.')),
|
|
1136
|
+
( localize(7792, 'Scroll to reveal the first line of the next cell.')),
|
|
1137
|
+
( localize(7793, 'Do not scroll.')),
|
|
1137
1138
|
],
|
|
1138
1139
|
default: 'fullCell'
|
|
1139
1140
|
},
|
|
1140
1141
|
[NotebookSetting.cellGenerate]: {
|
|
1141
1142
|
markdownDescription: ( localize(
|
|
1142
|
-
|
|
1143
|
+
7794,
|
|
1143
1144
|
"Enable experimental generate action to create code cell with inline chat enabled."
|
|
1144
1145
|
)),
|
|
1145
1146
|
type: 'boolean',
|
|
@@ -1147,20 +1148,28 @@ configurationRegistry.registerConfiguration({
|
|
|
1147
1148
|
},
|
|
1148
1149
|
[NotebookSetting.notebookVariablesView]: {
|
|
1149
1150
|
markdownDescription: ( localize(
|
|
1150
|
-
|
|
1151
|
+
7795,
|
|
1151
1152
|
"Enable the experimental notebook variables view within the debug panel."
|
|
1152
1153
|
)),
|
|
1153
1154
|
type: 'boolean',
|
|
1154
1155
|
default: false
|
|
1155
1156
|
},
|
|
1157
|
+
[NotebookSetting.notebookInlineValues]: {
|
|
1158
|
+
markdownDescription: ( localize(
|
|
1159
|
+
7796,
|
|
1160
|
+
"Enable the showing of 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. "
|
|
1161
|
+
)),
|
|
1162
|
+
type: 'boolean',
|
|
1163
|
+
default: false
|
|
1164
|
+
},
|
|
1156
1165
|
[NotebookSetting.cellFailureDiagnostics]: {
|
|
1157
|
-
markdownDescription: ( localize(
|
|
1166
|
+
markdownDescription: ( localize(7797, "Show available diagnostics for cell failures.")),
|
|
1158
1167
|
type: 'boolean',
|
|
1159
1168
|
default: true
|
|
1160
1169
|
},
|
|
1161
1170
|
[NotebookSetting.outputBackupSizeLimit]: {
|
|
1162
1171
|
markdownDescription: ( localize(
|
|
1163
|
-
|
|
1172
|
+
7798,
|
|
1164
1173
|
"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."
|
|
1165
1174
|
)),
|
|
1166
1175
|
type: 'number',
|
|
@@ -1168,12 +1177,21 @@ configurationRegistry.registerConfiguration({
|
|
|
1168
1177
|
},
|
|
1169
1178
|
[NotebookSetting.multiCursor]: {
|
|
1170
1179
|
markdownDescription: ( localize(
|
|
1171
|
-
|
|
1180
|
+
7799,
|
|
1172
1181
|
"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."
|
|
1173
1182
|
)),
|
|
1174
1183
|
type: 'boolean',
|
|
1175
1184
|
default: false
|
|
1176
1185
|
},
|
|
1186
|
+
[NotebookSetting.markupFontFamily]: {
|
|
1187
|
+
markdownDescription: ( localize(
|
|
1188
|
+
7800,
|
|
1189
|
+
"Controls the font family of rendered markup in notebooks. When left blank, this will fall back to the default workbench font family."
|
|
1190
|
+
)),
|
|
1191
|
+
type: 'string',
|
|
1192
|
+
default: '',
|
|
1193
|
+
tags: ['notebookLayout']
|
|
1194
|
+
},
|
|
1177
1195
|
}
|
|
1178
1196
|
});
|
|
1179
1197
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ServicesAccessor } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
2
|
-
import {
|
|
2
|
+
import { IAccessibleViewImplementation } from "@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleViewRegistry";
|
|
3
3
|
import { AccessibleViewType, AccessibleContentProvider } from "@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleView";
|
|
4
|
-
export declare class NotebookAccessibilityHelp implements
|
|
4
|
+
export declare class NotebookAccessibilityHelp implements IAccessibleViewImplementation {
|
|
5
5
|
readonly priority = 105;
|
|
6
6
|
readonly name = "notebook";
|
|
7
7
|
readonly when: import("@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey").ContextKeyExpression | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { NOTEBOOK_EDITOR_FOCUSED, IS_COMPOSITE_NOTEBOOK } from '@codingame/monaco-vscode-
|
|
2
|
+
import { NOTEBOOK_EDITOR_FOCUSED, IS_COMPOSITE_NOTEBOOK } from '@codingame/monaco-vscode-771c2e6d-0284-5ac1-be73-7176085eedc5-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
|
|
3
3
|
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
4
4
|
import { AccessibleViewType, AccessibleContentProvider, AccessibleViewProviderId } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleView';
|
|
5
5
|
import { AccessibilityVerbositySettingId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration';
|
|
@@ -27,51 +27,51 @@ class NotebookAccessibilityHelp {
|
|
|
27
27
|
function getAccessibilityHelpText() {
|
|
28
28
|
return [
|
|
29
29
|
( localize(
|
|
30
|
-
|
|
30
|
+
7801,
|
|
31
31
|
'The notebook view is a collection of code and markdown cells. Code cells can be executed and will produce output directly below the cell.'
|
|
32
32
|
)),
|
|
33
33
|
( localize(
|
|
34
|
-
|
|
34
|
+
7802,
|
|
35
35
|
'The Edit Cell command{0} will focus on the cell input.',
|
|
36
36
|
'<keybinding:notebook.cell.edit>'
|
|
37
37
|
)),
|
|
38
38
|
( localize(
|
|
39
|
-
|
|
39
|
+
7803,
|
|
40
40
|
'The Quit Edit command{0} will set focus on the cell container. The default (Escape) key may need to be pressed twice first exit the virtual cursor if active.',
|
|
41
41
|
'<keybinding:notebook.cell.quitEdit>'
|
|
42
42
|
)),
|
|
43
43
|
( localize(
|
|
44
|
-
|
|
44
|
+
7804,
|
|
45
45
|
'The Focus Output command{0} will set focus in the cell\'s output.',
|
|
46
46
|
'<keybinding:notebook.cell.focusInOutput>'
|
|
47
47
|
)),
|
|
48
48
|
( localize(
|
|
49
|
-
|
|
49
|
+
7805,
|
|
50
50
|
'The Focus Next Cell Editor command{0} will set focus in the next cell\'s editor.',
|
|
51
51
|
'<keybinding:notebook.focusNextEditor>'
|
|
52
52
|
)),
|
|
53
53
|
( localize(
|
|
54
|
-
|
|
54
|
+
7806,
|
|
55
55
|
'The Focus Previous Cell Editor command{0} will set focus in the previous cell\'s editor.',
|
|
56
56
|
'<keybinding:notebook.focusPreviousEditor>'
|
|
57
57
|
)),
|
|
58
58
|
( localize(
|
|
59
|
-
|
|
59
|
+
7807,
|
|
60
60
|
'The up and down arrows will also move focus between cells while focused on the outer cell container.'
|
|
61
61
|
)),
|
|
62
62
|
( localize(
|
|
63
|
-
|
|
63
|
+
7808,
|
|
64
64
|
'The Execute Cell command{0} executes the cell that currently has focus.',
|
|
65
65
|
'<keybinding:notebook.cell.executeAndFocusContainer>'
|
|
66
66
|
)),
|
|
67
67
|
( localize(
|
|
68
|
-
|
|
68
|
+
7809,
|
|
69
69
|
'The Insert Cell Above{0} and Below{1} commands will create new empty code cells.',
|
|
70
70
|
'<keybinding:notebook.cell.insertCodeCellAbove>',
|
|
71
71
|
'<keybinding:notebook.cell.insertCodeCellBelow>'
|
|
72
72
|
)),
|
|
73
73
|
( localize(
|
|
74
|
-
|
|
74
|
+
7810,
|
|
75
75
|
'The Change Cell to Code/Markdown commands are used to switch between cell types.'
|
|
76
76
|
))
|
|
77
77
|
].join('\n');
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AccessibleViewType, AccessibleContentProvider } from "@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleView";
|
|
2
|
-
import {
|
|
2
|
+
import { IAccessibleViewImplementation } from "@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleViewRegistry";
|
|
3
3
|
import { ServicesAccessor } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
4
4
|
import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
5
|
-
export declare class NotebookAccessibleView implements
|
|
5
|
+
export declare class NotebookAccessibleView implements IAccessibleViewImplementation {
|
|
6
6
|
readonly priority = 100;
|
|
7
7
|
readonly name = "notebook";
|
|
8
8
|
readonly type = AccessibleViewType.View;
|