@codingame/monaco-vscode-notebook-service-override 7.1.0 → 7.1.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.
Files changed (44) hide show
  1. package/package.json +2 -2
  2. package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +14 -20
  3. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +22 -23
  4. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticsActions.js +3 -4
  5. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.js +2 -3
  6. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +5 -7
  7. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +7 -8
  8. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +12 -13
  9. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +3 -4
  10. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +5 -6
  11. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +2 -3
  12. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +2 -3
  13. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +16 -19
  14. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +2 -3
  15. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +2 -3
  16. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +3 -4
  17. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +4 -6
  18. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +13 -17
  19. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +2 -3
  20. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +15 -18
  21. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +4 -5
  22. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +25 -26
  23. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +3 -20
  24. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +629 -0
  25. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +23 -24
  26. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +25 -26
  27. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +18 -19
  28. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +208 -0
  29. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +13 -14
  30. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +2 -3
  31. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +11 -15
  32. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +12 -13
  33. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +2 -3
  34. package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +95 -163
  35. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +38 -50
  36. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibleView.js +11 -12
  37. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +43 -53
  38. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +2 -7
  39. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +2 -3
  40. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +5 -7
  41. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +2 -3
  42. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +2 -3
  43. package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +16 -20
  44. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +2 -3
@@ -10,7 +10,7 @@ import { DefaultEndOfLine } from 'vscode/vscode/vs/editor/common/model';
10
10
  import { IModelService } from 'vscode/vscode/vs/editor/common/services/model';
11
11
  import { ILanguageService } from 'vscode/vscode/vs/editor/common/languages/language';
12
12
  import { ITextModelService } from 'vscode/vscode/vs/editor/common/services/resolverService';
13
- import { localizeWithPath } from 'vscode/vscode/vs/nls';
13
+ import { localize } from 'vscode/vscode/vs/nls';
14
14
  import { Extensions as Extensions$2 } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
15
15
  import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
16
16
  import 'vscode/vscode/vs/platform/instantiation/common/extensions';
@@ -51,7 +51,7 @@ import './controller/insertCellActions.js';
51
51
  import './controller/executeActions.js';
52
52
  import './controller/sectionActions.js';
53
53
  import './controller/layoutActions.js';
54
- import 'vscode/vscode/vs/workbench/contrib/notebook/browser/controller/editActions';
54
+ import './controller/editActions.js';
55
55
  import 'vscode/vscode/vs/workbench/contrib/notebook/browser/controller/cellOutputActions';
56
56
  import './controller/apiActions.js';
57
57
  import 'vscode/vscode/vs/workbench/contrib/notebook/browser/controller/foldingController';
@@ -102,7 +102,6 @@ import { NotebookAccessibleView } from './notebookAccessibleView.js';
102
102
  import { DefaultFormatter } from 'vscode/vscode/vs/workbench/contrib/format/browser/formatActionsMultiple';
103
103
 
104
104
  var NotebookContribution_1;
105
- const _moduleId = "vs/workbench/contrib/notebook/browser/notebook.contribution";
106
105
  ( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(NotebookEditor, NotebookEditor.ID, 'Notebook Editor'), [
107
106
  ( (new SyncDescriptor(NotebookEditorInput)))
108
107
  ]);
@@ -589,9 +588,8 @@ for (const editorOption of editorOptionsRegistry) {
589
588
  }
590
589
  }
591
590
  const editorOptionsCustomizationSchema = {
592
- description: ( localizeWithPath(
593
- _moduleId,
594
- 0,
591
+ description: ( localize(
592
+ 3268,
595
593
  'Settings for code editors used in notebooks. This can be used to customize most editor.* settings.'
596
594
  )),
597
595
  default: {},
@@ -606,11 +604,11 @@ const configurationRegistry = ( (Registry.as(Extensions$2.Configuration)));
606
604
  configurationRegistry.registerConfiguration({
607
605
  id: 'notebook',
608
606
  order: 100,
609
- title: ( localizeWithPath(_moduleId, 1, "Notebook")),
607
+ title: ( localize(3269, "Notebook")),
610
608
  type: 'object',
611
609
  properties: {
612
610
  [NotebookSetting.displayOrder]: {
613
- description: ( localizeWithPath(_moduleId, 2, "Priority list for output mime types")),
611
+ description: ( localize(3270, "Priority list for output mime types")),
614
612
  type: 'array',
615
613
  items: {
616
614
  type: 'string'
@@ -618,18 +616,13 @@ configurationRegistry.registerConfiguration({
618
616
  default: []
619
617
  },
620
618
  [NotebookSetting.cellToolbarLocation]: {
621
- description: ( localizeWithPath(
622
- _moduleId,
623
- 3,
619
+ description: ( localize(
620
+ 3271,
624
621
  "Where the cell toolbar should be shown, or whether it should be hidden."
625
622
  )),
626
623
  type: 'object',
627
624
  additionalProperties: {
628
- markdownDescription: ( localizeWithPath(
629
- _moduleId,
630
- 4,
631
- "Configure the cell toolbar position for for specific file types"
632
- )),
625
+ markdownDescription: ( localize(3272, "Configure the cell toolbar position for for specific file types")),
633
626
  type: 'string',
634
627
  enum: ['left', 'right', 'hidden']
635
628
  },
@@ -639,15 +632,14 @@ configurationRegistry.registerConfiguration({
639
632
  tags: ['notebookLayout']
640
633
  },
641
634
  [NotebookSetting.showCellStatusBar]: {
642
- description: ( localizeWithPath(_moduleId, 5, "Whether the cell status bar should be shown.")),
635
+ description: ( localize(3273, "Whether the cell status bar should be shown.")),
643
636
  type: 'string',
644
637
  enum: ['hidden', 'visible', 'visibleAfterExecute'],
645
638
  enumDescriptions: [
646
- ( localizeWithPath(_moduleId, 6, "The cell Status bar is always hidden.")),
647
- ( localizeWithPath(_moduleId, 7, "The cell Status bar is always visible.")),
648
- ( localizeWithPath(
649
- _moduleId,
650
- 8,
639
+ ( localize(3274, "The cell Status bar is always hidden.")),
640
+ ( localize(3275, "The cell Status bar is always visible.")),
641
+ ( localize(
642
+ 3276,
651
643
  "The cell Status bar is hidden until the cell has executed. Then it becomes visible to show the execution status."
652
644
  ))
653
645
  ],
@@ -655,15 +647,14 @@ configurationRegistry.registerConfiguration({
655
647
  tags: ['notebookLayout']
656
648
  },
657
649
  [NotebookSetting.textDiffEditorPreview]: {
658
- description: ( localizeWithPath(_moduleId, 9, "Whether to use the enhanced text diff editor for notebook.")),
650
+ description: ( localize(3277, "Whether to use the enhanced text diff editor for notebook.")),
659
651
  type: 'boolean',
660
652
  default: true,
661
653
  tags: ['notebookLayout']
662
654
  },
663
655
  [NotebookSetting.diffOverviewRuler]: {
664
- description: ( localizeWithPath(
665
- _moduleId,
666
- 10,
656
+ description: ( localize(
657
+ 3278,
667
658
  "Whether to render the overview ruler in the diff editor for notebook."
668
659
  )),
669
660
  type: 'boolean',
@@ -671,22 +662,21 @@ configurationRegistry.registerConfiguration({
671
662
  tags: ['notebookLayout']
672
663
  },
673
664
  [NotebookSetting.cellToolbarVisibility]: {
674
- markdownDescription: ( localizeWithPath(_moduleId, 11, "Whether the cell toolbar should appear on hover or click.")),
665
+ markdownDescription: ( localize(3279, "Whether the cell toolbar should appear on hover or click.")),
675
666
  type: 'string',
676
667
  enum: ['hover', 'click'],
677
668
  default: 'click',
678
669
  tags: ['notebookLayout']
679
670
  },
680
671
  [NotebookSetting.undoRedoPerCell]: {
681
- description: ( localizeWithPath(_moduleId, 12, "Whether to use separate undo/redo stack for each cell.")),
672
+ description: ( localize(3280, "Whether to use separate undo/redo stack for each cell.")),
682
673
  type: 'boolean',
683
674
  default: true,
684
675
  tags: ['notebookLayout']
685
676
  },
686
677
  [NotebookSetting.compactView]: {
687
- description: ( localizeWithPath(
688
- _moduleId,
689
- 13,
678
+ description: ( localize(
679
+ 3281,
690
680
  "Control whether the notebook editor should be rendered in a compact form. For example, when turned on, it will decrease the left margin width."
691
681
  )),
692
682
  type: 'boolean',
@@ -694,9 +684,8 @@ configurationRegistry.registerConfiguration({
694
684
  tags: ['notebookLayout']
695
685
  },
696
686
  [NotebookSetting.focusIndicator]: {
697
- description: ( localizeWithPath(
698
- _moduleId,
699
- 14,
687
+ description: ( localize(
688
+ 3282,
700
689
  "Controls where the focus indicator is rendered, either along the cell borders or on the left gutter."
701
690
  )),
702
691
  type: 'string',
@@ -705,22 +694,21 @@ configurationRegistry.registerConfiguration({
705
694
  tags: ['notebookLayout']
706
695
  },
707
696
  [NotebookSetting.insertToolbarLocation]: {
708
- description: ( localizeWithPath(_moduleId, 15, "Control where the insert cell actions should appear.")),
697
+ description: ( localize(3283, "Control where the insert cell actions should appear.")),
709
698
  type: 'string',
710
699
  enum: ['betweenCells', 'notebookToolbar', 'both', 'hidden'],
711
700
  enumDescriptions: [
712
- ( localizeWithPath(_moduleId, 16, "A toolbar that appears on hover between cells.")),
713
- ( localizeWithPath(_moduleId, 17, "The toolbar at the top of the notebook editor.")),
714
- ( localizeWithPath(_moduleId, 18, "Both toolbars.")),
715
- ( localizeWithPath(_moduleId, 19, "The insert actions don't appear anywhere.")),
701
+ ( localize(3284, "A toolbar that appears on hover between cells.")),
702
+ ( localize(3285, "The toolbar at the top of the notebook editor.")),
703
+ ( localize(3286, "Both toolbars.")),
704
+ ( localize(3287, "The insert actions don't appear anywhere.")),
716
705
  ],
717
706
  default: 'both',
718
707
  tags: ['notebookLayout']
719
708
  },
720
709
  [NotebookSetting.globalToolbar]: {
721
- description: ( localizeWithPath(
722
- _moduleId,
723
- 20,
710
+ description: ( localize(
711
+ 3288,
724
712
  "Control whether to render a global toolbar inside the notebook editor."
725
713
  )),
726
714
  type: 'boolean',
@@ -728,9 +716,8 @@ configurationRegistry.registerConfiguration({
728
716
  tags: ['notebookLayout']
729
717
  },
730
718
  [NotebookSetting.stickyScrollEnabled]: {
731
- description: ( localizeWithPath(
732
- _moduleId,
733
- 21,
719
+ description: ( localize(
720
+ 3289,
734
721
  "Experimental. Control whether to render notebook Sticky Scroll headers in the notebook editor."
735
722
  )),
736
723
  type: 'boolean',
@@ -738,24 +725,22 @@ configurationRegistry.registerConfiguration({
738
725
  tags: ['notebookLayout']
739
726
  },
740
727
  [NotebookSetting.stickyScrollMode]: {
741
- description: ( localizeWithPath(
742
- _moduleId,
743
- 22,
728
+ description: ( localize(
729
+ 3290,
744
730
  "Control whether nested sticky lines appear to stack flat or indented."
745
731
  )),
746
732
  type: 'string',
747
733
  enum: ['flat', 'indented'],
748
734
  enumDescriptions: [
749
- ( localizeWithPath(_moduleId, 23, "Nested sticky lines appear flat.")),
750
- ( localizeWithPath(_moduleId, 24, "Nested sticky lines appear indented.")),
735
+ ( localize(3291, "Nested sticky lines appear flat.")),
736
+ ( localize(3292, "Nested sticky lines appear indented.")),
751
737
  ],
752
738
  default: 'indented',
753
739
  tags: ['notebookLayout']
754
740
  },
755
741
  [NotebookSetting.consolidatedOutputButton]: {
756
- description: ( localizeWithPath(
757
- _moduleId,
758
- 25,
742
+ description: ( localize(
743
+ 3293,
759
744
  "Control whether outputs action should be rendered in the output toolbar."
760
745
  )),
761
746
  type: 'boolean',
@@ -763,25 +748,20 @@ configurationRegistry.registerConfiguration({
763
748
  tags: ['notebookLayout']
764
749
  },
765
750
  [NotebookSetting.showFoldingControls]: {
766
- description: ( localizeWithPath(_moduleId, 26, "Controls when the Markdown header folding arrow is shown.")),
751
+ description: ( localize(3294, "Controls when the Markdown header folding arrow is shown.")),
767
752
  type: 'string',
768
753
  enum: ['always', 'never', 'mouseover'],
769
754
  enumDescriptions: [
770
- ( localizeWithPath(_moduleId, 27, "The folding controls are always visible.")),
771
- ( localizeWithPath(
772
- _moduleId,
773
- 28,
774
- "Never show the folding controls and reduce the gutter size."
775
- )),
776
- ( localizeWithPath(_moduleId, 29, "The folding controls are visible only on mouseover.")),
755
+ ( localize(3295, "The folding controls are always visible.")),
756
+ ( localize(3296, "Never show the folding controls and reduce the gutter size.")),
757
+ ( localize(3297, "The folding controls are visible only on mouseover.")),
777
758
  ],
778
759
  default: 'mouseover',
779
760
  tags: ['notebookLayout']
780
761
  },
781
762
  [NotebookSetting.dragAndDropEnabled]: {
782
- description: ( localizeWithPath(
783
- _moduleId,
784
- 30,
763
+ description: ( localize(
764
+ 3298,
785
765
  "Control whether the notebook editor should allow moving cells through drag and drop."
786
766
  )),
787
767
  type: 'boolean',
@@ -789,9 +769,8 @@ configurationRegistry.registerConfiguration({
789
769
  tags: ['notebookLayout']
790
770
  },
791
771
  [NotebookSetting.consolidatedRunButton]: {
792
- description: ( localizeWithPath(
793
- _moduleId,
794
- 31,
772
+ description: ( localize(
773
+ 3299,
795
774
  "Control whether extra actions are shown in a dropdown next to the run button."
796
775
  )),
797
776
  type: 'boolean',
@@ -799,9 +778,8 @@ configurationRegistry.registerConfiguration({
799
778
  tags: ['notebookLayout']
800
779
  },
801
780
  [NotebookSetting.globalToolbarShowLabel]: {
802
- description: ( localizeWithPath(
803
- _moduleId,
804
- 32,
781
+ description: ( localize(
782
+ 3300,
805
783
  "Control whether the actions on the notebook toolbar should render label or not."
806
784
  )),
807
785
  type: 'string',
@@ -810,9 +788,8 @@ configurationRegistry.registerConfiguration({
810
788
  tags: ['notebookLayout']
811
789
  },
812
790
  [NotebookSetting.textOutputLineLimit]: {
813
- markdownDescription: ( localizeWithPath(
814
- _moduleId,
815
- 33,
791
+ markdownDescription: ( localize(
792
+ 3301,
816
793
  "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.",
817
794
  '`#notebook.output.scrolling#`'
818
795
  )),
@@ -822,9 +799,8 @@ configurationRegistry.registerConfiguration({
822
799
  minimum: 1,
823
800
  },
824
801
  [NotebookSetting.LinkifyOutputFilePaths]: {
825
- description: ( localizeWithPath(
826
- _moduleId,
827
- 34,
802
+ description: ( localize(
803
+ 3302,
828
804
  "Control whether to disable filepath links in the output of notebook cells."
829
805
  )),
830
806
  type: 'boolean',
@@ -832,19 +808,14 @@ configurationRegistry.registerConfiguration({
832
808
  tags: ['notebookOutputLayout']
833
809
  },
834
810
  [NotebookSetting.minimalErrorRendering]: {
835
- description: ( localizeWithPath(
836
- _moduleId,
837
- 35,
838
- "Control whether to render error output in a minimal style."
839
- )),
811
+ description: ( localize(3303, "Control whether to render error output in a minimal style.")),
840
812
  type: 'boolean',
841
813
  default: false,
842
814
  tags: ['notebookOutputLayout']
843
815
  },
844
816
  [NotebookSetting.markupFontSize]: {
845
- markdownDescription: ( localizeWithPath(
846
- _moduleId,
847
- 36,
817
+ markdownDescription: ( localize(
818
+ 3304,
848
819
  "Controls the font size in pixels of rendered markup in notebooks. When set to {0}, 120% of {1} is used.",
849
820
  '`0`',
850
821
  '`#editor.fontSize#`'
@@ -854,9 +825,8 @@ configurationRegistry.registerConfiguration({
854
825
  tags: ['notebookLayout']
855
826
  },
856
827
  [NotebookSetting.markdownLineHeight]: {
857
- markdownDescription: ( localizeWithPath(
858
- _moduleId,
859
- 37,
828
+ markdownDescription: ( localize(
829
+ 3305,
860
830
  "Controls the line height in pixels of markdown cells in notebooks. When set to {0}, {1} will be used",
861
831
  '`0`',
862
832
  '`normal`'
@@ -867,9 +837,8 @@ configurationRegistry.registerConfiguration({
867
837
  },
868
838
  [NotebookSetting.cellEditorOptionsCustomizations]: editorOptionsCustomizationSchema,
869
839
  [NotebookSetting.interactiveWindowCollapseCodeCells]: {
870
- markdownDescription: ( localizeWithPath(
871
- _moduleId,
872
- 38,
840
+ markdownDescription: ( localize(
841
+ 3306,
873
842
  "Controls whether code cells in the interactive window are collapsed by default."
874
843
  )),
875
844
  type: 'string',
@@ -877,9 +846,8 @@ configurationRegistry.registerConfiguration({
877
846
  default: 'fromEditor'
878
847
  },
879
848
  [NotebookSetting.outputLineHeight]: {
880
- markdownDescription: ( localizeWithPath(
881
- _moduleId,
882
- 39,
849
+ markdownDescription: ( localize(
850
+ 3307,
883
851
  "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."
884
852
  )),
885
853
  type: 'number',
@@ -887,9 +855,8 @@ configurationRegistry.registerConfiguration({
887
855
  tags: ['notebookLayout', 'notebookOutputLayout']
888
856
  },
889
857
  [NotebookSetting.outputFontSize]: {
890
- markdownDescription: ( localizeWithPath(
891
- _moduleId,
892
- 40,
858
+ markdownDescription: ( localize(
859
+ 3308,
893
860
  "Font size for the output text within notebook cells. When set to 0, {0} is used.",
894
861
  '`#editor.fontSize#`'
895
862
  )),
@@ -898,9 +865,8 @@ configurationRegistry.registerConfiguration({
898
865
  tags: ['notebookLayout', 'notebookOutputLayout']
899
866
  },
900
867
  [NotebookSetting.outputFontFamily]: {
901
- markdownDescription: ( localizeWithPath(
902
- _moduleId,
903
- 41,
868
+ markdownDescription: ( localize(
869
+ 3309,
904
870
  "The font family of the output text within notebook cells. When set to empty, the {0} is used.",
905
871
  '`#editor.fontFamily#`'
906
872
  )),
@@ -908,9 +874,8 @@ configurationRegistry.registerConfiguration({
908
874
  tags: ['notebookLayout', 'notebookOutputLayout']
909
875
  },
910
876
  [NotebookSetting.outputScrolling]: {
911
- markdownDescription: ( localizeWithPath(
912
- _moduleId,
913
- 42,
877
+ markdownDescription: ( localize(
878
+ 3310,
914
879
  "Initially render notebook outputs in a scrollable region when longer than the limit."
915
880
  )),
916
881
  type: 'boolean',
@@ -918,15 +883,14 @@ configurationRegistry.registerConfiguration({
918
883
  default: typeof product$1.quality === 'string' && product$1.quality !== 'stable'
919
884
  },
920
885
  [NotebookSetting.outputWordWrap]: {
921
- markdownDescription: ( localizeWithPath(_moduleId, 43, "Controls whether the lines in output should wrap.")),
886
+ markdownDescription: ( localize(3311, "Controls whether the lines in output should wrap.")),
922
887
  type: 'boolean',
923
888
  tags: ['notebookLayout', 'notebookOutputLayout'],
924
889
  default: false
925
890
  },
926
891
  [NotebookSetting.defaultFormatter]: {
927
- description: ( localizeWithPath(
928
- _moduleId,
929
- 44,
892
+ description: ( localize(
893
+ 3312,
930
894
  "Defines a default notebook formatter which takes precedence over all other formatter settings. Must be the identifier of an extension contributing a formatter."
931
895
  )),
932
896
  type: ['string', 'null'],
@@ -936,9 +900,8 @@ configurationRegistry.registerConfiguration({
936
900
  markdownEnumDescriptions: DefaultFormatter.extensionDescriptions
937
901
  },
938
902
  [NotebookSetting.formatOnSave]: {
939
- markdownDescription: ( localizeWithPath(
940
- _moduleId,
941
- 45,
903
+ markdownDescription: ( localize(
904
+ 3313,
942
905
  "Format a notebook on save. A formatter must be available, the file must not be saved after delay, and the editor must not be shutting down."
943
906
  )),
944
907
  type: 'boolean',
@@ -946,59 +909,33 @@ configurationRegistry.registerConfiguration({
946
909
  default: false
947
910
  },
948
911
  [NotebookSetting.insertFinalNewline]: {
949
- markdownDescription: ( localizeWithPath(
950
- _moduleId,
951
- 46,
912
+ markdownDescription: ( localize(
913
+ 3314,
952
914
  "When enabled, insert a final new line into the end of code cells when saving a notebook."
953
915
  )),
954
916
  type: 'boolean',
955
917
  tags: ['notebookLayout'],
956
918
  default: false
957
919
  },
958
- [NotebookSetting.codeActionsOnSave]: {
959
- markdownDescription: ( localizeWithPath(
960
- _moduleId,
961
- 47,
962
- 'Run a series of Code Actions for a notebook on save. Code Actions must be specified, the file must not be saved after delay, and the editor must not be shutting down. Example: `"notebook.source.organizeImports": "explicit"`'
963
- )),
964
- type: 'object',
965
- additionalProperties: {
966
- type: ['string', 'boolean'],
967
- enum: ['explicit', 'never', true, false],
968
- enumDescriptions: [( localizeWithPath(_moduleId, 48, 'Triggers Code Actions only when explicitly saved.')), ( localizeWithPath(_moduleId, 49, 'Never triggers Code Actions on save.')), ( localizeWithPath(
969
- _moduleId,
970
- 50,
971
- 'Triggers Code Actions only when explicitly saved. This value will be deprecated in favor of "explicit".'
972
- )), ( localizeWithPath(
973
- _moduleId,
974
- 51,
975
- 'Triggers Code Actions only when explicitly saved. This value will be deprecated in favor of "never".'
976
- ))],
977
- },
978
- default: {}
979
- },
980
920
  [NotebookSetting.formatOnCellExecution]: {
981
- markdownDescription: ( localizeWithPath(
982
- _moduleId,
983
- 52,
921
+ markdownDescription: ( localize(
922
+ 3315,
984
923
  "Format a notebook cell upon execution. A formatter must be available."
985
924
  )),
986
925
  type: 'boolean',
987
926
  default: false
988
927
  },
989
928
  [NotebookSetting.confirmDeleteRunningCell]: {
990
- markdownDescription: ( localizeWithPath(
991
- _moduleId,
992
- 53,
929
+ markdownDescription: ( localize(
930
+ 3316,
993
931
  "Control whether a confirmation prompt is required to delete a running cell."
994
932
  )),
995
933
  type: 'boolean',
996
934
  default: true
997
935
  },
998
936
  [NotebookSetting.findFilters]: {
999
- markdownDescription: ( localizeWithPath(
1000
- _moduleId,
1001
- 54,
937
+ markdownDescription: ( localize(
938
+ 3317,
1002
939
  "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."
1003
940
  )),
1004
941
  type: 'object',
@@ -1029,9 +966,8 @@ configurationRegistry.registerConfiguration({
1029
966
  tags: ['notebookLayout']
1030
967
  },
1031
968
  [NotebookSetting.remoteSaving]: {
1032
- markdownDescription: ( localizeWithPath(
1033
- _moduleId,
1034
- 55,
969
+ markdownDescription: ( localize(
970
+ 3318,
1035
971
  "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."
1036
972
  )),
1037
973
  type: 'boolean',
@@ -1039,30 +975,28 @@ configurationRegistry.registerConfiguration({
1039
975
  tags: ['experimental']
1040
976
  },
1041
977
  [NotebookSetting.scrollToRevealCell]: {
1042
- markdownDescription: ( localizeWithPath(
1043
- _moduleId,
1044
- 56,
978
+ markdownDescription: ( localize(
979
+ 3319,
1045
980
  "How far to scroll when revealing the next cell upon running {0}.",
1046
981
  'notebook.cell.executeAndSelectBelow'
1047
982
  )),
1048
983
  type: 'string',
1049
984
  enum: ['fullCell', 'firstLine', 'none'],
1050
985
  markdownEnumDescriptions: [
1051
- ( localizeWithPath(_moduleId, 57, 'Scroll to fully reveal the next cell.')),
1052
- ( localizeWithPath(_moduleId, 58, 'Scroll to reveal the first line of the next cell.')),
1053
- ( localizeWithPath(_moduleId, 59, 'Do not scroll.')),
986
+ ( localize(3320, 'Scroll to fully reveal the next cell.')),
987
+ ( localize(3321, 'Scroll to reveal the first line of the next cell.')),
988
+ ( localize(3322, 'Do not scroll.')),
1054
989
  ],
1055
990
  default: 'fullCell'
1056
991
  },
1057
992
  [NotebookSetting.cellChat]: {
1058
- markdownDescription: ( localizeWithPath(_moduleId, 60, "Enable experimental floating chat widget in notebooks.")),
993
+ markdownDescription: ( localize(3323, "Enable experimental floating chat widget in notebooks.")),
1059
994
  type: 'boolean',
1060
995
  default: false
1061
996
  },
1062
997
  [NotebookSetting.cellGenerate]: {
1063
- markdownDescription: ( localizeWithPath(
1064
- _moduleId,
1065
- 61,
998
+ markdownDescription: ( localize(
999
+ 3324,
1066
1000
  "Enable experimental generate action to create code cell with inline chat enabled."
1067
1001
  )),
1068
1002
  type: 'boolean',
@@ -1070,23 +1004,21 @@ configurationRegistry.registerConfiguration({
1070
1004
  tags: ['experimental']
1071
1005
  },
1072
1006
  [NotebookSetting.notebookVariablesView]: {
1073
- markdownDescription: ( localizeWithPath(
1074
- _moduleId,
1075
- 62,
1007
+ markdownDescription: ( localize(
1008
+ 3325,
1076
1009
  "Enable the experimental notebook variables view within the debug panel."
1077
1010
  )),
1078
1011
  type: 'boolean',
1079
1012
  default: false
1080
1013
  },
1081
1014
  [NotebookSetting.cellFailureDiagnostics]: {
1082
- markdownDescription: ( localizeWithPath(_moduleId, 63, "Show available diagnostics for cell failures.")),
1015
+ markdownDescription: ( localize(3326, "Show available diagnostics for cell failures.")),
1083
1016
  type: 'boolean',
1084
1017
  default: true
1085
1018
  },
1086
1019
  [NotebookSetting.outputBackupSizeLimit]: {
1087
- markdownDescription: ( localizeWithPath(
1088
- _moduleId,
1089
- 64,
1020
+ markdownDescription: ( localize(
1021
+ 3327,
1090
1022
  "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."
1091
1023
  )),
1092
1024
  type: 'number',