@codingame/monaco-vscode-notebook-service-override 10.1.4 → 11.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 +8 -3
- 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 +24 -24
- 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 +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.js +3 -3
- 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 +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +14 -13
- 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 +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +1 -1
- 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 +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +15 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +14 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +5 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +18 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +10 -10
- 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 +12 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/viewportWarmup/viewportWarmup.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +31 -31
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +13 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +28 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +28 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +27 -27
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +18 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/variablesActions.js +56 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +79 -78
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +33 -33
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookSimpleWorker.js +46 -37
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +12 -12
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +1 -1
- package/workers/notebook.worker.js +1 -1
- /package/vscode/src/vs/workbench/contrib/notebook/common/services/{notebookSimpleWorker.esm.js → notebookSimpleWorkerMain.js} +0 -0
|
@@ -25,13 +25,13 @@ import { NotebookSetting, CellUri, CellKind, NotebookCellsChangeType, NotebookMe
|
|
|
25
25
|
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
26
26
|
import { IUndoRedoService } from 'vscode/vscode/vs/platform/undoRedo/common/undoRedo.service';
|
|
27
27
|
import { INotebookEditorModelResolverService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookEditorModelResolverService.service';
|
|
28
|
-
import { NotebookDiffEditorInput } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookDiffEditorInput';
|
|
29
|
-
import { NotebookTextDiffEditor } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor';
|
|
28
|
+
import { NotebookDiffEditorInput } from '@codingame/monaco-vscode-chat-notebook-common/vscode/vs/workbench/contrib/notebook/common/notebookDiffEditorInput';
|
|
29
|
+
import { NotebookTextDiffEditor } from '@codingame/monaco-vscode-chat-notebook-common/vscode/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor';
|
|
30
30
|
import './services/notebookWorkerServiceImpl.js';
|
|
31
31
|
import { Event } from 'vscode/vscode/vs/base/common/event';
|
|
32
32
|
import './services/notebookEditorServiceImpl.js';
|
|
33
33
|
import { Extensions } from 'vscode/vscode/vs/platform/jsonschemas/common/jsonContributionRegistry';
|
|
34
|
-
import { getStreamOutputData, getFormattedOutputJSON } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel';
|
|
34
|
+
import { getStreamOutputData, getFormattedOutputJSON } from '@codingame/monaco-vscode-chat-notebook-common/vscode/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel';
|
|
35
35
|
import '../common/notebookEditorModelResolverServiceImpl.js';
|
|
36
36
|
import './services/notebookKernelServiceImpl.js';
|
|
37
37
|
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
@@ -40,16 +40,17 @@ import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/c
|
|
|
40
40
|
import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label.service';
|
|
41
41
|
import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
|
|
42
42
|
import './services/notebookRendererMessagingServiceImpl.js';
|
|
43
|
-
import 'vscode/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
|
|
43
|
+
import '@codingame/monaco-vscode-chat-interactive-notebook-search-common/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
|
|
44
44
|
import './controller/insertCellActions.js';
|
|
45
45
|
import './controller/executeActions.js';
|
|
46
46
|
import './controller/sectionActions.js';
|
|
47
47
|
import './controller/layoutActions.js';
|
|
48
48
|
import './controller/editActions.js';
|
|
49
|
-
import 'vscode/vscode/vs/workbench/contrib/notebook/browser/controller/cellOutputActions';
|
|
49
|
+
import '@codingame/monaco-vscode-chat-interactive-notebook-search-common/vscode/vs/workbench/contrib/notebook/browser/controller/cellOutputActions';
|
|
50
50
|
import './controller/apiActions.js';
|
|
51
|
-
import 'vscode/vscode/vs/workbench/contrib/notebook/browser/controller/foldingController';
|
|
51
|
+
import '@codingame/monaco-vscode-chat-interactive-notebook-search-common/vscode/vs/workbench/contrib/notebook/browser/controller/foldingController';
|
|
52
52
|
import './controller/chat/notebook.chat.contribution.js';
|
|
53
|
+
import './controller/variablesActions.js';
|
|
53
54
|
import './contrib/editorHint/emptyCellEditorHint.js';
|
|
54
55
|
import './contrib/clipboard/notebookClipboard.js';
|
|
55
56
|
import './contrib/find/notebookFind.js';
|
|
@@ -85,7 +86,7 @@ import './services/notebookExecutionServiceImpl.js';
|
|
|
85
86
|
import './services/notebookKeymapServiceImpl.js';
|
|
86
87
|
import { PLAINTEXT_LANGUAGE_ID } from 'vscode/vscode/vs/editor/common/languages/modesRegistry';
|
|
87
88
|
import { ILanguageFeaturesService } from 'vscode/vscode/vs/editor/common/services/languageFeatures';
|
|
88
|
-
import { COMMENTEDITOR_DECORATION_KEY } from 'vscode/vscode/vs/workbench/contrib/comments/browser/commentReply';
|
|
89
|
+
import { COMMENTEDITOR_DECORATION_KEY } from '@codingame/monaco-vscode-chat-comments-extensions-interactive-notebook-search-common/vscode/vs/workbench/contrib/comments/browser/commentReply';
|
|
89
90
|
import { ICodeEditorService } from 'vscode/vscode/vs/editor/browser/services/codeEditorService';
|
|
90
91
|
import './services/notebookKernelHistoryServiceImpl.js';
|
|
91
92
|
import './services/notebookLoggingServiceImpl.js';
|
|
@@ -95,23 +96,23 @@ import { AccessibleViewRegistry } from 'vscode/vscode/vs/platform/accessibility/
|
|
|
95
96
|
import { NotebookAccessibilityHelp } from './notebookAccessibilityHelp.js';
|
|
96
97
|
import { NotebookAccessibleView } from './notebookAccessibleView.js';
|
|
97
98
|
import { DefaultFormatter } from 'vscode/vscode/vs/workbench/contrib/format/browser/formatActionsMultiple';
|
|
98
|
-
import { NotebookMultiTextDiffEditor } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor';
|
|
99
|
-
import { NotebookMultiDiffEditorInput } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditorInput';
|
|
100
|
-
import { getFormattedMetadataJSON } from 'vscode/vscode/vs/workbench/contrib/notebook/common/model/notebookCellTextModel';
|
|
99
|
+
import { NotebookMultiTextDiffEditor } from '@codingame/monaco-vscode-chat-notebook-common/vscode/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor';
|
|
100
|
+
import { NotebookMultiDiffEditorInput } from '@codingame/monaco-vscode-chat-notebook-common/vscode/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditorInput';
|
|
101
|
+
import { getFormattedMetadataJSON } from '@codingame/monaco-vscode-chat-interactive-notebook-search-common/vscode/vs/workbench/contrib/notebook/common/model/notebookCellTextModel';
|
|
102
|
+
import 'vscode/vscode/vs/base/common/filters';
|
|
103
|
+
import 'vscode/vscode/vs/base/common/strings';
|
|
104
|
+
import 'vscode/vscode/vs/base/common/themables';
|
|
101
105
|
import 'vscode/vscode/vs/base/browser/dom';
|
|
102
106
|
import 'vscode/vscode/vs/base/browser/dompurify/dompurify';
|
|
103
107
|
import 'vscode/vscode/vs/base/browser/browser';
|
|
104
108
|
import 'vscode/vscode/vs/base/common/keyCodes';
|
|
105
109
|
import 'vscode/vscode/vs/base/common/platform';
|
|
106
|
-
import 'vscode/vscode/vs/base/common/themables';
|
|
107
|
-
import 'vscode/vscode/vs/base/common/filters';
|
|
108
|
-
import 'vscode/vscode/vs/base/common/strings';
|
|
109
110
|
import 'vscode/vscode/vs/editor/contrib/documentSymbols/browser/outlineModel';
|
|
110
111
|
import 'vscode/vscode/vs/base/common/codicons';
|
|
111
112
|
import 'vscode/vscode/vs/platform/markers/common/markers';
|
|
112
|
-
import 'vscode/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
|
|
113
|
+
import '@codingame/monaco-vscode-chat-interactive-notebook-search-common/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
|
|
113
114
|
import 'vscode/vscode/vs/editor/common/languages';
|
|
114
|
-
import { getFormattedNotebookMetadataJSON } from 'vscode/vscode/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel';
|
|
115
|
+
import { getFormattedNotebookMetadataJSON } from '@codingame/monaco-vscode-chat-notebook-common/vscode/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel';
|
|
115
116
|
|
|
116
117
|
var NotebookContribution_1;
|
|
117
118
|
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(NotebookEditor, NotebookEditor.ID, 'Notebook Editor'), [
|
|
@@ -725,7 +726,7 @@ for (const editorOption of editorOptionsRegistry) {
|
|
|
725
726
|
}
|
|
726
727
|
const editorOptionsCustomizationSchema = {
|
|
727
728
|
description: ( localize(
|
|
728
|
-
|
|
729
|
+
3299,
|
|
729
730
|
'Settings for code editors used in notebooks. This can be used to customize most editor.* settings.'
|
|
730
731
|
)),
|
|
731
732
|
default: {},
|
|
@@ -740,11 +741,11 @@ const configurationRegistry = ( (Registry.as(Extensions$2.Configuration)));
|
|
|
740
741
|
configurationRegistry.registerConfiguration({
|
|
741
742
|
id: 'notebook',
|
|
742
743
|
order: 100,
|
|
743
|
-
title: ( localize(
|
|
744
|
+
title: ( localize(3300, "Notebook")),
|
|
744
745
|
type: 'object',
|
|
745
746
|
properties: {
|
|
746
747
|
[NotebookSetting.displayOrder]: {
|
|
747
|
-
description: ( localize(
|
|
748
|
+
description: ( localize(3301, "Priority list for output mime types")),
|
|
748
749
|
type: 'array',
|
|
749
750
|
items: {
|
|
750
751
|
type: 'string'
|
|
@@ -753,12 +754,12 @@ configurationRegistry.registerConfiguration({
|
|
|
753
754
|
},
|
|
754
755
|
[NotebookSetting.cellToolbarLocation]: {
|
|
755
756
|
description: ( localize(
|
|
756
|
-
|
|
757
|
+
3302,
|
|
757
758
|
"Where the cell toolbar should be shown, or whether it should be hidden."
|
|
758
759
|
)),
|
|
759
760
|
type: 'object',
|
|
760
761
|
additionalProperties: {
|
|
761
|
-
markdownDescription: ( localize(
|
|
762
|
+
markdownDescription: ( localize(3303, "Configure the cell toolbar position for for specific file types")),
|
|
762
763
|
type: 'string',
|
|
763
764
|
enum: ['left', 'right', 'hidden']
|
|
764
765
|
},
|
|
@@ -768,14 +769,14 @@ configurationRegistry.registerConfiguration({
|
|
|
768
769
|
tags: ['notebookLayout']
|
|
769
770
|
},
|
|
770
771
|
[NotebookSetting.showCellStatusBar]: {
|
|
771
|
-
description: ( localize(
|
|
772
|
+
description: ( localize(3304, "Whether the cell status bar should be shown.")),
|
|
772
773
|
type: 'string',
|
|
773
774
|
enum: ['hidden', 'visible', 'visibleAfterExecute'],
|
|
774
775
|
enumDescriptions: [
|
|
775
|
-
( localize(
|
|
776
|
-
( localize(
|
|
776
|
+
( localize(3305, "The cell Status bar is always hidden.")),
|
|
777
|
+
( localize(3306, "The cell Status bar is always visible.")),
|
|
777
778
|
( localize(
|
|
778
|
-
|
|
779
|
+
3307,
|
|
779
780
|
"The cell Status bar is hidden until the cell has executed. Then it becomes visible to show the execution status."
|
|
780
781
|
))
|
|
781
782
|
],
|
|
@@ -783,14 +784,14 @@ configurationRegistry.registerConfiguration({
|
|
|
783
784
|
tags: ['notebookLayout']
|
|
784
785
|
},
|
|
785
786
|
[NotebookSetting.textDiffEditorPreview]: {
|
|
786
|
-
description: ( localize(
|
|
787
|
+
description: ( localize(3308, "Whether to use the enhanced text diff editor for notebook.")),
|
|
787
788
|
type: 'boolean',
|
|
788
789
|
default: true,
|
|
789
790
|
tags: ['notebookLayout']
|
|
790
791
|
},
|
|
791
792
|
[NotebookSetting.diffOverviewRuler]: {
|
|
792
793
|
description: ( localize(
|
|
793
|
-
|
|
794
|
+
3309,
|
|
794
795
|
"Whether to render the overview ruler in the diff editor for notebook."
|
|
795
796
|
)),
|
|
796
797
|
type: 'boolean',
|
|
@@ -798,21 +799,21 @@ configurationRegistry.registerConfiguration({
|
|
|
798
799
|
tags: ['notebookLayout']
|
|
799
800
|
},
|
|
800
801
|
[NotebookSetting.cellToolbarVisibility]: {
|
|
801
|
-
markdownDescription: ( localize(
|
|
802
|
+
markdownDescription: ( localize(3310, "Whether the cell toolbar should appear on hover or click.")),
|
|
802
803
|
type: 'string',
|
|
803
804
|
enum: ['hover', 'click'],
|
|
804
805
|
default: 'click',
|
|
805
806
|
tags: ['notebookLayout']
|
|
806
807
|
},
|
|
807
808
|
[NotebookSetting.undoRedoPerCell]: {
|
|
808
|
-
description: ( localize(
|
|
809
|
+
description: ( localize(3311, "Whether to use separate undo/redo stack for each cell.")),
|
|
809
810
|
type: 'boolean',
|
|
810
811
|
default: true,
|
|
811
812
|
tags: ['notebookLayout']
|
|
812
813
|
},
|
|
813
814
|
[NotebookSetting.compactView]: {
|
|
814
815
|
description: ( localize(
|
|
815
|
-
|
|
816
|
+
3312,
|
|
816
817
|
"Control whether the notebook editor should be rendered in a compact form. For example, when turned on, it will decrease the left margin width."
|
|
817
818
|
)),
|
|
818
819
|
type: 'boolean',
|
|
@@ -821,7 +822,7 @@ configurationRegistry.registerConfiguration({
|
|
|
821
822
|
},
|
|
822
823
|
[NotebookSetting.focusIndicator]: {
|
|
823
824
|
description: ( localize(
|
|
824
|
-
|
|
825
|
+
3313,
|
|
825
826
|
"Controls where the focus indicator is rendered, either along the cell borders or on the left gutter."
|
|
826
827
|
)),
|
|
827
828
|
type: 'string',
|
|
@@ -830,21 +831,21 @@ configurationRegistry.registerConfiguration({
|
|
|
830
831
|
tags: ['notebookLayout']
|
|
831
832
|
},
|
|
832
833
|
[NotebookSetting.insertToolbarLocation]: {
|
|
833
|
-
description: ( localize(
|
|
834
|
+
description: ( localize(3314, "Control where the insert cell actions should appear.")),
|
|
834
835
|
type: 'string',
|
|
835
836
|
enum: ['betweenCells', 'notebookToolbar', 'both', 'hidden'],
|
|
836
837
|
enumDescriptions: [
|
|
837
|
-
( localize(
|
|
838
|
-
( localize(
|
|
839
|
-
( localize(
|
|
840
|
-
( localize(
|
|
838
|
+
( localize(3315, "A toolbar that appears on hover between cells.")),
|
|
839
|
+
( localize(3316, "The toolbar at the top of the notebook editor.")),
|
|
840
|
+
( localize(3317, "Both toolbars.")),
|
|
841
|
+
( localize(3318, "The insert actions don't appear anywhere.")),
|
|
841
842
|
],
|
|
842
843
|
default: 'both',
|
|
843
844
|
tags: ['notebookLayout']
|
|
844
845
|
},
|
|
845
846
|
[NotebookSetting.globalToolbar]: {
|
|
846
847
|
description: ( localize(
|
|
847
|
-
|
|
848
|
+
3319,
|
|
848
849
|
"Control whether to render a global toolbar inside the notebook editor."
|
|
849
850
|
)),
|
|
850
851
|
type: 'boolean',
|
|
@@ -853,7 +854,7 @@ configurationRegistry.registerConfiguration({
|
|
|
853
854
|
},
|
|
854
855
|
[NotebookSetting.stickyScrollEnabled]: {
|
|
855
856
|
description: ( localize(
|
|
856
|
-
|
|
857
|
+
3320,
|
|
857
858
|
"Experimental. Control whether to render notebook Sticky Scroll headers in the notebook editor."
|
|
858
859
|
)),
|
|
859
860
|
type: 'boolean',
|
|
@@ -862,21 +863,21 @@ configurationRegistry.registerConfiguration({
|
|
|
862
863
|
},
|
|
863
864
|
[NotebookSetting.stickyScrollMode]: {
|
|
864
865
|
description: ( localize(
|
|
865
|
-
|
|
866
|
+
3321,
|
|
866
867
|
"Control whether nested sticky lines appear to stack flat or indented."
|
|
867
868
|
)),
|
|
868
869
|
type: 'string',
|
|
869
870
|
enum: ['flat', 'indented'],
|
|
870
871
|
enumDescriptions: [
|
|
871
|
-
( localize(
|
|
872
|
-
( localize(
|
|
872
|
+
( localize(3322, "Nested sticky lines appear flat.")),
|
|
873
|
+
( localize(3323, "Nested sticky lines appear indented.")),
|
|
873
874
|
],
|
|
874
875
|
default: 'indented',
|
|
875
876
|
tags: ['notebookLayout']
|
|
876
877
|
},
|
|
877
878
|
[NotebookSetting.consolidatedOutputButton]: {
|
|
878
879
|
description: ( localize(
|
|
879
|
-
|
|
880
|
+
3324,
|
|
880
881
|
"Control whether outputs action should be rendered in the output toolbar."
|
|
881
882
|
)),
|
|
882
883
|
type: 'boolean',
|
|
@@ -884,20 +885,20 @@ configurationRegistry.registerConfiguration({
|
|
|
884
885
|
tags: ['notebookLayout']
|
|
885
886
|
},
|
|
886
887
|
[NotebookSetting.showFoldingControls]: {
|
|
887
|
-
description: ( localize(
|
|
888
|
+
description: ( localize(3325, "Controls when the Markdown header folding arrow is shown.")),
|
|
888
889
|
type: 'string',
|
|
889
890
|
enum: ['always', 'never', 'mouseover'],
|
|
890
891
|
enumDescriptions: [
|
|
891
|
-
( localize(
|
|
892
|
-
( localize(
|
|
893
|
-
( localize(
|
|
892
|
+
( localize(3326, "The folding controls are always visible.")),
|
|
893
|
+
( localize(3327, "Never show the folding controls and reduce the gutter size.")),
|
|
894
|
+
( localize(3328, "The folding controls are visible only on mouseover.")),
|
|
894
895
|
],
|
|
895
896
|
default: 'mouseover',
|
|
896
897
|
tags: ['notebookLayout']
|
|
897
898
|
},
|
|
898
899
|
[NotebookSetting.dragAndDropEnabled]: {
|
|
899
900
|
description: ( localize(
|
|
900
|
-
|
|
901
|
+
3329,
|
|
901
902
|
"Control whether the notebook editor should allow moving cells through drag and drop."
|
|
902
903
|
)),
|
|
903
904
|
type: 'boolean',
|
|
@@ -906,7 +907,7 @@ configurationRegistry.registerConfiguration({
|
|
|
906
907
|
},
|
|
907
908
|
[NotebookSetting.consolidatedRunButton]: {
|
|
908
909
|
description: ( localize(
|
|
909
|
-
|
|
910
|
+
3330,
|
|
910
911
|
"Control whether extra actions are shown in a dropdown next to the run button."
|
|
911
912
|
)),
|
|
912
913
|
type: 'boolean',
|
|
@@ -915,7 +916,7 @@ configurationRegistry.registerConfiguration({
|
|
|
915
916
|
},
|
|
916
917
|
[NotebookSetting.globalToolbarShowLabel]: {
|
|
917
918
|
description: ( localize(
|
|
918
|
-
|
|
919
|
+
3331,
|
|
919
920
|
"Control whether the actions on the notebook toolbar should render label or not."
|
|
920
921
|
)),
|
|
921
922
|
type: 'string',
|
|
@@ -925,7 +926,7 @@ configurationRegistry.registerConfiguration({
|
|
|
925
926
|
},
|
|
926
927
|
[NotebookSetting.textOutputLineLimit]: {
|
|
927
928
|
markdownDescription: ( localize(
|
|
928
|
-
|
|
929
|
+
3332,
|
|
929
930
|
"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.",
|
|
930
931
|
'`#notebook.output.scrolling#`'
|
|
931
932
|
)),
|
|
@@ -936,7 +937,7 @@ configurationRegistry.registerConfiguration({
|
|
|
936
937
|
},
|
|
937
938
|
[NotebookSetting.LinkifyOutputFilePaths]: {
|
|
938
939
|
description: ( localize(
|
|
939
|
-
|
|
940
|
+
3333,
|
|
940
941
|
"Control whether to disable filepath links in the output of notebook cells."
|
|
941
942
|
)),
|
|
942
943
|
type: 'boolean',
|
|
@@ -944,14 +945,14 @@ configurationRegistry.registerConfiguration({
|
|
|
944
945
|
tags: ['notebookOutputLayout']
|
|
945
946
|
},
|
|
946
947
|
[NotebookSetting.minimalErrorRendering]: {
|
|
947
|
-
description: ( localize(
|
|
948
|
+
description: ( localize(3334, "Control whether to render error output in a minimal style.")),
|
|
948
949
|
type: 'boolean',
|
|
949
950
|
default: false,
|
|
950
951
|
tags: ['notebookOutputLayout']
|
|
951
952
|
},
|
|
952
953
|
[NotebookSetting.markupFontSize]: {
|
|
953
954
|
markdownDescription: ( localize(
|
|
954
|
-
|
|
955
|
+
3335,
|
|
955
956
|
"Controls the font size in pixels of rendered markup in notebooks. When set to {0}, 120% of {1} is used.",
|
|
956
957
|
'`0`',
|
|
957
958
|
'`#editor.fontSize#`'
|
|
@@ -962,7 +963,7 @@ configurationRegistry.registerConfiguration({
|
|
|
962
963
|
},
|
|
963
964
|
[NotebookSetting.markdownLineHeight]: {
|
|
964
965
|
markdownDescription: ( localize(
|
|
965
|
-
|
|
966
|
+
3336,
|
|
966
967
|
"Controls the line height in pixels of markdown cells in notebooks. When set to {0}, {1} will be used",
|
|
967
968
|
'`0`',
|
|
968
969
|
'`normal`'
|
|
@@ -974,7 +975,7 @@ configurationRegistry.registerConfiguration({
|
|
|
974
975
|
[NotebookSetting.cellEditorOptionsCustomizations]: editorOptionsCustomizationSchema,
|
|
975
976
|
[NotebookSetting.interactiveWindowCollapseCodeCells]: {
|
|
976
977
|
markdownDescription: ( localize(
|
|
977
|
-
|
|
978
|
+
3337,
|
|
978
979
|
"Controls whether code cells in the interactive window are collapsed by default."
|
|
979
980
|
)),
|
|
980
981
|
type: 'string',
|
|
@@ -983,7 +984,7 @@ configurationRegistry.registerConfiguration({
|
|
|
983
984
|
},
|
|
984
985
|
[NotebookSetting.outputLineHeight]: {
|
|
985
986
|
markdownDescription: ( localize(
|
|
986
|
-
|
|
987
|
+
3338,
|
|
987
988
|
"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."
|
|
988
989
|
)),
|
|
989
990
|
type: 'number',
|
|
@@ -992,7 +993,7 @@ configurationRegistry.registerConfiguration({
|
|
|
992
993
|
},
|
|
993
994
|
[NotebookSetting.outputFontSize]: {
|
|
994
995
|
markdownDescription: ( localize(
|
|
995
|
-
|
|
996
|
+
3339,
|
|
996
997
|
"Font size for the output text within notebook cells. When set to 0, {0} is used.",
|
|
997
998
|
'`#editor.fontSize#`'
|
|
998
999
|
)),
|
|
@@ -1002,7 +1003,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1002
1003
|
},
|
|
1003
1004
|
[NotebookSetting.outputFontFamily]: {
|
|
1004
1005
|
markdownDescription: ( localize(
|
|
1005
|
-
|
|
1006
|
+
3340,
|
|
1006
1007
|
"The font family of the output text within notebook cells. When set to empty, the {0} is used.",
|
|
1007
1008
|
'`#editor.fontFamily#`'
|
|
1008
1009
|
)),
|
|
@@ -1011,7 +1012,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1011
1012
|
},
|
|
1012
1013
|
[NotebookSetting.outputScrolling]: {
|
|
1013
1014
|
markdownDescription: ( localize(
|
|
1014
|
-
|
|
1015
|
+
3341,
|
|
1015
1016
|
"Initially render notebook outputs in a scrollable region when longer than the limit."
|
|
1016
1017
|
)),
|
|
1017
1018
|
type: 'boolean',
|
|
@@ -1019,14 +1020,14 @@ configurationRegistry.registerConfiguration({
|
|
|
1019
1020
|
default: typeof product$1.quality === 'string' && product$1.quality !== 'stable'
|
|
1020
1021
|
},
|
|
1021
1022
|
[NotebookSetting.outputWordWrap]: {
|
|
1022
|
-
markdownDescription: ( localize(
|
|
1023
|
+
markdownDescription: ( localize(3342, "Controls whether the lines in output should wrap.")),
|
|
1023
1024
|
type: 'boolean',
|
|
1024
1025
|
tags: ['notebookLayout', 'notebookOutputLayout'],
|
|
1025
1026
|
default: false
|
|
1026
1027
|
},
|
|
1027
1028
|
[NotebookSetting.defaultFormatter]: {
|
|
1028
1029
|
description: ( localize(
|
|
1029
|
-
|
|
1030
|
+
3343,
|
|
1030
1031
|
"Defines a default notebook formatter which takes precedence over all other formatter settings. Must be the identifier of an extension contributing a formatter."
|
|
1031
1032
|
)),
|
|
1032
1033
|
type: ['string', 'null'],
|
|
@@ -1037,8 +1038,9 @@ configurationRegistry.registerConfiguration({
|
|
|
1037
1038
|
},
|
|
1038
1039
|
[NotebookSetting.formatOnSave]: {
|
|
1039
1040
|
markdownDescription: ( localize(
|
|
1040
|
-
|
|
1041
|
-
"Format a notebook on save. A formatter must be available
|
|
1041
|
+
3344,
|
|
1042
|
+
"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.",
|
|
1043
|
+
'`#files.autoSave#`'
|
|
1042
1044
|
)),
|
|
1043
1045
|
type: 'boolean',
|
|
1044
1046
|
tags: ['notebookLayout'],
|
|
@@ -1046,7 +1048,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1046
1048
|
},
|
|
1047
1049
|
[NotebookSetting.insertFinalNewline]: {
|
|
1048
1050
|
markdownDescription: ( localize(
|
|
1049
|
-
|
|
1051
|
+
3345,
|
|
1050
1052
|
"When enabled, insert a final new line into the end of code cells when saving a notebook."
|
|
1051
1053
|
)),
|
|
1052
1054
|
type: 'boolean',
|
|
@@ -1055,7 +1057,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1055
1057
|
},
|
|
1056
1058
|
[NotebookSetting.formatOnCellExecution]: {
|
|
1057
1059
|
markdownDescription: ( localize(
|
|
1058
|
-
|
|
1060
|
+
3346,
|
|
1059
1061
|
"Format a notebook cell upon execution. A formatter must be available."
|
|
1060
1062
|
)),
|
|
1061
1063
|
type: 'boolean',
|
|
@@ -1063,7 +1065,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1063
1065
|
},
|
|
1064
1066
|
[NotebookSetting.confirmDeleteRunningCell]: {
|
|
1065
1067
|
markdownDescription: ( localize(
|
|
1066
|
-
|
|
1068
|
+
3347,
|
|
1067
1069
|
"Control whether a confirmation prompt is required to delete a running cell."
|
|
1068
1070
|
)),
|
|
1069
1071
|
type: 'boolean',
|
|
@@ -1071,7 +1073,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1071
1073
|
},
|
|
1072
1074
|
[NotebookSetting.findFilters]: {
|
|
1073
1075
|
markdownDescription: ( localize(
|
|
1074
|
-
|
|
1076
|
+
3348,
|
|
1075
1077
|
"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."
|
|
1076
1078
|
)),
|
|
1077
1079
|
type: 'object',
|
|
@@ -1103,7 +1105,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1103
1105
|
},
|
|
1104
1106
|
[NotebookSetting.remoteSaving]: {
|
|
1105
1107
|
markdownDescription: ( localize(
|
|
1106
|
-
|
|
1108
|
+
3349,
|
|
1107
1109
|
"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."
|
|
1108
1110
|
)),
|
|
1109
1111
|
type: 'boolean',
|
|
@@ -1112,44 +1114,43 @@ configurationRegistry.registerConfiguration({
|
|
|
1112
1114
|
},
|
|
1113
1115
|
[NotebookSetting.scrollToRevealCell]: {
|
|
1114
1116
|
markdownDescription: ( localize(
|
|
1115
|
-
|
|
1117
|
+
3350,
|
|
1116
1118
|
"How far to scroll when revealing the next cell upon running {0}.",
|
|
1117
1119
|
'notebook.cell.executeAndSelectBelow'
|
|
1118
1120
|
)),
|
|
1119
1121
|
type: 'string',
|
|
1120
1122
|
enum: ['fullCell', 'firstLine', 'none'],
|
|
1121
1123
|
markdownEnumDescriptions: [
|
|
1122
|
-
( localize(
|
|
1123
|
-
( localize(
|
|
1124
|
-
( localize(
|
|
1124
|
+
( localize(3351, 'Scroll to fully reveal the next cell.')),
|
|
1125
|
+
( localize(3352, 'Scroll to reveal the first line of the next cell.')),
|
|
1126
|
+
( localize(3353, 'Do not scroll.')),
|
|
1125
1127
|
],
|
|
1126
1128
|
default: 'fullCell'
|
|
1127
1129
|
},
|
|
1128
1130
|
[NotebookSetting.cellGenerate]: {
|
|
1129
1131
|
markdownDescription: ( localize(
|
|
1130
|
-
|
|
1132
|
+
3354,
|
|
1131
1133
|
"Enable experimental generate action to create code cell with inline chat enabled."
|
|
1132
1134
|
)),
|
|
1133
1135
|
type: 'boolean',
|
|
1134
|
-
default:
|
|
1135
|
-
tags: ['experimental']
|
|
1136
|
+
default: true
|
|
1136
1137
|
},
|
|
1137
1138
|
[NotebookSetting.notebookVariablesView]: {
|
|
1138
1139
|
markdownDescription: ( localize(
|
|
1139
|
-
|
|
1140
|
+
3355,
|
|
1140
1141
|
"Enable the experimental notebook variables view within the debug panel."
|
|
1141
1142
|
)),
|
|
1142
1143
|
type: 'boolean',
|
|
1143
1144
|
default: false
|
|
1144
1145
|
},
|
|
1145
1146
|
[NotebookSetting.cellFailureDiagnostics]: {
|
|
1146
|
-
markdownDescription: ( localize(
|
|
1147
|
+
markdownDescription: ( localize(3356, "Show available diagnostics for cell failures.")),
|
|
1147
1148
|
type: 'boolean',
|
|
1148
1149
|
default: true
|
|
1149
1150
|
},
|
|
1150
1151
|
[NotebookSetting.outputBackupSizeLimit]: {
|
|
1151
1152
|
markdownDescription: ( localize(
|
|
1152
|
-
|
|
1153
|
+
3357,
|
|
1153
1154
|
"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."
|
|
1154
1155
|
)),
|
|
1155
1156
|
type: 'number',
|
|
@@ -1157,7 +1158,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1157
1158
|
},
|
|
1158
1159
|
[NotebookSetting.multiCursor]: {
|
|
1159
1160
|
markdownDescription: ( localize(
|
|
1160
|
-
|
|
1161
|
+
3358,
|
|
1161
1162
|
"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."
|
|
1162
1163
|
)),
|
|
1163
1164
|
type: 'boolean',
|
|
@@ -25,51 +25,51 @@ class NotebookAccessibilityHelp {
|
|
|
25
25
|
function getAccessibilityHelpText() {
|
|
26
26
|
return [
|
|
27
27
|
( localize(
|
|
28
|
-
|
|
28
|
+
8224,
|
|
29
29
|
'The notebook view is a collection of code and markdown cells. Code cells can be executed and will produce output directly below the cell.'
|
|
30
30
|
)),
|
|
31
31
|
( localize(
|
|
32
|
-
|
|
32
|
+
8225,
|
|
33
33
|
'The Edit Cell command{0} will focus on the cell input.',
|
|
34
34
|
'<keybinding:notebook.cell.edit>'
|
|
35
35
|
)),
|
|
36
36
|
( localize(
|
|
37
|
-
|
|
37
|
+
8226,
|
|
38
38
|
'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.',
|
|
39
39
|
'<keybinding:notebook.cell.quitEdit>'
|
|
40
40
|
)),
|
|
41
41
|
( localize(
|
|
42
|
-
|
|
42
|
+
8227,
|
|
43
43
|
'The Focus Output command{0} will set focus in the cell\'s output.',
|
|
44
44
|
'<keybinding:notebook.cell.focusInOutput>'
|
|
45
45
|
)),
|
|
46
46
|
( localize(
|
|
47
|
-
|
|
47
|
+
8228,
|
|
48
48
|
'The Focus Next Cell Editor command{0} will set focus in the next cell\'s editor.',
|
|
49
49
|
'<keybinding:notebook.focusNextEditor>'
|
|
50
50
|
)),
|
|
51
51
|
( localize(
|
|
52
|
-
|
|
52
|
+
8229,
|
|
53
53
|
'The Focus Previous Cell Editor command{0} will set focus in the previous cell\'s editor.',
|
|
54
54
|
'<keybinding:notebook.focusPreviousEditor>'
|
|
55
55
|
)),
|
|
56
56
|
( localize(
|
|
57
|
-
|
|
57
|
+
8230,
|
|
58
58
|
'The up and down arrows will also move focus between cells while focused on the outer cell container.'
|
|
59
59
|
)),
|
|
60
60
|
( localize(
|
|
61
|
-
|
|
61
|
+
8231,
|
|
62
62
|
'The Execute Cell command{0} executes the cell that currently has focus.',
|
|
63
63
|
'<keybinding:notebook.cell.executeAndFocusContainer>'
|
|
64
64
|
)),
|
|
65
65
|
( localize(
|
|
66
|
-
|
|
66
|
+
8232,
|
|
67
67
|
'The Insert Cell Above{0} and Below{1} commands will create new empty code cells.',
|
|
68
68
|
'<keybinding:notebook.cell.insertCodeCellAbove>',
|
|
69
69
|
'<keybinding:notebook.cell.insertCodeCellBelow>'
|
|
70
70
|
)),
|
|
71
71
|
( localize(
|
|
72
|
-
|
|
72
|
+
8233,
|
|
73
73
|
'The Change Cell to Code/Markdown commands are used to switch between cell types.'
|
|
74
74
|
))
|
|
75
75
|
].join('\n');
|