@codingame/monaco-vscode-notebook-service-override 9.0.0 → 9.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 +2 -2
- 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 +3 -3
- 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 +1 -1
- 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 +24 -24
- 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/diff/notebookDiffActions.js +16 -16
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +59 -59
- 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
|
@@ -25,7 +25,7 @@ registerAction2(class extends Action2 {
|
|
|
25
25
|
super({
|
|
26
26
|
id: 'notebook.diff.switchToText',
|
|
27
27
|
icon: openAsTextIcon,
|
|
28
|
-
title: ( localize2(
|
|
28
|
+
title: ( localize2(8052, 'Open Text Diff Editor')),
|
|
29
29
|
precondition: ( (ContextKeyExpr.or(
|
|
30
30
|
(ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)),
|
|
31
31
|
(ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID))
|
|
@@ -64,7 +64,7 @@ registerAction2(class extends Action2 {
|
|
|
64
64
|
constructor() {
|
|
65
65
|
super({
|
|
66
66
|
id: 'notebook.diffEditor.showUnchangedCells',
|
|
67
|
-
title: ( localize2(
|
|
67
|
+
title: ( localize2(8053, 'Show Unchanged Cells')),
|
|
68
68
|
icon: Codicon.unfold,
|
|
69
69
|
precondition: ( (ContextKeyExpr.and(
|
|
70
70
|
(ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)),
|
|
@@ -96,7 +96,7 @@ registerAction2(class extends Action2 {
|
|
|
96
96
|
constructor() {
|
|
97
97
|
super({
|
|
98
98
|
id: 'notebook.diffEditor.hideUnchangedCells',
|
|
99
|
-
title: ( localize2(
|
|
99
|
+
title: ( localize2(8054, 'Hide Unchanged Cells')),
|
|
100
100
|
icon: Codicon.fold,
|
|
101
101
|
precondition: ( (ContextKeyExpr.and(
|
|
102
102
|
(ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)),
|
|
@@ -128,7 +128,7 @@ registerAction2(class GoToFileAction extends Action2 {
|
|
|
128
128
|
constructor() {
|
|
129
129
|
super({
|
|
130
130
|
id: 'notebook.diffEditor.2.goToCell',
|
|
131
|
-
title: ( localize2(
|
|
131
|
+
title: ( localize2(8055, 'Go To Cell')),
|
|
132
132
|
icon: Codicon.goToFile,
|
|
133
133
|
menu: {
|
|
134
134
|
when: ( (ContextKeyExpr.and(
|
|
@@ -157,7 +157,7 @@ registerAction2(class GoToFileAction extends Action2 {
|
|
|
157
157
|
});
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
|
-
const revertInput = ( localize(
|
|
160
|
+
const revertInput = ( localize(8056, "Revert Input"));
|
|
161
161
|
registerAction2(class extends Action2 {
|
|
162
162
|
constructor() {
|
|
163
163
|
super({
|
|
@@ -200,7 +200,7 @@ registerAction2(class extends Action2 {
|
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
});
|
|
203
|
-
const revertOutputs = ( localize(
|
|
203
|
+
const revertOutputs = ( localize(8057, "Revert Outputs"));
|
|
204
204
|
registerAction2(class extends Action2 {
|
|
205
205
|
constructor() {
|
|
206
206
|
super({
|
|
@@ -240,7 +240,7 @@ registerAction2(class extends Action2 {
|
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
});
|
|
243
|
-
const revertMetadata = ( localize(
|
|
243
|
+
const revertMetadata = ( localize(8058, "Revert Metadata"));
|
|
244
244
|
registerAction2(class extends Action2 {
|
|
245
245
|
constructor() {
|
|
246
246
|
super({
|
|
@@ -318,7 +318,7 @@ registerAction2(class extends Action2 {
|
|
|
318
318
|
constructor() {
|
|
319
319
|
super({
|
|
320
320
|
id: 'notebook.diff.cell.switchOutputRenderingStyleToText',
|
|
321
|
-
title: ( localize(
|
|
321
|
+
title: ( localize(8059, "Switch Output Rendering")),
|
|
322
322
|
icon: renderOutputIcon,
|
|
323
323
|
f1: false,
|
|
324
324
|
menu: {
|
|
@@ -338,7 +338,7 @@ registerAction2(class extends Action2 {
|
|
|
338
338
|
constructor() {
|
|
339
339
|
super({
|
|
340
340
|
id: 'notebook.diff.cell.revertOutputs',
|
|
341
|
-
title: ( localize(
|
|
341
|
+
title: ( localize(8057, "Revert Outputs")),
|
|
342
342
|
icon: revertIcon,
|
|
343
343
|
f1: false,
|
|
344
344
|
menu: {
|
|
@@ -370,7 +370,7 @@ registerAction2(class extends Action2 {
|
|
|
370
370
|
constructor() {
|
|
371
371
|
super({
|
|
372
372
|
id: 'notebook.toggle.diff.cell.ignoreTrimWhitespace',
|
|
373
|
-
title: ( localize(
|
|
373
|
+
title: ( localize(8060, "Show Leading/Trailing Whitespace Differences")),
|
|
374
374
|
icon: toggleWhitespace,
|
|
375
375
|
f1: false,
|
|
376
376
|
menu: {
|
|
@@ -458,7 +458,7 @@ class ToggleRenderAction extends Action2 {
|
|
|
458
458
|
}
|
|
459
459
|
registerAction2(class extends ToggleRenderAction {
|
|
460
460
|
constructor() {
|
|
461
|
-
super('notebook.diff.showOutputs', ( localize2(
|
|
461
|
+
super('notebook.diff.showOutputs', ( localize2(8061, 'Show Outputs Differences')), ( (ContextKeyExpr.or(
|
|
462
462
|
(ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)),
|
|
463
463
|
(ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID))
|
|
464
464
|
))), ( (ContextKeyExpr.notEquals('config.notebook.diff.ignoreOutputs', true))), 2, true, undefined);
|
|
@@ -466,7 +466,7 @@ registerAction2(class extends ToggleRenderAction {
|
|
|
466
466
|
});
|
|
467
467
|
registerAction2(class extends ToggleRenderAction {
|
|
468
468
|
constructor() {
|
|
469
|
-
super('notebook.diff.showMetadata', ( localize2(
|
|
469
|
+
super('notebook.diff.showMetadata', ( localize2(8062, 'Show Metadata Differences')), ( (ContextKeyExpr.or(
|
|
470
470
|
(ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)),
|
|
471
471
|
(ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID))
|
|
472
472
|
))), ( (ContextKeyExpr.notEquals('config.notebook.diff.ignoreMetadata', true))), 1, undefined, true);
|
|
@@ -476,7 +476,7 @@ registerAction2(class extends Action2 {
|
|
|
476
476
|
constructor() {
|
|
477
477
|
super({
|
|
478
478
|
id: 'notebook.diff.action.previous',
|
|
479
|
-
title: ( localize(
|
|
479
|
+
title: ( localize(8063, "Show Previous Change")),
|
|
480
480
|
icon: previousChangeIcon,
|
|
481
481
|
f1: false,
|
|
482
482
|
keybinding: {
|
|
@@ -504,7 +504,7 @@ registerAction2(class extends Action2 {
|
|
|
504
504
|
constructor() {
|
|
505
505
|
super({
|
|
506
506
|
id: 'notebook.diff.action.next',
|
|
507
|
-
title: ( localize(
|
|
507
|
+
title: ( localize(8064, "Show Next Change")),
|
|
508
508
|
icon: nextChangeIcon,
|
|
509
509
|
f1: false,
|
|
510
510
|
keybinding: {
|
|
@@ -536,12 +536,12 @@ registerAction2(class extends Action2 {
|
|
|
536
536
|
'notebook.diff.ignoreMetadata': {
|
|
537
537
|
type: 'boolean',
|
|
538
538
|
default: false,
|
|
539
|
-
markdownDescription: ( localize(
|
|
539
|
+
markdownDescription: ( localize(8065, "Hide Metadata Differences"))
|
|
540
540
|
},
|
|
541
541
|
'notebook.diff.ignoreOutputs': {
|
|
542
542
|
type: 'boolean',
|
|
543
543
|
default: false,
|
|
544
|
-
markdownDescription: ( localize(
|
|
544
|
+
markdownDescription: ( localize(8066, "Hide Outputs Differences"))
|
|
545
545
|
},
|
|
546
546
|
}
|
|
547
547
|
});
|
|
@@ -645,7 +645,7 @@ for (const editorOption of editorOptionsRegistry) {
|
|
|
645
645
|
}
|
|
646
646
|
const editorOptionsCustomizationSchema = {
|
|
647
647
|
description: ( localize(
|
|
648
|
-
|
|
648
|
+
3265,
|
|
649
649
|
'Settings for code editors used in notebooks. This can be used to customize most editor.* settings.'
|
|
650
650
|
)),
|
|
651
651
|
default: {},
|
|
@@ -660,11 +660,11 @@ const configurationRegistry = ( (Registry.as(Extensions$2.Configuration)));
|
|
|
660
660
|
configurationRegistry.registerConfiguration({
|
|
661
661
|
id: 'notebook',
|
|
662
662
|
order: 100,
|
|
663
|
-
title: ( localize(
|
|
663
|
+
title: ( localize(3266, "Notebook")),
|
|
664
664
|
type: 'object',
|
|
665
665
|
properties: {
|
|
666
666
|
[NotebookSetting.displayOrder]: {
|
|
667
|
-
description: ( localize(
|
|
667
|
+
description: ( localize(3267, "Priority list for output mime types")),
|
|
668
668
|
type: 'array',
|
|
669
669
|
items: {
|
|
670
670
|
type: 'string'
|
|
@@ -673,12 +673,12 @@ configurationRegistry.registerConfiguration({
|
|
|
673
673
|
},
|
|
674
674
|
[NotebookSetting.cellToolbarLocation]: {
|
|
675
675
|
description: ( localize(
|
|
676
|
-
|
|
676
|
+
3268,
|
|
677
677
|
"Where the cell toolbar should be shown, or whether it should be hidden."
|
|
678
678
|
)),
|
|
679
679
|
type: 'object',
|
|
680
680
|
additionalProperties: {
|
|
681
|
-
markdownDescription: ( localize(
|
|
681
|
+
markdownDescription: ( localize(3269, "Configure the cell toolbar position for for specific file types")),
|
|
682
682
|
type: 'string',
|
|
683
683
|
enum: ['left', 'right', 'hidden']
|
|
684
684
|
},
|
|
@@ -688,14 +688,14 @@ configurationRegistry.registerConfiguration({
|
|
|
688
688
|
tags: ['notebookLayout']
|
|
689
689
|
},
|
|
690
690
|
[NotebookSetting.showCellStatusBar]: {
|
|
691
|
-
description: ( localize(
|
|
691
|
+
description: ( localize(3270, "Whether the cell status bar should be shown.")),
|
|
692
692
|
type: 'string',
|
|
693
693
|
enum: ['hidden', 'visible', 'visibleAfterExecute'],
|
|
694
694
|
enumDescriptions: [
|
|
695
|
-
( localize(
|
|
696
|
-
( localize(
|
|
695
|
+
( localize(3271, "The cell Status bar is always hidden.")),
|
|
696
|
+
( localize(3272, "The cell Status bar is always visible.")),
|
|
697
697
|
( localize(
|
|
698
|
-
|
|
698
|
+
3273,
|
|
699
699
|
"The cell Status bar is hidden until the cell has executed. Then it becomes visible to show the execution status."
|
|
700
700
|
))
|
|
701
701
|
],
|
|
@@ -703,14 +703,14 @@ configurationRegistry.registerConfiguration({
|
|
|
703
703
|
tags: ['notebookLayout']
|
|
704
704
|
},
|
|
705
705
|
[NotebookSetting.textDiffEditorPreview]: {
|
|
706
|
-
description: ( localize(
|
|
706
|
+
description: ( localize(3274, "Whether to use the enhanced text diff editor for notebook.")),
|
|
707
707
|
type: 'boolean',
|
|
708
708
|
default: true,
|
|
709
709
|
tags: ['notebookLayout']
|
|
710
710
|
},
|
|
711
711
|
[NotebookSetting.diffOverviewRuler]: {
|
|
712
712
|
description: ( localize(
|
|
713
|
-
|
|
713
|
+
3275,
|
|
714
714
|
"Whether to render the overview ruler in the diff editor for notebook."
|
|
715
715
|
)),
|
|
716
716
|
type: 'boolean',
|
|
@@ -718,21 +718,21 @@ configurationRegistry.registerConfiguration({
|
|
|
718
718
|
tags: ['notebookLayout']
|
|
719
719
|
},
|
|
720
720
|
[NotebookSetting.cellToolbarVisibility]: {
|
|
721
|
-
markdownDescription: ( localize(
|
|
721
|
+
markdownDescription: ( localize(3276, "Whether the cell toolbar should appear on hover or click.")),
|
|
722
722
|
type: 'string',
|
|
723
723
|
enum: ['hover', 'click'],
|
|
724
724
|
default: 'click',
|
|
725
725
|
tags: ['notebookLayout']
|
|
726
726
|
},
|
|
727
727
|
[NotebookSetting.undoRedoPerCell]: {
|
|
728
|
-
description: ( localize(
|
|
728
|
+
description: ( localize(3277, "Whether to use separate undo/redo stack for each cell.")),
|
|
729
729
|
type: 'boolean',
|
|
730
730
|
default: true,
|
|
731
731
|
tags: ['notebookLayout']
|
|
732
732
|
},
|
|
733
733
|
[NotebookSetting.compactView]: {
|
|
734
734
|
description: ( localize(
|
|
735
|
-
|
|
735
|
+
3278,
|
|
736
736
|
"Control whether the notebook editor should be rendered in a compact form. For example, when turned on, it will decrease the left margin width."
|
|
737
737
|
)),
|
|
738
738
|
type: 'boolean',
|
|
@@ -741,7 +741,7 @@ configurationRegistry.registerConfiguration({
|
|
|
741
741
|
},
|
|
742
742
|
[NotebookSetting.focusIndicator]: {
|
|
743
743
|
description: ( localize(
|
|
744
|
-
|
|
744
|
+
3279,
|
|
745
745
|
"Controls where the focus indicator is rendered, either along the cell borders or on the left gutter."
|
|
746
746
|
)),
|
|
747
747
|
type: 'string',
|
|
@@ -750,21 +750,21 @@ configurationRegistry.registerConfiguration({
|
|
|
750
750
|
tags: ['notebookLayout']
|
|
751
751
|
},
|
|
752
752
|
[NotebookSetting.insertToolbarLocation]: {
|
|
753
|
-
description: ( localize(
|
|
753
|
+
description: ( localize(3280, "Control where the insert cell actions should appear.")),
|
|
754
754
|
type: 'string',
|
|
755
755
|
enum: ['betweenCells', 'notebookToolbar', 'both', 'hidden'],
|
|
756
756
|
enumDescriptions: [
|
|
757
|
-
( localize(
|
|
758
|
-
( localize(
|
|
759
|
-
( localize(
|
|
760
|
-
( localize(
|
|
757
|
+
( localize(3281, "A toolbar that appears on hover between cells.")),
|
|
758
|
+
( localize(3282, "The toolbar at the top of the notebook editor.")),
|
|
759
|
+
( localize(3283, "Both toolbars.")),
|
|
760
|
+
( localize(3284, "The insert actions don't appear anywhere.")),
|
|
761
761
|
],
|
|
762
762
|
default: 'both',
|
|
763
763
|
tags: ['notebookLayout']
|
|
764
764
|
},
|
|
765
765
|
[NotebookSetting.globalToolbar]: {
|
|
766
766
|
description: ( localize(
|
|
767
|
-
|
|
767
|
+
3285,
|
|
768
768
|
"Control whether to render a global toolbar inside the notebook editor."
|
|
769
769
|
)),
|
|
770
770
|
type: 'boolean',
|
|
@@ -773,7 +773,7 @@ configurationRegistry.registerConfiguration({
|
|
|
773
773
|
},
|
|
774
774
|
[NotebookSetting.stickyScrollEnabled]: {
|
|
775
775
|
description: ( localize(
|
|
776
|
-
|
|
776
|
+
3286,
|
|
777
777
|
"Experimental. Control whether to render notebook Sticky Scroll headers in the notebook editor."
|
|
778
778
|
)),
|
|
779
779
|
type: 'boolean',
|
|
@@ -782,21 +782,21 @@ configurationRegistry.registerConfiguration({
|
|
|
782
782
|
},
|
|
783
783
|
[NotebookSetting.stickyScrollMode]: {
|
|
784
784
|
description: ( localize(
|
|
785
|
-
|
|
785
|
+
3287,
|
|
786
786
|
"Control whether nested sticky lines appear to stack flat or indented."
|
|
787
787
|
)),
|
|
788
788
|
type: 'string',
|
|
789
789
|
enum: ['flat', 'indented'],
|
|
790
790
|
enumDescriptions: [
|
|
791
|
-
( localize(
|
|
792
|
-
( localize(
|
|
791
|
+
( localize(3288, "Nested sticky lines appear flat.")),
|
|
792
|
+
( localize(3289, "Nested sticky lines appear indented.")),
|
|
793
793
|
],
|
|
794
794
|
default: 'indented',
|
|
795
795
|
tags: ['notebookLayout']
|
|
796
796
|
},
|
|
797
797
|
[NotebookSetting.consolidatedOutputButton]: {
|
|
798
798
|
description: ( localize(
|
|
799
|
-
|
|
799
|
+
3290,
|
|
800
800
|
"Control whether outputs action should be rendered in the output toolbar."
|
|
801
801
|
)),
|
|
802
802
|
type: 'boolean',
|
|
@@ -804,20 +804,20 @@ configurationRegistry.registerConfiguration({
|
|
|
804
804
|
tags: ['notebookLayout']
|
|
805
805
|
},
|
|
806
806
|
[NotebookSetting.showFoldingControls]: {
|
|
807
|
-
description: ( localize(
|
|
807
|
+
description: ( localize(3291, "Controls when the Markdown header folding arrow is shown.")),
|
|
808
808
|
type: 'string',
|
|
809
809
|
enum: ['always', 'never', 'mouseover'],
|
|
810
810
|
enumDescriptions: [
|
|
811
|
-
( localize(
|
|
812
|
-
( localize(
|
|
813
|
-
( localize(
|
|
811
|
+
( localize(3292, "The folding controls are always visible.")),
|
|
812
|
+
( localize(3293, "Never show the folding controls and reduce the gutter size.")),
|
|
813
|
+
( localize(3294, "The folding controls are visible only on mouseover.")),
|
|
814
814
|
],
|
|
815
815
|
default: 'mouseover',
|
|
816
816
|
tags: ['notebookLayout']
|
|
817
817
|
},
|
|
818
818
|
[NotebookSetting.dragAndDropEnabled]: {
|
|
819
819
|
description: ( localize(
|
|
820
|
-
|
|
820
|
+
3295,
|
|
821
821
|
"Control whether the notebook editor should allow moving cells through drag and drop."
|
|
822
822
|
)),
|
|
823
823
|
type: 'boolean',
|
|
@@ -826,7 +826,7 @@ configurationRegistry.registerConfiguration({
|
|
|
826
826
|
},
|
|
827
827
|
[NotebookSetting.consolidatedRunButton]: {
|
|
828
828
|
description: ( localize(
|
|
829
|
-
|
|
829
|
+
3296,
|
|
830
830
|
"Control whether extra actions are shown in a dropdown next to the run button."
|
|
831
831
|
)),
|
|
832
832
|
type: 'boolean',
|
|
@@ -835,7 +835,7 @@ configurationRegistry.registerConfiguration({
|
|
|
835
835
|
},
|
|
836
836
|
[NotebookSetting.globalToolbarShowLabel]: {
|
|
837
837
|
description: ( localize(
|
|
838
|
-
|
|
838
|
+
3297,
|
|
839
839
|
"Control whether the actions on the notebook toolbar should render label or not."
|
|
840
840
|
)),
|
|
841
841
|
type: 'string',
|
|
@@ -845,7 +845,7 @@ configurationRegistry.registerConfiguration({
|
|
|
845
845
|
},
|
|
846
846
|
[NotebookSetting.textOutputLineLimit]: {
|
|
847
847
|
markdownDescription: ( localize(
|
|
848
|
-
|
|
848
|
+
3298,
|
|
849
849
|
"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.",
|
|
850
850
|
'`#notebook.output.scrolling#`'
|
|
851
851
|
)),
|
|
@@ -856,7 +856,7 @@ configurationRegistry.registerConfiguration({
|
|
|
856
856
|
},
|
|
857
857
|
[NotebookSetting.LinkifyOutputFilePaths]: {
|
|
858
858
|
description: ( localize(
|
|
859
|
-
|
|
859
|
+
3299,
|
|
860
860
|
"Control whether to disable filepath links in the output of notebook cells."
|
|
861
861
|
)),
|
|
862
862
|
type: 'boolean',
|
|
@@ -864,14 +864,14 @@ configurationRegistry.registerConfiguration({
|
|
|
864
864
|
tags: ['notebookOutputLayout']
|
|
865
865
|
},
|
|
866
866
|
[NotebookSetting.minimalErrorRendering]: {
|
|
867
|
-
description: ( localize(
|
|
867
|
+
description: ( localize(3300, "Control whether to render error output in a minimal style.")),
|
|
868
868
|
type: 'boolean',
|
|
869
869
|
default: false,
|
|
870
870
|
tags: ['notebookOutputLayout']
|
|
871
871
|
},
|
|
872
872
|
[NotebookSetting.markupFontSize]: {
|
|
873
873
|
markdownDescription: ( localize(
|
|
874
|
-
|
|
874
|
+
3301,
|
|
875
875
|
"Controls the font size in pixels of rendered markup in notebooks. When set to {0}, 120% of {1} is used.",
|
|
876
876
|
'`0`',
|
|
877
877
|
'`#editor.fontSize#`'
|
|
@@ -882,7 +882,7 @@ configurationRegistry.registerConfiguration({
|
|
|
882
882
|
},
|
|
883
883
|
[NotebookSetting.markdownLineHeight]: {
|
|
884
884
|
markdownDescription: ( localize(
|
|
885
|
-
|
|
885
|
+
3302,
|
|
886
886
|
"Controls the line height in pixels of markdown cells in notebooks. When set to {0}, {1} will be used",
|
|
887
887
|
'`0`',
|
|
888
888
|
'`normal`'
|
|
@@ -894,7 +894,7 @@ configurationRegistry.registerConfiguration({
|
|
|
894
894
|
[NotebookSetting.cellEditorOptionsCustomizations]: editorOptionsCustomizationSchema,
|
|
895
895
|
[NotebookSetting.interactiveWindowCollapseCodeCells]: {
|
|
896
896
|
markdownDescription: ( localize(
|
|
897
|
-
|
|
897
|
+
3303,
|
|
898
898
|
"Controls whether code cells in the interactive window are collapsed by default."
|
|
899
899
|
)),
|
|
900
900
|
type: 'string',
|
|
@@ -903,7 +903,7 @@ configurationRegistry.registerConfiguration({
|
|
|
903
903
|
},
|
|
904
904
|
[NotebookSetting.outputLineHeight]: {
|
|
905
905
|
markdownDescription: ( localize(
|
|
906
|
-
|
|
906
|
+
3304,
|
|
907
907
|
"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."
|
|
908
908
|
)),
|
|
909
909
|
type: 'number',
|
|
@@ -912,7 +912,7 @@ configurationRegistry.registerConfiguration({
|
|
|
912
912
|
},
|
|
913
913
|
[NotebookSetting.outputFontSize]: {
|
|
914
914
|
markdownDescription: ( localize(
|
|
915
|
-
|
|
915
|
+
3305,
|
|
916
916
|
"Font size for the output text within notebook cells. When set to 0, {0} is used.",
|
|
917
917
|
'`#editor.fontSize#`'
|
|
918
918
|
)),
|
|
@@ -922,7 +922,7 @@ configurationRegistry.registerConfiguration({
|
|
|
922
922
|
},
|
|
923
923
|
[NotebookSetting.outputFontFamily]: {
|
|
924
924
|
markdownDescription: ( localize(
|
|
925
|
-
|
|
925
|
+
3306,
|
|
926
926
|
"The font family of the output text within notebook cells. When set to empty, the {0} is used.",
|
|
927
927
|
'`#editor.fontFamily#`'
|
|
928
928
|
)),
|
|
@@ -931,7 +931,7 @@ configurationRegistry.registerConfiguration({
|
|
|
931
931
|
},
|
|
932
932
|
[NotebookSetting.outputScrolling]: {
|
|
933
933
|
markdownDescription: ( localize(
|
|
934
|
-
|
|
934
|
+
3307,
|
|
935
935
|
"Initially render notebook outputs in a scrollable region when longer than the limit."
|
|
936
936
|
)),
|
|
937
937
|
type: 'boolean',
|
|
@@ -939,14 +939,14 @@ configurationRegistry.registerConfiguration({
|
|
|
939
939
|
default: typeof product$1.quality === 'string' && product$1.quality !== 'stable'
|
|
940
940
|
},
|
|
941
941
|
[NotebookSetting.outputWordWrap]: {
|
|
942
|
-
markdownDescription: ( localize(
|
|
942
|
+
markdownDescription: ( localize(3308, "Controls whether the lines in output should wrap.")),
|
|
943
943
|
type: 'boolean',
|
|
944
944
|
tags: ['notebookLayout', 'notebookOutputLayout'],
|
|
945
945
|
default: false
|
|
946
946
|
},
|
|
947
947
|
[NotebookSetting.defaultFormatter]: {
|
|
948
948
|
description: ( localize(
|
|
949
|
-
|
|
949
|
+
3309,
|
|
950
950
|
"Defines a default notebook formatter which takes precedence over all other formatter settings. Must be the identifier of an extension contributing a formatter."
|
|
951
951
|
)),
|
|
952
952
|
type: ['string', 'null'],
|
|
@@ -957,7 +957,7 @@ configurationRegistry.registerConfiguration({
|
|
|
957
957
|
},
|
|
958
958
|
[NotebookSetting.formatOnSave]: {
|
|
959
959
|
markdownDescription: ( localize(
|
|
960
|
-
|
|
960
|
+
3310,
|
|
961
961
|
"Format a notebook on save. A formatter must be available, the file must not be saved after delay, and the editor must not be shutting down."
|
|
962
962
|
)),
|
|
963
963
|
type: 'boolean',
|
|
@@ -966,7 +966,7 @@ configurationRegistry.registerConfiguration({
|
|
|
966
966
|
},
|
|
967
967
|
[NotebookSetting.insertFinalNewline]: {
|
|
968
968
|
markdownDescription: ( localize(
|
|
969
|
-
|
|
969
|
+
3311,
|
|
970
970
|
"When enabled, insert a final new line into the end of code cells when saving a notebook."
|
|
971
971
|
)),
|
|
972
972
|
type: 'boolean',
|
|
@@ -975,7 +975,7 @@ configurationRegistry.registerConfiguration({
|
|
|
975
975
|
},
|
|
976
976
|
[NotebookSetting.formatOnCellExecution]: {
|
|
977
977
|
markdownDescription: ( localize(
|
|
978
|
-
|
|
978
|
+
3312,
|
|
979
979
|
"Format a notebook cell upon execution. A formatter must be available."
|
|
980
980
|
)),
|
|
981
981
|
type: 'boolean',
|
|
@@ -983,7 +983,7 @@ configurationRegistry.registerConfiguration({
|
|
|
983
983
|
},
|
|
984
984
|
[NotebookSetting.confirmDeleteRunningCell]: {
|
|
985
985
|
markdownDescription: ( localize(
|
|
986
|
-
|
|
986
|
+
3313,
|
|
987
987
|
"Control whether a confirmation prompt is required to delete a running cell."
|
|
988
988
|
)),
|
|
989
989
|
type: 'boolean',
|
|
@@ -991,7 +991,7 @@ configurationRegistry.registerConfiguration({
|
|
|
991
991
|
},
|
|
992
992
|
[NotebookSetting.findFilters]: {
|
|
993
993
|
markdownDescription: ( localize(
|
|
994
|
-
|
|
994
|
+
3314,
|
|
995
995
|
"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."
|
|
996
996
|
)),
|
|
997
997
|
type: 'object',
|
|
@@ -1023,7 +1023,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1023
1023
|
},
|
|
1024
1024
|
[NotebookSetting.remoteSaving]: {
|
|
1025
1025
|
markdownDescription: ( localize(
|
|
1026
|
-
|
|
1026
|
+
3315,
|
|
1027
1027
|
"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."
|
|
1028
1028
|
)),
|
|
1029
1029
|
type: 'boolean',
|
|
@@ -1032,22 +1032,22 @@ configurationRegistry.registerConfiguration({
|
|
|
1032
1032
|
},
|
|
1033
1033
|
[NotebookSetting.scrollToRevealCell]: {
|
|
1034
1034
|
markdownDescription: ( localize(
|
|
1035
|
-
|
|
1035
|
+
3316,
|
|
1036
1036
|
"How far to scroll when revealing the next cell upon running {0}.",
|
|
1037
1037
|
'notebook.cell.executeAndSelectBelow'
|
|
1038
1038
|
)),
|
|
1039
1039
|
type: 'string',
|
|
1040
1040
|
enum: ['fullCell', 'firstLine', 'none'],
|
|
1041
1041
|
markdownEnumDescriptions: [
|
|
1042
|
-
( localize(
|
|
1043
|
-
( localize(
|
|
1044
|
-
( localize(
|
|
1042
|
+
( localize(3317, 'Scroll to fully reveal the next cell.')),
|
|
1043
|
+
( localize(3318, 'Scroll to reveal the first line of the next cell.')),
|
|
1044
|
+
( localize(3319, 'Do not scroll.')),
|
|
1045
1045
|
],
|
|
1046
1046
|
default: 'fullCell'
|
|
1047
1047
|
},
|
|
1048
1048
|
[NotebookSetting.cellGenerate]: {
|
|
1049
1049
|
markdownDescription: ( localize(
|
|
1050
|
-
|
|
1050
|
+
3320,
|
|
1051
1051
|
"Enable experimental generate action to create code cell with inline chat enabled."
|
|
1052
1052
|
)),
|
|
1053
1053
|
type: 'boolean',
|
|
@@ -1056,20 +1056,20 @@ configurationRegistry.registerConfiguration({
|
|
|
1056
1056
|
},
|
|
1057
1057
|
[NotebookSetting.notebookVariablesView]: {
|
|
1058
1058
|
markdownDescription: ( localize(
|
|
1059
|
-
|
|
1059
|
+
3321,
|
|
1060
1060
|
"Enable the experimental notebook variables view within the debug panel."
|
|
1061
1061
|
)),
|
|
1062
1062
|
type: 'boolean',
|
|
1063
1063
|
default: false
|
|
1064
1064
|
},
|
|
1065
1065
|
[NotebookSetting.cellFailureDiagnostics]: {
|
|
1066
|
-
markdownDescription: ( localize(
|
|
1066
|
+
markdownDescription: ( localize(3322, "Show available diagnostics for cell failures.")),
|
|
1067
1067
|
type: 'boolean',
|
|
1068
1068
|
default: true
|
|
1069
1069
|
},
|
|
1070
1070
|
[NotebookSetting.outputBackupSizeLimit]: {
|
|
1071
1071
|
markdownDescription: ( localize(
|
|
1072
|
-
|
|
1072
|
+
3323,
|
|
1073
1073
|
"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."
|
|
1074
1074
|
)),
|
|
1075
1075
|
type: 'number',
|
|
@@ -25,51 +25,51 @@ class NotebookAccessibilityHelp {
|
|
|
25
25
|
function getAccessibilityHelpText() {
|
|
26
26
|
return [
|
|
27
27
|
( localize(
|
|
28
|
-
|
|
28
|
+
8070,
|
|
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
|
+
8071,
|
|
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
|
+
8072,
|
|
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
|
+
8073,
|
|
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
|
+
8074,
|
|
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
|
+
8075,
|
|
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
|
+
8076,
|
|
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
|
+
8077,
|
|
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
|
+
8078,
|
|
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
|
+
8079,
|
|
73
73
|
'The Change Cell to Code/Markdown commands are used to switch between cell types.'
|
|
74
74
|
))
|
|
75
75
|
].join('\n');
|