@codingame/monaco-vscode-notebook-service-override 10.0.1 → 10.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 +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/notebookVariablesDataSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +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/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
|
@@ -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(8113, '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(8114, '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(8115, '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(8116, '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(8117, '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(8118, '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(8119, "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(8120, "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(8121, "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(8122, "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(8123, "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(8121, "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(8124, "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(8125, '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(8126, '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(8127, "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(8128, "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(8129, "Hide Metadata Differences"))
|
|
620
620
|
},
|
|
621
621
|
'notebook.diff.ignoreOutputs': {
|
|
622
622
|
type: 'boolean',
|
|
623
623
|
default: false,
|
|
624
|
-
markdownDescription: ( localize(
|
|
624
|
+
markdownDescription: ( localize(8130, "Hide Outputs Differences"))
|
|
625
625
|
},
|
|
626
626
|
}
|
|
627
627
|
});
|
|
@@ -725,7 +725,7 @@ for (const editorOption of editorOptionsRegistry) {
|
|
|
725
725
|
}
|
|
726
726
|
const editorOptionsCustomizationSchema = {
|
|
727
727
|
description: ( localize(
|
|
728
|
-
|
|
728
|
+
3300,
|
|
729
729
|
'Settings for code editors used in notebooks. This can be used to customize most editor.* settings.'
|
|
730
730
|
)),
|
|
731
731
|
default: {},
|
|
@@ -740,11 +740,11 @@ const configurationRegistry = ( (Registry.as(Extensions$2.Configuration)));
|
|
|
740
740
|
configurationRegistry.registerConfiguration({
|
|
741
741
|
id: 'notebook',
|
|
742
742
|
order: 100,
|
|
743
|
-
title: ( localize(
|
|
743
|
+
title: ( localize(3301, "Notebook")),
|
|
744
744
|
type: 'object',
|
|
745
745
|
properties: {
|
|
746
746
|
[NotebookSetting.displayOrder]: {
|
|
747
|
-
description: ( localize(
|
|
747
|
+
description: ( localize(3302, "Priority list for output mime types")),
|
|
748
748
|
type: 'array',
|
|
749
749
|
items: {
|
|
750
750
|
type: 'string'
|
|
@@ -753,12 +753,12 @@ configurationRegistry.registerConfiguration({
|
|
|
753
753
|
},
|
|
754
754
|
[NotebookSetting.cellToolbarLocation]: {
|
|
755
755
|
description: ( localize(
|
|
756
|
-
|
|
756
|
+
3303,
|
|
757
757
|
"Where the cell toolbar should be shown, or whether it should be hidden."
|
|
758
758
|
)),
|
|
759
759
|
type: 'object',
|
|
760
760
|
additionalProperties: {
|
|
761
|
-
markdownDescription: ( localize(
|
|
761
|
+
markdownDescription: ( localize(3304, "Configure the cell toolbar position for for specific file types")),
|
|
762
762
|
type: 'string',
|
|
763
763
|
enum: ['left', 'right', 'hidden']
|
|
764
764
|
},
|
|
@@ -768,14 +768,14 @@ configurationRegistry.registerConfiguration({
|
|
|
768
768
|
tags: ['notebookLayout']
|
|
769
769
|
},
|
|
770
770
|
[NotebookSetting.showCellStatusBar]: {
|
|
771
|
-
description: ( localize(
|
|
771
|
+
description: ( localize(3305, "Whether the cell status bar should be shown.")),
|
|
772
772
|
type: 'string',
|
|
773
773
|
enum: ['hidden', 'visible', 'visibleAfterExecute'],
|
|
774
774
|
enumDescriptions: [
|
|
775
|
-
( localize(
|
|
776
|
-
( localize(
|
|
775
|
+
( localize(3306, "The cell Status bar is always hidden.")),
|
|
776
|
+
( localize(3307, "The cell Status bar is always visible.")),
|
|
777
777
|
( localize(
|
|
778
|
-
|
|
778
|
+
3308,
|
|
779
779
|
"The cell Status bar is hidden until the cell has executed. Then it becomes visible to show the execution status."
|
|
780
780
|
))
|
|
781
781
|
],
|
|
@@ -783,14 +783,14 @@ configurationRegistry.registerConfiguration({
|
|
|
783
783
|
tags: ['notebookLayout']
|
|
784
784
|
},
|
|
785
785
|
[NotebookSetting.textDiffEditorPreview]: {
|
|
786
|
-
description: ( localize(
|
|
786
|
+
description: ( localize(3309, "Whether to use the enhanced text diff editor for notebook.")),
|
|
787
787
|
type: 'boolean',
|
|
788
788
|
default: true,
|
|
789
789
|
tags: ['notebookLayout']
|
|
790
790
|
},
|
|
791
791
|
[NotebookSetting.diffOverviewRuler]: {
|
|
792
792
|
description: ( localize(
|
|
793
|
-
|
|
793
|
+
3310,
|
|
794
794
|
"Whether to render the overview ruler in the diff editor for notebook."
|
|
795
795
|
)),
|
|
796
796
|
type: 'boolean',
|
|
@@ -798,21 +798,21 @@ configurationRegistry.registerConfiguration({
|
|
|
798
798
|
tags: ['notebookLayout']
|
|
799
799
|
},
|
|
800
800
|
[NotebookSetting.cellToolbarVisibility]: {
|
|
801
|
-
markdownDescription: ( localize(
|
|
801
|
+
markdownDescription: ( localize(3311, "Whether the cell toolbar should appear on hover or click.")),
|
|
802
802
|
type: 'string',
|
|
803
803
|
enum: ['hover', 'click'],
|
|
804
804
|
default: 'click',
|
|
805
805
|
tags: ['notebookLayout']
|
|
806
806
|
},
|
|
807
807
|
[NotebookSetting.undoRedoPerCell]: {
|
|
808
|
-
description: ( localize(
|
|
808
|
+
description: ( localize(3312, "Whether to use separate undo/redo stack for each cell.")),
|
|
809
809
|
type: 'boolean',
|
|
810
810
|
default: true,
|
|
811
811
|
tags: ['notebookLayout']
|
|
812
812
|
},
|
|
813
813
|
[NotebookSetting.compactView]: {
|
|
814
814
|
description: ( localize(
|
|
815
|
-
|
|
815
|
+
3313,
|
|
816
816
|
"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
817
|
)),
|
|
818
818
|
type: 'boolean',
|
|
@@ -821,7 +821,7 @@ configurationRegistry.registerConfiguration({
|
|
|
821
821
|
},
|
|
822
822
|
[NotebookSetting.focusIndicator]: {
|
|
823
823
|
description: ( localize(
|
|
824
|
-
|
|
824
|
+
3314,
|
|
825
825
|
"Controls where the focus indicator is rendered, either along the cell borders or on the left gutter."
|
|
826
826
|
)),
|
|
827
827
|
type: 'string',
|
|
@@ -830,21 +830,21 @@ configurationRegistry.registerConfiguration({
|
|
|
830
830
|
tags: ['notebookLayout']
|
|
831
831
|
},
|
|
832
832
|
[NotebookSetting.insertToolbarLocation]: {
|
|
833
|
-
description: ( localize(
|
|
833
|
+
description: ( localize(3315, "Control where the insert cell actions should appear.")),
|
|
834
834
|
type: 'string',
|
|
835
835
|
enum: ['betweenCells', 'notebookToolbar', 'both', 'hidden'],
|
|
836
836
|
enumDescriptions: [
|
|
837
|
-
( localize(
|
|
838
|
-
( localize(
|
|
839
|
-
( localize(
|
|
840
|
-
( localize(
|
|
837
|
+
( localize(3316, "A toolbar that appears on hover between cells.")),
|
|
838
|
+
( localize(3317, "The toolbar at the top of the notebook editor.")),
|
|
839
|
+
( localize(3318, "Both toolbars.")),
|
|
840
|
+
( localize(3319, "The insert actions don't appear anywhere.")),
|
|
841
841
|
],
|
|
842
842
|
default: 'both',
|
|
843
843
|
tags: ['notebookLayout']
|
|
844
844
|
},
|
|
845
845
|
[NotebookSetting.globalToolbar]: {
|
|
846
846
|
description: ( localize(
|
|
847
|
-
|
|
847
|
+
3320,
|
|
848
848
|
"Control whether to render a global toolbar inside the notebook editor."
|
|
849
849
|
)),
|
|
850
850
|
type: 'boolean',
|
|
@@ -853,7 +853,7 @@ configurationRegistry.registerConfiguration({
|
|
|
853
853
|
},
|
|
854
854
|
[NotebookSetting.stickyScrollEnabled]: {
|
|
855
855
|
description: ( localize(
|
|
856
|
-
|
|
856
|
+
3321,
|
|
857
857
|
"Experimental. Control whether to render notebook Sticky Scroll headers in the notebook editor."
|
|
858
858
|
)),
|
|
859
859
|
type: 'boolean',
|
|
@@ -862,21 +862,21 @@ configurationRegistry.registerConfiguration({
|
|
|
862
862
|
},
|
|
863
863
|
[NotebookSetting.stickyScrollMode]: {
|
|
864
864
|
description: ( localize(
|
|
865
|
-
|
|
865
|
+
3322,
|
|
866
866
|
"Control whether nested sticky lines appear to stack flat or indented."
|
|
867
867
|
)),
|
|
868
868
|
type: 'string',
|
|
869
869
|
enum: ['flat', 'indented'],
|
|
870
870
|
enumDescriptions: [
|
|
871
|
-
( localize(
|
|
872
|
-
( localize(
|
|
871
|
+
( localize(3323, "Nested sticky lines appear flat.")),
|
|
872
|
+
( localize(3324, "Nested sticky lines appear indented.")),
|
|
873
873
|
],
|
|
874
874
|
default: 'indented',
|
|
875
875
|
tags: ['notebookLayout']
|
|
876
876
|
},
|
|
877
877
|
[NotebookSetting.consolidatedOutputButton]: {
|
|
878
878
|
description: ( localize(
|
|
879
|
-
|
|
879
|
+
3325,
|
|
880
880
|
"Control whether outputs action should be rendered in the output toolbar."
|
|
881
881
|
)),
|
|
882
882
|
type: 'boolean',
|
|
@@ -884,20 +884,20 @@ configurationRegistry.registerConfiguration({
|
|
|
884
884
|
tags: ['notebookLayout']
|
|
885
885
|
},
|
|
886
886
|
[NotebookSetting.showFoldingControls]: {
|
|
887
|
-
description: ( localize(
|
|
887
|
+
description: ( localize(3326, "Controls when the Markdown header folding arrow is shown.")),
|
|
888
888
|
type: 'string',
|
|
889
889
|
enum: ['always', 'never', 'mouseover'],
|
|
890
890
|
enumDescriptions: [
|
|
891
|
-
( localize(
|
|
892
|
-
( localize(
|
|
893
|
-
( localize(
|
|
891
|
+
( localize(3327, "The folding controls are always visible.")),
|
|
892
|
+
( localize(3328, "Never show the folding controls and reduce the gutter size.")),
|
|
893
|
+
( localize(3329, "The folding controls are visible only on mouseover.")),
|
|
894
894
|
],
|
|
895
895
|
default: 'mouseover',
|
|
896
896
|
tags: ['notebookLayout']
|
|
897
897
|
},
|
|
898
898
|
[NotebookSetting.dragAndDropEnabled]: {
|
|
899
899
|
description: ( localize(
|
|
900
|
-
|
|
900
|
+
3330,
|
|
901
901
|
"Control whether the notebook editor should allow moving cells through drag and drop."
|
|
902
902
|
)),
|
|
903
903
|
type: 'boolean',
|
|
@@ -906,7 +906,7 @@ configurationRegistry.registerConfiguration({
|
|
|
906
906
|
},
|
|
907
907
|
[NotebookSetting.consolidatedRunButton]: {
|
|
908
908
|
description: ( localize(
|
|
909
|
-
|
|
909
|
+
3331,
|
|
910
910
|
"Control whether extra actions are shown in a dropdown next to the run button."
|
|
911
911
|
)),
|
|
912
912
|
type: 'boolean',
|
|
@@ -915,7 +915,7 @@ configurationRegistry.registerConfiguration({
|
|
|
915
915
|
},
|
|
916
916
|
[NotebookSetting.globalToolbarShowLabel]: {
|
|
917
917
|
description: ( localize(
|
|
918
|
-
|
|
918
|
+
3332,
|
|
919
919
|
"Control whether the actions on the notebook toolbar should render label or not."
|
|
920
920
|
)),
|
|
921
921
|
type: 'string',
|
|
@@ -925,7 +925,7 @@ configurationRegistry.registerConfiguration({
|
|
|
925
925
|
},
|
|
926
926
|
[NotebookSetting.textOutputLineLimit]: {
|
|
927
927
|
markdownDescription: ( localize(
|
|
928
|
-
|
|
928
|
+
3333,
|
|
929
929
|
"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
930
|
'`#notebook.output.scrolling#`'
|
|
931
931
|
)),
|
|
@@ -936,7 +936,7 @@ configurationRegistry.registerConfiguration({
|
|
|
936
936
|
},
|
|
937
937
|
[NotebookSetting.LinkifyOutputFilePaths]: {
|
|
938
938
|
description: ( localize(
|
|
939
|
-
|
|
939
|
+
3334,
|
|
940
940
|
"Control whether to disable filepath links in the output of notebook cells."
|
|
941
941
|
)),
|
|
942
942
|
type: 'boolean',
|
|
@@ -944,14 +944,14 @@ configurationRegistry.registerConfiguration({
|
|
|
944
944
|
tags: ['notebookOutputLayout']
|
|
945
945
|
},
|
|
946
946
|
[NotebookSetting.minimalErrorRendering]: {
|
|
947
|
-
description: ( localize(
|
|
947
|
+
description: ( localize(3335, "Control whether to render error output in a minimal style.")),
|
|
948
948
|
type: 'boolean',
|
|
949
949
|
default: false,
|
|
950
950
|
tags: ['notebookOutputLayout']
|
|
951
951
|
},
|
|
952
952
|
[NotebookSetting.markupFontSize]: {
|
|
953
953
|
markdownDescription: ( localize(
|
|
954
|
-
|
|
954
|
+
3336,
|
|
955
955
|
"Controls the font size in pixels of rendered markup in notebooks. When set to {0}, 120% of {1} is used.",
|
|
956
956
|
'`0`',
|
|
957
957
|
'`#editor.fontSize#`'
|
|
@@ -962,7 +962,7 @@ configurationRegistry.registerConfiguration({
|
|
|
962
962
|
},
|
|
963
963
|
[NotebookSetting.markdownLineHeight]: {
|
|
964
964
|
markdownDescription: ( localize(
|
|
965
|
-
|
|
965
|
+
3337,
|
|
966
966
|
"Controls the line height in pixels of markdown cells in notebooks. When set to {0}, {1} will be used",
|
|
967
967
|
'`0`',
|
|
968
968
|
'`normal`'
|
|
@@ -974,7 +974,7 @@ configurationRegistry.registerConfiguration({
|
|
|
974
974
|
[NotebookSetting.cellEditorOptionsCustomizations]: editorOptionsCustomizationSchema,
|
|
975
975
|
[NotebookSetting.interactiveWindowCollapseCodeCells]: {
|
|
976
976
|
markdownDescription: ( localize(
|
|
977
|
-
|
|
977
|
+
3338,
|
|
978
978
|
"Controls whether code cells in the interactive window are collapsed by default."
|
|
979
979
|
)),
|
|
980
980
|
type: 'string',
|
|
@@ -983,7 +983,7 @@ configurationRegistry.registerConfiguration({
|
|
|
983
983
|
},
|
|
984
984
|
[NotebookSetting.outputLineHeight]: {
|
|
985
985
|
markdownDescription: ( localize(
|
|
986
|
-
|
|
986
|
+
3339,
|
|
987
987
|
"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
988
|
)),
|
|
989
989
|
type: 'number',
|
|
@@ -992,7 +992,7 @@ configurationRegistry.registerConfiguration({
|
|
|
992
992
|
},
|
|
993
993
|
[NotebookSetting.outputFontSize]: {
|
|
994
994
|
markdownDescription: ( localize(
|
|
995
|
-
|
|
995
|
+
3340,
|
|
996
996
|
"Font size for the output text within notebook cells. When set to 0, {0} is used.",
|
|
997
997
|
'`#editor.fontSize#`'
|
|
998
998
|
)),
|
|
@@ -1002,7 +1002,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1002
1002
|
},
|
|
1003
1003
|
[NotebookSetting.outputFontFamily]: {
|
|
1004
1004
|
markdownDescription: ( localize(
|
|
1005
|
-
|
|
1005
|
+
3341,
|
|
1006
1006
|
"The font family of the output text within notebook cells. When set to empty, the {0} is used.",
|
|
1007
1007
|
'`#editor.fontFamily#`'
|
|
1008
1008
|
)),
|
|
@@ -1011,7 +1011,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1011
1011
|
},
|
|
1012
1012
|
[NotebookSetting.outputScrolling]: {
|
|
1013
1013
|
markdownDescription: ( localize(
|
|
1014
|
-
|
|
1014
|
+
3342,
|
|
1015
1015
|
"Initially render notebook outputs in a scrollable region when longer than the limit."
|
|
1016
1016
|
)),
|
|
1017
1017
|
type: 'boolean',
|
|
@@ -1019,14 +1019,14 @@ configurationRegistry.registerConfiguration({
|
|
|
1019
1019
|
default: typeof product$1.quality === 'string' && product$1.quality !== 'stable'
|
|
1020
1020
|
},
|
|
1021
1021
|
[NotebookSetting.outputWordWrap]: {
|
|
1022
|
-
markdownDescription: ( localize(
|
|
1022
|
+
markdownDescription: ( localize(3343, "Controls whether the lines in output should wrap.")),
|
|
1023
1023
|
type: 'boolean',
|
|
1024
1024
|
tags: ['notebookLayout', 'notebookOutputLayout'],
|
|
1025
1025
|
default: false
|
|
1026
1026
|
},
|
|
1027
1027
|
[NotebookSetting.defaultFormatter]: {
|
|
1028
1028
|
description: ( localize(
|
|
1029
|
-
|
|
1029
|
+
3344,
|
|
1030
1030
|
"Defines a default notebook formatter which takes precedence over all other formatter settings. Must be the identifier of an extension contributing a formatter."
|
|
1031
1031
|
)),
|
|
1032
1032
|
type: ['string', 'null'],
|
|
@@ -1037,7 +1037,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1037
1037
|
},
|
|
1038
1038
|
[NotebookSetting.formatOnSave]: {
|
|
1039
1039
|
markdownDescription: ( localize(
|
|
1040
|
-
|
|
1040
|
+
3345,
|
|
1041
1041
|
"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."
|
|
1042
1042
|
)),
|
|
1043
1043
|
type: 'boolean',
|
|
@@ -1046,7 +1046,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1046
1046
|
},
|
|
1047
1047
|
[NotebookSetting.insertFinalNewline]: {
|
|
1048
1048
|
markdownDescription: ( localize(
|
|
1049
|
-
|
|
1049
|
+
3346,
|
|
1050
1050
|
"When enabled, insert a final new line into the end of code cells when saving a notebook."
|
|
1051
1051
|
)),
|
|
1052
1052
|
type: 'boolean',
|
|
@@ -1055,7 +1055,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1055
1055
|
},
|
|
1056
1056
|
[NotebookSetting.formatOnCellExecution]: {
|
|
1057
1057
|
markdownDescription: ( localize(
|
|
1058
|
-
|
|
1058
|
+
3347,
|
|
1059
1059
|
"Format a notebook cell upon execution. A formatter must be available."
|
|
1060
1060
|
)),
|
|
1061
1061
|
type: 'boolean',
|
|
@@ -1063,7 +1063,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1063
1063
|
},
|
|
1064
1064
|
[NotebookSetting.confirmDeleteRunningCell]: {
|
|
1065
1065
|
markdownDescription: ( localize(
|
|
1066
|
-
|
|
1066
|
+
3348,
|
|
1067
1067
|
"Control whether a confirmation prompt is required to delete a running cell."
|
|
1068
1068
|
)),
|
|
1069
1069
|
type: 'boolean',
|
|
@@ -1071,7 +1071,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1071
1071
|
},
|
|
1072
1072
|
[NotebookSetting.findFilters]: {
|
|
1073
1073
|
markdownDescription: ( localize(
|
|
1074
|
-
|
|
1074
|
+
3349,
|
|
1075
1075
|
"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
1076
|
)),
|
|
1077
1077
|
type: 'object',
|
|
@@ -1103,7 +1103,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1103
1103
|
},
|
|
1104
1104
|
[NotebookSetting.remoteSaving]: {
|
|
1105
1105
|
markdownDescription: ( localize(
|
|
1106
|
-
|
|
1106
|
+
3350,
|
|
1107
1107
|
"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
1108
|
)),
|
|
1109
1109
|
type: 'boolean',
|
|
@@ -1112,22 +1112,22 @@ configurationRegistry.registerConfiguration({
|
|
|
1112
1112
|
},
|
|
1113
1113
|
[NotebookSetting.scrollToRevealCell]: {
|
|
1114
1114
|
markdownDescription: ( localize(
|
|
1115
|
-
|
|
1115
|
+
3351,
|
|
1116
1116
|
"How far to scroll when revealing the next cell upon running {0}.",
|
|
1117
1117
|
'notebook.cell.executeAndSelectBelow'
|
|
1118
1118
|
)),
|
|
1119
1119
|
type: 'string',
|
|
1120
1120
|
enum: ['fullCell', 'firstLine', 'none'],
|
|
1121
1121
|
markdownEnumDescriptions: [
|
|
1122
|
-
( localize(
|
|
1123
|
-
( localize(
|
|
1124
|
-
( localize(
|
|
1122
|
+
( localize(3352, 'Scroll to fully reveal the next cell.')),
|
|
1123
|
+
( localize(3353, 'Scroll to reveal the first line of the next cell.')),
|
|
1124
|
+
( localize(3354, 'Do not scroll.')),
|
|
1125
1125
|
],
|
|
1126
1126
|
default: 'fullCell'
|
|
1127
1127
|
},
|
|
1128
1128
|
[NotebookSetting.cellGenerate]: {
|
|
1129
1129
|
markdownDescription: ( localize(
|
|
1130
|
-
|
|
1130
|
+
3355,
|
|
1131
1131
|
"Enable experimental generate action to create code cell with inline chat enabled."
|
|
1132
1132
|
)),
|
|
1133
1133
|
type: 'boolean',
|
|
@@ -1136,20 +1136,20 @@ configurationRegistry.registerConfiguration({
|
|
|
1136
1136
|
},
|
|
1137
1137
|
[NotebookSetting.notebookVariablesView]: {
|
|
1138
1138
|
markdownDescription: ( localize(
|
|
1139
|
-
|
|
1139
|
+
3356,
|
|
1140
1140
|
"Enable the experimental notebook variables view within the debug panel."
|
|
1141
1141
|
)),
|
|
1142
1142
|
type: 'boolean',
|
|
1143
1143
|
default: false
|
|
1144
1144
|
},
|
|
1145
1145
|
[NotebookSetting.cellFailureDiagnostics]: {
|
|
1146
|
-
markdownDescription: ( localize(
|
|
1146
|
+
markdownDescription: ( localize(3357, "Show available diagnostics for cell failures.")),
|
|
1147
1147
|
type: 'boolean',
|
|
1148
1148
|
default: true
|
|
1149
1149
|
},
|
|
1150
1150
|
[NotebookSetting.outputBackupSizeLimit]: {
|
|
1151
1151
|
markdownDescription: ( localize(
|
|
1152
|
-
|
|
1152
|
+
3358,
|
|
1153
1153
|
"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
1154
|
)),
|
|
1155
1155
|
type: 'number',
|
|
@@ -1157,7 +1157,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1157
1157
|
},
|
|
1158
1158
|
[NotebookSetting.multiCursor]: {
|
|
1159
1159
|
markdownDescription: ( localize(
|
|
1160
|
-
|
|
1160
|
+
3359,
|
|
1161
1161
|
"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
1162
|
)),
|
|
1163
1163
|
type: 'boolean',
|
|
@@ -25,51 +25,51 @@ class NotebookAccessibilityHelp {
|
|
|
25
25
|
function getAccessibilityHelpText() {
|
|
26
26
|
return [
|
|
27
27
|
( localize(
|
|
28
|
-
|
|
28
|
+
8134,
|
|
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
|
+
8135,
|
|
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
|
+
8136,
|
|
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
|
+
8137,
|
|
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
|
+
8138,
|
|
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
|
+
8139,
|
|
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
|
+
8140,
|
|
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
|
+
8141,
|
|
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
|
+
8142,
|
|
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
|
+
8143,
|
|
73
73
|
'The Change Cell to Code/Markdown commands are used to switch between cell types.'
|
|
74
74
|
))
|
|
75
75
|
].join('\n');
|