@codingame/monaco-vscode-notebook-service-override 18.4.0 → 19.0.1
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 +27 -29
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +26 -26
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticEditorContrib.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticsActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/contributedStatusBarItemController.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +16 -16
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookBreakpoints.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorHint/emptyCellEditorHint.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +12 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/execute/executionEditorProgress.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/marker/markerProvider.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.js +19 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +20 -20
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +3 -3
- 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.d.ts +6 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +14 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.d.ts +1 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +10 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +13 -13
- 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.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +5 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/undoRedo/notebookUndoRedo.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/viewportWarmup/viewportWarmup.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +31 -31
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +18 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +29 -29
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +32 -29
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +26 -26
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +20 -20
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +16 -16
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/variablesActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +22 -22
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +72 -72
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibleView.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +33 -33
- package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditor.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditor.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.js +2 -2
- 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.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.js +24 -18
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.js +3 -3
- package/vscode/src/vs/workbench/services/workingCopy/common/abstractFileWorkingCopyManager.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.d.ts +2 -2
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +14 -14
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +3 -3
- package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.d.ts +2 -2
- package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.js +2 -2
|
@@ -22,7 +22,7 @@ import { EditorPaneDescriptor } from '@codingame/monaco-vscode-60014c9d-b815-501
|
|
|
22
22
|
import { Extensions as Extensions$1, registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
23
23
|
import { EditorExtensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
24
24
|
import { NotebookEditor } from '@codingame/monaco-vscode-bc8c28cd-7a80-54a9-af1a-e6b1e7a7f34a-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditor';
|
|
25
|
-
import { NotebookEditorInput } from '@codingame/monaco-vscode-
|
|
25
|
+
import { NotebookEditorInput } from '@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/common/notebookEditorInput';
|
|
26
26
|
import { INotebookService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
|
|
27
27
|
import './services/notebookServiceImpl.js';
|
|
28
28
|
import { NotebookSetting, CellUri, CellKind, NotebookCellsChangeType, NotebookMetadataUri, NotebookWorkingCopyTypeIdentifier } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
@@ -45,14 +45,14 @@ import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/pl
|
|
|
45
45
|
import { ILabelService } from '@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service';
|
|
46
46
|
import { IEditorGroupsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
|
|
47
47
|
import './services/notebookRendererMessagingServiceImpl.js';
|
|
48
|
-
import '@codingame/monaco-vscode-
|
|
49
|
-
import '@codingame/monaco-vscode-
|
|
48
|
+
import '@codingame/monaco-vscode-ca445022-b812-53ca-a041-e46c7e0b13de-common/vscode/vs/workbench/services/outline/browser/outline';
|
|
49
|
+
import '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
|
|
50
50
|
import './controller/insertCellActions.js';
|
|
51
51
|
import './controller/executeActions.js';
|
|
52
52
|
import './controller/sectionActions.js';
|
|
53
53
|
import './controller/layoutActions.js';
|
|
54
54
|
import './controller/editActions.js';
|
|
55
|
-
import '@codingame/monaco-vscode-
|
|
55
|
+
import '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/cellOutputActions';
|
|
56
56
|
import './controller/apiActions.js';
|
|
57
57
|
import '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/foldingController';
|
|
58
58
|
import './controller/chat/notebook.chat.contribution.js';
|
|
@@ -743,7 +743,7 @@ for (const editorOption of editorOptionsRegistry) {
|
|
|
743
743
|
}
|
|
744
744
|
const editorOptionsCustomizationSchema = {
|
|
745
745
|
description: ( localize(
|
|
746
|
-
|
|
746
|
+
8665,
|
|
747
747
|
'Settings for code editors used in notebooks. This can be used to customize most editor.* settings.'
|
|
748
748
|
)),
|
|
749
749
|
default: {},
|
|
@@ -758,11 +758,11 @@ const configurationRegistry = ( Registry.as(Extensions$2.Configuration));
|
|
|
758
758
|
configurationRegistry.registerConfiguration({
|
|
759
759
|
id: 'notebook',
|
|
760
760
|
order: 100,
|
|
761
|
-
title: ( localize(
|
|
761
|
+
title: ( localize(8666, "Notebook")),
|
|
762
762
|
type: 'object',
|
|
763
763
|
properties: {
|
|
764
764
|
[NotebookSetting.displayOrder]: {
|
|
765
|
-
description: ( localize(
|
|
765
|
+
description: ( localize(8667, "Priority list for output mime types")),
|
|
766
766
|
type: 'array',
|
|
767
767
|
items: {
|
|
768
768
|
type: 'string'
|
|
@@ -771,12 +771,12 @@ configurationRegistry.registerConfiguration({
|
|
|
771
771
|
},
|
|
772
772
|
[NotebookSetting.cellToolbarLocation]: {
|
|
773
773
|
description: ( localize(
|
|
774
|
-
|
|
774
|
+
8668,
|
|
775
775
|
"Where the cell toolbar should be shown, or whether it should be hidden."
|
|
776
776
|
)),
|
|
777
777
|
type: 'object',
|
|
778
778
|
additionalProperties: {
|
|
779
|
-
markdownDescription: ( localize(
|
|
779
|
+
markdownDescription: ( localize(8669, "Configure the cell toolbar position for for specific file types")),
|
|
780
780
|
type: 'string',
|
|
781
781
|
enum: ['left', 'right', 'hidden']
|
|
782
782
|
},
|
|
@@ -786,14 +786,14 @@ configurationRegistry.registerConfiguration({
|
|
|
786
786
|
tags: ['notebookLayout']
|
|
787
787
|
},
|
|
788
788
|
[NotebookSetting.showCellStatusBar]: {
|
|
789
|
-
description: ( localize(
|
|
789
|
+
description: ( localize(8670, "Whether the cell status bar should be shown.")),
|
|
790
790
|
type: 'string',
|
|
791
791
|
enum: ['hidden', 'visible', 'visibleAfterExecute'],
|
|
792
792
|
enumDescriptions: [
|
|
793
|
-
( localize(
|
|
794
|
-
( localize(
|
|
793
|
+
( localize(8671, "The cell Status bar is always hidden.")),
|
|
794
|
+
( localize(8672, "The cell Status bar is always visible.")),
|
|
795
795
|
( localize(
|
|
796
|
-
|
|
796
|
+
8673,
|
|
797
797
|
"The cell Status bar is hidden until the cell has executed. Then it becomes visible to show the execution status."
|
|
798
798
|
))
|
|
799
799
|
],
|
|
@@ -802,18 +802,18 @@ configurationRegistry.registerConfiguration({
|
|
|
802
802
|
},
|
|
803
803
|
[NotebookSetting.cellExecutionTimeVerbosity]: {
|
|
804
804
|
description: ( localize(
|
|
805
|
-
|
|
805
|
+
8674,
|
|
806
806
|
"Controls the verbosity of the cell execution time in the cell status bar."
|
|
807
807
|
)),
|
|
808
808
|
type: 'string',
|
|
809
809
|
enum: ['default', 'verbose'],
|
|
810
810
|
enumDescriptions: [
|
|
811
811
|
( localize(
|
|
812
|
-
|
|
812
|
+
8675,
|
|
813
813
|
"The cell execution duration is visible, with advanced information in the hover tooltip."
|
|
814
814
|
)),
|
|
815
815
|
( localize(
|
|
816
|
-
|
|
816
|
+
8676,
|
|
817
817
|
"The cell last execution timestamp and duration are visible, with advanced information in the hover tooltip."
|
|
818
818
|
))
|
|
819
819
|
],
|
|
@@ -821,14 +821,14 @@ configurationRegistry.registerConfiguration({
|
|
|
821
821
|
tags: ['notebookLayout']
|
|
822
822
|
},
|
|
823
823
|
[NotebookSetting.textDiffEditorPreview]: {
|
|
824
|
-
description: ( localize(
|
|
824
|
+
description: ( localize(8677, "Whether to use the enhanced text diff editor for notebook.")),
|
|
825
825
|
type: 'boolean',
|
|
826
826
|
default: true,
|
|
827
827
|
tags: ['notebookLayout']
|
|
828
828
|
},
|
|
829
829
|
[NotebookSetting.diffOverviewRuler]: {
|
|
830
830
|
description: ( localize(
|
|
831
|
-
|
|
831
|
+
8678,
|
|
832
832
|
"Whether to render the overview ruler in the diff editor for notebook."
|
|
833
833
|
)),
|
|
834
834
|
type: 'boolean',
|
|
@@ -836,21 +836,21 @@ configurationRegistry.registerConfiguration({
|
|
|
836
836
|
tags: ['notebookLayout']
|
|
837
837
|
},
|
|
838
838
|
[NotebookSetting.cellToolbarVisibility]: {
|
|
839
|
-
markdownDescription: ( localize(
|
|
839
|
+
markdownDescription: ( localize(8679, "Whether the cell toolbar should appear on hover or click.")),
|
|
840
840
|
type: 'string',
|
|
841
841
|
enum: ['hover', 'click'],
|
|
842
842
|
default: 'click',
|
|
843
843
|
tags: ['notebookLayout']
|
|
844
844
|
},
|
|
845
845
|
[NotebookSetting.undoRedoPerCell]: {
|
|
846
|
-
description: ( localize(
|
|
846
|
+
description: ( localize(8680, "Whether to use separate undo/redo stack for each cell.")),
|
|
847
847
|
type: 'boolean',
|
|
848
848
|
default: true,
|
|
849
849
|
tags: ['notebookLayout']
|
|
850
850
|
},
|
|
851
851
|
[NotebookSetting.compactView]: {
|
|
852
852
|
description: ( localize(
|
|
853
|
-
|
|
853
|
+
8681,
|
|
854
854
|
"Control whether the notebook editor should be rendered in a compact form. For example, when turned on, it will decrease the left margin width."
|
|
855
855
|
)),
|
|
856
856
|
type: 'boolean',
|
|
@@ -859,7 +859,7 @@ configurationRegistry.registerConfiguration({
|
|
|
859
859
|
},
|
|
860
860
|
[NotebookSetting.focusIndicator]: {
|
|
861
861
|
description: ( localize(
|
|
862
|
-
|
|
862
|
+
8682,
|
|
863
863
|
"Controls where the focus indicator is rendered, either along the cell borders or on the left gutter."
|
|
864
864
|
)),
|
|
865
865
|
type: 'string',
|
|
@@ -868,21 +868,21 @@ configurationRegistry.registerConfiguration({
|
|
|
868
868
|
tags: ['notebookLayout']
|
|
869
869
|
},
|
|
870
870
|
[NotebookSetting.insertToolbarLocation]: {
|
|
871
|
-
description: ( localize(
|
|
871
|
+
description: ( localize(8683, "Control where the insert cell actions should appear.")),
|
|
872
872
|
type: 'string',
|
|
873
873
|
enum: ['betweenCells', 'notebookToolbar', 'both', 'hidden'],
|
|
874
874
|
enumDescriptions: [
|
|
875
|
-
( localize(
|
|
876
|
-
( localize(
|
|
877
|
-
( localize(
|
|
878
|
-
( localize(
|
|
875
|
+
( localize(8684, "A toolbar that appears on hover between cells.")),
|
|
876
|
+
( localize(8685, "The toolbar at the top of the notebook editor.")),
|
|
877
|
+
( localize(8686, "Both toolbars.")),
|
|
878
|
+
( localize(8687, "The insert actions don't appear anywhere.")),
|
|
879
879
|
],
|
|
880
880
|
default: 'both',
|
|
881
881
|
tags: ['notebookLayout']
|
|
882
882
|
},
|
|
883
883
|
[NotebookSetting.globalToolbar]: {
|
|
884
884
|
description: ( localize(
|
|
885
|
-
|
|
885
|
+
8688,
|
|
886
886
|
"Control whether to render a global toolbar inside the notebook editor."
|
|
887
887
|
)),
|
|
888
888
|
type: 'boolean',
|
|
@@ -891,7 +891,7 @@ configurationRegistry.registerConfiguration({
|
|
|
891
891
|
},
|
|
892
892
|
[NotebookSetting.stickyScrollEnabled]: {
|
|
893
893
|
description: ( localize(
|
|
894
|
-
|
|
894
|
+
8689,
|
|
895
895
|
"Experimental. Control whether to render notebook Sticky Scroll headers in the notebook editor."
|
|
896
896
|
)),
|
|
897
897
|
type: 'boolean',
|
|
@@ -900,21 +900,21 @@ configurationRegistry.registerConfiguration({
|
|
|
900
900
|
},
|
|
901
901
|
[NotebookSetting.stickyScrollMode]: {
|
|
902
902
|
description: ( localize(
|
|
903
|
-
|
|
903
|
+
8690,
|
|
904
904
|
"Control whether nested sticky lines appear to stack flat or indented."
|
|
905
905
|
)),
|
|
906
906
|
type: 'string',
|
|
907
907
|
enum: ['flat', 'indented'],
|
|
908
908
|
enumDescriptions: [
|
|
909
|
-
( localize(
|
|
910
|
-
( localize(
|
|
909
|
+
( localize(8691, "Nested sticky lines appear flat.")),
|
|
910
|
+
( localize(8692, "Nested sticky lines appear indented.")),
|
|
911
911
|
],
|
|
912
912
|
default: 'indented',
|
|
913
913
|
tags: ['notebookLayout']
|
|
914
914
|
},
|
|
915
915
|
[NotebookSetting.consolidatedOutputButton]: {
|
|
916
916
|
description: ( localize(
|
|
917
|
-
|
|
917
|
+
8693,
|
|
918
918
|
"Control whether outputs action should be rendered in the output toolbar."
|
|
919
919
|
)),
|
|
920
920
|
type: 'boolean',
|
|
@@ -922,20 +922,20 @@ configurationRegistry.registerConfiguration({
|
|
|
922
922
|
tags: ['notebookLayout']
|
|
923
923
|
},
|
|
924
924
|
[NotebookSetting.showFoldingControls]: {
|
|
925
|
-
description: ( localize(
|
|
925
|
+
description: ( localize(8694, "Controls when the Markdown header folding arrow is shown.")),
|
|
926
926
|
type: 'string',
|
|
927
927
|
enum: ['always', 'never', 'mouseover'],
|
|
928
928
|
enumDescriptions: [
|
|
929
|
-
( localize(
|
|
930
|
-
( localize(
|
|
931
|
-
( localize(
|
|
929
|
+
( localize(8695, "The folding controls are always visible.")),
|
|
930
|
+
( localize(8696, "Never show the folding controls and reduce the gutter size.")),
|
|
931
|
+
( localize(8697, "The folding controls are visible only on mouseover.")),
|
|
932
932
|
],
|
|
933
933
|
default: 'mouseover',
|
|
934
934
|
tags: ['notebookLayout']
|
|
935
935
|
},
|
|
936
936
|
[NotebookSetting.dragAndDropEnabled]: {
|
|
937
937
|
description: ( localize(
|
|
938
|
-
|
|
938
|
+
8698,
|
|
939
939
|
"Control whether the notebook editor should allow moving cells through drag and drop."
|
|
940
940
|
)),
|
|
941
941
|
type: 'boolean',
|
|
@@ -944,7 +944,7 @@ configurationRegistry.registerConfiguration({
|
|
|
944
944
|
},
|
|
945
945
|
[NotebookSetting.consolidatedRunButton]: {
|
|
946
946
|
description: ( localize(
|
|
947
|
-
|
|
947
|
+
8699,
|
|
948
948
|
"Control whether extra actions are shown in a dropdown next to the run button."
|
|
949
949
|
)),
|
|
950
950
|
type: 'boolean',
|
|
@@ -953,7 +953,7 @@ configurationRegistry.registerConfiguration({
|
|
|
953
953
|
},
|
|
954
954
|
[NotebookSetting.globalToolbarShowLabel]: {
|
|
955
955
|
description: ( localize(
|
|
956
|
-
|
|
956
|
+
8700,
|
|
957
957
|
"Control whether the actions on the notebook toolbar should render label or not."
|
|
958
958
|
)),
|
|
959
959
|
type: 'string',
|
|
@@ -963,7 +963,7 @@ configurationRegistry.registerConfiguration({
|
|
|
963
963
|
},
|
|
964
964
|
[NotebookSetting.textOutputLineLimit]: {
|
|
965
965
|
markdownDescription: ( localize(
|
|
966
|
-
|
|
966
|
+
8701,
|
|
967
967
|
"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.",
|
|
968
968
|
'`#notebook.output.scrolling#`'
|
|
969
969
|
)),
|
|
@@ -974,7 +974,7 @@ configurationRegistry.registerConfiguration({
|
|
|
974
974
|
},
|
|
975
975
|
[NotebookSetting.LinkifyOutputFilePaths]: {
|
|
976
976
|
description: ( localize(
|
|
977
|
-
|
|
977
|
+
8702,
|
|
978
978
|
"Control whether to disable filepath links in the output of notebook cells."
|
|
979
979
|
)),
|
|
980
980
|
type: 'boolean',
|
|
@@ -982,14 +982,14 @@ configurationRegistry.registerConfiguration({
|
|
|
982
982
|
tags: ['notebookOutputLayout']
|
|
983
983
|
},
|
|
984
984
|
[NotebookSetting.minimalErrorRendering]: {
|
|
985
|
-
description: ( localize(
|
|
985
|
+
description: ( localize(8703, "Control whether to render error output in a minimal style.")),
|
|
986
986
|
type: 'boolean',
|
|
987
987
|
default: false,
|
|
988
988
|
tags: ['notebookOutputLayout']
|
|
989
989
|
},
|
|
990
990
|
[NotebookSetting.markupFontSize]: {
|
|
991
991
|
markdownDescription: ( localize(
|
|
992
|
-
|
|
992
|
+
8704,
|
|
993
993
|
"Controls the font size in pixels of rendered markup in notebooks. When set to {0}, 120% of {1} is used.",
|
|
994
994
|
'`0`',
|
|
995
995
|
'`#editor.fontSize#`'
|
|
@@ -1000,7 +1000,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1000
1000
|
},
|
|
1001
1001
|
[NotebookSetting.markdownLineHeight]: {
|
|
1002
1002
|
markdownDescription: ( localize(
|
|
1003
|
-
|
|
1003
|
+
8705,
|
|
1004
1004
|
"Controls the line height in pixels of markdown cells in notebooks. When set to {0}, {1} will be used",
|
|
1005
1005
|
'`0`',
|
|
1006
1006
|
'`normal`'
|
|
@@ -1012,7 +1012,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1012
1012
|
[NotebookSetting.cellEditorOptionsCustomizations]: editorOptionsCustomizationSchema,
|
|
1013
1013
|
[NotebookSetting.interactiveWindowCollapseCodeCells]: {
|
|
1014
1014
|
markdownDescription: ( localize(
|
|
1015
|
-
|
|
1015
|
+
8706,
|
|
1016
1016
|
"Controls whether code cells in the interactive window are collapsed by default."
|
|
1017
1017
|
)),
|
|
1018
1018
|
type: 'string',
|
|
@@ -1021,7 +1021,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1021
1021
|
},
|
|
1022
1022
|
[NotebookSetting.outputLineHeight]: {
|
|
1023
1023
|
markdownDescription: ( localize(
|
|
1024
|
-
|
|
1024
|
+
8707,
|
|
1025
1025
|
"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."
|
|
1026
1026
|
)),
|
|
1027
1027
|
type: 'number',
|
|
@@ -1030,7 +1030,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1030
1030
|
},
|
|
1031
1031
|
[NotebookSetting.outputFontSize]: {
|
|
1032
1032
|
markdownDescription: ( localize(
|
|
1033
|
-
|
|
1033
|
+
8708,
|
|
1034
1034
|
"Font size for the output text within notebook cells. When set to 0, {0} is used.",
|
|
1035
1035
|
'`#editor.fontSize#`'
|
|
1036
1036
|
)),
|
|
@@ -1040,7 +1040,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1040
1040
|
},
|
|
1041
1041
|
[NotebookSetting.outputFontFamily]: {
|
|
1042
1042
|
markdownDescription: ( localize(
|
|
1043
|
-
|
|
1043
|
+
8709,
|
|
1044
1044
|
"The font family of the output text within notebook cells. When set to empty, the {0} is used.",
|
|
1045
1045
|
'`#editor.fontFamily#`'
|
|
1046
1046
|
)),
|
|
@@ -1049,7 +1049,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1049
1049
|
},
|
|
1050
1050
|
[NotebookSetting.outputScrolling]: {
|
|
1051
1051
|
markdownDescription: ( localize(
|
|
1052
|
-
|
|
1052
|
+
8710,
|
|
1053
1053
|
"Initially render notebook outputs in a scrollable region when longer than the limit."
|
|
1054
1054
|
)),
|
|
1055
1055
|
type: 'boolean',
|
|
@@ -1057,14 +1057,14 @@ configurationRegistry.registerConfiguration({
|
|
|
1057
1057
|
default: typeof product.quality === 'string' && product.quality !== 'stable'
|
|
1058
1058
|
},
|
|
1059
1059
|
[NotebookSetting.outputWordWrap]: {
|
|
1060
|
-
markdownDescription: ( localize(
|
|
1060
|
+
markdownDescription: ( localize(8711, "Controls whether the lines in output should wrap.")),
|
|
1061
1061
|
type: 'boolean',
|
|
1062
1062
|
tags: ['notebookLayout', 'notebookOutputLayout'],
|
|
1063
1063
|
default: false
|
|
1064
1064
|
},
|
|
1065
1065
|
[NotebookSetting.defaultFormatter]: {
|
|
1066
1066
|
description: ( localize(
|
|
1067
|
-
|
|
1067
|
+
8712,
|
|
1068
1068
|
"Defines a default notebook formatter which takes precedence over all other formatter settings. Must be the identifier of an extension contributing a formatter."
|
|
1069
1069
|
)),
|
|
1070
1070
|
type: ['string', 'null'],
|
|
@@ -1075,7 +1075,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1075
1075
|
},
|
|
1076
1076
|
[NotebookSetting.formatOnSave]: {
|
|
1077
1077
|
markdownDescription: ( localize(
|
|
1078
|
-
|
|
1078
|
+
8713,
|
|
1079
1079
|
"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.",
|
|
1080
1080
|
'`#files.autoSave#`'
|
|
1081
1081
|
)),
|
|
@@ -1085,7 +1085,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1085
1085
|
},
|
|
1086
1086
|
[NotebookSetting.insertFinalNewline]: {
|
|
1087
1087
|
markdownDescription: ( localize(
|
|
1088
|
-
|
|
1088
|
+
8714,
|
|
1089
1089
|
"When enabled, insert a final new line into the end of code cells when saving a notebook."
|
|
1090
1090
|
)),
|
|
1091
1091
|
type: 'boolean',
|
|
@@ -1094,7 +1094,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1094
1094
|
},
|
|
1095
1095
|
[NotebookSetting.formatOnCellExecution]: {
|
|
1096
1096
|
markdownDescription: ( localize(
|
|
1097
|
-
|
|
1097
|
+
8715,
|
|
1098
1098
|
"Format a notebook cell upon execution. A formatter must be available."
|
|
1099
1099
|
)),
|
|
1100
1100
|
type: 'boolean',
|
|
@@ -1102,7 +1102,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1102
1102
|
},
|
|
1103
1103
|
[NotebookSetting.confirmDeleteRunningCell]: {
|
|
1104
1104
|
markdownDescription: ( localize(
|
|
1105
|
-
|
|
1105
|
+
8716,
|
|
1106
1106
|
"Control whether a confirmation prompt is required to delete a running cell."
|
|
1107
1107
|
)),
|
|
1108
1108
|
type: 'boolean',
|
|
@@ -1110,7 +1110,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1110
1110
|
},
|
|
1111
1111
|
[NotebookSetting.findFilters]: {
|
|
1112
1112
|
markdownDescription: ( localize(
|
|
1113
|
-
|
|
1113
|
+
8717,
|
|
1114
1114
|
"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."
|
|
1115
1115
|
)),
|
|
1116
1116
|
type: 'object',
|
|
@@ -1142,7 +1142,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1142
1142
|
},
|
|
1143
1143
|
[NotebookSetting.remoteSaving]: {
|
|
1144
1144
|
markdownDescription: ( localize(
|
|
1145
|
-
|
|
1145
|
+
8718,
|
|
1146
1146
|
"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."
|
|
1147
1147
|
)),
|
|
1148
1148
|
type: 'boolean',
|
|
@@ -1151,22 +1151,22 @@ configurationRegistry.registerConfiguration({
|
|
|
1151
1151
|
},
|
|
1152
1152
|
[NotebookSetting.scrollToRevealCell]: {
|
|
1153
1153
|
markdownDescription: ( localize(
|
|
1154
|
-
|
|
1154
|
+
8719,
|
|
1155
1155
|
"How far to scroll when revealing the next cell upon running {0}.",
|
|
1156
1156
|
'notebook.cell.executeAndSelectBelow'
|
|
1157
1157
|
)),
|
|
1158
1158
|
type: 'string',
|
|
1159
1159
|
enum: ['fullCell', 'firstLine', 'none'],
|
|
1160
1160
|
markdownEnumDescriptions: [
|
|
1161
|
-
( localize(
|
|
1162
|
-
( localize(
|
|
1163
|
-
( localize(
|
|
1161
|
+
( localize(8720, 'Scroll to fully reveal the next cell.')),
|
|
1162
|
+
( localize(8721, 'Scroll to reveal the first line of the next cell.')),
|
|
1163
|
+
( localize(8722, 'Do not scroll.')),
|
|
1164
1164
|
],
|
|
1165
1165
|
default: 'fullCell'
|
|
1166
1166
|
},
|
|
1167
1167
|
[NotebookSetting.cellGenerate]: {
|
|
1168
1168
|
markdownDescription: ( localize(
|
|
1169
|
-
|
|
1169
|
+
8723,
|
|
1170
1170
|
"Enable experimental generate action to create code cell with inline chat enabled."
|
|
1171
1171
|
)),
|
|
1172
1172
|
type: 'boolean',
|
|
@@ -1174,7 +1174,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1174
1174
|
},
|
|
1175
1175
|
[NotebookSetting.notebookVariablesView]: {
|
|
1176
1176
|
markdownDescription: ( localize(
|
|
1177
|
-
|
|
1177
|
+
8724,
|
|
1178
1178
|
"Enable the experimental notebook variables view within the debug panel."
|
|
1179
1179
|
)),
|
|
1180
1180
|
type: 'boolean',
|
|
@@ -1182,32 +1182,32 @@ configurationRegistry.registerConfiguration({
|
|
|
1182
1182
|
},
|
|
1183
1183
|
[NotebookSetting.notebookInlineValues]: {
|
|
1184
1184
|
markdownDescription: ( localize(
|
|
1185
|
-
|
|
1185
|
+
8725,
|
|
1186
1186
|
"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."
|
|
1187
1187
|
)),
|
|
1188
1188
|
type: 'string',
|
|
1189
1189
|
enum: ['on', 'auto', 'off'],
|
|
1190
1190
|
enumDescriptions: [
|
|
1191
1191
|
( localize(
|
|
1192
|
-
|
|
1192
|
+
8726,
|
|
1193
1193
|
"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."
|
|
1194
1194
|
)),
|
|
1195
1195
|
( localize(
|
|
1196
|
-
|
|
1196
|
+
8727,
|
|
1197
1197
|
"Show inline values only when an inline value provider is registered."
|
|
1198
1198
|
)),
|
|
1199
|
-
( localize(
|
|
1199
|
+
( localize(8728, "Never show inline values.")),
|
|
1200
1200
|
],
|
|
1201
1201
|
default: 'off'
|
|
1202
1202
|
},
|
|
1203
1203
|
[NotebookSetting.cellFailureDiagnostics]: {
|
|
1204
|
-
markdownDescription: ( localize(
|
|
1204
|
+
markdownDescription: ( localize(8729, "Show available diagnostics for cell failures.")),
|
|
1205
1205
|
type: 'boolean',
|
|
1206
1206
|
default: true
|
|
1207
1207
|
},
|
|
1208
1208
|
[NotebookSetting.outputBackupSizeLimit]: {
|
|
1209
1209
|
markdownDescription: ( localize(
|
|
1210
|
-
|
|
1210
|
+
8730,
|
|
1211
1211
|
"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."
|
|
1212
1212
|
)),
|
|
1213
1213
|
type: 'number',
|
|
@@ -1215,7 +1215,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1215
1215
|
},
|
|
1216
1216
|
[NotebookSetting.multiCursor]: {
|
|
1217
1217
|
markdownDescription: ( localize(
|
|
1218
|
-
|
|
1218
|
+
8731,
|
|
1219
1219
|
"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."
|
|
1220
1220
|
)),
|
|
1221
1221
|
type: 'boolean',
|
|
@@ -1223,7 +1223,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1223
1223
|
},
|
|
1224
1224
|
[NotebookSetting.markupFontFamily]: {
|
|
1225
1225
|
markdownDescription: ( localize(
|
|
1226
|
-
|
|
1226
|
+
8732,
|
|
1227
1227
|
"Controls the font family of rendered markup in notebooks. When left blank, this will fall back to the default workbench font family."
|
|
1228
1228
|
)),
|
|
1229
1229
|
type: 'string',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { NOTEBOOK_EDITOR_FOCUSED, IS_COMPOSITE_NOTEBOOK } from '@codingame/monaco-vscode-
|
|
2
|
+
import { NOTEBOOK_EDITOR_FOCUSED, IS_COMPOSITE_NOTEBOOK } from '@codingame/monaco-vscode-3927dd53-f845-534c-9baa-1528ff3956c8-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
|
|
3
3
|
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
4
4
|
import { AccessibleViewType, AccessibleContentProvider, AccessibleViewProviderId } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleView';
|
|
5
5
|
import { AccessibilityVerbositySettingId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration';
|
|
@@ -27,51 +27,51 @@ class NotebookAccessibilityHelp {
|
|
|
27
27
|
function getAccessibilityHelpText() {
|
|
28
28
|
return [
|
|
29
29
|
( localize(
|
|
30
|
-
|
|
30
|
+
8733,
|
|
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
|
+
8734,
|
|
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
|
+
8735,
|
|
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
|
+
8736,
|
|
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
|
+
8737,
|
|
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
|
+
8738,
|
|
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
|
+
8739,
|
|
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
|
+
8740,
|
|
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
|
+
8741,
|
|
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
|
+
8742,
|
|
75
75
|
'The Change Cell to Code/Markdown commands are used to switch between cell types.'
|
|
76
76
|
))
|
|
77
77
|
].join('\n');
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import { AccessibleViewType, AccessibleContentProvider, AccessibleViewProviderId } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleView';
|
|
3
3
|
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
4
4
|
import { AccessibilityVerbositySettingId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration';
|
|
5
|
-
import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-
|
|
6
|
-
import { NOTEBOOK_CELL_LIST_FOCUSED } from '@codingame/monaco-vscode-
|
|
5
|
+
import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
6
|
+
import { NOTEBOOK_CELL_LIST_FOCUSED } from '@codingame/monaco-vscode-3927dd53-f845-534c-9baa-1528ff3956c8-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
|
|
7
7
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
8
8
|
import { InputFocusedContext } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkeys';
|
|
9
|
-
import { getAllOutputsText } from '@codingame/monaco-vscode-
|
|
9
|
+
import { getAllOutputsText } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/viewModel/cellOutputTextHelper';
|
|
10
10
|
|
|
11
11
|
class NotebookAccessibleView {
|
|
12
12
|
constructor() {
|