@codingame/monaco-vscode-notebook-service-override 11.0.0 → 11.0.2
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 -8
- 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 +21 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticsActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.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 +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +4 -4
- 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 +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +13 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +9 -9
- 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 +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +27 -27
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +22 -22
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +17 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/variablesActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +19 -19
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +60 -60
- 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/notebookExecutionServiceImpl.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 +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 +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
|
@@ -11,10 +11,10 @@ class NotebookRunSingleCellInSection extends Action2 {
|
|
|
11
11
|
super({
|
|
12
12
|
id: 'notebook.section.runSingleCell',
|
|
13
13
|
title: {
|
|
14
|
-
...( localize2(
|
|
15
|
-
mnemonicTitle: ( localize(
|
|
14
|
+
...( localize2(8058, "Run Cell")),
|
|
15
|
+
mnemonicTitle: ( localize(8059, "&&Run Cell")),
|
|
16
16
|
},
|
|
17
|
-
shortTitle: ( localize(
|
|
17
|
+
shortTitle: ( localize(8058, "Run Cell")),
|
|
18
18
|
icon: executeIcon,
|
|
19
19
|
menu: [
|
|
20
20
|
{
|
|
@@ -43,10 +43,10 @@ class NotebookRunCellsInSection extends Action2 {
|
|
|
43
43
|
super({
|
|
44
44
|
id: 'notebook.section.runCells',
|
|
45
45
|
title: {
|
|
46
|
-
...( localize2(
|
|
47
|
-
mnemonicTitle: ( localize(
|
|
46
|
+
...( localize2(8060, "Run Cells In Section")),
|
|
47
|
+
mnemonicTitle: ( localize(8061, "&&Run Cells In Section")),
|
|
48
48
|
},
|
|
49
|
-
shortTitle: ( localize(
|
|
49
|
+
shortTitle: ( localize(8060, "Run Cells In Section")),
|
|
50
50
|
menu: [
|
|
51
51
|
{
|
|
52
52
|
id: MenuId.NotebookStickyScrollContext,
|
|
@@ -89,10 +89,10 @@ class NotebookFoldSection extends Action2 {
|
|
|
89
89
|
super({
|
|
90
90
|
id: 'notebook.section.foldSection',
|
|
91
91
|
title: {
|
|
92
|
-
...( localize2(
|
|
93
|
-
mnemonicTitle: ( localize(
|
|
92
|
+
...( localize2(8062, "Fold Section")),
|
|
93
|
+
mnemonicTitle: ( localize(8063, "&&Fold Section")),
|
|
94
94
|
},
|
|
95
|
-
shortTitle: ( localize(
|
|
95
|
+
shortTitle: ( localize(8062, "Fold Section")),
|
|
96
96
|
menu: [
|
|
97
97
|
{
|
|
98
98
|
id: MenuId.NotebookOutlineActionMenu,
|
|
@@ -128,10 +128,10 @@ class NotebookExpandSection extends Action2 {
|
|
|
128
128
|
super({
|
|
129
129
|
id: 'notebook.section.expandSection',
|
|
130
130
|
title: {
|
|
131
|
-
...( localize2(
|
|
132
|
-
mnemonicTitle: ( localize(
|
|
131
|
+
...( localize2(8064, "Expand Section")),
|
|
132
|
+
mnemonicTitle: ( localize(8065, "&&Expand Section")),
|
|
133
133
|
},
|
|
134
|
-
shortTitle: ( localize(
|
|
134
|
+
shortTitle: ( localize(8064, "Expand Section")),
|
|
135
135
|
menu: [
|
|
136
136
|
{
|
|
137
137
|
id: MenuId.NotebookOutlineActionMenu,
|
|
@@ -12,7 +12,7 @@ registerAction2(class OpenVariablesViewAction extends NotebookAction {
|
|
|
12
12
|
constructor() {
|
|
13
13
|
super({
|
|
14
14
|
id: OPEN_VARIABLES_VIEW_COMMAND_ID,
|
|
15
|
-
title: ( localize2(
|
|
15
|
+
title: ( localize2(8110, "Variables")),
|
|
16
16
|
icon: variablesViewIcon,
|
|
17
17
|
menu: [
|
|
18
18
|
{
|
|
@@ -22,7 +22,7 @@ registerAction2(class extends Action2 {
|
|
|
22
22
|
super({
|
|
23
23
|
id: 'notebook.diff.openFile',
|
|
24
24
|
icon: Codicon.goToFile,
|
|
25
|
-
title: ( localize2(
|
|
25
|
+
title: ( localize2(8203, 'Open File')),
|
|
26
26
|
precondition: ( (ContextKeyExpr.or(
|
|
27
27
|
(ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)),
|
|
28
28
|
(ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID))
|
|
@@ -54,7 +54,7 @@ registerAction2(class extends Action2 {
|
|
|
54
54
|
constructor() {
|
|
55
55
|
super({
|
|
56
56
|
id: 'notebook.diff.cell.toggleCollapseUnchangedRegions',
|
|
57
|
-
title: ( localize2(
|
|
57
|
+
title: ( localize2(8204, 'Toggle Collapse Unchanged Regions')),
|
|
58
58
|
icon: Codicon.map,
|
|
59
59
|
toggled: ( (ContextKeyExpr.has('config.diffEditor.hideUnchangedRegions.enabled'))),
|
|
60
60
|
precondition: ( (ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID))),
|
|
@@ -76,7 +76,7 @@ registerAction2(class extends Action2 {
|
|
|
76
76
|
super({
|
|
77
77
|
id: 'notebook.diff.switchToText',
|
|
78
78
|
icon: openAsTextIcon,
|
|
79
|
-
title: ( localize2(
|
|
79
|
+
title: ( localize2(8205, 'Open Text Diff Editor')),
|
|
80
80
|
precondition: ( (ContextKeyExpr.or(
|
|
81
81
|
(ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)),
|
|
82
82
|
(ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID))
|
|
@@ -115,7 +115,7 @@ registerAction2(class extends Action2 {
|
|
|
115
115
|
constructor() {
|
|
116
116
|
super({
|
|
117
117
|
id: 'notebook.diffEditor.showUnchangedCells',
|
|
118
|
-
title: ( localize2(
|
|
118
|
+
title: ( localize2(8206, 'Show Unchanged Cells')),
|
|
119
119
|
icon: Codicon.unfold,
|
|
120
120
|
precondition: ( (ContextKeyExpr.and(
|
|
121
121
|
(ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)),
|
|
@@ -147,7 +147,7 @@ registerAction2(class extends Action2 {
|
|
|
147
147
|
constructor() {
|
|
148
148
|
super({
|
|
149
149
|
id: 'notebook.diffEditor.hideUnchangedCells',
|
|
150
|
-
title: ( localize2(
|
|
150
|
+
title: ( localize2(8207, 'Hide Unchanged Cells')),
|
|
151
151
|
icon: Codicon.fold,
|
|
152
152
|
precondition: ( (ContextKeyExpr.and(
|
|
153
153
|
(ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)),
|
|
@@ -179,7 +179,7 @@ registerAction2(class GoToFileAction extends Action2 {
|
|
|
179
179
|
constructor() {
|
|
180
180
|
super({
|
|
181
181
|
id: 'notebook.diffEditor.2.goToCell',
|
|
182
|
-
title: ( localize2(
|
|
182
|
+
title: ( localize2(8208, 'Go To Cell')),
|
|
183
183
|
icon: Codicon.goToFile,
|
|
184
184
|
menu: {
|
|
185
185
|
when: ( (ContextKeyExpr.and(
|
|
@@ -212,7 +212,7 @@ registerAction2(class extends Action2 {
|
|
|
212
212
|
constructor() {
|
|
213
213
|
super({
|
|
214
214
|
id: 'notebook.diff.revertMetadata',
|
|
215
|
-
title: ( localize(
|
|
215
|
+
title: ( localize(8209, "Revert Notebook Metadata")),
|
|
216
216
|
icon: revertIcon,
|
|
217
217
|
f1: false,
|
|
218
218
|
menu: {
|
|
@@ -237,7 +237,7 @@ registerAction2(class extends Action2 {
|
|
|
237
237
|
}], true, undefined, () => undefined, undefined, true);
|
|
238
238
|
}
|
|
239
239
|
});
|
|
240
|
-
const revertInput = ( localize(
|
|
240
|
+
const revertInput = ( localize(8210, "Revert Input"));
|
|
241
241
|
registerAction2(class extends Action2 {
|
|
242
242
|
constructor() {
|
|
243
243
|
super({
|
|
@@ -280,7 +280,7 @@ registerAction2(class extends Action2 {
|
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
});
|
|
283
|
-
const revertOutputs = ( localize(
|
|
283
|
+
const revertOutputs = ( localize(8211, "Revert Outputs"));
|
|
284
284
|
registerAction2(class extends Action2 {
|
|
285
285
|
constructor() {
|
|
286
286
|
super({
|
|
@@ -320,7 +320,7 @@ registerAction2(class extends Action2 {
|
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
});
|
|
323
|
-
const revertMetadata = ( localize(
|
|
323
|
+
const revertMetadata = ( localize(8212, "Revert Metadata"));
|
|
324
324
|
registerAction2(class extends Action2 {
|
|
325
325
|
constructor() {
|
|
326
326
|
super({
|
|
@@ -398,7 +398,7 @@ registerAction2(class extends Action2 {
|
|
|
398
398
|
constructor() {
|
|
399
399
|
super({
|
|
400
400
|
id: 'notebook.diff.cell.switchOutputRenderingStyleToText',
|
|
401
|
-
title: ( localize(
|
|
401
|
+
title: ( localize(8213, "Switch Output Rendering")),
|
|
402
402
|
icon: renderOutputIcon,
|
|
403
403
|
f1: false,
|
|
404
404
|
menu: {
|
|
@@ -418,7 +418,7 @@ registerAction2(class extends Action2 {
|
|
|
418
418
|
constructor() {
|
|
419
419
|
super({
|
|
420
420
|
id: 'notebook.diff.cell.revertOutputs',
|
|
421
|
-
title: ( localize(
|
|
421
|
+
title: ( localize(8211, "Revert Outputs")),
|
|
422
422
|
icon: revertIcon,
|
|
423
423
|
f1: false,
|
|
424
424
|
menu: {
|
|
@@ -450,7 +450,7 @@ registerAction2(class extends Action2 {
|
|
|
450
450
|
constructor() {
|
|
451
451
|
super({
|
|
452
452
|
id: 'notebook.toggle.diff.cell.ignoreTrimWhitespace',
|
|
453
|
-
title: ( localize(
|
|
453
|
+
title: ( localize(8214, "Show Leading/Trailing Whitespace Differences")),
|
|
454
454
|
icon: toggleWhitespace,
|
|
455
455
|
f1: false,
|
|
456
456
|
menu: {
|
|
@@ -538,7 +538,7 @@ class ToggleRenderAction extends Action2 {
|
|
|
538
538
|
}
|
|
539
539
|
registerAction2(class extends ToggleRenderAction {
|
|
540
540
|
constructor() {
|
|
541
|
-
super('notebook.diff.showOutputs', ( localize2(
|
|
541
|
+
super('notebook.diff.showOutputs', ( localize2(8215, 'Show Outputs Differences')), ( (ContextKeyExpr.or(
|
|
542
542
|
(ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)),
|
|
543
543
|
(ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID))
|
|
544
544
|
))), ( (ContextKeyExpr.notEquals('config.notebook.diff.ignoreOutputs', true))), 2, true, undefined);
|
|
@@ -546,7 +546,7 @@ registerAction2(class extends ToggleRenderAction {
|
|
|
546
546
|
});
|
|
547
547
|
registerAction2(class extends ToggleRenderAction {
|
|
548
548
|
constructor() {
|
|
549
|
-
super('notebook.diff.showMetadata', ( localize2(
|
|
549
|
+
super('notebook.diff.showMetadata', ( localize2(8216, 'Show Metadata Differences')), ( (ContextKeyExpr.or(
|
|
550
550
|
(ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)),
|
|
551
551
|
(ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID))
|
|
552
552
|
))), ( (ContextKeyExpr.notEquals('config.notebook.diff.ignoreMetadata', true))), 1, undefined, true);
|
|
@@ -556,7 +556,7 @@ registerAction2(class extends Action2 {
|
|
|
556
556
|
constructor() {
|
|
557
557
|
super({
|
|
558
558
|
id: 'notebook.diff.action.previous',
|
|
559
|
-
title: ( localize(
|
|
559
|
+
title: ( localize(8217, "Show Previous Change")),
|
|
560
560
|
icon: previousChangeIcon,
|
|
561
561
|
f1: false,
|
|
562
562
|
keybinding: {
|
|
@@ -584,7 +584,7 @@ registerAction2(class extends Action2 {
|
|
|
584
584
|
constructor() {
|
|
585
585
|
super({
|
|
586
586
|
id: 'notebook.diff.action.next',
|
|
587
|
-
title: ( localize(
|
|
587
|
+
title: ( localize(8218, "Show Next Change")),
|
|
588
588
|
icon: nextChangeIcon,
|
|
589
589
|
f1: false,
|
|
590
590
|
keybinding: {
|
|
@@ -616,12 +616,12 @@ registerAction2(class extends Action2 {
|
|
|
616
616
|
'notebook.diff.ignoreMetadata': {
|
|
617
617
|
type: 'boolean',
|
|
618
618
|
default: false,
|
|
619
|
-
markdownDescription: ( localize(
|
|
619
|
+
markdownDescription: ( localize(8219, "Hide Metadata Differences"))
|
|
620
620
|
},
|
|
621
621
|
'notebook.diff.ignoreOutputs': {
|
|
622
622
|
type: 'boolean',
|
|
623
623
|
default: false,
|
|
624
|
-
markdownDescription: ( localize(
|
|
624
|
+
markdownDescription: ( localize(8220, "Hide Outputs Differences"))
|
|
625
625
|
},
|
|
626
626
|
}
|
|
627
627
|
});
|
|
@@ -726,7 +726,7 @@ for (const editorOption of editorOptionsRegistry) {
|
|
|
726
726
|
}
|
|
727
727
|
const editorOptionsCustomizationSchema = {
|
|
728
728
|
description: ( localize(
|
|
729
|
-
|
|
729
|
+
3299,
|
|
730
730
|
'Settings for code editors used in notebooks. This can be used to customize most editor.* settings.'
|
|
731
731
|
)),
|
|
732
732
|
default: {},
|
|
@@ -741,11 +741,11 @@ const configurationRegistry = ( (Registry.as(Extensions$2.Configuration)));
|
|
|
741
741
|
configurationRegistry.registerConfiguration({
|
|
742
742
|
id: 'notebook',
|
|
743
743
|
order: 100,
|
|
744
|
-
title: ( localize(
|
|
744
|
+
title: ( localize(3300, "Notebook")),
|
|
745
745
|
type: 'object',
|
|
746
746
|
properties: {
|
|
747
747
|
[NotebookSetting.displayOrder]: {
|
|
748
|
-
description: ( localize(
|
|
748
|
+
description: ( localize(3301, "Priority list for output mime types")),
|
|
749
749
|
type: 'array',
|
|
750
750
|
items: {
|
|
751
751
|
type: 'string'
|
|
@@ -754,12 +754,12 @@ configurationRegistry.registerConfiguration({
|
|
|
754
754
|
},
|
|
755
755
|
[NotebookSetting.cellToolbarLocation]: {
|
|
756
756
|
description: ( localize(
|
|
757
|
-
|
|
757
|
+
3302,
|
|
758
758
|
"Where the cell toolbar should be shown, or whether it should be hidden."
|
|
759
759
|
)),
|
|
760
760
|
type: 'object',
|
|
761
761
|
additionalProperties: {
|
|
762
|
-
markdownDescription: ( localize(
|
|
762
|
+
markdownDescription: ( localize(3303, "Configure the cell toolbar position for for specific file types")),
|
|
763
763
|
type: 'string',
|
|
764
764
|
enum: ['left', 'right', 'hidden']
|
|
765
765
|
},
|
|
@@ -769,14 +769,14 @@ configurationRegistry.registerConfiguration({
|
|
|
769
769
|
tags: ['notebookLayout']
|
|
770
770
|
},
|
|
771
771
|
[NotebookSetting.showCellStatusBar]: {
|
|
772
|
-
description: ( localize(
|
|
772
|
+
description: ( localize(3304, "Whether the cell status bar should be shown.")),
|
|
773
773
|
type: 'string',
|
|
774
774
|
enum: ['hidden', 'visible', 'visibleAfterExecute'],
|
|
775
775
|
enumDescriptions: [
|
|
776
|
-
( localize(
|
|
777
|
-
( localize(
|
|
776
|
+
( localize(3305, "The cell Status bar is always hidden.")),
|
|
777
|
+
( localize(3306, "The cell Status bar is always visible.")),
|
|
778
778
|
( localize(
|
|
779
|
-
|
|
779
|
+
3307,
|
|
780
780
|
"The cell Status bar is hidden until the cell has executed. Then it becomes visible to show the execution status."
|
|
781
781
|
))
|
|
782
782
|
],
|
|
@@ -784,14 +784,14 @@ configurationRegistry.registerConfiguration({
|
|
|
784
784
|
tags: ['notebookLayout']
|
|
785
785
|
},
|
|
786
786
|
[NotebookSetting.textDiffEditorPreview]: {
|
|
787
|
-
description: ( localize(
|
|
787
|
+
description: ( localize(3308, "Whether to use the enhanced text diff editor for notebook.")),
|
|
788
788
|
type: 'boolean',
|
|
789
789
|
default: true,
|
|
790
790
|
tags: ['notebookLayout']
|
|
791
791
|
},
|
|
792
792
|
[NotebookSetting.diffOverviewRuler]: {
|
|
793
793
|
description: ( localize(
|
|
794
|
-
|
|
794
|
+
3309,
|
|
795
795
|
"Whether to render the overview ruler in the diff editor for notebook."
|
|
796
796
|
)),
|
|
797
797
|
type: 'boolean',
|
|
@@ -799,21 +799,21 @@ configurationRegistry.registerConfiguration({
|
|
|
799
799
|
tags: ['notebookLayout']
|
|
800
800
|
},
|
|
801
801
|
[NotebookSetting.cellToolbarVisibility]: {
|
|
802
|
-
markdownDescription: ( localize(
|
|
802
|
+
markdownDescription: ( localize(3310, "Whether the cell toolbar should appear on hover or click.")),
|
|
803
803
|
type: 'string',
|
|
804
804
|
enum: ['hover', 'click'],
|
|
805
805
|
default: 'click',
|
|
806
806
|
tags: ['notebookLayout']
|
|
807
807
|
},
|
|
808
808
|
[NotebookSetting.undoRedoPerCell]: {
|
|
809
|
-
description: ( localize(
|
|
809
|
+
description: ( localize(3311, "Whether to use separate undo/redo stack for each cell.")),
|
|
810
810
|
type: 'boolean',
|
|
811
811
|
default: true,
|
|
812
812
|
tags: ['notebookLayout']
|
|
813
813
|
},
|
|
814
814
|
[NotebookSetting.compactView]: {
|
|
815
815
|
description: ( localize(
|
|
816
|
-
|
|
816
|
+
3312,
|
|
817
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."
|
|
818
818
|
)),
|
|
819
819
|
type: 'boolean',
|
|
@@ -822,7 +822,7 @@ configurationRegistry.registerConfiguration({
|
|
|
822
822
|
},
|
|
823
823
|
[NotebookSetting.focusIndicator]: {
|
|
824
824
|
description: ( localize(
|
|
825
|
-
|
|
825
|
+
3313,
|
|
826
826
|
"Controls where the focus indicator is rendered, either along the cell borders or on the left gutter."
|
|
827
827
|
)),
|
|
828
828
|
type: 'string',
|
|
@@ -831,21 +831,21 @@ configurationRegistry.registerConfiguration({
|
|
|
831
831
|
tags: ['notebookLayout']
|
|
832
832
|
},
|
|
833
833
|
[NotebookSetting.insertToolbarLocation]: {
|
|
834
|
-
description: ( localize(
|
|
834
|
+
description: ( localize(3314, "Control where the insert cell actions should appear.")),
|
|
835
835
|
type: 'string',
|
|
836
836
|
enum: ['betweenCells', 'notebookToolbar', 'both', 'hidden'],
|
|
837
837
|
enumDescriptions: [
|
|
838
|
-
( localize(
|
|
839
|
-
( localize(
|
|
840
|
-
( localize(
|
|
841
|
-
( 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.")),
|
|
842
842
|
],
|
|
843
843
|
default: 'both',
|
|
844
844
|
tags: ['notebookLayout']
|
|
845
845
|
},
|
|
846
846
|
[NotebookSetting.globalToolbar]: {
|
|
847
847
|
description: ( localize(
|
|
848
|
-
|
|
848
|
+
3319,
|
|
849
849
|
"Control whether to render a global toolbar inside the notebook editor."
|
|
850
850
|
)),
|
|
851
851
|
type: 'boolean',
|
|
@@ -854,7 +854,7 @@ configurationRegistry.registerConfiguration({
|
|
|
854
854
|
},
|
|
855
855
|
[NotebookSetting.stickyScrollEnabled]: {
|
|
856
856
|
description: ( localize(
|
|
857
|
-
|
|
857
|
+
3320,
|
|
858
858
|
"Experimental. Control whether to render notebook Sticky Scroll headers in the notebook editor."
|
|
859
859
|
)),
|
|
860
860
|
type: 'boolean',
|
|
@@ -863,21 +863,21 @@ configurationRegistry.registerConfiguration({
|
|
|
863
863
|
},
|
|
864
864
|
[NotebookSetting.stickyScrollMode]: {
|
|
865
865
|
description: ( localize(
|
|
866
|
-
|
|
866
|
+
3321,
|
|
867
867
|
"Control whether nested sticky lines appear to stack flat or indented."
|
|
868
868
|
)),
|
|
869
869
|
type: 'string',
|
|
870
870
|
enum: ['flat', 'indented'],
|
|
871
871
|
enumDescriptions: [
|
|
872
|
-
( localize(
|
|
873
|
-
( localize(
|
|
872
|
+
( localize(3322, "Nested sticky lines appear flat.")),
|
|
873
|
+
( localize(3323, "Nested sticky lines appear indented.")),
|
|
874
874
|
],
|
|
875
875
|
default: 'indented',
|
|
876
876
|
tags: ['notebookLayout']
|
|
877
877
|
},
|
|
878
878
|
[NotebookSetting.consolidatedOutputButton]: {
|
|
879
879
|
description: ( localize(
|
|
880
|
-
|
|
880
|
+
3324,
|
|
881
881
|
"Control whether outputs action should be rendered in the output toolbar."
|
|
882
882
|
)),
|
|
883
883
|
type: 'boolean',
|
|
@@ -885,20 +885,20 @@ configurationRegistry.registerConfiguration({
|
|
|
885
885
|
tags: ['notebookLayout']
|
|
886
886
|
},
|
|
887
887
|
[NotebookSetting.showFoldingControls]: {
|
|
888
|
-
description: ( localize(
|
|
888
|
+
description: ( localize(3325, "Controls when the Markdown header folding arrow is shown.")),
|
|
889
889
|
type: 'string',
|
|
890
890
|
enum: ['always', 'never', 'mouseover'],
|
|
891
891
|
enumDescriptions: [
|
|
892
|
-
( localize(
|
|
893
|
-
( localize(
|
|
894
|
-
( 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.")),
|
|
895
895
|
],
|
|
896
896
|
default: 'mouseover',
|
|
897
897
|
tags: ['notebookLayout']
|
|
898
898
|
},
|
|
899
899
|
[NotebookSetting.dragAndDropEnabled]: {
|
|
900
900
|
description: ( localize(
|
|
901
|
-
|
|
901
|
+
3329,
|
|
902
902
|
"Control whether the notebook editor should allow moving cells through drag and drop."
|
|
903
903
|
)),
|
|
904
904
|
type: 'boolean',
|
|
@@ -907,7 +907,7 @@ configurationRegistry.registerConfiguration({
|
|
|
907
907
|
},
|
|
908
908
|
[NotebookSetting.consolidatedRunButton]: {
|
|
909
909
|
description: ( localize(
|
|
910
|
-
|
|
910
|
+
3330,
|
|
911
911
|
"Control whether extra actions are shown in a dropdown next to the run button."
|
|
912
912
|
)),
|
|
913
913
|
type: 'boolean',
|
|
@@ -916,7 +916,7 @@ configurationRegistry.registerConfiguration({
|
|
|
916
916
|
},
|
|
917
917
|
[NotebookSetting.globalToolbarShowLabel]: {
|
|
918
918
|
description: ( localize(
|
|
919
|
-
|
|
919
|
+
3331,
|
|
920
920
|
"Control whether the actions on the notebook toolbar should render label or not."
|
|
921
921
|
)),
|
|
922
922
|
type: 'string',
|
|
@@ -926,7 +926,7 @@ configurationRegistry.registerConfiguration({
|
|
|
926
926
|
},
|
|
927
927
|
[NotebookSetting.textOutputLineLimit]: {
|
|
928
928
|
markdownDescription: ( localize(
|
|
929
|
-
|
|
929
|
+
3332,
|
|
930
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.",
|
|
931
931
|
'`#notebook.output.scrolling#`'
|
|
932
932
|
)),
|
|
@@ -937,7 +937,7 @@ configurationRegistry.registerConfiguration({
|
|
|
937
937
|
},
|
|
938
938
|
[NotebookSetting.LinkifyOutputFilePaths]: {
|
|
939
939
|
description: ( localize(
|
|
940
|
-
|
|
940
|
+
3333,
|
|
941
941
|
"Control whether to disable filepath links in the output of notebook cells."
|
|
942
942
|
)),
|
|
943
943
|
type: 'boolean',
|
|
@@ -945,14 +945,14 @@ configurationRegistry.registerConfiguration({
|
|
|
945
945
|
tags: ['notebookOutputLayout']
|
|
946
946
|
},
|
|
947
947
|
[NotebookSetting.minimalErrorRendering]: {
|
|
948
|
-
description: ( localize(
|
|
948
|
+
description: ( localize(3334, "Control whether to render error output in a minimal style.")),
|
|
949
949
|
type: 'boolean',
|
|
950
950
|
default: false,
|
|
951
951
|
tags: ['notebookOutputLayout']
|
|
952
952
|
},
|
|
953
953
|
[NotebookSetting.markupFontSize]: {
|
|
954
954
|
markdownDescription: ( localize(
|
|
955
|
-
|
|
955
|
+
3335,
|
|
956
956
|
"Controls the font size in pixels of rendered markup in notebooks. When set to {0}, 120% of {1} is used.",
|
|
957
957
|
'`0`',
|
|
958
958
|
'`#editor.fontSize#`'
|
|
@@ -963,7 +963,7 @@ configurationRegistry.registerConfiguration({
|
|
|
963
963
|
},
|
|
964
964
|
[NotebookSetting.markdownLineHeight]: {
|
|
965
965
|
markdownDescription: ( localize(
|
|
966
|
-
|
|
966
|
+
3336,
|
|
967
967
|
"Controls the line height in pixels of markdown cells in notebooks. When set to {0}, {1} will be used",
|
|
968
968
|
'`0`',
|
|
969
969
|
'`normal`'
|
|
@@ -975,7 +975,7 @@ configurationRegistry.registerConfiguration({
|
|
|
975
975
|
[NotebookSetting.cellEditorOptionsCustomizations]: editorOptionsCustomizationSchema,
|
|
976
976
|
[NotebookSetting.interactiveWindowCollapseCodeCells]: {
|
|
977
977
|
markdownDescription: ( localize(
|
|
978
|
-
|
|
978
|
+
3337,
|
|
979
979
|
"Controls whether code cells in the interactive window are collapsed by default."
|
|
980
980
|
)),
|
|
981
981
|
type: 'string',
|
|
@@ -984,7 +984,7 @@ configurationRegistry.registerConfiguration({
|
|
|
984
984
|
},
|
|
985
985
|
[NotebookSetting.outputLineHeight]: {
|
|
986
986
|
markdownDescription: ( localize(
|
|
987
|
-
|
|
987
|
+
3338,
|
|
988
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."
|
|
989
989
|
)),
|
|
990
990
|
type: 'number',
|
|
@@ -993,7 +993,7 @@ configurationRegistry.registerConfiguration({
|
|
|
993
993
|
},
|
|
994
994
|
[NotebookSetting.outputFontSize]: {
|
|
995
995
|
markdownDescription: ( localize(
|
|
996
|
-
|
|
996
|
+
3339,
|
|
997
997
|
"Font size for the output text within notebook cells. When set to 0, {0} is used.",
|
|
998
998
|
'`#editor.fontSize#`'
|
|
999
999
|
)),
|
|
@@ -1003,7 +1003,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1003
1003
|
},
|
|
1004
1004
|
[NotebookSetting.outputFontFamily]: {
|
|
1005
1005
|
markdownDescription: ( localize(
|
|
1006
|
-
|
|
1006
|
+
3340,
|
|
1007
1007
|
"The font family of the output text within notebook cells. When set to empty, the {0} is used.",
|
|
1008
1008
|
'`#editor.fontFamily#`'
|
|
1009
1009
|
)),
|
|
@@ -1012,7 +1012,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1012
1012
|
},
|
|
1013
1013
|
[NotebookSetting.outputScrolling]: {
|
|
1014
1014
|
markdownDescription: ( localize(
|
|
1015
|
-
|
|
1015
|
+
3341,
|
|
1016
1016
|
"Initially render notebook outputs in a scrollable region when longer than the limit."
|
|
1017
1017
|
)),
|
|
1018
1018
|
type: 'boolean',
|
|
@@ -1020,14 +1020,14 @@ configurationRegistry.registerConfiguration({
|
|
|
1020
1020
|
default: typeof product$1.quality === 'string' && product$1.quality !== 'stable'
|
|
1021
1021
|
},
|
|
1022
1022
|
[NotebookSetting.outputWordWrap]: {
|
|
1023
|
-
markdownDescription: ( localize(
|
|
1023
|
+
markdownDescription: ( localize(3342, "Controls whether the lines in output should wrap.")),
|
|
1024
1024
|
type: 'boolean',
|
|
1025
1025
|
tags: ['notebookLayout', 'notebookOutputLayout'],
|
|
1026
1026
|
default: false
|
|
1027
1027
|
},
|
|
1028
1028
|
[NotebookSetting.defaultFormatter]: {
|
|
1029
1029
|
description: ( localize(
|
|
1030
|
-
|
|
1030
|
+
3343,
|
|
1031
1031
|
"Defines a default notebook formatter which takes precedence over all other formatter settings. Must be the identifier of an extension contributing a formatter."
|
|
1032
1032
|
)),
|
|
1033
1033
|
type: ['string', 'null'],
|
|
@@ -1038,7 +1038,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1038
1038
|
},
|
|
1039
1039
|
[NotebookSetting.formatOnSave]: {
|
|
1040
1040
|
markdownDescription: ( localize(
|
|
1041
|
-
|
|
1041
|
+
3344,
|
|
1042
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
1043
|
'`#files.autoSave#`'
|
|
1044
1044
|
)),
|
|
@@ -1048,7 +1048,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1048
1048
|
},
|
|
1049
1049
|
[NotebookSetting.insertFinalNewline]: {
|
|
1050
1050
|
markdownDescription: ( localize(
|
|
1051
|
-
|
|
1051
|
+
3345,
|
|
1052
1052
|
"When enabled, insert a final new line into the end of code cells when saving a notebook."
|
|
1053
1053
|
)),
|
|
1054
1054
|
type: 'boolean',
|
|
@@ -1057,7 +1057,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1057
1057
|
},
|
|
1058
1058
|
[NotebookSetting.formatOnCellExecution]: {
|
|
1059
1059
|
markdownDescription: ( localize(
|
|
1060
|
-
|
|
1060
|
+
3346,
|
|
1061
1061
|
"Format a notebook cell upon execution. A formatter must be available."
|
|
1062
1062
|
)),
|
|
1063
1063
|
type: 'boolean',
|
|
@@ -1065,7 +1065,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1065
1065
|
},
|
|
1066
1066
|
[NotebookSetting.confirmDeleteRunningCell]: {
|
|
1067
1067
|
markdownDescription: ( localize(
|
|
1068
|
-
|
|
1068
|
+
3347,
|
|
1069
1069
|
"Control whether a confirmation prompt is required to delete a running cell."
|
|
1070
1070
|
)),
|
|
1071
1071
|
type: 'boolean',
|
|
@@ -1073,7 +1073,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1073
1073
|
},
|
|
1074
1074
|
[NotebookSetting.findFilters]: {
|
|
1075
1075
|
markdownDescription: ( localize(
|
|
1076
|
-
|
|
1076
|
+
3348,
|
|
1077
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."
|
|
1078
1078
|
)),
|
|
1079
1079
|
type: 'object',
|
|
@@ -1105,7 +1105,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1105
1105
|
},
|
|
1106
1106
|
[NotebookSetting.remoteSaving]: {
|
|
1107
1107
|
markdownDescription: ( localize(
|
|
1108
|
-
|
|
1108
|
+
3349,
|
|
1109
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."
|
|
1110
1110
|
)),
|
|
1111
1111
|
type: 'boolean',
|
|
@@ -1114,22 +1114,22 @@ configurationRegistry.registerConfiguration({
|
|
|
1114
1114
|
},
|
|
1115
1115
|
[NotebookSetting.scrollToRevealCell]: {
|
|
1116
1116
|
markdownDescription: ( localize(
|
|
1117
|
-
|
|
1117
|
+
3350,
|
|
1118
1118
|
"How far to scroll when revealing the next cell upon running {0}.",
|
|
1119
1119
|
'notebook.cell.executeAndSelectBelow'
|
|
1120
1120
|
)),
|
|
1121
1121
|
type: 'string',
|
|
1122
1122
|
enum: ['fullCell', 'firstLine', 'none'],
|
|
1123
1123
|
markdownEnumDescriptions: [
|
|
1124
|
-
( localize(
|
|
1125
|
-
( localize(
|
|
1126
|
-
( 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.')),
|
|
1127
1127
|
],
|
|
1128
1128
|
default: 'fullCell'
|
|
1129
1129
|
},
|
|
1130
1130
|
[NotebookSetting.cellGenerate]: {
|
|
1131
1131
|
markdownDescription: ( localize(
|
|
1132
|
-
|
|
1132
|
+
3354,
|
|
1133
1133
|
"Enable experimental generate action to create code cell with inline chat enabled."
|
|
1134
1134
|
)),
|
|
1135
1135
|
type: 'boolean',
|
|
@@ -1137,20 +1137,20 @@ configurationRegistry.registerConfiguration({
|
|
|
1137
1137
|
},
|
|
1138
1138
|
[NotebookSetting.notebookVariablesView]: {
|
|
1139
1139
|
markdownDescription: ( localize(
|
|
1140
|
-
|
|
1140
|
+
3355,
|
|
1141
1141
|
"Enable the experimental notebook variables view within the debug panel."
|
|
1142
1142
|
)),
|
|
1143
1143
|
type: 'boolean',
|
|
1144
1144
|
default: false
|
|
1145
1145
|
},
|
|
1146
1146
|
[NotebookSetting.cellFailureDiagnostics]: {
|
|
1147
|
-
markdownDescription: ( localize(
|
|
1147
|
+
markdownDescription: ( localize(3356, "Show available diagnostics for cell failures.")),
|
|
1148
1148
|
type: 'boolean',
|
|
1149
1149
|
default: true
|
|
1150
1150
|
},
|
|
1151
1151
|
[NotebookSetting.outputBackupSizeLimit]: {
|
|
1152
1152
|
markdownDescription: ( localize(
|
|
1153
|
-
|
|
1153
|
+
3357,
|
|
1154
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."
|
|
1155
1155
|
)),
|
|
1156
1156
|
type: 'number',
|
|
@@ -1158,7 +1158,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1158
1158
|
},
|
|
1159
1159
|
[NotebookSetting.multiCursor]: {
|
|
1160
1160
|
markdownDescription: ( localize(
|
|
1161
|
-
|
|
1161
|
+
3358,
|
|
1162
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."
|
|
1163
1163
|
)),
|
|
1164
1164
|
type: 'boolean',
|