@codingame/monaco-vscode-notebook-service-override 4.5.1 → 5.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 (51) hide show
  1. package/package.json +2 -2
  2. package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +38 -48
  3. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +24 -32
  4. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +30 -53
  5. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.js +3 -1
  6. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorHint/emptyCellEditorHint.js +9 -7
  7. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +43 -87
  8. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +9 -12
  9. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +35 -48
  10. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +13 -16
  11. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +2 -5
  12. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +121 -79
  13. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +13 -16
  14. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +8 -11
  15. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +25 -19
  16. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +29 -30
  17. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +107 -109
  18. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +4 -7
  19. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +97 -119
  20. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +7 -18
  21. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +199 -196
  22. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +132 -145
  23. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +70 -130
  24. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +32 -92
  25. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +39 -64
  26. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +13 -8
  27. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +28 -43
  28. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.js +7 -7
  29. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.js +2 -2
  30. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +23 -66
  31. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +58 -57
  32. package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +200 -278
  33. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibility.js +33 -36
  34. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +58 -153
  35. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.js +1 -1
  36. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +15 -14
  37. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.js +5 -5
  38. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +13 -16
  39. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelServiceImpl.js +2 -2
  40. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +22 -29
  41. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +5 -8
  42. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +100 -92
  43. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.js +2 -2
  44. package/vscode/src/vs/workbench/contrib/notebook/common/model/cellEdit.js +4 -4
  45. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.js +11 -6
  46. package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiffEditorInput.js +6 -2
  47. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.js +6 -4
  48. package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookSimpleWorker.js +1 -1
  49. package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +42 -77
  50. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +43 -46
  51. package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.js +1 -1
@@ -40,6 +40,22 @@ import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/c
40
40
  import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label.service';
41
41
  import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
42
42
  import './services/notebookRendererMessagingServiceImpl.js';
43
+ import 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService';
44
+ import 'vscode/vscode/vs/editor/contrib/documentSymbols/browser/outlineModel';
45
+ import 'vscode/vscode/vs/base/browser/dom';
46
+ import 'vscode/vscode/vs/base/browser/dompurify/dompurify';
47
+ import 'vscode/vscode/vs/base/browser/browser';
48
+ import 'vscode/vscode/vs/base/common/keyCodes';
49
+ import 'vscode/vscode/vs/base/common/platform';
50
+ import 'vscode/vscode/vs/base/common/themables';
51
+ import 'vscode/vscode/vs/base/common/filters';
52
+ import 'vscode/vscode/vs/base/common/strings';
53
+ import 'vscode/external/vscode-marked/lib/marked.esm.js';
54
+ import 'vscode/vscode/vs/base/common/codicons';
55
+ import 'vscode/vscode/vs/platform/markers/common/markers';
56
+ import 'vscode/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
57
+ import 'vscode/vscode/vs/editor/common/languages';
58
+ import 'vscode/vscode/vs/base/common/async';
43
59
  import 'vscode/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
44
60
  import './controller/insertCellActions.js';
45
61
  import './controller/executeActions.js';
@@ -94,11 +110,12 @@ import { AccessibilityHelpAction, AccessibleViewAction } from 'vscode/vscode/vs/
94
110
  import { NotebookVariables } from './contrib/notebookVariables/notebookVariables.js';
95
111
 
96
112
  var NotebookContribution_1;
97
- ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(NotebookEditor, NotebookEditor.ID, 'Notebook Editor'), [
98
- ( new SyncDescriptor(NotebookEditorInput))
113
+ const _moduleId = "vs/workbench/contrib/notebook/browser/notebook.contribution";
114
+ ( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(NotebookEditor, NotebookEditor.ID, 'Notebook Editor'), [
115
+ ( (new SyncDescriptor(NotebookEditorInput)))
99
116
  ]);
100
- ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(NotebookTextDiffEditor, NotebookTextDiffEditor.ID, 'Notebook Diff Editor'), [
101
- ( new SyncDescriptor(NotebookDiffEditorInput))
117
+ ( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(NotebookTextDiffEditor, NotebookTextDiffEditor.ID, 'Notebook Diff Editor'), [
118
+ ( (new SyncDescriptor(NotebookDiffEditorInput)))
102
119
  ]);
103
120
  class NotebookDiffEditorSerializer {
104
121
  canSerialize() {
@@ -158,8 +175,8 @@ class NotebookEditorSerializer {
158
175
  return input;
159
176
  }
160
177
  }
161
- ( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(NotebookEditorInput.ID, NotebookEditorSerializer);
162
- ( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(NotebookDiffEditorInput.ID, NotebookDiffEditorSerializer);
178
+ ( (Registry.as(EditorExtensions.EditorFactory))).registerEditorSerializer(NotebookEditorInput.ID, NotebookEditorSerializer);
179
+ ( (Registry.as(EditorExtensions.EditorFactory))).registerEditorSerializer(NotebookDiffEditorInput.ID, NotebookDiffEditorSerializer);
163
180
  let NotebookContribution = class NotebookContribution extends Disposable {
164
181
  static { NotebookContribution_1 = this; }
165
182
  static { this.ID = 'workbench.contrib.notebook'; }
@@ -181,7 +198,9 @@ let NotebookContribution = class NotebookContribution extends Disposable {
181
198
  this._uriComparisonKeyComputer = undoRedoService.registerUriComparisonKeyComputer(CellUri.scheme, {
182
199
  getComparisonKey: (uri) => {
183
200
  if (undoRedoPerCell) {
184
- return ( uri.toString());
201
+ return (
202
+ (uri.toString())
203
+ );
185
204
  }
186
205
  return NotebookContribution_1._getCellUndoRedoComparisonKey(uri);
187
206
  }
@@ -196,20 +215,24 @@ let NotebookContribution = class NotebookContribution extends Disposable {
196
215
  static _getCellUndoRedoComparisonKey(uri) {
197
216
  const data = CellUri.parse(uri);
198
217
  if (!data) {
199
- return ( uri.toString());
218
+ return (
219
+ (uri.toString())
220
+ );
200
221
  }
201
- return ( data.notebook.toString());
222
+ return (
223
+ (data.notebook.toString())
224
+ );
202
225
  }
203
226
  dispose() {
204
227
  super.dispose();
205
228
  this._uriComparisonKeyComputer?.dispose();
206
229
  }
207
230
  };
208
- NotebookContribution = NotebookContribution_1 = ( __decorate([
209
- ( __param(0, IUndoRedoService)),
210
- ( __param(1, IConfigurationService)),
211
- ( __param(2, ICodeEditorService))
212
- ], NotebookContribution));
231
+ NotebookContribution = NotebookContribution_1 = ( (__decorate([
232
+ ( (__param(0, IUndoRedoService))),
233
+ ( (__param(1, IConfigurationService))),
234
+ ( (__param(2, ICodeEditorService)))
235
+ ], NotebookContribution)));
213
236
  let CellContentProvider = class CellContentProvider {
214
237
  static { this.ID = 'workbench.contrib.cellContentProvider'; }
215
238
  constructor(textModelService, _modelService, _languageService, _notebookModelResolverService) {
@@ -236,7 +259,7 @@ let CellContentProvider = class CellContentProvider {
236
259
  return null;
237
260
  }
238
261
  for (const cell of ref.object.notebook.cells) {
239
- if (( cell.uri.toString()) === ( resource.toString())) {
262
+ if (( (cell.uri.toString())) === ( (resource.toString()))) {
240
263
  const bufferFactory = {
241
264
  create: (defaultEOL) => {
242
265
  const newEOL = (defaultEOL === 2 ? '\r\n' : '\n');
@@ -264,12 +287,12 @@ let CellContentProvider = class CellContentProvider {
264
287
  return result;
265
288
  }
266
289
  };
267
- CellContentProvider = ( __decorate([
268
- ( __param(0, ITextModelService)),
269
- ( __param(1, IModelService)),
270
- ( __param(2, ILanguageService)),
271
- ( __param(3, INotebookEditorModelResolverService))
272
- ], CellContentProvider));
290
+ CellContentProvider = ( (__decorate([
291
+ ( (__param(0, ITextModelService))),
292
+ ( (__param(1, IModelService))),
293
+ ( (__param(2, ILanguageService))),
294
+ ( (__param(3, INotebookEditorModelResolverService)))
295
+ ], CellContentProvider)));
273
296
  let CellInfoContentProvider = class CellInfoContentProvider {
274
297
  static { this.ID = 'workbench.contrib.cellInfoContentProvider'; }
275
298
  constructor(textModelService, _modelService, _languageService, _labelService, _notebookModelResolverService) {
@@ -353,13 +376,13 @@ let CellInfoContentProvider = class CellInfoContentProvider {
353
376
  result = streamOutputData;
354
377
  return result;
355
378
  }
356
- const obj = ( cell.outputs.map(output => ({
379
+ const obj = ( (cell.outputs.map(output => ({
357
380
  metadata: output.metadata,
358
- outputItems: ( output.outputs.map(opit => ({
381
+ outputItems: ( (output.outputs.map(opit => ({
359
382
  mimeType: opit.mime,
360
- data: ( opit.data.toString())
361
- })))
362
- })));
383
+ data: ( (opit.data.toString()))
384
+ }))))
385
+ }))));
363
386
  const outputSource = toFormattedString(obj, {});
364
387
  result = {
365
388
  content: outputSource,
@@ -404,13 +427,13 @@ let CellInfoContentProvider = class CellInfoContentProvider {
404
427
  return model;
405
428
  }
406
429
  };
407
- CellInfoContentProvider = ( __decorate([
408
- ( __param(0, ITextModelService)),
409
- ( __param(1, IModelService)),
410
- ( __param(2, ILanguageService)),
411
- ( __param(3, ILabelService)),
412
- ( __param(4, INotebookEditorModelResolverService))
413
- ], CellInfoContentProvider));
430
+ CellInfoContentProvider = ( (__decorate([
431
+ ( (__param(0, ITextModelService))),
432
+ ( (__param(1, IModelService))),
433
+ ( (__param(2, ILanguageService))),
434
+ ( (__param(3, ILabelService))),
435
+ ( (__param(4, INotebookEditorModelResolverService)))
436
+ ], CellInfoContentProvider)));
414
437
  class RegisterSchemasContribution extends Disposable {
415
438
  static { this.ID = 'workbench.contrib.registerCellSchemas'; }
416
439
  constructor() {
@@ -418,7 +441,7 @@ class RegisterSchemasContribution extends Disposable {
418
441
  this.registerMetadataSchemas();
419
442
  }
420
443
  registerMetadataSchemas() {
421
- const jsonRegistry = ( Registry.as(Extensions.JSONContribution));
444
+ const jsonRegistry = ( (Registry.as(Extensions.JSONContribution)));
422
445
  const metadataSchema = {
423
446
  properties: {
424
447
  ['language']: {
@@ -438,7 +461,7 @@ let NotebookEditorManager = class NotebookEditorManager {
438
461
  constructor(_editorService, _notebookEditorModelService, editorGroups) {
439
462
  this._editorService = _editorService;
440
463
  this._notebookEditorModelService = _notebookEditorModelService;
441
- this._disposables = ( new DisposableStore());
464
+ this._disposables = ( (new DisposableStore()));
442
465
  this._disposables.add(Event.debounce(this._notebookEditorModelService.onDidChangeDirty, (last, current) => !last ? [current] : [...last, current], 100)(this._openMissingDirtyNotebookEditors, this));
443
466
  this._disposables.add(_notebookEditorModelService.onWillFailWithConflict(e => {
444
467
  for (const group of editorGroups.groups) {
@@ -466,11 +489,11 @@ let NotebookEditorManager = class NotebookEditorManager {
466
489
  }
467
490
  }
468
491
  };
469
- NotebookEditorManager = ( __decorate([
470
- ( __param(0, IEditorService)),
471
- ( __param(1, INotebookEditorModelResolverService)),
472
- ( __param(2, IEditorGroupsService))
473
- ], NotebookEditorManager));
492
+ NotebookEditorManager = ( (__decorate([
493
+ ( (__param(0, IEditorService))),
494
+ ( (__param(1, INotebookEditorModelResolverService))),
495
+ ( (__param(2, IEditorGroupsService)))
496
+ ], NotebookEditorManager)));
474
497
  let SimpleNotebookWorkingCopyEditorHandler = class SimpleNotebookWorkingCopyEditorHandler extends Disposable {
475
498
  static { this.ID = 'workbench.contrib.simpleNotebookWorkingCopyEditorHandler'; }
476
499
  constructor(_instantiationService, _workingCopyEditorService, _extensionService, _notebookService) {
@@ -512,12 +535,12 @@ let SimpleNotebookWorkingCopyEditorHandler = class SimpleNotebookWorkingCopyEdit
512
535
  return NotebookWorkingCopyTypeIdentifier.parse(workingCopy.typeId);
513
536
  }
514
537
  };
515
- SimpleNotebookWorkingCopyEditorHandler = ( __decorate([
516
- ( __param(0, IInstantiationService)),
517
- ( __param(1, IWorkingCopyEditorService)),
518
- ( __param(2, IExtensionService)),
519
- ( __param(3, INotebookService))
520
- ], SimpleNotebookWorkingCopyEditorHandler));
538
+ SimpleNotebookWorkingCopyEditorHandler = ( (__decorate([
539
+ ( (__param(0, IInstantiationService))),
540
+ ( (__param(1, IWorkingCopyEditorService))),
541
+ ( (__param(2, IExtensionService))),
542
+ ( (__param(3, INotebookService)))
543
+ ], SimpleNotebookWorkingCopyEditorHandler)));
521
544
  let NotebookLanguageSelectorScoreRefine = class NotebookLanguageSelectorScoreRefine {
522
545
  static { this.ID = 'workbench.contrib.notebookLanguageSelectorScoreRefine'; }
523
546
  constructor(_notebookService, languageFeaturesService) {
@@ -539,10 +562,10 @@ let NotebookLanguageSelectorScoreRefine = class NotebookLanguageSelectorScoreRef
539
562
  };
540
563
  }
541
564
  };
542
- NotebookLanguageSelectorScoreRefine = ( __decorate([
543
- ( __param(0, INotebookService)),
544
- ( __param(1, ILanguageFeaturesService))
545
- ], NotebookLanguageSelectorScoreRefine));
565
+ NotebookLanguageSelectorScoreRefine = ( (__decorate([
566
+ ( (__param(0, INotebookService))),
567
+ ( (__param(1, ILanguageFeaturesService)))
568
+ ], NotebookLanguageSelectorScoreRefine)));
546
569
  class NotebookAccessibilityHelpContribution extends Disposable {
547
570
  constructor() {
548
571
  super();
@@ -563,10 +586,13 @@ class NotebookAccessibleViewContribution extends Disposable {
563
586
  const accessibleViewService = accessor.get(IAccessibleViewService);
564
587
  const editorService = accessor.get(IEditorService);
565
588
  return showAccessibleOutput(accessibleViewService, editorService);
566
- }, ( ContextKeyExpr.and(NOTEBOOK_OUTPUT_FOCUSED, ( ContextKeyExpr.equals('resourceExtname', '.ipynb'))))));
589
+ }, ( (ContextKeyExpr.and(
590
+ NOTEBOOK_OUTPUT_FOCUSED,
591
+ (ContextKeyExpr.equals('resourceExtname', '.ipynb'))
592
+ )))));
567
593
  }
568
594
  }
569
- const workbenchContributionsRegistry = ( Registry.as(Extensions$1.Workbench));
595
+ const workbenchContributionsRegistry = ( (Registry.as(Extensions$1.Workbench)));
570
596
  registerWorkbenchContribution2(NotebookContribution.ID, NotebookContribution, 1 );
571
597
  registerWorkbenchContribution2(CellContentProvider.ID, CellContentProvider, 1 );
572
598
  registerWorkbenchContribution2(CellInfoContentProvider.ID, CellInfoContentProvider, 1 );
@@ -598,8 +624,8 @@ for (const editorOption of editorOptionsRegistry) {
598
624
  }
599
625
  const editorOptionsCustomizationSchema = {
600
626
  description: ( localizeWithPath(
601
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
602
- 'notebook.editorOptions.experimentalCustomization',
627
+ _moduleId,
628
+ 0,
603
629
  'Settings for code editors used in notebooks. This can be used to customize most editor.* settings.'
604
630
  )),
605
631
  default: {},
@@ -610,23 +636,15 @@ const editorOptionsCustomizationSchema = {
610
636
  ],
611
637
  tags: ['notebookLayout']
612
638
  };
613
- const configurationRegistry = ( Registry.as(Extensions$2.Configuration));
639
+ const configurationRegistry = ( (Registry.as(Extensions$2.Configuration)));
614
640
  configurationRegistry.registerConfiguration({
615
641
  id: 'notebook',
616
642
  order: 100,
617
- title: ( localizeWithPath(
618
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
619
- 'notebookConfigurationTitle',
620
- "Notebook"
621
- )),
643
+ title: ( localizeWithPath(_moduleId, 1, "Notebook")),
622
644
  type: 'object',
623
645
  properties: {
624
646
  [NotebookSetting.displayOrder]: {
625
- description: ( localizeWithPath(
626
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
627
- 'notebook.displayOrder.description',
628
- "Priority list for output mime types"
629
- )),
647
+ description: ( localizeWithPath(_moduleId, 2, "Priority list for output mime types")),
630
648
  type: 'array',
631
649
  items: {
632
650
  type: 'string'
@@ -635,15 +653,15 @@ configurationRegistry.registerConfiguration({
635
653
  },
636
654
  [NotebookSetting.cellToolbarLocation]: {
637
655
  description: ( localizeWithPath(
638
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
639
- 'notebook.cellToolbarLocation.description',
656
+ _moduleId,
657
+ 3,
640
658
  "Where the cell toolbar should be shown, or whether it should be hidden."
641
659
  )),
642
660
  type: 'object',
643
661
  additionalProperties: {
644
662
  markdownDescription: ( localizeWithPath(
645
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
646
- 'notebook.cellToolbarLocation.viewType',
663
+ _moduleId,
664
+ 4,
647
665
  "Configure the cell toolbar position for for specific file types"
648
666
  )),
649
667
  type: 'string',
@@ -655,27 +673,15 @@ configurationRegistry.registerConfiguration({
655
673
  tags: ['notebookLayout']
656
674
  },
657
675
  [NotebookSetting.showCellStatusBar]: {
658
- description: ( localizeWithPath(
659
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
660
- 'notebook.showCellStatusbar.description',
661
- "Whether the cell status bar should be shown."
662
- )),
676
+ description: ( localizeWithPath(_moduleId, 5, "Whether the cell status bar should be shown.")),
663
677
  type: 'string',
664
678
  enum: ['hidden', 'visible', 'visibleAfterExecute'],
665
679
  enumDescriptions: [
680
+ ( localizeWithPath(_moduleId, 6, "The cell Status bar is always hidden.")),
681
+ ( localizeWithPath(_moduleId, 7, "The cell Status bar is always visible.")),
666
682
  ( localizeWithPath(
667
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
668
- 'notebook.showCellStatusbar.hidden.description',
669
- "The cell Status bar is always hidden."
670
- )),
671
- ( localizeWithPath(
672
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
673
- 'notebook.showCellStatusbar.visible.description',
674
- "The cell Status bar is always visible."
675
- )),
676
- ( localizeWithPath(
677
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
678
- 'notebook.showCellStatusbar.visibleAfterExecute.description',
683
+ _moduleId,
684
+ 8,
679
685
  "The cell Status bar is hidden until the cell has executed. Then it becomes visible to show the execution status."
680
686
  ))
681
687
  ],
@@ -683,19 +689,15 @@ configurationRegistry.registerConfiguration({
683
689
  tags: ['notebookLayout']
684
690
  },
685
691
  [NotebookSetting.textDiffEditorPreview]: {
686
- description: ( localizeWithPath(
687
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
688
- 'notebook.diff.enablePreview.description',
689
- "Whether to use the enhanced text diff editor for notebook."
690
- )),
692
+ description: ( localizeWithPath(_moduleId, 9, "Whether to use the enhanced text diff editor for notebook.")),
691
693
  type: 'boolean',
692
694
  default: true,
693
695
  tags: ['notebookLayout']
694
696
  },
695
697
  [NotebookSetting.diffOverviewRuler]: {
696
698
  description: ( localizeWithPath(
697
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
698
- 'notebook.diff.enableOverviewRuler.description',
699
+ _moduleId,
700
+ 10,
699
701
  "Whether to render the overview ruler in the diff editor for notebook."
700
702
  )),
701
703
  type: 'boolean',
@@ -703,30 +705,22 @@ configurationRegistry.registerConfiguration({
703
705
  tags: ['notebookLayout']
704
706
  },
705
707
  [NotebookSetting.cellToolbarVisibility]: {
706
- markdownDescription: ( localizeWithPath(
707
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
708
- 'notebook.cellToolbarVisibility.description',
709
- "Whether the cell toolbar should appear on hover or click."
710
- )),
708
+ markdownDescription: ( localizeWithPath(_moduleId, 11, "Whether the cell toolbar should appear on hover or click.")),
711
709
  type: 'string',
712
710
  enum: ['hover', 'click'],
713
711
  default: 'click',
714
712
  tags: ['notebookLayout']
715
713
  },
716
714
  [NotebookSetting.undoRedoPerCell]: {
717
- description: ( localizeWithPath(
718
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
719
- 'notebook.undoRedoPerCell.description',
720
- "Whether to use separate undo/redo stack for each cell."
721
- )),
715
+ description: ( localizeWithPath(_moduleId, 12, "Whether to use separate undo/redo stack for each cell.")),
722
716
  type: 'boolean',
723
717
  default: true,
724
718
  tags: ['notebookLayout']
725
719
  },
726
720
  [NotebookSetting.compactView]: {
727
721
  description: ( localizeWithPath(
728
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
729
- 'notebook.compactView.description',
722
+ _moduleId,
723
+ 13,
730
724
  "Control whether the notebook editor should be rendered in a compact form. For example, when turned on, it will decrease the left margin width."
731
725
  )),
732
726
  type: 'boolean',
@@ -735,8 +729,8 @@ configurationRegistry.registerConfiguration({
735
729
  },
736
730
  [NotebookSetting.focusIndicator]: {
737
731
  description: ( localizeWithPath(
738
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
739
- 'notebook.focusIndicator.description',
732
+ _moduleId,
733
+ 14,
740
734
  "Controls where the focus indicator is rendered, either along the cell borders or on the left gutter."
741
735
  )),
742
736
  type: 'string',
@@ -745,42 +739,22 @@ configurationRegistry.registerConfiguration({
745
739
  tags: ['notebookLayout']
746
740
  },
747
741
  [NotebookSetting.insertToolbarLocation]: {
748
- description: ( localizeWithPath(
749
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
750
- 'notebook.insertToolbarPosition.description',
751
- "Control where the insert cell actions should appear."
752
- )),
742
+ description: ( localizeWithPath(_moduleId, 15, "Control where the insert cell actions should appear.")),
753
743
  type: 'string',
754
744
  enum: ['betweenCells', 'notebookToolbar', 'both', 'hidden'],
755
745
  enumDescriptions: [
756
- ( localizeWithPath(
757
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
758
- 'insertToolbarLocation.betweenCells',
759
- "A toolbar that appears on hover between cells."
760
- )),
761
- ( localizeWithPath(
762
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
763
- 'insertToolbarLocation.notebookToolbar',
764
- "The toolbar at the top of the notebook editor."
765
- )),
766
- ( localizeWithPath(
767
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
768
- 'insertToolbarLocation.both',
769
- "Both toolbars."
770
- )),
771
- ( localizeWithPath(
772
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
773
- 'insertToolbarLocation.hidden',
774
- "The insert actions don't appear anywhere."
775
- )),
746
+ ( localizeWithPath(_moduleId, 16, "A toolbar that appears on hover between cells.")),
747
+ ( localizeWithPath(_moduleId, 17, "The toolbar at the top of the notebook editor.")),
748
+ ( localizeWithPath(_moduleId, 18, "Both toolbars.")),
749
+ ( localizeWithPath(_moduleId, 19, "The insert actions don't appear anywhere.")),
776
750
  ],
777
751
  default: 'both',
778
752
  tags: ['notebookLayout']
779
753
  },
780
754
  [NotebookSetting.globalToolbar]: {
781
755
  description: ( localizeWithPath(
782
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
783
- 'notebook.globalToolbar.description',
756
+ _moduleId,
757
+ 20,
784
758
  "Control whether to render a global toolbar inside the notebook editor."
785
759
  )),
786
760
  type: 'boolean',
@@ -789,8 +763,8 @@ configurationRegistry.registerConfiguration({
789
763
  },
790
764
  [NotebookSetting.stickyScrollEnabled]: {
791
765
  description: ( localizeWithPath(
792
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
793
- 'notebook.stickyScrollEnabled.description',
766
+ _moduleId,
767
+ 21,
794
768
  "Experimental. Control whether to render notebook Sticky Scroll headers in the notebook editor."
795
769
  )),
796
770
  type: 'boolean',
@@ -799,31 +773,23 @@ configurationRegistry.registerConfiguration({
799
773
  },
800
774
  [NotebookSetting.stickyScrollMode]: {
801
775
  description: ( localizeWithPath(
802
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
803
- 'notebook.stickyScrollMode.description',
776
+ _moduleId,
777
+ 22,
804
778
  "Control whether nested sticky lines appear to stack flat or indented."
805
779
  )),
806
780
  type: 'string',
807
781
  enum: ['flat', 'indented'],
808
782
  enumDescriptions: [
809
- ( localizeWithPath(
810
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
811
- 'notebook.stickyScrollMode.flat',
812
- "Nested sticky lines appear flat."
813
- )),
814
- ( localizeWithPath(
815
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
816
- 'notebook.stickyScrollMode.indented',
817
- "Nested sticky lines appear indented."
818
- )),
783
+ ( localizeWithPath(_moduleId, 23, "Nested sticky lines appear flat.")),
784
+ ( localizeWithPath(_moduleId, 24, "Nested sticky lines appear indented.")),
819
785
  ],
820
786
  default: 'indented',
821
787
  tags: ['notebookLayout']
822
788
  },
823
789
  [NotebookSetting.consolidatedOutputButton]: {
824
790
  description: ( localizeWithPath(
825
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
826
- 'notebook.consolidatedOutputButton.description',
791
+ _moduleId,
792
+ 25,
827
793
  "Control whether outputs action should be rendered in the output toolbar."
828
794
  )),
829
795
  type: 'boolean',
@@ -831,37 +797,25 @@ configurationRegistry.registerConfiguration({
831
797
  tags: ['notebookLayout']
832
798
  },
833
799
  [NotebookSetting.showFoldingControls]: {
834
- description: ( localizeWithPath(
835
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
836
- 'notebook.showFoldingControls.description',
837
- "Controls when the Markdown header folding arrow is shown."
838
- )),
800
+ description: ( localizeWithPath(_moduleId, 26, "Controls when the Markdown header folding arrow is shown.")),
839
801
  type: 'string',
840
802
  enum: ['always', 'never', 'mouseover'],
841
803
  enumDescriptions: [
804
+ ( localizeWithPath(_moduleId, 27, "The folding controls are always visible.")),
842
805
  ( localizeWithPath(
843
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
844
- 'showFoldingControls.always',
845
- "The folding controls are always visible."
846
- )),
847
- ( localizeWithPath(
848
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
849
- 'showFoldingControls.never',
806
+ _moduleId,
807
+ 28,
850
808
  "Never show the folding controls and reduce the gutter size."
851
809
  )),
852
- ( localizeWithPath(
853
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
854
- 'showFoldingControls.mouseover',
855
- "The folding controls are visible only on mouseover."
856
- )),
810
+ ( localizeWithPath(_moduleId, 29, "The folding controls are visible only on mouseover.")),
857
811
  ],
858
812
  default: 'mouseover',
859
813
  tags: ['notebookLayout']
860
814
  },
861
815
  [NotebookSetting.dragAndDropEnabled]: {
862
816
  description: ( localizeWithPath(
863
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
864
- 'notebook.dragAndDrop.description',
817
+ _moduleId,
818
+ 30,
865
819
  "Control whether the notebook editor should allow moving cells through drag and drop."
866
820
  )),
867
821
  type: 'boolean',
@@ -870,8 +824,8 @@ configurationRegistry.registerConfiguration({
870
824
  },
871
825
  [NotebookSetting.consolidatedRunButton]: {
872
826
  description: ( localizeWithPath(
873
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
874
- 'notebook.consolidatedRunButton.description',
827
+ _moduleId,
828
+ 31,
875
829
  "Control whether extra actions are shown in a dropdown next to the run button."
876
830
  )),
877
831
  type: 'boolean',
@@ -880,8 +834,8 @@ configurationRegistry.registerConfiguration({
880
834
  },
881
835
  [NotebookSetting.globalToolbarShowLabel]: {
882
836
  description: ( localizeWithPath(
883
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
884
- 'notebook.globalToolbarShowLabel',
837
+ _moduleId,
838
+ 32,
885
839
  "Control whether the actions on the notebook toolbar should render label or not."
886
840
  )),
887
841
  type: 'string',
@@ -891,8 +845,8 @@ configurationRegistry.registerConfiguration({
891
845
  },
892
846
  [NotebookSetting.textOutputLineLimit]: {
893
847
  markdownDescription: ( localizeWithPath(
894
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
895
- 'notebook.textOutputLineLimit',
848
+ _moduleId,
849
+ 33,
896
850
  "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.",
897
851
  '`#notebook.output.scrolling#`'
898
852
  )),
@@ -903,18 +857,28 @@ configurationRegistry.registerConfiguration({
903
857
  },
904
858
  [NotebookSetting.LinkifyOutputFilePaths]: {
905
859
  description: ( localizeWithPath(
906
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
907
- 'notebook.disableOutputFilePathLinks',
860
+ _moduleId,
861
+ 34,
908
862
  "Control whether to disable filepath links in the output of notebook cells."
909
863
  )),
910
864
  type: 'boolean',
911
865
  default: true,
912
866
  tags: ['notebookOutputLayout']
913
867
  },
868
+ [NotebookSetting.minimalErrorRendering]: {
869
+ description: ( localizeWithPath(
870
+ _moduleId,
871
+ 35,
872
+ "Control whether to render error output in a minimal style."
873
+ )),
874
+ type: 'boolean',
875
+ default: false,
876
+ tags: ['notebookOutputLayout']
877
+ },
914
878
  [NotebookSetting.markupFontSize]: {
915
879
  markdownDescription: ( localizeWithPath(
916
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
917
- 'notebook.markup.fontSize',
880
+ _moduleId,
881
+ 36,
918
882
  "Controls the font size in pixels of rendered markup in notebooks. When set to {0}, 120% of {1} is used.",
919
883
  '`0`',
920
884
  '`#editor.fontSize#`'
@@ -926,8 +890,8 @@ configurationRegistry.registerConfiguration({
926
890
  [NotebookSetting.cellEditorOptionsCustomizations]: editorOptionsCustomizationSchema,
927
891
  [NotebookSetting.interactiveWindowCollapseCodeCells]: {
928
892
  markdownDescription: ( localizeWithPath(
929
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
930
- 'notebook.interactiveWindow.collapseCodeCells',
893
+ _moduleId,
894
+ 37,
931
895
  "Controls whether code cells in the interactive window are collapsed by default."
932
896
  )),
933
897
  type: 'string',
@@ -936,8 +900,8 @@ configurationRegistry.registerConfiguration({
936
900
  },
937
901
  [NotebookSetting.outputLineHeight]: {
938
902
  markdownDescription: ( localizeWithPath(
939
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
940
- 'notebook.outputLineHeight',
903
+ _moduleId,
904
+ 38,
941
905
  "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."
942
906
  )),
943
907
  type: 'number',
@@ -946,8 +910,8 @@ configurationRegistry.registerConfiguration({
946
910
  },
947
911
  [NotebookSetting.outputFontSize]: {
948
912
  markdownDescription: ( localizeWithPath(
949
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
950
- 'notebook.outputFontSize',
913
+ _moduleId,
914
+ 39,
951
915
  "Font size for the output text within notebook cells. When set to 0, {0} is used.",
952
916
  '`#editor.fontSize#`'
953
917
  )),
@@ -957,8 +921,8 @@ configurationRegistry.registerConfiguration({
957
921
  },
958
922
  [NotebookSetting.outputFontFamily]: {
959
923
  markdownDescription: ( localizeWithPath(
960
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
961
- 'notebook.outputFontFamily',
924
+ _moduleId,
925
+ 40,
962
926
  "The font family of the output text within notebook cells. When set to empty, the {0} is used.",
963
927
  '`#editor.fontFamily#`'
964
928
  )),
@@ -967,8 +931,8 @@ configurationRegistry.registerConfiguration({
967
931
  },
968
932
  [NotebookSetting.outputScrolling]: {
969
933
  markdownDescription: ( localizeWithPath(
970
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
971
- 'notebook.outputScrolling',
934
+ _moduleId,
935
+ 41,
972
936
  "Initially render notebook outputs in a scrollable region when longer than the limit."
973
937
  )),
974
938
  type: 'boolean',
@@ -976,19 +940,15 @@ configurationRegistry.registerConfiguration({
976
940
  default: typeof product$1.quality === 'string' && product$1.quality !== 'stable'
977
941
  },
978
942
  [NotebookSetting.outputWordWrap]: {
979
- markdownDescription: ( localizeWithPath(
980
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
981
- 'notebook.outputWordWrap',
982
- "Controls whether the lines in output should wrap."
983
- )),
943
+ markdownDescription: ( localizeWithPath(_moduleId, 42, "Controls whether the lines in output should wrap.")),
984
944
  type: 'boolean',
985
945
  tags: ['notebookLayout', 'notebookOutputLayout'],
986
946
  default: false
987
947
  },
988
948
  [NotebookSetting.formatOnSave]: {
989
949
  markdownDescription: ( localizeWithPath(
990
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
991
- 'notebook.formatOnSave',
950
+ _moduleId,
951
+ 43,
992
952
  "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."
993
953
  )),
994
954
  type: 'boolean',
@@ -997,8 +957,8 @@ configurationRegistry.registerConfiguration({
997
957
  },
998
958
  [NotebookSetting.insertFinalNewline]: {
999
959
  markdownDescription: ( localizeWithPath(
1000
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
1001
- 'notebook.insertFinalNewline',
960
+ _moduleId,
961
+ 44,
1002
962
  "When enabled, insert a final new line into the end of code cells when saving a notebook."
1003
963
  )),
1004
964
  type: 'boolean',
@@ -1007,29 +967,21 @@ configurationRegistry.registerConfiguration({
1007
967
  },
1008
968
  [NotebookSetting.codeActionsOnSave]: {
1009
969
  markdownDescription: ( localizeWithPath(
1010
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
1011
- 'notebook.codeActionsOnSave',
970
+ _moduleId,
971
+ 45,
1012
972
  '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"`'
1013
973
  )),
1014
974
  type: 'object',
1015
975
  additionalProperties: {
1016
976
  type: ['string', 'boolean'],
1017
977
  enum: ['explicit', 'never', true, false],
1018
- enumDescriptions: [( localizeWithPath(
1019
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
1020
- 'explicit',
1021
- 'Triggers Code Actions only when explicitly saved.'
1022
- )), ( localizeWithPath(
1023
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
1024
- 'never',
1025
- 'Never triggers Code Actions on save.'
1026
- )), ( localizeWithPath(
1027
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
1028
- 'explicitBoolean',
978
+ enumDescriptions: [( localizeWithPath(_moduleId, 46, 'Triggers Code Actions only when explicitly saved.')), ( localizeWithPath(_moduleId, 47, 'Never triggers Code Actions on save.')), ( localizeWithPath(
979
+ _moduleId,
980
+ 48,
1029
981
  'Triggers Code Actions only when explicitly saved. This value will be deprecated in favor of "explicit".'
1030
982
  )), ( localizeWithPath(
1031
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
1032
- 'neverBoolean',
983
+ _moduleId,
984
+ 49,
1033
985
  'Triggers Code Actions only when explicitly saved. This value will be deprecated in favor of "never".'
1034
986
  ))],
1035
987
  },
@@ -1037,8 +989,8 @@ configurationRegistry.registerConfiguration({
1037
989
  },
1038
990
  [NotebookSetting.formatOnCellExecution]: {
1039
991
  markdownDescription: ( localizeWithPath(
1040
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
1041
- 'notebook.formatOnCellExecution',
992
+ _moduleId,
993
+ 50,
1042
994
  "Format a notebook cell upon execution. A formatter must be available."
1043
995
  )),
1044
996
  type: 'boolean',
@@ -1046,8 +998,8 @@ configurationRegistry.registerConfiguration({
1046
998
  },
1047
999
  [NotebookSetting.confirmDeleteRunningCell]: {
1048
1000
  markdownDescription: ( localizeWithPath(
1049
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
1050
- 'notebook.confirmDeleteRunningCell',
1001
+ _moduleId,
1002
+ 51,
1051
1003
  "Control whether a confirmation prompt is required to delete a running cell."
1052
1004
  )),
1053
1005
  type: 'boolean',
@@ -1055,8 +1007,8 @@ configurationRegistry.registerConfiguration({
1055
1007
  },
1056
1008
  [NotebookSetting.findScope]: {
1057
1009
  markdownDescription: ( localizeWithPath(
1058
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
1059
- 'notebook.findScope',
1010
+ _moduleId,
1011
+ 52,
1060
1012
  "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."
1061
1013
  )),
1062
1014
  type: 'object',
@@ -1088,8 +1040,8 @@ configurationRegistry.registerConfiguration({
1088
1040
  },
1089
1041
  [NotebookSetting.remoteSaving]: {
1090
1042
  markdownDescription: ( localizeWithPath(
1091
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
1092
- 'notebook.remoteSaving',
1043
+ _moduleId,
1044
+ 53,
1093
1045
  "Enables the incremental saving of notebooks in Remote environment. When enabled, only the changes to the notebook are sent to the extension host, improving performance for large notebooks and slow network connections."
1094
1046
  )),
1095
1047
  type: 'boolean',
@@ -1097,88 +1049,58 @@ configurationRegistry.registerConfiguration({
1097
1049
  },
1098
1050
  [NotebookSetting.scrollToRevealCell]: {
1099
1051
  markdownDescription: ( localizeWithPath(
1100
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
1101
- 'notebook.scrolling.revealNextCellOnExecute.description',
1052
+ _moduleId,
1053
+ 54,
1102
1054
  "How far to scroll when revealing the next cell upon running {0}.",
1103
1055
  'notebook.cell.executeAndSelectBelow'
1104
1056
  )),
1105
1057
  type: 'string',
1106
1058
  enum: ['fullCell', 'firstLine', 'none'],
1107
1059
  markdownEnumDescriptions: [
1108
- ( localizeWithPath(
1109
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
1110
- 'notebook.scrolling.revealNextCellOnExecute.fullCell.description',
1111
- 'Scroll to fully reveal the next cell.'
1112
- )),
1113
- ( localizeWithPath(
1114
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
1115
- 'notebook.scrolling.revealNextCellOnExecute.firstLine.description',
1116
- 'Scroll to reveal the first line of the next cell.'
1117
- )),
1118
- ( localizeWithPath(
1119
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
1120
- 'notebook.scrolling.revealNextCellOnExecute.none.description',
1121
- 'Do not scroll.'
1122
- )),
1060
+ ( localizeWithPath(_moduleId, 55, 'Scroll to fully reveal the next cell.')),
1061
+ ( localizeWithPath(_moduleId, 56, 'Scroll to reveal the first line of the next cell.')),
1062
+ ( localizeWithPath(_moduleId, 57, 'Do not scroll.')),
1123
1063
  ],
1124
1064
  default: 'fullCell'
1125
1065
  },
1126
- [NotebookSetting.anchorToFocusedCell]: {
1127
- markdownDescription: ( localizeWithPath(
1128
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
1129
- 'notebook.scrolling.anchorToFocusedCell.description',
1130
- "Experimental. Keep the focused cell steady while surrounding cells change size."
1131
- )),
1132
- type: 'string',
1133
- enum: ['auto', 'on', 'off'],
1134
- markdownEnumDescriptions: [
1135
- ( localizeWithPath(
1136
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
1137
- 'notebook.scrolling.anchorToFocusedCell.auto.description',
1138
- "Anchor the viewport to the focused cell depending on context unless {0} is set to {1}.",
1139
- 'notebook.scrolling.revealCellBehavior',
1140
- 'none'
1141
- )),
1142
- ( localizeWithPath(
1143
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
1144
- 'notebook.scrolling.anchorToFocusedCell.on.description',
1145
- "Always anchor the viewport to the focused cell."
1146
- )),
1147
- ( localizeWithPath(
1148
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
1149
- 'notebook.scrolling.anchorToFocusedCell.off.description',
1150
- "The focused cell may shift around as cells resize."
1151
- ))
1152
- ],
1153
- default: 'auto'
1154
- },
1155
1066
  [NotebookSetting.cellChat]: {
1067
+ markdownDescription: ( localizeWithPath(_moduleId, 58, "Enable experimental floating chat widget in notebooks.")),
1068
+ type: 'boolean',
1069
+ default: false
1070
+ },
1071
+ [NotebookSetting.cellGenerate]: {
1156
1072
  markdownDescription: ( localizeWithPath(
1157
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
1158
- 'notebook.cellChat',
1159
- "Enable experimental floating chat widget in notebooks."
1073
+ _moduleId,
1074
+ 59,
1075
+ "Enable experimental generate action to create code cell with inline chat enabled."
1160
1076
  )),
1161
1077
  type: 'boolean',
1162
- default: false
1078
+ default: typeof product$1.quality === 'string' && product$1.quality !== 'stable',
1079
+ tags: ['experimental']
1163
1080
  },
1164
1081
  [NotebookSetting.notebookVariablesView]: {
1165
1082
  markdownDescription: ( localizeWithPath(
1166
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
1167
- 'notebook.VariablesView.description',
1083
+ _moduleId,
1084
+ 60,
1168
1085
  "Enable the experimental notebook variables view within the debug panel."
1169
1086
  )),
1170
1087
  type: 'boolean',
1171
1088
  default: false
1172
1089
  },
1173
1090
  [NotebookSetting.cellFailureDiagnostics]: {
1174
- markdownDescription: ( localizeWithPath(
1175
- 'vs/workbench/contrib/notebook/browser/notebook.contribution',
1176
- 'notebook.cellFailureDiagnostics',
1177
- "Show available diagnostics for cell failures."
1178
- )),
1091
+ markdownDescription: ( localizeWithPath(_moduleId, 61, "Show available diagnostics for cell failures.")),
1179
1092
  type: 'boolean',
1180
1093
  default: true
1181
1094
  },
1095
+ [NotebookSetting.outputBackupSizeLimit]: {
1096
+ markdownDescription: ( localizeWithPath(
1097
+ _moduleId,
1098
+ 62,
1099
+ "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."
1100
+ )),
1101
+ type: 'number',
1102
+ default: 10000
1103
+ }
1182
1104
  }
1183
1105
  });
1184
1106