@codingame/monaco-vscode-notebook-service-override 21.3.2 → 21.3.3
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 +24 -24
- 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 +3 -3
- 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 +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +25 -25
- 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 +21 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +68 -68
- 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/outputEditor/notebookOutputEditor.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditorInput.js +1 -1
- 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
|
@@ -740,7 +740,7 @@ for (const editorOption of editorOptionsRegistry) {
|
|
|
740
740
|
}
|
|
741
741
|
const editorOptionsCustomizationSchema = {
|
|
742
742
|
description: ( localize(
|
|
743
|
-
|
|
743
|
+
8993,
|
|
744
744
|
'Settings for code editors used in notebooks. This can be used to customize most editor.* settings.'
|
|
745
745
|
)),
|
|
746
746
|
default: {},
|
|
@@ -755,11 +755,11 @@ const configurationRegistry = ( Registry.as(Extensions$2.Configuration));
|
|
|
755
755
|
configurationRegistry.registerConfiguration({
|
|
756
756
|
id: 'notebook',
|
|
757
757
|
order: 100,
|
|
758
|
-
title: ( localize(
|
|
758
|
+
title: ( localize(8994, "Notebook")),
|
|
759
759
|
type: 'object',
|
|
760
760
|
properties: {
|
|
761
761
|
[NotebookSetting.displayOrder]: {
|
|
762
|
-
description: ( localize(
|
|
762
|
+
description: ( localize(8995, "Priority list for output mime types")),
|
|
763
763
|
type: 'array',
|
|
764
764
|
items: {
|
|
765
765
|
type: 'string'
|
|
@@ -768,12 +768,12 @@ configurationRegistry.registerConfiguration({
|
|
|
768
768
|
},
|
|
769
769
|
[NotebookSetting.cellToolbarLocation]: {
|
|
770
770
|
description: ( localize(
|
|
771
|
-
|
|
771
|
+
8996,
|
|
772
772
|
"Where the cell toolbar should be shown, or whether it should be hidden."
|
|
773
773
|
)),
|
|
774
774
|
type: 'object',
|
|
775
775
|
additionalProperties: {
|
|
776
|
-
markdownDescription: ( localize(
|
|
776
|
+
markdownDescription: ( localize(8997, "Configure the cell toolbar position for for specific file types")),
|
|
777
777
|
type: 'string',
|
|
778
778
|
enum: ['left', 'right', 'hidden']
|
|
779
779
|
},
|
|
@@ -783,14 +783,14 @@ configurationRegistry.registerConfiguration({
|
|
|
783
783
|
tags: ['notebookLayout']
|
|
784
784
|
},
|
|
785
785
|
[NotebookSetting.showCellStatusBar]: {
|
|
786
|
-
description: ( localize(
|
|
786
|
+
description: ( localize(8998, "Whether the cell status bar should be shown.")),
|
|
787
787
|
type: 'string',
|
|
788
788
|
enum: ['hidden', 'visible', 'visibleAfterExecute'],
|
|
789
789
|
enumDescriptions: [
|
|
790
|
-
( localize(
|
|
791
|
-
( localize(
|
|
790
|
+
( localize(8999, "The cell Status bar is always hidden.")),
|
|
791
|
+
( localize(9000, "The cell Status bar is always visible.")),
|
|
792
792
|
( localize(
|
|
793
|
-
|
|
793
|
+
9001,
|
|
794
794
|
"The cell Status bar is hidden until the cell has executed. Then it becomes visible to show the execution status."
|
|
795
795
|
))
|
|
796
796
|
],
|
|
@@ -799,18 +799,18 @@ configurationRegistry.registerConfiguration({
|
|
|
799
799
|
},
|
|
800
800
|
[NotebookSetting.cellExecutionTimeVerbosity]: {
|
|
801
801
|
description: ( localize(
|
|
802
|
-
|
|
802
|
+
9002,
|
|
803
803
|
"Controls the verbosity of the cell execution time in the cell status bar."
|
|
804
804
|
)),
|
|
805
805
|
type: 'string',
|
|
806
806
|
enum: ['default', 'verbose'],
|
|
807
807
|
enumDescriptions: [
|
|
808
808
|
( localize(
|
|
809
|
-
|
|
809
|
+
9003,
|
|
810
810
|
"The cell execution duration is visible, with advanced information in the hover tooltip."
|
|
811
811
|
)),
|
|
812
812
|
( localize(
|
|
813
|
-
|
|
813
|
+
9004,
|
|
814
814
|
"The cell last execution timestamp and duration are visible, with advanced information in the hover tooltip."
|
|
815
815
|
))
|
|
816
816
|
],
|
|
@@ -818,14 +818,14 @@ configurationRegistry.registerConfiguration({
|
|
|
818
818
|
tags: ['notebookLayout']
|
|
819
819
|
},
|
|
820
820
|
[NotebookSetting.textDiffEditorPreview]: {
|
|
821
|
-
description: ( localize(
|
|
821
|
+
description: ( localize(9005, "Whether to use the enhanced text diff editor for notebook.")),
|
|
822
822
|
type: 'boolean',
|
|
823
823
|
default: true,
|
|
824
824
|
tags: ['notebookLayout']
|
|
825
825
|
},
|
|
826
826
|
[NotebookSetting.diffOverviewRuler]: {
|
|
827
827
|
description: ( localize(
|
|
828
|
-
|
|
828
|
+
9006,
|
|
829
829
|
"Whether to render the overview ruler in the diff editor for notebook."
|
|
830
830
|
)),
|
|
831
831
|
type: 'boolean',
|
|
@@ -833,21 +833,21 @@ configurationRegistry.registerConfiguration({
|
|
|
833
833
|
tags: ['notebookLayout']
|
|
834
834
|
},
|
|
835
835
|
[NotebookSetting.cellToolbarVisibility]: {
|
|
836
|
-
markdownDescription: ( localize(
|
|
836
|
+
markdownDescription: ( localize(9007, "Whether the cell toolbar should appear on hover or click.")),
|
|
837
837
|
type: 'string',
|
|
838
838
|
enum: ['hover', 'click'],
|
|
839
839
|
default: 'click',
|
|
840
840
|
tags: ['notebookLayout']
|
|
841
841
|
},
|
|
842
842
|
[NotebookSetting.undoRedoPerCell]: {
|
|
843
|
-
description: ( localize(
|
|
843
|
+
description: ( localize(9008, "Whether to use separate undo/redo stack for each cell.")),
|
|
844
844
|
type: 'boolean',
|
|
845
845
|
default: true,
|
|
846
846
|
tags: ['notebookLayout']
|
|
847
847
|
},
|
|
848
848
|
[NotebookSetting.compactView]: {
|
|
849
849
|
description: ( localize(
|
|
850
|
-
|
|
850
|
+
9009,
|
|
851
851
|
"Control whether the notebook editor should be rendered in a compact form. For example, when turned on, it will decrease the left margin width."
|
|
852
852
|
)),
|
|
853
853
|
type: 'boolean',
|
|
@@ -856,7 +856,7 @@ configurationRegistry.registerConfiguration({
|
|
|
856
856
|
},
|
|
857
857
|
[NotebookSetting.focusIndicator]: {
|
|
858
858
|
description: ( localize(
|
|
859
|
-
|
|
859
|
+
9010,
|
|
860
860
|
"Controls where the focus indicator is rendered, either along the cell borders or on the left gutter."
|
|
861
861
|
)),
|
|
862
862
|
type: 'string',
|
|
@@ -865,21 +865,21 @@ configurationRegistry.registerConfiguration({
|
|
|
865
865
|
tags: ['notebookLayout']
|
|
866
866
|
},
|
|
867
867
|
[NotebookSetting.insertToolbarLocation]: {
|
|
868
|
-
description: ( localize(
|
|
868
|
+
description: ( localize(9011, "Control where the insert cell actions should appear.")),
|
|
869
869
|
type: 'string',
|
|
870
870
|
enum: ['betweenCells', 'notebookToolbar', 'both', 'hidden'],
|
|
871
871
|
enumDescriptions: [
|
|
872
|
-
( localize(
|
|
873
|
-
( localize(
|
|
874
|
-
( localize(
|
|
875
|
-
( localize(
|
|
872
|
+
( localize(9012, "A toolbar that appears on hover between cells.")),
|
|
873
|
+
( localize(9013, "The toolbar at the top of the notebook editor.")),
|
|
874
|
+
( localize(9014, "Both toolbars.")),
|
|
875
|
+
( localize(9015, "The insert actions don't appear anywhere.")),
|
|
876
876
|
],
|
|
877
877
|
default: 'both',
|
|
878
878
|
tags: ['notebookLayout']
|
|
879
879
|
},
|
|
880
880
|
[NotebookSetting.globalToolbar]: {
|
|
881
881
|
description: ( localize(
|
|
882
|
-
|
|
882
|
+
9016,
|
|
883
883
|
"Control whether to render a global toolbar inside the notebook editor."
|
|
884
884
|
)),
|
|
885
885
|
type: 'boolean',
|
|
@@ -888,7 +888,7 @@ configurationRegistry.registerConfiguration({
|
|
|
888
888
|
},
|
|
889
889
|
[NotebookSetting.stickyScrollEnabled]: {
|
|
890
890
|
description: ( localize(
|
|
891
|
-
|
|
891
|
+
9017,
|
|
892
892
|
"Experimental. Control whether to render notebook Sticky Scroll headers in the notebook editor."
|
|
893
893
|
)),
|
|
894
894
|
type: 'boolean',
|
|
@@ -897,21 +897,21 @@ configurationRegistry.registerConfiguration({
|
|
|
897
897
|
},
|
|
898
898
|
[NotebookSetting.stickyScrollMode]: {
|
|
899
899
|
description: ( localize(
|
|
900
|
-
|
|
900
|
+
9018,
|
|
901
901
|
"Control whether nested sticky lines appear to stack flat or indented."
|
|
902
902
|
)),
|
|
903
903
|
type: 'string',
|
|
904
904
|
enum: ['flat', 'indented'],
|
|
905
905
|
enumDescriptions: [
|
|
906
|
-
( localize(
|
|
907
|
-
( localize(
|
|
906
|
+
( localize(9019, "Nested sticky lines appear flat.")),
|
|
907
|
+
( localize(9020, "Nested sticky lines appear indented.")),
|
|
908
908
|
],
|
|
909
909
|
default: 'indented',
|
|
910
910
|
tags: ['notebookLayout']
|
|
911
911
|
},
|
|
912
912
|
[NotebookSetting.consolidatedOutputButton]: {
|
|
913
913
|
description: ( localize(
|
|
914
|
-
|
|
914
|
+
9021,
|
|
915
915
|
"Control whether outputs action should be rendered in the output toolbar."
|
|
916
916
|
)),
|
|
917
917
|
type: 'boolean',
|
|
@@ -919,20 +919,20 @@ configurationRegistry.registerConfiguration({
|
|
|
919
919
|
tags: ['notebookLayout']
|
|
920
920
|
},
|
|
921
921
|
[NotebookSetting.showFoldingControls]: {
|
|
922
|
-
description: ( localize(
|
|
922
|
+
description: ( localize(9022, "Controls when the Markdown header folding arrow is shown.")),
|
|
923
923
|
type: 'string',
|
|
924
924
|
enum: ['always', 'never', 'mouseover'],
|
|
925
925
|
enumDescriptions: [
|
|
926
|
-
( localize(
|
|
927
|
-
( localize(
|
|
928
|
-
( localize(
|
|
926
|
+
( localize(9023, "The folding controls are always visible.")),
|
|
927
|
+
( localize(9024, "Never show the folding controls and reduce the gutter size.")),
|
|
928
|
+
( localize(9025, "The folding controls are visible only on mouseover.")),
|
|
929
929
|
],
|
|
930
930
|
default: 'mouseover',
|
|
931
931
|
tags: ['notebookLayout']
|
|
932
932
|
},
|
|
933
933
|
[NotebookSetting.dragAndDropEnabled]: {
|
|
934
934
|
description: ( localize(
|
|
935
|
-
|
|
935
|
+
9026,
|
|
936
936
|
"Control whether the notebook editor should allow moving cells through drag and drop."
|
|
937
937
|
)),
|
|
938
938
|
type: 'boolean',
|
|
@@ -941,7 +941,7 @@ configurationRegistry.registerConfiguration({
|
|
|
941
941
|
},
|
|
942
942
|
[NotebookSetting.consolidatedRunButton]: {
|
|
943
943
|
description: ( localize(
|
|
944
|
-
|
|
944
|
+
9027,
|
|
945
945
|
"Control whether extra actions are shown in a dropdown next to the run button."
|
|
946
946
|
)),
|
|
947
947
|
type: 'boolean',
|
|
@@ -950,7 +950,7 @@ configurationRegistry.registerConfiguration({
|
|
|
950
950
|
},
|
|
951
951
|
[NotebookSetting.globalToolbarShowLabel]: {
|
|
952
952
|
description: ( localize(
|
|
953
|
-
|
|
953
|
+
9028,
|
|
954
954
|
"Control whether the actions on the notebook toolbar should render label or not."
|
|
955
955
|
)),
|
|
956
956
|
type: 'string',
|
|
@@ -960,7 +960,7 @@ configurationRegistry.registerConfiguration({
|
|
|
960
960
|
},
|
|
961
961
|
[NotebookSetting.textOutputLineLimit]: {
|
|
962
962
|
markdownDescription: ( localize(
|
|
963
|
-
|
|
963
|
+
9029,
|
|
964
964
|
"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.",
|
|
965
965
|
'`#notebook.output.scrolling#`'
|
|
966
966
|
)),
|
|
@@ -971,7 +971,7 @@ configurationRegistry.registerConfiguration({
|
|
|
971
971
|
},
|
|
972
972
|
[NotebookSetting.LinkifyOutputFilePaths]: {
|
|
973
973
|
description: ( localize(
|
|
974
|
-
|
|
974
|
+
9030,
|
|
975
975
|
"Control whether to disable filepath links in the output of notebook cells."
|
|
976
976
|
)),
|
|
977
977
|
type: 'boolean',
|
|
@@ -979,14 +979,14 @@ configurationRegistry.registerConfiguration({
|
|
|
979
979
|
tags: ['notebookOutputLayout']
|
|
980
980
|
},
|
|
981
981
|
[NotebookSetting.minimalErrorRendering]: {
|
|
982
|
-
description: ( localize(
|
|
982
|
+
description: ( localize(9031, "Control whether to render error output in a minimal style.")),
|
|
983
983
|
type: 'boolean',
|
|
984
984
|
default: false,
|
|
985
985
|
tags: ['notebookOutputLayout']
|
|
986
986
|
},
|
|
987
987
|
[NotebookSetting.markupFontSize]: {
|
|
988
988
|
markdownDescription: ( localize(
|
|
989
|
-
|
|
989
|
+
9032,
|
|
990
990
|
"Controls the font size in pixels of rendered markup in notebooks. When set to {0}, 120% of {1} is used.",
|
|
991
991
|
'`0`',
|
|
992
992
|
'`#editor.fontSize#`'
|
|
@@ -997,7 +997,7 @@ configurationRegistry.registerConfiguration({
|
|
|
997
997
|
},
|
|
998
998
|
[NotebookSetting.markdownLineHeight]: {
|
|
999
999
|
markdownDescription: ( localize(
|
|
1000
|
-
|
|
1000
|
+
9033,
|
|
1001
1001
|
"Controls the line height in pixels of markdown cells in notebooks. When set to {0}, {1} will be used",
|
|
1002
1002
|
'`0`',
|
|
1003
1003
|
'`normal`'
|
|
@@ -1009,7 +1009,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1009
1009
|
[NotebookSetting.cellEditorOptionsCustomizations]: editorOptionsCustomizationSchema,
|
|
1010
1010
|
[NotebookSetting.interactiveWindowCollapseCodeCells]: {
|
|
1011
1011
|
markdownDescription: ( localize(
|
|
1012
|
-
|
|
1012
|
+
9034,
|
|
1013
1013
|
"Controls whether code cells in the interactive window are collapsed by default."
|
|
1014
1014
|
)),
|
|
1015
1015
|
type: 'string',
|
|
@@ -1018,7 +1018,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1018
1018
|
},
|
|
1019
1019
|
[NotebookSetting.outputLineHeight]: {
|
|
1020
1020
|
markdownDescription: ( localize(
|
|
1021
|
-
|
|
1021
|
+
9035,
|
|
1022
1022
|
"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."
|
|
1023
1023
|
)),
|
|
1024
1024
|
type: 'number',
|
|
@@ -1027,7 +1027,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1027
1027
|
},
|
|
1028
1028
|
[NotebookSetting.outputFontSize]: {
|
|
1029
1029
|
markdownDescription: ( localize(
|
|
1030
|
-
|
|
1030
|
+
9036,
|
|
1031
1031
|
"Font size for the output text within notebook cells. When set to 0, {0} is used.",
|
|
1032
1032
|
'`#editor.fontSize#`'
|
|
1033
1033
|
)),
|
|
@@ -1037,7 +1037,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1037
1037
|
},
|
|
1038
1038
|
[NotebookSetting.outputFontFamily]: {
|
|
1039
1039
|
markdownDescription: ( localize(
|
|
1040
|
-
|
|
1040
|
+
9037,
|
|
1041
1041
|
"The font family of the output text within notebook cells. When set to empty, the {0} is used.",
|
|
1042
1042
|
'`#editor.fontFamily#`'
|
|
1043
1043
|
)),
|
|
@@ -1046,7 +1046,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1046
1046
|
},
|
|
1047
1047
|
[NotebookSetting.outputScrolling]: {
|
|
1048
1048
|
markdownDescription: ( localize(
|
|
1049
|
-
|
|
1049
|
+
9038,
|
|
1050
1050
|
"Initially render notebook outputs in a scrollable region when longer than the limit."
|
|
1051
1051
|
)),
|
|
1052
1052
|
type: 'boolean',
|
|
@@ -1054,14 +1054,14 @@ configurationRegistry.registerConfiguration({
|
|
|
1054
1054
|
default: typeof product.quality === 'string' && product.quality !== 'stable'
|
|
1055
1055
|
},
|
|
1056
1056
|
[NotebookSetting.outputWordWrap]: {
|
|
1057
|
-
markdownDescription: ( localize(
|
|
1057
|
+
markdownDescription: ( localize(9039, "Controls whether the lines in output should wrap.")),
|
|
1058
1058
|
type: 'boolean',
|
|
1059
1059
|
tags: ['notebookLayout', 'notebookOutputLayout'],
|
|
1060
1060
|
default: false
|
|
1061
1061
|
},
|
|
1062
1062
|
[NotebookSetting.defaultFormatter]: {
|
|
1063
1063
|
description: ( localize(
|
|
1064
|
-
|
|
1064
|
+
9040,
|
|
1065
1065
|
"Defines a default notebook formatter which takes precedence over all other formatter settings. Must be the identifier of an extension contributing a formatter."
|
|
1066
1066
|
)),
|
|
1067
1067
|
type: ['string', 'null'],
|
|
@@ -1072,7 +1072,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1072
1072
|
},
|
|
1073
1073
|
[NotebookSetting.formatOnSave]: {
|
|
1074
1074
|
markdownDescription: ( localize(
|
|
1075
|
-
|
|
1075
|
+
9041,
|
|
1076
1076
|
"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.",
|
|
1077
1077
|
'`#files.autoSave#`'
|
|
1078
1078
|
)),
|
|
@@ -1082,7 +1082,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1082
1082
|
},
|
|
1083
1083
|
[NotebookSetting.insertFinalNewline]: {
|
|
1084
1084
|
markdownDescription: ( localize(
|
|
1085
|
-
|
|
1085
|
+
9042,
|
|
1086
1086
|
"When enabled, insert a final new line into the end of code cells when saving a notebook."
|
|
1087
1087
|
)),
|
|
1088
1088
|
type: 'boolean',
|
|
@@ -1091,7 +1091,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1091
1091
|
},
|
|
1092
1092
|
[NotebookSetting.formatOnCellExecution]: {
|
|
1093
1093
|
markdownDescription: ( localize(
|
|
1094
|
-
|
|
1094
|
+
9043,
|
|
1095
1095
|
"Format a notebook cell upon execution. A formatter must be available."
|
|
1096
1096
|
)),
|
|
1097
1097
|
type: 'boolean',
|
|
@@ -1099,7 +1099,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1099
1099
|
},
|
|
1100
1100
|
[NotebookSetting.confirmDeleteRunningCell]: {
|
|
1101
1101
|
markdownDescription: ( localize(
|
|
1102
|
-
|
|
1102
|
+
9044,
|
|
1103
1103
|
"Control whether a confirmation prompt is required to delete a running cell."
|
|
1104
1104
|
)),
|
|
1105
1105
|
type: 'boolean',
|
|
@@ -1107,7 +1107,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1107
1107
|
},
|
|
1108
1108
|
[NotebookSetting.findFilters]: {
|
|
1109
1109
|
markdownDescription: ( localize(
|
|
1110
|
-
|
|
1110
|
+
9045,
|
|
1111
1111
|
"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."
|
|
1112
1112
|
)),
|
|
1113
1113
|
type: 'object',
|
|
@@ -1139,7 +1139,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1139
1139
|
},
|
|
1140
1140
|
[NotebookSetting.remoteSaving]: {
|
|
1141
1141
|
markdownDescription: ( localize(
|
|
1142
|
-
|
|
1142
|
+
9046,
|
|
1143
1143
|
"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."
|
|
1144
1144
|
)),
|
|
1145
1145
|
type: 'boolean',
|
|
@@ -1148,22 +1148,22 @@ configurationRegistry.registerConfiguration({
|
|
|
1148
1148
|
},
|
|
1149
1149
|
[NotebookSetting.scrollToRevealCell]: {
|
|
1150
1150
|
markdownDescription: ( localize(
|
|
1151
|
-
|
|
1151
|
+
9047,
|
|
1152
1152
|
"How far to scroll when revealing the next cell upon running {0}.",
|
|
1153
1153
|
'notebook.cell.executeAndSelectBelow'
|
|
1154
1154
|
)),
|
|
1155
1155
|
type: 'string',
|
|
1156
1156
|
enum: ['fullCell', 'firstLine', 'none'],
|
|
1157
1157
|
markdownEnumDescriptions: [
|
|
1158
|
-
( localize(
|
|
1159
|
-
( localize(
|
|
1160
|
-
( localize(
|
|
1158
|
+
( localize(9048, 'Scroll to fully reveal the next cell.')),
|
|
1159
|
+
( localize(9049, 'Scroll to reveal the first line of the next cell.')),
|
|
1160
|
+
( localize(9050, 'Do not scroll.')),
|
|
1161
1161
|
],
|
|
1162
1162
|
default: 'fullCell'
|
|
1163
1163
|
},
|
|
1164
1164
|
[NotebookSetting.cellGenerate]: {
|
|
1165
1165
|
markdownDescription: ( localize(
|
|
1166
|
-
|
|
1166
|
+
9051,
|
|
1167
1167
|
"Enable experimental generate action to create code cell with inline chat enabled."
|
|
1168
1168
|
)),
|
|
1169
1169
|
type: 'boolean',
|
|
@@ -1171,7 +1171,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1171
1171
|
},
|
|
1172
1172
|
[NotebookSetting.notebookVariablesView]: {
|
|
1173
1173
|
markdownDescription: ( localize(
|
|
1174
|
-
|
|
1174
|
+
9052,
|
|
1175
1175
|
"Enable the experimental notebook variables view within the debug panel."
|
|
1176
1176
|
)),
|
|
1177
1177
|
type: 'boolean',
|
|
@@ -1179,32 +1179,32 @@ configurationRegistry.registerConfiguration({
|
|
|
1179
1179
|
},
|
|
1180
1180
|
[NotebookSetting.notebookInlineValues]: {
|
|
1181
1181
|
markdownDescription: ( localize(
|
|
1182
|
-
|
|
1182
|
+
9053,
|
|
1183
1183
|
"Control whether to show 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."
|
|
1184
1184
|
)),
|
|
1185
1185
|
type: 'string',
|
|
1186
1186
|
enum: ['on', 'auto', 'off'],
|
|
1187
1187
|
enumDescriptions: [
|
|
1188
1188
|
( localize(
|
|
1189
|
-
|
|
1189
|
+
9054,
|
|
1190
1190
|
"Always show inline values, with a regex fallback if no inline value provider is registered. Note: There may be a performance impact in larger cells if the fallback is used."
|
|
1191
1191
|
)),
|
|
1192
1192
|
( localize(
|
|
1193
|
-
|
|
1193
|
+
9055,
|
|
1194
1194
|
"Show inline values only when an inline value provider is registered."
|
|
1195
1195
|
)),
|
|
1196
|
-
( localize(
|
|
1196
|
+
( localize(9056, "Never show inline values.")),
|
|
1197
1197
|
],
|
|
1198
1198
|
default: 'off'
|
|
1199
1199
|
},
|
|
1200
1200
|
[NotebookSetting.cellFailureDiagnostics]: {
|
|
1201
|
-
markdownDescription: ( localize(
|
|
1201
|
+
markdownDescription: ( localize(9057, "Show available diagnostics for cell failures.")),
|
|
1202
1202
|
type: 'boolean',
|
|
1203
1203
|
default: true
|
|
1204
1204
|
},
|
|
1205
1205
|
[NotebookSetting.outputBackupSizeLimit]: {
|
|
1206
1206
|
markdownDescription: ( localize(
|
|
1207
|
-
|
|
1207
|
+
9058,
|
|
1208
1208
|
"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."
|
|
1209
1209
|
)),
|
|
1210
1210
|
type: 'number',
|
|
@@ -1212,7 +1212,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1212
1212
|
},
|
|
1213
1213
|
[NotebookSetting.multiCursor]: {
|
|
1214
1214
|
markdownDescription: ( localize(
|
|
1215
|
-
|
|
1215
|
+
9059,
|
|
1216
1216
|
"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."
|
|
1217
1217
|
)),
|
|
1218
1218
|
type: 'boolean',
|
|
@@ -1220,7 +1220,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1220
1220
|
},
|
|
1221
1221
|
[NotebookSetting.markupFontFamily]: {
|
|
1222
1222
|
markdownDescription: ( localize(
|
|
1223
|
-
|
|
1223
|
+
9060,
|
|
1224
1224
|
"Controls the font family of rendered markup in notebooks. When left blank, this will fall back to the default workbench font family."
|
|
1225
1225
|
)),
|
|
1226
1226
|
type: 'string',
|
|
@@ -27,51 +27,51 @@ class NotebookAccessibilityHelp {
|
|
|
27
27
|
function getAccessibilityHelpText() {
|
|
28
28
|
return [
|
|
29
29
|
( localize(
|
|
30
|
-
|
|
30
|
+
9061,
|
|
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
|
+
9062,
|
|
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
|
+
9063,
|
|
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
|
+
9064,
|
|
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
|
+
9065,
|
|
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
|
+
9066,
|
|
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
|
+
9067,
|
|
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
|
+
9068,
|
|
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
|
+
9069,
|
|
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
|
+
9070,
|
|
75
75
|
'The Change Cell to Code/Markdown commands are used to switch between cell types.'
|
|
76
76
|
))
|
|
77
77
|
].join('\n');
|