@codingame/monaco-vscode-notebook-service-override 15.0.2 → 16.0.0

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 (84) hide show
  1. package/index.js +5 -11
  2. package/package.json +27 -26
  3. package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.css +6 -0
  4. package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +10 -10
  5. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +22 -22
  6. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticEditorContrib.d.ts +1 -0
  7. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticEditorContrib.js +7 -3
  8. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticsActions.js +5 -5
  9. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.js +7 -3
  10. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +3 -3
  11. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +7 -7
  12. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.js +12 -3
  13. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +10 -10
  14. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/media/notebookFind.css +17 -0
  15. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +4 -4
  16. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +5 -5
  17. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +2 -2
  18. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +1 -1
  19. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.js +6 -6
  20. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +14 -14
  21. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.js +1 -1
  22. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +1 -1
  23. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +1 -1
  24. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +2 -2
  25. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +2 -2
  26. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +10 -10
  27. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +1 -1
  28. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +13 -13
  29. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +3 -3
  30. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +28 -28
  31. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +54 -31
  32. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +25 -25
  33. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +26 -26
  34. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +25 -25
  35. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +18 -18
  36. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +7 -7
  37. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +12 -12
  38. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/variablesActions.js +2 -2
  39. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +22 -22
  40. package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +72 -74
  41. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +11 -11
  42. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibleView.js +1 -1
  43. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +33 -33
  44. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.js +2 -2
  45. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +1 -1
  46. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +1 -1
  47. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +3 -3
  48. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +1 -1
  49. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +54 -12
  50. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.js +4 -3
  51. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.d.ts +2 -0
  52. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.js +42 -1
  53. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.js +10 -2
  54. package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookCellMatching.d.ts +15 -0
  55. package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookCellMatching.js +173 -0
  56. package/vscode/src/vs/workbench/contrib/notebook/common/services/{notebookSimpleWorker.d.ts → notebookWebWorker.d.ts} +24 -6
  57. package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookWebWorker.js +366 -0
  58. package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookWebWorkerMain.js +5 -0
  59. package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +12 -12
  60. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +1 -1
  61. package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.d.ts +2 -2
  62. package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.js +1 -1
  63. package/worker.js +1 -1
  64. package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.css.js +0 -6
  65. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/contribution.js +0 -10
  66. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookCellDecorators.d.ts +0 -24
  67. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookCellDecorators.js +0 -332
  68. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatActionsOverlay.d.ts +0 -23
  69. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatActionsOverlay.js +0 -299
  70. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatEditController.d.ts +0 -9
  71. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatEditController.js +0 -179
  72. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookOriginalCellModelFactory.d.ts +0 -21
  73. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookOriginalCellModelFactory.js +0 -42
  74. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookOriginalModelRefFactory.d.ts +0 -25
  75. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookOriginalModelRefFactory.js +0 -77
  76. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizer.d.ts +0 -64
  77. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizer.js +0 -443
  78. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizerService.d.ts +0 -20
  79. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizerService.js +0 -86
  80. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/media/notebookFind.css.js +0 -6
  81. package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookSimpleWorker.js +0 -279
  82. package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookSimpleWorkerMain.d.ts +0 -1
  83. package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookSimpleWorkerMain.js +0 -5
  84. /package/vscode/src/vs/workbench/contrib/notebook/{browser/contrib/chatEdit/contribution.d.ts → common/services/notebookWebWorkerMain.d.ts} +0 -0
@@ -6,7 +6,7 @@ import { parse } from '@codingame/monaco-vscode-api/vscode/vs/base/common/marsha
6
6
  import { isEqual, extname } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
7
7
  import { assertType } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
8
8
  import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
9
- import { toFormattedString } from '@codingame/monaco-vscode-a4c2011e-8775-52bd-abf0-4a3c07a9696b-common/vscode/vs/base/common/jsonFormatter';
9
+ import { toFormattedString } from '@codingame/monaco-vscode-68b3311c-eb96-5711-8f72-f5f4b2e31932-common/vscode/vs/base/common/jsonFormatter';
10
10
  import { DefaultEndOfLine } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/model';
11
11
  import { IModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model.service';
12
12
  import { ILanguageService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language.service';
@@ -29,7 +29,7 @@ import { NotebookSetting, CellUri, CellKind, NotebookCellsChangeType, NotebookMe
29
29
  import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
30
30
  import { IUndoRedoService } from '@codingame/monaco-vscode-api/vscode/vs/platform/undoRedo/common/undoRedo.service';
31
31
  import { INotebookEditorModelResolverService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookEditorModelResolverService.service';
32
- import { NotebookDiffEditorInput } from '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/notebook/common/notebookDiffEditorInput';
32
+ import { NotebookDiffEditorInput } from '@codingame/monaco-vscode-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common/vscode/vs/workbench/contrib/notebook/common/notebookDiffEditorInput';
33
33
  import { NotebookTextDiffEditor } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor';
34
34
  import './services/notebookWorkerServiceImpl.js';
35
35
  import { Event } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
@@ -87,7 +87,6 @@ import './contrib/multicursor/notebookMulticursor.js';
87
87
  import './contrib/multicursor/notebookSelectionHighlight.js';
88
88
  import './contrib/notebookVariables/notebookInlineVariables.js';
89
89
  import './diff/notebookDiffActions.js';
90
- import './contrib/chatEdit/contribution.js';
91
90
  import { editorOptionsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/config/editorOptions';
92
91
  import './services/notebookExecutionStateServiceImpl.js';
93
92
  import './services/notebookExecutionServiceImpl.js';
@@ -104,12 +103,11 @@ import { AccessibleViewRegistry } from '@codingame/monaco-vscode-api/vscode/vs/p
104
103
  import { NotebookAccessibilityHelp } from './notebookAccessibilityHelp.js';
105
104
  import { NotebookAccessibleView } from './notebookAccessibleView.js';
106
105
  import { DefaultFormatter } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/format/browser/formatActionsMultiple';
107
- import { NotebookMultiTextDiffEditor } from '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor';
108
- import { NotebookMultiDiffEditorInput } from '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditorInput';
106
+ import { NotebookMultiTextDiffEditor } from '@codingame/monaco-vscode-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common/vscode/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor';
107
+ import { NotebookMultiDiffEditorInput } from '@codingame/monaco-vscode-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common/vscode/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditorInput';
109
108
  import { getFormattedMetadataJSON } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/common/model/notebookCellTextModel';
110
109
  import './viewModel/notebookOutlineEntryFactory.js';
111
110
  import { getFormattedNotebookMetadataJSON } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel';
112
- import './contrib/chatEdit/notebookSynchronizerService.js';
113
111
 
114
112
  var NotebookContribution_1;
115
113
  ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(NotebookEditor, NotebookEditor.ID, 'Notebook Editor'), [
@@ -717,7 +715,7 @@ for (const editorOption of editorOptionsRegistry) {
717
715
  }
718
716
  const editorOptionsCustomizationSchema = {
719
717
  description: ( localize(
720
- 7840,
718
+ 8115,
721
719
  'Settings for code editors used in notebooks. This can be used to customize most editor.* settings.'
722
720
  )),
723
721
  default: {},
@@ -732,11 +730,11 @@ const configurationRegistry = ( Registry.as(Extensions$2.Configuration));
732
730
  configurationRegistry.registerConfiguration({
733
731
  id: 'notebook',
734
732
  order: 100,
735
- title: ( localize(7841, "Notebook")),
733
+ title: ( localize(8116, "Notebook")),
736
734
  type: 'object',
737
735
  properties: {
738
736
  [NotebookSetting.displayOrder]: {
739
- description: ( localize(7842, "Priority list for output mime types")),
737
+ description: ( localize(8117, "Priority list for output mime types")),
740
738
  type: 'array',
741
739
  items: {
742
740
  type: 'string'
@@ -745,12 +743,12 @@ configurationRegistry.registerConfiguration({
745
743
  },
746
744
  [NotebookSetting.cellToolbarLocation]: {
747
745
  description: ( localize(
748
- 7843,
746
+ 8118,
749
747
  "Where the cell toolbar should be shown, or whether it should be hidden."
750
748
  )),
751
749
  type: 'object',
752
750
  additionalProperties: {
753
- markdownDescription: ( localize(7844, "Configure the cell toolbar position for for specific file types")),
751
+ markdownDescription: ( localize(8119, "Configure the cell toolbar position for for specific file types")),
754
752
  type: 'string',
755
753
  enum: ['left', 'right', 'hidden']
756
754
  },
@@ -760,14 +758,14 @@ configurationRegistry.registerConfiguration({
760
758
  tags: ['notebookLayout']
761
759
  },
762
760
  [NotebookSetting.showCellStatusBar]: {
763
- description: ( localize(7845, "Whether the cell status bar should be shown.")),
761
+ description: ( localize(8120, "Whether the cell status bar should be shown.")),
764
762
  type: 'string',
765
763
  enum: ['hidden', 'visible', 'visibleAfterExecute'],
766
764
  enumDescriptions: [
767
- ( localize(7846, "The cell Status bar is always hidden.")),
768
- ( localize(7847, "The cell Status bar is always visible.")),
765
+ ( localize(8121, "The cell Status bar is always hidden.")),
766
+ ( localize(8122, "The cell Status bar is always visible.")),
769
767
  ( localize(
770
- 7848,
768
+ 8123,
771
769
  "The cell Status bar is hidden until the cell has executed. Then it becomes visible to show the execution status."
772
770
  ))
773
771
  ],
@@ -776,18 +774,18 @@ configurationRegistry.registerConfiguration({
776
774
  },
777
775
  [NotebookSetting.cellExecutionTimeVerbosity]: {
778
776
  description: ( localize(
779
- 7849,
777
+ 8124,
780
778
  "Controls the verbosity of the cell execution time in the cell status bar."
781
779
  )),
782
780
  type: 'string',
783
781
  enum: ['default', 'verbose'],
784
782
  enumDescriptions: [
785
783
  ( localize(
786
- 7850,
784
+ 8125,
787
785
  "The cell execution duration is visible, with advanced information in the hover tooltip."
788
786
  )),
789
787
  ( localize(
790
- 7851,
788
+ 8126,
791
789
  "The cell last execution timestamp and duration are visible, with advanced information in the hover tooltip."
792
790
  ))
793
791
  ],
@@ -795,14 +793,14 @@ configurationRegistry.registerConfiguration({
795
793
  tags: ['notebookLayout']
796
794
  },
797
795
  [NotebookSetting.textDiffEditorPreview]: {
798
- description: ( localize(7852, "Whether to use the enhanced text diff editor for notebook.")),
796
+ description: ( localize(8127, "Whether to use the enhanced text diff editor for notebook.")),
799
797
  type: 'boolean',
800
798
  default: true,
801
799
  tags: ['notebookLayout']
802
800
  },
803
801
  [NotebookSetting.diffOverviewRuler]: {
804
802
  description: ( localize(
805
- 7853,
803
+ 8128,
806
804
  "Whether to render the overview ruler in the diff editor for notebook."
807
805
  )),
808
806
  type: 'boolean',
@@ -810,21 +808,21 @@ configurationRegistry.registerConfiguration({
810
808
  tags: ['notebookLayout']
811
809
  },
812
810
  [NotebookSetting.cellToolbarVisibility]: {
813
- markdownDescription: ( localize(7854, "Whether the cell toolbar should appear on hover or click.")),
811
+ markdownDescription: ( localize(8129, "Whether the cell toolbar should appear on hover or click.")),
814
812
  type: 'string',
815
813
  enum: ['hover', 'click'],
816
814
  default: 'click',
817
815
  tags: ['notebookLayout']
818
816
  },
819
817
  [NotebookSetting.undoRedoPerCell]: {
820
- description: ( localize(7855, "Whether to use separate undo/redo stack for each cell.")),
818
+ description: ( localize(8130, "Whether to use separate undo/redo stack for each cell.")),
821
819
  type: 'boolean',
822
820
  default: true,
823
821
  tags: ['notebookLayout']
824
822
  },
825
823
  [NotebookSetting.compactView]: {
826
824
  description: ( localize(
827
- 7856,
825
+ 8131,
828
826
  "Control whether the notebook editor should be rendered in a compact form. For example, when turned on, it will decrease the left margin width."
829
827
  )),
830
828
  type: 'boolean',
@@ -833,7 +831,7 @@ configurationRegistry.registerConfiguration({
833
831
  },
834
832
  [NotebookSetting.focusIndicator]: {
835
833
  description: ( localize(
836
- 7857,
834
+ 8132,
837
835
  "Controls where the focus indicator is rendered, either along the cell borders or on the left gutter."
838
836
  )),
839
837
  type: 'string',
@@ -842,21 +840,21 @@ configurationRegistry.registerConfiguration({
842
840
  tags: ['notebookLayout']
843
841
  },
844
842
  [NotebookSetting.insertToolbarLocation]: {
845
- description: ( localize(7858, "Control where the insert cell actions should appear.")),
843
+ description: ( localize(8133, "Control where the insert cell actions should appear.")),
846
844
  type: 'string',
847
845
  enum: ['betweenCells', 'notebookToolbar', 'both', 'hidden'],
848
846
  enumDescriptions: [
849
- ( localize(7859, "A toolbar that appears on hover between cells.")),
850
- ( localize(7860, "The toolbar at the top of the notebook editor.")),
851
- ( localize(7861, "Both toolbars.")),
852
- ( localize(7862, "The insert actions don't appear anywhere.")),
847
+ ( localize(8134, "A toolbar that appears on hover between cells.")),
848
+ ( localize(8135, "The toolbar at the top of the notebook editor.")),
849
+ ( localize(8136, "Both toolbars.")),
850
+ ( localize(8137, "The insert actions don't appear anywhere.")),
853
851
  ],
854
852
  default: 'both',
855
853
  tags: ['notebookLayout']
856
854
  },
857
855
  [NotebookSetting.globalToolbar]: {
858
856
  description: ( localize(
859
- 7863,
857
+ 8138,
860
858
  "Control whether to render a global toolbar inside the notebook editor."
861
859
  )),
862
860
  type: 'boolean',
@@ -865,7 +863,7 @@ configurationRegistry.registerConfiguration({
865
863
  },
866
864
  [NotebookSetting.stickyScrollEnabled]: {
867
865
  description: ( localize(
868
- 7864,
866
+ 8139,
869
867
  "Experimental. Control whether to render notebook Sticky Scroll headers in the notebook editor."
870
868
  )),
871
869
  type: 'boolean',
@@ -874,21 +872,21 @@ configurationRegistry.registerConfiguration({
874
872
  },
875
873
  [NotebookSetting.stickyScrollMode]: {
876
874
  description: ( localize(
877
- 7865,
875
+ 8140,
878
876
  "Control whether nested sticky lines appear to stack flat or indented."
879
877
  )),
880
878
  type: 'string',
881
879
  enum: ['flat', 'indented'],
882
880
  enumDescriptions: [
883
- ( localize(7866, "Nested sticky lines appear flat.")),
884
- ( localize(7867, "Nested sticky lines appear indented.")),
881
+ ( localize(8141, "Nested sticky lines appear flat.")),
882
+ ( localize(8142, "Nested sticky lines appear indented.")),
885
883
  ],
886
884
  default: 'indented',
887
885
  tags: ['notebookLayout']
888
886
  },
889
887
  [NotebookSetting.consolidatedOutputButton]: {
890
888
  description: ( localize(
891
- 7868,
889
+ 8143,
892
890
  "Control whether outputs action should be rendered in the output toolbar."
893
891
  )),
894
892
  type: 'boolean',
@@ -896,20 +894,20 @@ configurationRegistry.registerConfiguration({
896
894
  tags: ['notebookLayout']
897
895
  },
898
896
  [NotebookSetting.showFoldingControls]: {
899
- description: ( localize(7869, "Controls when the Markdown header folding arrow is shown.")),
897
+ description: ( localize(8144, "Controls when the Markdown header folding arrow is shown.")),
900
898
  type: 'string',
901
899
  enum: ['always', 'never', 'mouseover'],
902
900
  enumDescriptions: [
903
- ( localize(7870, "The folding controls are always visible.")),
904
- ( localize(7871, "Never show the folding controls and reduce the gutter size.")),
905
- ( localize(7872, "The folding controls are visible only on mouseover.")),
901
+ ( localize(8145, "The folding controls are always visible.")),
902
+ ( localize(8146, "Never show the folding controls and reduce the gutter size.")),
903
+ ( localize(8147, "The folding controls are visible only on mouseover.")),
906
904
  ],
907
905
  default: 'mouseover',
908
906
  tags: ['notebookLayout']
909
907
  },
910
908
  [NotebookSetting.dragAndDropEnabled]: {
911
909
  description: ( localize(
912
- 7873,
910
+ 8148,
913
911
  "Control whether the notebook editor should allow moving cells through drag and drop."
914
912
  )),
915
913
  type: 'boolean',
@@ -918,7 +916,7 @@ configurationRegistry.registerConfiguration({
918
916
  },
919
917
  [NotebookSetting.consolidatedRunButton]: {
920
918
  description: ( localize(
921
- 7874,
919
+ 8149,
922
920
  "Control whether extra actions are shown in a dropdown next to the run button."
923
921
  )),
924
922
  type: 'boolean',
@@ -927,7 +925,7 @@ configurationRegistry.registerConfiguration({
927
925
  },
928
926
  [NotebookSetting.globalToolbarShowLabel]: {
929
927
  description: ( localize(
930
- 7875,
928
+ 8150,
931
929
  "Control whether the actions on the notebook toolbar should render label or not."
932
930
  )),
933
931
  type: 'string',
@@ -937,7 +935,7 @@ configurationRegistry.registerConfiguration({
937
935
  },
938
936
  [NotebookSetting.textOutputLineLimit]: {
939
937
  markdownDescription: ( localize(
940
- 7876,
938
+ 8151,
941
939
  "Controls how many lines of text are displayed in a text output. If {0} is enabled, this setting is used to determine the scroll height of the output.",
942
940
  '`#notebook.output.scrolling#`'
943
941
  )),
@@ -948,7 +946,7 @@ configurationRegistry.registerConfiguration({
948
946
  },
949
947
  [NotebookSetting.LinkifyOutputFilePaths]: {
950
948
  description: ( localize(
951
- 7877,
949
+ 8152,
952
950
  "Control whether to disable filepath links in the output of notebook cells."
953
951
  )),
954
952
  type: 'boolean',
@@ -956,14 +954,14 @@ configurationRegistry.registerConfiguration({
956
954
  tags: ['notebookOutputLayout']
957
955
  },
958
956
  [NotebookSetting.minimalErrorRendering]: {
959
- description: ( localize(7878, "Control whether to render error output in a minimal style.")),
957
+ description: ( localize(8153, "Control whether to render error output in a minimal style.")),
960
958
  type: 'boolean',
961
959
  default: false,
962
960
  tags: ['notebookOutputLayout']
963
961
  },
964
962
  [NotebookSetting.markupFontSize]: {
965
963
  markdownDescription: ( localize(
966
- 7879,
964
+ 8154,
967
965
  "Controls the font size in pixels of rendered markup in notebooks. When set to {0}, 120% of {1} is used.",
968
966
  '`0`',
969
967
  '`#editor.fontSize#`'
@@ -974,7 +972,7 @@ configurationRegistry.registerConfiguration({
974
972
  },
975
973
  [NotebookSetting.markdownLineHeight]: {
976
974
  markdownDescription: ( localize(
977
- 7880,
975
+ 8155,
978
976
  "Controls the line height in pixels of markdown cells in notebooks. When set to {0}, {1} will be used",
979
977
  '`0`',
980
978
  '`normal`'
@@ -986,7 +984,7 @@ configurationRegistry.registerConfiguration({
986
984
  [NotebookSetting.cellEditorOptionsCustomizations]: editorOptionsCustomizationSchema,
987
985
  [NotebookSetting.interactiveWindowCollapseCodeCells]: {
988
986
  markdownDescription: ( localize(
989
- 7881,
987
+ 8156,
990
988
  "Controls whether code cells in the interactive window are collapsed by default."
991
989
  )),
992
990
  type: 'string',
@@ -995,7 +993,7 @@ configurationRegistry.registerConfiguration({
995
993
  },
996
994
  [NotebookSetting.outputLineHeight]: {
997
995
  markdownDescription: ( localize(
998
- 7882,
996
+ 8157,
999
997
  "Line height of the output text within notebook cells.\n - When set to 0, editor line height is used.\n - Values between 0 and 8 will be used as a multiplier with the font size.\n - Values greater than or equal to 8 will be used as effective values."
1000
998
  )),
1001
999
  type: 'number',
@@ -1004,7 +1002,7 @@ configurationRegistry.registerConfiguration({
1004
1002
  },
1005
1003
  [NotebookSetting.outputFontSize]: {
1006
1004
  markdownDescription: ( localize(
1007
- 7883,
1005
+ 8158,
1008
1006
  "Font size for the output text within notebook cells. When set to 0, {0} is used.",
1009
1007
  '`#editor.fontSize#`'
1010
1008
  )),
@@ -1014,7 +1012,7 @@ configurationRegistry.registerConfiguration({
1014
1012
  },
1015
1013
  [NotebookSetting.outputFontFamily]: {
1016
1014
  markdownDescription: ( localize(
1017
- 7884,
1015
+ 8159,
1018
1016
  "The font family of the output text within notebook cells. When set to empty, the {0} is used.",
1019
1017
  '`#editor.fontFamily#`'
1020
1018
  )),
@@ -1023,7 +1021,7 @@ configurationRegistry.registerConfiguration({
1023
1021
  },
1024
1022
  [NotebookSetting.outputScrolling]: {
1025
1023
  markdownDescription: ( localize(
1026
- 7885,
1024
+ 8160,
1027
1025
  "Initially render notebook outputs in a scrollable region when longer than the limit."
1028
1026
  )),
1029
1027
  type: 'boolean',
@@ -1031,14 +1029,14 @@ configurationRegistry.registerConfiguration({
1031
1029
  default: typeof product.quality === 'string' && product.quality !== 'stable'
1032
1030
  },
1033
1031
  [NotebookSetting.outputWordWrap]: {
1034
- markdownDescription: ( localize(7886, "Controls whether the lines in output should wrap.")),
1032
+ markdownDescription: ( localize(8161, "Controls whether the lines in output should wrap.")),
1035
1033
  type: 'boolean',
1036
1034
  tags: ['notebookLayout', 'notebookOutputLayout'],
1037
1035
  default: false
1038
1036
  },
1039
1037
  [NotebookSetting.defaultFormatter]: {
1040
1038
  description: ( localize(
1041
- 7887,
1039
+ 8162,
1042
1040
  "Defines a default notebook formatter which takes precedence over all other formatter settings. Must be the identifier of an extension contributing a formatter."
1043
1041
  )),
1044
1042
  type: ['string', 'null'],
@@ -1049,7 +1047,7 @@ configurationRegistry.registerConfiguration({
1049
1047
  },
1050
1048
  [NotebookSetting.formatOnSave]: {
1051
1049
  markdownDescription: ( localize(
1052
- 7888,
1050
+ 8163,
1053
1051
  "Format a notebook on save. A formatter must be available and the editor must not be shutting down. When {0} is set to `afterDelay`, the file will only be formatted when saved explicitly.",
1054
1052
  '`#files.autoSave#`'
1055
1053
  )),
@@ -1059,7 +1057,7 @@ configurationRegistry.registerConfiguration({
1059
1057
  },
1060
1058
  [NotebookSetting.insertFinalNewline]: {
1061
1059
  markdownDescription: ( localize(
1062
- 7889,
1060
+ 8164,
1063
1061
  "When enabled, insert a final new line into the end of code cells when saving a notebook."
1064
1062
  )),
1065
1063
  type: 'boolean',
@@ -1068,7 +1066,7 @@ configurationRegistry.registerConfiguration({
1068
1066
  },
1069
1067
  [NotebookSetting.formatOnCellExecution]: {
1070
1068
  markdownDescription: ( localize(
1071
- 7890,
1069
+ 8165,
1072
1070
  "Format a notebook cell upon execution. A formatter must be available."
1073
1071
  )),
1074
1072
  type: 'boolean',
@@ -1076,7 +1074,7 @@ configurationRegistry.registerConfiguration({
1076
1074
  },
1077
1075
  [NotebookSetting.confirmDeleteRunningCell]: {
1078
1076
  markdownDescription: ( localize(
1079
- 7891,
1077
+ 8166,
1080
1078
  "Control whether a confirmation prompt is required to delete a running cell."
1081
1079
  )),
1082
1080
  type: 'boolean',
@@ -1084,7 +1082,7 @@ configurationRegistry.registerConfiguration({
1084
1082
  },
1085
1083
  [NotebookSetting.findFilters]: {
1086
1084
  markdownDescription: ( localize(
1087
- 7892,
1085
+ 8167,
1088
1086
  "Customize the Find Widget behavior for searching within notebook cells. When both markup source and markup preview are enabled, the Find Widget will search either the source code or preview based on the current state of the cell."
1089
1087
  )),
1090
1088
  type: 'object',
@@ -1116,7 +1114,7 @@ configurationRegistry.registerConfiguration({
1116
1114
  },
1117
1115
  [NotebookSetting.remoteSaving]: {
1118
1116
  markdownDescription: ( localize(
1119
- 7893,
1117
+ 8168,
1120
1118
  "Enables the incremental saving of notebooks between processes and across Remote connections. When enabled, only the changes to the notebook are sent to the extension host, improving performance for large notebooks and slow network connections."
1121
1119
  )),
1122
1120
  type: 'boolean',
@@ -1125,22 +1123,22 @@ configurationRegistry.registerConfiguration({
1125
1123
  },
1126
1124
  [NotebookSetting.scrollToRevealCell]: {
1127
1125
  markdownDescription: ( localize(
1128
- 7894,
1126
+ 8169,
1129
1127
  "How far to scroll when revealing the next cell upon running {0}.",
1130
1128
  'notebook.cell.executeAndSelectBelow'
1131
1129
  )),
1132
1130
  type: 'string',
1133
1131
  enum: ['fullCell', 'firstLine', 'none'],
1134
1132
  markdownEnumDescriptions: [
1135
- ( localize(7895, 'Scroll to fully reveal the next cell.')),
1136
- ( localize(7896, 'Scroll to reveal the first line of the next cell.')),
1137
- ( localize(7897, 'Do not scroll.')),
1133
+ ( localize(8170, 'Scroll to fully reveal the next cell.')),
1134
+ ( localize(8171, 'Scroll to reveal the first line of the next cell.')),
1135
+ ( localize(8172, 'Do not scroll.')),
1138
1136
  ],
1139
1137
  default: 'fullCell'
1140
1138
  },
1141
1139
  [NotebookSetting.cellGenerate]: {
1142
1140
  markdownDescription: ( localize(
1143
- 7898,
1141
+ 8173,
1144
1142
  "Enable experimental generate action to create code cell with inline chat enabled."
1145
1143
  )),
1146
1144
  type: 'boolean',
@@ -1148,7 +1146,7 @@ configurationRegistry.registerConfiguration({
1148
1146
  },
1149
1147
  [NotebookSetting.notebookVariablesView]: {
1150
1148
  markdownDescription: ( localize(
1151
- 7899,
1149
+ 8174,
1152
1150
  "Enable the experimental notebook variables view within the debug panel."
1153
1151
  )),
1154
1152
  type: 'boolean',
@@ -1156,32 +1154,32 @@ configurationRegistry.registerConfiguration({
1156
1154
  },
1157
1155
  [NotebookSetting.notebookInlineValues]: {
1158
1156
  markdownDescription: ( localize(
1159
- 7900,
1157
+ 8175,
1160
1158
  "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."
1161
1159
  )),
1162
1160
  type: 'string',
1163
1161
  enum: ['on', 'auto', 'off'],
1164
1162
  enumDescriptions: [
1165
1163
  ( localize(
1166
- 7901,
1164
+ 8176,
1167
1165
  "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."
1168
1166
  )),
1169
1167
  ( localize(
1170
- 7902,
1168
+ 8177,
1171
1169
  "Show inline values only when an inline value provider is registered."
1172
1170
  )),
1173
- ( localize(7903, "Never show inline values.")),
1171
+ ( localize(8178, "Never show inline values.")),
1174
1172
  ],
1175
1173
  default: 'off'
1176
1174
  },
1177
1175
  [NotebookSetting.cellFailureDiagnostics]: {
1178
- markdownDescription: ( localize(7904, "Show available diagnostics for cell failures.")),
1176
+ markdownDescription: ( localize(8179, "Show available diagnostics for cell failures.")),
1179
1177
  type: 'boolean',
1180
1178
  default: true
1181
1179
  },
1182
1180
  [NotebookSetting.outputBackupSizeLimit]: {
1183
1181
  markdownDescription: ( localize(
1184
- 7905,
1182
+ 8180,
1185
1183
  "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."
1186
1184
  )),
1187
1185
  type: 'number',
@@ -1189,7 +1187,7 @@ configurationRegistry.registerConfiguration({
1189
1187
  },
1190
1188
  [NotebookSetting.multiCursor]: {
1191
1189
  markdownDescription: ( localize(
1192
- 7906,
1190
+ 8181,
1193
1191
  "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."
1194
1192
  )),
1195
1193
  type: 'boolean',
@@ -1197,7 +1195,7 @@ configurationRegistry.registerConfiguration({
1197
1195
  },
1198
1196
  [NotebookSetting.markupFontFamily]: {
1199
1197
  markdownDescription: ( localize(
1200
- 7907,
1198
+ 8182,
1201
1199
  "Controls the font family of rendered markup in notebooks. When left blank, this will fall back to the default workbench font family."
1202
1200
  )),
1203
1201
  type: 'string',
@@ -1,5 +1,5 @@
1
1
 
2
- import { NOTEBOOK_EDITOR_FOCUSED, IS_COMPOSITE_NOTEBOOK } from '@codingame/monaco-vscode-52bb4d5b-ba1a-57fd-9bee-b28824214eac-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
2
+ import { NOTEBOOK_EDITOR_FOCUSED, IS_COMPOSITE_NOTEBOOK } from '@codingame/monaco-vscode-a1eb43d5-da63-5f76-8ad4-acf0d6c3b749-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
- 7908,
30
+ 8183,
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
- 7909,
34
+ 8184,
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
- 7910,
39
+ 8185,
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
- 7911,
44
+ 8186,
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
- 7912,
49
+ 8187,
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
- 7913,
54
+ 8188,
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
- 7914,
59
+ 8189,
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
- 7915,
63
+ 8190,
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
- 7916,
68
+ 8191,
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
- 7917,
74
+ 8192,
75
75
  'The Change Cell to Code/Markdown commands are used to switch between cell types.'
76
76
  ))
77
77
  ].join('\n');
@@ -3,7 +3,7 @@ import { AccessibleViewType, AccessibleContentProvider, AccessibleViewProviderId
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
5
  import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
6
- import { NOTEBOOK_CELL_LIST_FOCUSED } from '@codingame/monaco-vscode-52bb4d5b-ba1a-57fd-9bee-b28824214eac-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
6
+ import { NOTEBOOK_CELL_LIST_FOCUSED } from '@codingame/monaco-vscode-a1eb43d5-da63-5f76-8ad4-acf0d6c3b749-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
9
  import { getAllOutputsText } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/viewModel/cellOutputTextHelper';