@codingame/monaco-vscode-notebook-service-override 14.0.2 → 14.0.4
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 +29 -29
- 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 +4 -4
- 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 +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +13 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.js +1 -1
- 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/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 +65 -65
- 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
|
@@ -717,7 +717,7 @@ for (const editorOption of editorOptionsRegistry) {
|
|
|
717
717
|
}
|
|
718
718
|
const editorOptionsCustomizationSchema = {
|
|
719
719
|
description: ( localize(
|
|
720
|
-
|
|
720
|
+
7737,
|
|
721
721
|
'Settings for code editors used in notebooks. This can be used to customize most editor.* settings.'
|
|
722
722
|
)),
|
|
723
723
|
default: {},
|
|
@@ -732,11 +732,11 @@ const configurationRegistry = ( Registry.as(Extensions$2.Configuration));
|
|
|
732
732
|
configurationRegistry.registerConfiguration({
|
|
733
733
|
id: 'notebook',
|
|
734
734
|
order: 100,
|
|
735
|
-
title: ( localize(
|
|
735
|
+
title: ( localize(7738, "Notebook")),
|
|
736
736
|
type: 'object',
|
|
737
737
|
properties: {
|
|
738
738
|
[NotebookSetting.displayOrder]: {
|
|
739
|
-
description: ( localize(
|
|
739
|
+
description: ( localize(7739, "Priority list for output mime types")),
|
|
740
740
|
type: 'array',
|
|
741
741
|
items: {
|
|
742
742
|
type: 'string'
|
|
@@ -745,12 +745,12 @@ configurationRegistry.registerConfiguration({
|
|
|
745
745
|
},
|
|
746
746
|
[NotebookSetting.cellToolbarLocation]: {
|
|
747
747
|
description: ( localize(
|
|
748
|
-
|
|
748
|
+
7740,
|
|
749
749
|
"Where the cell toolbar should be shown, or whether it should be hidden."
|
|
750
750
|
)),
|
|
751
751
|
type: 'object',
|
|
752
752
|
additionalProperties: {
|
|
753
|
-
markdownDescription: ( localize(
|
|
753
|
+
markdownDescription: ( localize(7741, "Configure the cell toolbar position for for specific file types")),
|
|
754
754
|
type: 'string',
|
|
755
755
|
enum: ['left', 'right', 'hidden']
|
|
756
756
|
},
|
|
@@ -760,14 +760,14 @@ configurationRegistry.registerConfiguration({
|
|
|
760
760
|
tags: ['notebookLayout']
|
|
761
761
|
},
|
|
762
762
|
[NotebookSetting.showCellStatusBar]: {
|
|
763
|
-
description: ( localize(
|
|
763
|
+
description: ( localize(7742, "Whether the cell status bar should be shown.")),
|
|
764
764
|
type: 'string',
|
|
765
765
|
enum: ['hidden', 'visible', 'visibleAfterExecute'],
|
|
766
766
|
enumDescriptions: [
|
|
767
|
-
( localize(
|
|
768
|
-
( localize(
|
|
767
|
+
( localize(7743, "The cell Status bar is always hidden.")),
|
|
768
|
+
( localize(7744, "The cell Status bar is always visible.")),
|
|
769
769
|
( localize(
|
|
770
|
-
|
|
770
|
+
7745,
|
|
771
771
|
"The cell Status bar is hidden until the cell has executed. Then it becomes visible to show the execution status."
|
|
772
772
|
))
|
|
773
773
|
],
|
|
@@ -776,18 +776,18 @@ configurationRegistry.registerConfiguration({
|
|
|
776
776
|
},
|
|
777
777
|
[NotebookSetting.cellExecutionTimeVerbosity]: {
|
|
778
778
|
description: ( localize(
|
|
779
|
-
|
|
779
|
+
7746,
|
|
780
780
|
"Controls the verbosity of the cell execution time in the cell status bar."
|
|
781
781
|
)),
|
|
782
782
|
type: 'string',
|
|
783
783
|
enum: ['default', 'verbose'],
|
|
784
784
|
enumDescriptions: [
|
|
785
785
|
( localize(
|
|
786
|
-
|
|
786
|
+
7747,
|
|
787
787
|
"The cell execution duration is visible, with advanced information in the hover tooltip."
|
|
788
788
|
)),
|
|
789
789
|
( localize(
|
|
790
|
-
|
|
790
|
+
7748,
|
|
791
791
|
"The cell last execution timestamp and duration are visible, with advanced information in the hover tooltip."
|
|
792
792
|
))
|
|
793
793
|
],
|
|
@@ -795,14 +795,14 @@ configurationRegistry.registerConfiguration({
|
|
|
795
795
|
tags: ['notebookLayout']
|
|
796
796
|
},
|
|
797
797
|
[NotebookSetting.textDiffEditorPreview]: {
|
|
798
|
-
description: ( localize(
|
|
798
|
+
description: ( localize(7749, "Whether to use the enhanced text diff editor for notebook.")),
|
|
799
799
|
type: 'boolean',
|
|
800
800
|
default: true,
|
|
801
801
|
tags: ['notebookLayout']
|
|
802
802
|
},
|
|
803
803
|
[NotebookSetting.diffOverviewRuler]: {
|
|
804
804
|
description: ( localize(
|
|
805
|
-
|
|
805
|
+
7750,
|
|
806
806
|
"Whether to render the overview ruler in the diff editor for notebook."
|
|
807
807
|
)),
|
|
808
808
|
type: 'boolean',
|
|
@@ -810,21 +810,21 @@ configurationRegistry.registerConfiguration({
|
|
|
810
810
|
tags: ['notebookLayout']
|
|
811
811
|
},
|
|
812
812
|
[NotebookSetting.cellToolbarVisibility]: {
|
|
813
|
-
markdownDescription: ( localize(
|
|
813
|
+
markdownDescription: ( localize(7751, "Whether the cell toolbar should appear on hover or click.")),
|
|
814
814
|
type: 'string',
|
|
815
815
|
enum: ['hover', 'click'],
|
|
816
816
|
default: 'click',
|
|
817
817
|
tags: ['notebookLayout']
|
|
818
818
|
},
|
|
819
819
|
[NotebookSetting.undoRedoPerCell]: {
|
|
820
|
-
description: ( localize(
|
|
820
|
+
description: ( localize(7752, "Whether to use separate undo/redo stack for each cell.")),
|
|
821
821
|
type: 'boolean',
|
|
822
822
|
default: true,
|
|
823
823
|
tags: ['notebookLayout']
|
|
824
824
|
},
|
|
825
825
|
[NotebookSetting.compactView]: {
|
|
826
826
|
description: ( localize(
|
|
827
|
-
|
|
827
|
+
7753,
|
|
828
828
|
"Control whether the notebook editor should be rendered in a compact form. For example, when turned on, it will decrease the left margin width."
|
|
829
829
|
)),
|
|
830
830
|
type: 'boolean',
|
|
@@ -833,7 +833,7 @@ configurationRegistry.registerConfiguration({
|
|
|
833
833
|
},
|
|
834
834
|
[NotebookSetting.focusIndicator]: {
|
|
835
835
|
description: ( localize(
|
|
836
|
-
|
|
836
|
+
7754,
|
|
837
837
|
"Controls where the focus indicator is rendered, either along the cell borders or on the left gutter."
|
|
838
838
|
)),
|
|
839
839
|
type: 'string',
|
|
@@ -842,21 +842,21 @@ configurationRegistry.registerConfiguration({
|
|
|
842
842
|
tags: ['notebookLayout']
|
|
843
843
|
},
|
|
844
844
|
[NotebookSetting.insertToolbarLocation]: {
|
|
845
|
-
description: ( localize(
|
|
845
|
+
description: ( localize(7755, "Control where the insert cell actions should appear.")),
|
|
846
846
|
type: 'string',
|
|
847
847
|
enum: ['betweenCells', 'notebookToolbar', 'both', 'hidden'],
|
|
848
848
|
enumDescriptions: [
|
|
849
|
-
( localize(
|
|
850
|
-
( localize(
|
|
851
|
-
( localize(
|
|
852
|
-
( localize(
|
|
849
|
+
( localize(7756, "A toolbar that appears on hover between cells.")),
|
|
850
|
+
( localize(7757, "The toolbar at the top of the notebook editor.")),
|
|
851
|
+
( localize(7758, "Both toolbars.")),
|
|
852
|
+
( localize(7759, "The insert actions don't appear anywhere.")),
|
|
853
853
|
],
|
|
854
854
|
default: 'both',
|
|
855
855
|
tags: ['notebookLayout']
|
|
856
856
|
},
|
|
857
857
|
[NotebookSetting.globalToolbar]: {
|
|
858
858
|
description: ( localize(
|
|
859
|
-
|
|
859
|
+
7760,
|
|
860
860
|
"Control whether to render a global toolbar inside the notebook editor."
|
|
861
861
|
)),
|
|
862
862
|
type: 'boolean',
|
|
@@ -865,7 +865,7 @@ configurationRegistry.registerConfiguration({
|
|
|
865
865
|
},
|
|
866
866
|
[NotebookSetting.stickyScrollEnabled]: {
|
|
867
867
|
description: ( localize(
|
|
868
|
-
|
|
868
|
+
7761,
|
|
869
869
|
"Experimental. Control whether to render notebook Sticky Scroll headers in the notebook editor."
|
|
870
870
|
)),
|
|
871
871
|
type: 'boolean',
|
|
@@ -874,21 +874,21 @@ configurationRegistry.registerConfiguration({
|
|
|
874
874
|
},
|
|
875
875
|
[NotebookSetting.stickyScrollMode]: {
|
|
876
876
|
description: ( localize(
|
|
877
|
-
|
|
877
|
+
7762,
|
|
878
878
|
"Control whether nested sticky lines appear to stack flat or indented."
|
|
879
879
|
)),
|
|
880
880
|
type: 'string',
|
|
881
881
|
enum: ['flat', 'indented'],
|
|
882
882
|
enumDescriptions: [
|
|
883
|
-
( localize(
|
|
884
|
-
( localize(
|
|
883
|
+
( localize(7763, "Nested sticky lines appear flat.")),
|
|
884
|
+
( localize(7764, "Nested sticky lines appear indented.")),
|
|
885
885
|
],
|
|
886
886
|
default: 'indented',
|
|
887
887
|
tags: ['notebookLayout']
|
|
888
888
|
},
|
|
889
889
|
[NotebookSetting.consolidatedOutputButton]: {
|
|
890
890
|
description: ( localize(
|
|
891
|
-
|
|
891
|
+
7765,
|
|
892
892
|
"Control whether outputs action should be rendered in the output toolbar."
|
|
893
893
|
)),
|
|
894
894
|
type: 'boolean',
|
|
@@ -896,20 +896,20 @@ configurationRegistry.registerConfiguration({
|
|
|
896
896
|
tags: ['notebookLayout']
|
|
897
897
|
},
|
|
898
898
|
[NotebookSetting.showFoldingControls]: {
|
|
899
|
-
description: ( localize(
|
|
899
|
+
description: ( localize(7766, "Controls when the Markdown header folding arrow is shown.")),
|
|
900
900
|
type: 'string',
|
|
901
901
|
enum: ['always', 'never', 'mouseover'],
|
|
902
902
|
enumDescriptions: [
|
|
903
|
-
( localize(
|
|
904
|
-
( localize(
|
|
905
|
-
( localize(
|
|
903
|
+
( localize(7767, "The folding controls are always visible.")),
|
|
904
|
+
( localize(7768, "Never show the folding controls and reduce the gutter size.")),
|
|
905
|
+
( localize(7769, "The folding controls are visible only on mouseover.")),
|
|
906
906
|
],
|
|
907
907
|
default: 'mouseover',
|
|
908
908
|
tags: ['notebookLayout']
|
|
909
909
|
},
|
|
910
910
|
[NotebookSetting.dragAndDropEnabled]: {
|
|
911
911
|
description: ( localize(
|
|
912
|
-
|
|
912
|
+
7770,
|
|
913
913
|
"Control whether the notebook editor should allow moving cells through drag and drop."
|
|
914
914
|
)),
|
|
915
915
|
type: 'boolean',
|
|
@@ -918,7 +918,7 @@ configurationRegistry.registerConfiguration({
|
|
|
918
918
|
},
|
|
919
919
|
[NotebookSetting.consolidatedRunButton]: {
|
|
920
920
|
description: ( localize(
|
|
921
|
-
|
|
921
|
+
7771,
|
|
922
922
|
"Control whether extra actions are shown in a dropdown next to the run button."
|
|
923
923
|
)),
|
|
924
924
|
type: 'boolean',
|
|
@@ -927,7 +927,7 @@ configurationRegistry.registerConfiguration({
|
|
|
927
927
|
},
|
|
928
928
|
[NotebookSetting.globalToolbarShowLabel]: {
|
|
929
929
|
description: ( localize(
|
|
930
|
-
|
|
930
|
+
7772,
|
|
931
931
|
"Control whether the actions on the notebook toolbar should render label or not."
|
|
932
932
|
)),
|
|
933
933
|
type: 'string',
|
|
@@ -937,7 +937,7 @@ configurationRegistry.registerConfiguration({
|
|
|
937
937
|
},
|
|
938
938
|
[NotebookSetting.textOutputLineLimit]: {
|
|
939
939
|
markdownDescription: ( localize(
|
|
940
|
-
|
|
940
|
+
7773,
|
|
941
941
|
"Controls how many lines of text are displayed in a text output. If {0} is enabled, this setting is used to determine the scroll height of the output.",
|
|
942
942
|
'`#notebook.output.scrolling#`'
|
|
943
943
|
)),
|
|
@@ -948,7 +948,7 @@ configurationRegistry.registerConfiguration({
|
|
|
948
948
|
},
|
|
949
949
|
[NotebookSetting.LinkifyOutputFilePaths]: {
|
|
950
950
|
description: ( localize(
|
|
951
|
-
|
|
951
|
+
7774,
|
|
952
952
|
"Control whether to disable filepath links in the output of notebook cells."
|
|
953
953
|
)),
|
|
954
954
|
type: 'boolean',
|
|
@@ -956,14 +956,14 @@ configurationRegistry.registerConfiguration({
|
|
|
956
956
|
tags: ['notebookOutputLayout']
|
|
957
957
|
},
|
|
958
958
|
[NotebookSetting.minimalErrorRendering]: {
|
|
959
|
-
description: ( localize(
|
|
959
|
+
description: ( localize(7775, "Control whether to render error output in a minimal style.")),
|
|
960
960
|
type: 'boolean',
|
|
961
961
|
default: false,
|
|
962
962
|
tags: ['notebookOutputLayout']
|
|
963
963
|
},
|
|
964
964
|
[NotebookSetting.markupFontSize]: {
|
|
965
965
|
markdownDescription: ( localize(
|
|
966
|
-
|
|
966
|
+
7776,
|
|
967
967
|
"Controls the font size in pixels of rendered markup in notebooks. When set to {0}, 120% of {1} is used.",
|
|
968
968
|
'`0`',
|
|
969
969
|
'`#editor.fontSize#`'
|
|
@@ -974,7 +974,7 @@ configurationRegistry.registerConfiguration({
|
|
|
974
974
|
},
|
|
975
975
|
[NotebookSetting.markdownLineHeight]: {
|
|
976
976
|
markdownDescription: ( localize(
|
|
977
|
-
|
|
977
|
+
7777,
|
|
978
978
|
"Controls the line height in pixels of markdown cells in notebooks. When set to {0}, {1} will be used",
|
|
979
979
|
'`0`',
|
|
980
980
|
'`normal`'
|
|
@@ -986,7 +986,7 @@ configurationRegistry.registerConfiguration({
|
|
|
986
986
|
[NotebookSetting.cellEditorOptionsCustomizations]: editorOptionsCustomizationSchema,
|
|
987
987
|
[NotebookSetting.interactiveWindowCollapseCodeCells]: {
|
|
988
988
|
markdownDescription: ( localize(
|
|
989
|
-
|
|
989
|
+
7778,
|
|
990
990
|
"Controls whether code cells in the interactive window are collapsed by default."
|
|
991
991
|
)),
|
|
992
992
|
type: 'string',
|
|
@@ -995,7 +995,7 @@ configurationRegistry.registerConfiguration({
|
|
|
995
995
|
},
|
|
996
996
|
[NotebookSetting.outputLineHeight]: {
|
|
997
997
|
markdownDescription: ( localize(
|
|
998
|
-
|
|
998
|
+
7779,
|
|
999
999
|
"Line height of the output text within notebook cells.\n - When set to 0, editor line height is used.\n - Values between 0 and 8 will be used as a multiplier with the font size.\n - Values greater than or equal to 8 will be used as effective values."
|
|
1000
1000
|
)),
|
|
1001
1001
|
type: 'number',
|
|
@@ -1004,7 +1004,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1004
1004
|
},
|
|
1005
1005
|
[NotebookSetting.outputFontSize]: {
|
|
1006
1006
|
markdownDescription: ( localize(
|
|
1007
|
-
|
|
1007
|
+
7780,
|
|
1008
1008
|
"Font size for the output text within notebook cells. When set to 0, {0} is used.",
|
|
1009
1009
|
'`#editor.fontSize#`'
|
|
1010
1010
|
)),
|
|
@@ -1014,7 +1014,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1014
1014
|
},
|
|
1015
1015
|
[NotebookSetting.outputFontFamily]: {
|
|
1016
1016
|
markdownDescription: ( localize(
|
|
1017
|
-
|
|
1017
|
+
7781,
|
|
1018
1018
|
"The font family of the output text within notebook cells. When set to empty, the {0} is used.",
|
|
1019
1019
|
'`#editor.fontFamily#`'
|
|
1020
1020
|
)),
|
|
@@ -1023,7 +1023,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1023
1023
|
},
|
|
1024
1024
|
[NotebookSetting.outputScrolling]: {
|
|
1025
1025
|
markdownDescription: ( localize(
|
|
1026
|
-
|
|
1026
|
+
7782,
|
|
1027
1027
|
"Initially render notebook outputs in a scrollable region when longer than the limit."
|
|
1028
1028
|
)),
|
|
1029
1029
|
type: 'boolean',
|
|
@@ -1031,14 +1031,14 @@ configurationRegistry.registerConfiguration({
|
|
|
1031
1031
|
default: typeof product.quality === 'string' && product.quality !== 'stable'
|
|
1032
1032
|
},
|
|
1033
1033
|
[NotebookSetting.outputWordWrap]: {
|
|
1034
|
-
markdownDescription: ( localize(
|
|
1034
|
+
markdownDescription: ( localize(7783, "Controls whether the lines in output should wrap.")),
|
|
1035
1035
|
type: 'boolean',
|
|
1036
1036
|
tags: ['notebookLayout', 'notebookOutputLayout'],
|
|
1037
1037
|
default: false
|
|
1038
1038
|
},
|
|
1039
1039
|
[NotebookSetting.defaultFormatter]: {
|
|
1040
1040
|
description: ( localize(
|
|
1041
|
-
|
|
1041
|
+
7784,
|
|
1042
1042
|
"Defines a default notebook formatter which takes precedence over all other formatter settings. Must be the identifier of an extension contributing a formatter."
|
|
1043
1043
|
)),
|
|
1044
1044
|
type: ['string', 'null'],
|
|
@@ -1049,7 +1049,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1049
1049
|
},
|
|
1050
1050
|
[NotebookSetting.formatOnSave]: {
|
|
1051
1051
|
markdownDescription: ( localize(
|
|
1052
|
-
|
|
1052
|
+
7785,
|
|
1053
1053
|
"Format a notebook on save. A formatter must be available and the editor must not be shutting down. When {0} is set to `afterDelay`, the file will only be formatted when saved explicitly.",
|
|
1054
1054
|
'`#files.autoSave#`'
|
|
1055
1055
|
)),
|
|
@@ -1059,7 +1059,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1059
1059
|
},
|
|
1060
1060
|
[NotebookSetting.insertFinalNewline]: {
|
|
1061
1061
|
markdownDescription: ( localize(
|
|
1062
|
-
|
|
1062
|
+
7786,
|
|
1063
1063
|
"When enabled, insert a final new line into the end of code cells when saving a notebook."
|
|
1064
1064
|
)),
|
|
1065
1065
|
type: 'boolean',
|
|
@@ -1068,7 +1068,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1068
1068
|
},
|
|
1069
1069
|
[NotebookSetting.formatOnCellExecution]: {
|
|
1070
1070
|
markdownDescription: ( localize(
|
|
1071
|
-
|
|
1071
|
+
7787,
|
|
1072
1072
|
"Format a notebook cell upon execution. A formatter must be available."
|
|
1073
1073
|
)),
|
|
1074
1074
|
type: 'boolean',
|
|
@@ -1076,7 +1076,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1076
1076
|
},
|
|
1077
1077
|
[NotebookSetting.confirmDeleteRunningCell]: {
|
|
1078
1078
|
markdownDescription: ( localize(
|
|
1079
|
-
|
|
1079
|
+
7788,
|
|
1080
1080
|
"Control whether a confirmation prompt is required to delete a running cell."
|
|
1081
1081
|
)),
|
|
1082
1082
|
type: 'boolean',
|
|
@@ -1084,7 +1084,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1084
1084
|
},
|
|
1085
1085
|
[NotebookSetting.findFilters]: {
|
|
1086
1086
|
markdownDescription: ( localize(
|
|
1087
|
-
|
|
1087
|
+
7789,
|
|
1088
1088
|
"Customize the Find Widget behavior for searching within notebook cells. When both markup source and markup preview are enabled, the Find Widget will search either the source code or preview based on the current state of the cell."
|
|
1089
1089
|
)),
|
|
1090
1090
|
type: 'object',
|
|
@@ -1116,7 +1116,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1116
1116
|
},
|
|
1117
1117
|
[NotebookSetting.remoteSaving]: {
|
|
1118
1118
|
markdownDescription: ( localize(
|
|
1119
|
-
|
|
1119
|
+
7790,
|
|
1120
1120
|
"Enables the incremental saving of notebooks between processes and across Remote connections. When enabled, only the changes to the notebook are sent to the extension host, improving performance for large notebooks and slow network connections."
|
|
1121
1121
|
)),
|
|
1122
1122
|
type: 'boolean',
|
|
@@ -1125,22 +1125,22 @@ configurationRegistry.registerConfiguration({
|
|
|
1125
1125
|
},
|
|
1126
1126
|
[NotebookSetting.scrollToRevealCell]: {
|
|
1127
1127
|
markdownDescription: ( localize(
|
|
1128
|
-
|
|
1128
|
+
7791,
|
|
1129
1129
|
"How far to scroll when revealing the next cell upon running {0}.",
|
|
1130
1130
|
'notebook.cell.executeAndSelectBelow'
|
|
1131
1131
|
)),
|
|
1132
1132
|
type: 'string',
|
|
1133
1133
|
enum: ['fullCell', 'firstLine', 'none'],
|
|
1134
1134
|
markdownEnumDescriptions: [
|
|
1135
|
-
( localize(
|
|
1136
|
-
( localize(
|
|
1137
|
-
( localize(
|
|
1135
|
+
( localize(7792, 'Scroll to fully reveal the next cell.')),
|
|
1136
|
+
( localize(7793, 'Scroll to reveal the first line of the next cell.')),
|
|
1137
|
+
( localize(7794, 'Do not scroll.')),
|
|
1138
1138
|
],
|
|
1139
1139
|
default: 'fullCell'
|
|
1140
1140
|
},
|
|
1141
1141
|
[NotebookSetting.cellGenerate]: {
|
|
1142
1142
|
markdownDescription: ( localize(
|
|
1143
|
-
|
|
1143
|
+
7795,
|
|
1144
1144
|
"Enable experimental generate action to create code cell with inline chat enabled."
|
|
1145
1145
|
)),
|
|
1146
1146
|
type: 'boolean',
|
|
@@ -1148,7 +1148,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1148
1148
|
},
|
|
1149
1149
|
[NotebookSetting.notebookVariablesView]: {
|
|
1150
1150
|
markdownDescription: ( localize(
|
|
1151
|
-
|
|
1151
|
+
7796,
|
|
1152
1152
|
"Enable the experimental notebook variables view within the debug panel."
|
|
1153
1153
|
)),
|
|
1154
1154
|
type: 'boolean',
|
|
@@ -1156,20 +1156,20 @@ configurationRegistry.registerConfiguration({
|
|
|
1156
1156
|
},
|
|
1157
1157
|
[NotebookSetting.notebookInlineValues]: {
|
|
1158
1158
|
markdownDescription: ( localize(
|
|
1159
|
-
|
|
1159
|
+
7797,
|
|
1160
1160
|
"Enable the showing of inline values within notebook code cells after cell execution. Values will remain until the cell is edited, re-executed, or explicitly cleared via the Clear All Outputs toolbar button or the `Notebook: Clear Inline Values` command. "
|
|
1161
1161
|
)),
|
|
1162
1162
|
type: 'boolean',
|
|
1163
1163
|
default: false
|
|
1164
1164
|
},
|
|
1165
1165
|
[NotebookSetting.cellFailureDiagnostics]: {
|
|
1166
|
-
markdownDescription: ( localize(
|
|
1166
|
+
markdownDescription: ( localize(7798, "Show available diagnostics for cell failures.")),
|
|
1167
1167
|
type: 'boolean',
|
|
1168
1168
|
default: true
|
|
1169
1169
|
},
|
|
1170
1170
|
[NotebookSetting.outputBackupSizeLimit]: {
|
|
1171
1171
|
markdownDescription: ( localize(
|
|
1172
|
-
|
|
1172
|
+
7799,
|
|
1173
1173
|
"The limit of notebook output size in kilobytes (KB) where notebook files will no longer be backed up for hot reload. Use 0 for unlimited."
|
|
1174
1174
|
)),
|
|
1175
1175
|
type: 'number',
|
|
@@ -1177,7 +1177,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1177
1177
|
},
|
|
1178
1178
|
[NotebookSetting.multiCursor]: {
|
|
1179
1179
|
markdownDescription: ( localize(
|
|
1180
|
-
|
|
1180
|
+
7800,
|
|
1181
1181
|
"Experimental. Enables a limited set of multi cursor controls across multiple cells in the notebook editor. Currently supported are core editor actions (typing/cut/copy/paste/composition) and a limited subset of editor commands."
|
|
1182
1182
|
)),
|
|
1183
1183
|
type: 'boolean',
|
|
@@ -1185,7 +1185,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1185
1185
|
},
|
|
1186
1186
|
[NotebookSetting.markupFontFamily]: {
|
|
1187
1187
|
markdownDescription: ( localize(
|
|
1188
|
-
|
|
1188
|
+
7801,
|
|
1189
1189
|
"Controls the font family of rendered markup in notebooks. When left blank, this will fall back to the default workbench font family."
|
|
1190
1190
|
)),
|
|
1191
1191
|
type: 'string',
|
|
@@ -27,51 +27,51 @@ class NotebookAccessibilityHelp {
|
|
|
27
27
|
function getAccessibilityHelpText() {
|
|
28
28
|
return [
|
|
29
29
|
( localize(
|
|
30
|
-
|
|
30
|
+
7802,
|
|
31
31
|
'The notebook view is a collection of code and markdown cells. Code cells can be executed and will produce output directly below the cell.'
|
|
32
32
|
)),
|
|
33
33
|
( localize(
|
|
34
|
-
|
|
34
|
+
7803,
|
|
35
35
|
'The Edit Cell command{0} will focus on the cell input.',
|
|
36
36
|
'<keybinding:notebook.cell.edit>'
|
|
37
37
|
)),
|
|
38
38
|
( localize(
|
|
39
|
-
|
|
39
|
+
7804,
|
|
40
40
|
'The Quit Edit command{0} will set focus on the cell container. The default (Escape) key may need to be pressed twice first exit the virtual cursor if active.',
|
|
41
41
|
'<keybinding:notebook.cell.quitEdit>'
|
|
42
42
|
)),
|
|
43
43
|
( localize(
|
|
44
|
-
|
|
44
|
+
7805,
|
|
45
45
|
'The Focus Output command{0} will set focus in the cell\'s output.',
|
|
46
46
|
'<keybinding:notebook.cell.focusInOutput>'
|
|
47
47
|
)),
|
|
48
48
|
( localize(
|
|
49
|
-
|
|
49
|
+
7806,
|
|
50
50
|
'The Focus Next Cell Editor command{0} will set focus in the next cell\'s editor.',
|
|
51
51
|
'<keybinding:notebook.focusNextEditor>'
|
|
52
52
|
)),
|
|
53
53
|
( localize(
|
|
54
|
-
|
|
54
|
+
7807,
|
|
55
55
|
'The Focus Previous Cell Editor command{0} will set focus in the previous cell\'s editor.',
|
|
56
56
|
'<keybinding:notebook.focusPreviousEditor>'
|
|
57
57
|
)),
|
|
58
58
|
( localize(
|
|
59
|
-
|
|
59
|
+
7808,
|
|
60
60
|
'The up and down arrows will also move focus between cells while focused on the outer cell container.'
|
|
61
61
|
)),
|
|
62
62
|
( localize(
|
|
63
|
-
|
|
63
|
+
7809,
|
|
64
64
|
'The Execute Cell command{0} executes the cell that currently has focus.',
|
|
65
65
|
'<keybinding:notebook.cell.executeAndFocusContainer>'
|
|
66
66
|
)),
|
|
67
67
|
( localize(
|
|
68
|
-
|
|
68
|
+
7810,
|
|
69
69
|
'The Insert Cell Above{0} and Below{1} commands will create new empty code cells.',
|
|
70
70
|
'<keybinding:notebook.cell.insertCodeCellAbove>',
|
|
71
71
|
'<keybinding:notebook.cell.insertCodeCellBelow>'
|
|
72
72
|
)),
|
|
73
73
|
( localize(
|
|
74
|
-
|
|
74
|
+
7811,
|
|
75
75
|
'The Change Cell to Code/Markdown commands are used to switch between cell types.'
|
|
76
76
|
))
|
|
77
77
|
].join('\n');
|