@codingame/monaco-vscode-notebook-service-override 4.5.0 → 4.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +1 -1
- package/package.json +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +30 -44
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +24 -32
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +30 -53
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +40 -84
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +9 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +35 -48
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +13 -16
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +2 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +94 -77
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +13 -16
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +8 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +3 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +25 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +71 -89
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +4 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +97 -119
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +7 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +128 -177
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +132 -145
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +70 -130
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +32 -92
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +39 -64
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +28 -43
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +23 -66
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +58 -57
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +162 -264
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibility.js +33 -36
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +58 -153
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +15 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +13 -16
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelServiceImpl.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +22 -29
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +5 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +100 -92
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/model/cellEdit.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiffEditorInput.js +6 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.js +6 -4
- package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookSimpleWorker.js +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +41 -76
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +42 -45
- package/notebook.d.ts +0 -5
|
@@ -94,11 +94,12 @@ import { AccessibilityHelpAction, AccessibleViewAction } from 'vscode/vscode/vs/
|
|
|
94
94
|
import { NotebookVariables } from './contrib/notebookVariables/notebookVariables.js';
|
|
95
95
|
|
|
96
96
|
var NotebookContribution_1;
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
const _moduleId = "vs/workbench/contrib/notebook/browser/notebook.contribution";
|
|
98
|
+
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(NotebookEditor, NotebookEditor.ID, 'Notebook Editor'), [
|
|
99
|
+
( (new SyncDescriptor(NotebookEditorInput)))
|
|
99
100
|
]);
|
|
100
|
-
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(NotebookTextDiffEditor, NotebookTextDiffEditor.ID, 'Notebook Diff Editor'), [
|
|
101
|
-
( new SyncDescriptor(NotebookDiffEditorInput))
|
|
101
|
+
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(NotebookTextDiffEditor, NotebookTextDiffEditor.ID, 'Notebook Diff Editor'), [
|
|
102
|
+
( (new SyncDescriptor(NotebookDiffEditorInput)))
|
|
102
103
|
]);
|
|
103
104
|
class NotebookDiffEditorSerializer {
|
|
104
105
|
canSerialize() {
|
|
@@ -158,8 +159,8 @@ class NotebookEditorSerializer {
|
|
|
158
159
|
return input;
|
|
159
160
|
}
|
|
160
161
|
}
|
|
161
|
-
( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(NotebookEditorInput.ID, NotebookEditorSerializer);
|
|
162
|
-
( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(NotebookDiffEditorInput.ID, NotebookDiffEditorSerializer);
|
|
162
|
+
( (Registry.as(EditorExtensions.EditorFactory))).registerEditorSerializer(NotebookEditorInput.ID, NotebookEditorSerializer);
|
|
163
|
+
( (Registry.as(EditorExtensions.EditorFactory))).registerEditorSerializer(NotebookDiffEditorInput.ID, NotebookDiffEditorSerializer);
|
|
163
164
|
let NotebookContribution = class NotebookContribution extends Disposable {
|
|
164
165
|
static { NotebookContribution_1 = this; }
|
|
165
166
|
static { this.ID = 'workbench.contrib.notebook'; }
|
|
@@ -181,7 +182,9 @@ let NotebookContribution = class NotebookContribution extends Disposable {
|
|
|
181
182
|
this._uriComparisonKeyComputer = undoRedoService.registerUriComparisonKeyComputer(CellUri.scheme, {
|
|
182
183
|
getComparisonKey: (uri) => {
|
|
183
184
|
if (undoRedoPerCell) {
|
|
184
|
-
return (
|
|
185
|
+
return (
|
|
186
|
+
(uri.toString())
|
|
187
|
+
);
|
|
185
188
|
}
|
|
186
189
|
return NotebookContribution_1._getCellUndoRedoComparisonKey(uri);
|
|
187
190
|
}
|
|
@@ -196,20 +199,24 @@ let NotebookContribution = class NotebookContribution extends Disposable {
|
|
|
196
199
|
static _getCellUndoRedoComparisonKey(uri) {
|
|
197
200
|
const data = CellUri.parse(uri);
|
|
198
201
|
if (!data) {
|
|
199
|
-
return (
|
|
202
|
+
return (
|
|
203
|
+
(uri.toString())
|
|
204
|
+
);
|
|
200
205
|
}
|
|
201
|
-
return (
|
|
206
|
+
return (
|
|
207
|
+
(data.notebook.toString())
|
|
208
|
+
);
|
|
202
209
|
}
|
|
203
210
|
dispose() {
|
|
204
211
|
super.dispose();
|
|
205
212
|
this._uriComparisonKeyComputer?.dispose();
|
|
206
213
|
}
|
|
207
214
|
};
|
|
208
|
-
NotebookContribution = NotebookContribution_1 = ( __decorate([
|
|
209
|
-
( __param(0, IUndoRedoService)),
|
|
210
|
-
( __param(1, IConfigurationService)),
|
|
211
|
-
( __param(2, ICodeEditorService))
|
|
212
|
-
], NotebookContribution));
|
|
215
|
+
NotebookContribution = NotebookContribution_1 = ( (__decorate([
|
|
216
|
+
( (__param(0, IUndoRedoService))),
|
|
217
|
+
( (__param(1, IConfigurationService))),
|
|
218
|
+
( (__param(2, ICodeEditorService)))
|
|
219
|
+
], NotebookContribution)));
|
|
213
220
|
let CellContentProvider = class CellContentProvider {
|
|
214
221
|
static { this.ID = 'workbench.contrib.cellContentProvider'; }
|
|
215
222
|
constructor(textModelService, _modelService, _languageService, _notebookModelResolverService) {
|
|
@@ -236,7 +243,7 @@ let CellContentProvider = class CellContentProvider {
|
|
|
236
243
|
return null;
|
|
237
244
|
}
|
|
238
245
|
for (const cell of ref.object.notebook.cells) {
|
|
239
|
-
if (( cell.uri.toString()) === ( resource.toString())) {
|
|
246
|
+
if (( (cell.uri.toString())) === ( (resource.toString()))) {
|
|
240
247
|
const bufferFactory = {
|
|
241
248
|
create: (defaultEOL) => {
|
|
242
249
|
const newEOL = (defaultEOL === 2 ? '\r\n' : '\n');
|
|
@@ -264,12 +271,12 @@ let CellContentProvider = class CellContentProvider {
|
|
|
264
271
|
return result;
|
|
265
272
|
}
|
|
266
273
|
};
|
|
267
|
-
CellContentProvider = ( __decorate([
|
|
268
|
-
( __param(0, ITextModelService)),
|
|
269
|
-
( __param(1, IModelService)),
|
|
270
|
-
( __param(2, ILanguageService)),
|
|
271
|
-
( __param(3, INotebookEditorModelResolverService))
|
|
272
|
-
], CellContentProvider));
|
|
274
|
+
CellContentProvider = ( (__decorate([
|
|
275
|
+
( (__param(0, ITextModelService))),
|
|
276
|
+
( (__param(1, IModelService))),
|
|
277
|
+
( (__param(2, ILanguageService))),
|
|
278
|
+
( (__param(3, INotebookEditorModelResolverService)))
|
|
279
|
+
], CellContentProvider)));
|
|
273
280
|
let CellInfoContentProvider = class CellInfoContentProvider {
|
|
274
281
|
static { this.ID = 'workbench.contrib.cellInfoContentProvider'; }
|
|
275
282
|
constructor(textModelService, _modelService, _languageService, _labelService, _notebookModelResolverService) {
|
|
@@ -353,13 +360,13 @@ let CellInfoContentProvider = class CellInfoContentProvider {
|
|
|
353
360
|
result = streamOutputData;
|
|
354
361
|
return result;
|
|
355
362
|
}
|
|
356
|
-
const obj = ( cell.outputs.map(output => ({
|
|
363
|
+
const obj = ( (cell.outputs.map(output => ({
|
|
357
364
|
metadata: output.metadata,
|
|
358
|
-
outputItems: ( output.outputs.map(opit => ({
|
|
365
|
+
outputItems: ( (output.outputs.map(opit => ({
|
|
359
366
|
mimeType: opit.mime,
|
|
360
|
-
data: ( opit.data.toString())
|
|
361
|
-
})))
|
|
362
|
-
})));
|
|
367
|
+
data: ( (opit.data.toString()))
|
|
368
|
+
}))))
|
|
369
|
+
}))));
|
|
363
370
|
const outputSource = toFormattedString(obj, {});
|
|
364
371
|
result = {
|
|
365
372
|
content: outputSource,
|
|
@@ -404,13 +411,13 @@ let CellInfoContentProvider = class CellInfoContentProvider {
|
|
|
404
411
|
return model;
|
|
405
412
|
}
|
|
406
413
|
};
|
|
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));
|
|
414
|
+
CellInfoContentProvider = ( (__decorate([
|
|
415
|
+
( (__param(0, ITextModelService))),
|
|
416
|
+
( (__param(1, IModelService))),
|
|
417
|
+
( (__param(2, ILanguageService))),
|
|
418
|
+
( (__param(3, ILabelService))),
|
|
419
|
+
( (__param(4, INotebookEditorModelResolverService)))
|
|
420
|
+
], CellInfoContentProvider)));
|
|
414
421
|
class RegisterSchemasContribution extends Disposable {
|
|
415
422
|
static { this.ID = 'workbench.contrib.registerCellSchemas'; }
|
|
416
423
|
constructor() {
|
|
@@ -418,7 +425,7 @@ class RegisterSchemasContribution extends Disposable {
|
|
|
418
425
|
this.registerMetadataSchemas();
|
|
419
426
|
}
|
|
420
427
|
registerMetadataSchemas() {
|
|
421
|
-
const jsonRegistry = ( Registry.as(Extensions.JSONContribution));
|
|
428
|
+
const jsonRegistry = ( (Registry.as(Extensions.JSONContribution)));
|
|
422
429
|
const metadataSchema = {
|
|
423
430
|
properties: {
|
|
424
431
|
['language']: {
|
|
@@ -438,7 +445,7 @@ let NotebookEditorManager = class NotebookEditorManager {
|
|
|
438
445
|
constructor(_editorService, _notebookEditorModelService, editorGroups) {
|
|
439
446
|
this._editorService = _editorService;
|
|
440
447
|
this._notebookEditorModelService = _notebookEditorModelService;
|
|
441
|
-
this._disposables = ( new DisposableStore());
|
|
448
|
+
this._disposables = ( (new DisposableStore()));
|
|
442
449
|
this._disposables.add(Event.debounce(this._notebookEditorModelService.onDidChangeDirty, (last, current) => !last ? [current] : [...last, current], 100)(this._openMissingDirtyNotebookEditors, this));
|
|
443
450
|
this._disposables.add(_notebookEditorModelService.onWillFailWithConflict(e => {
|
|
444
451
|
for (const group of editorGroups.groups) {
|
|
@@ -466,11 +473,11 @@ let NotebookEditorManager = class NotebookEditorManager {
|
|
|
466
473
|
}
|
|
467
474
|
}
|
|
468
475
|
};
|
|
469
|
-
NotebookEditorManager = ( __decorate([
|
|
470
|
-
( __param(0, IEditorService)),
|
|
471
|
-
( __param(1, INotebookEditorModelResolverService)),
|
|
472
|
-
( __param(2, IEditorGroupsService))
|
|
473
|
-
], NotebookEditorManager));
|
|
476
|
+
NotebookEditorManager = ( (__decorate([
|
|
477
|
+
( (__param(0, IEditorService))),
|
|
478
|
+
( (__param(1, INotebookEditorModelResolverService))),
|
|
479
|
+
( (__param(2, IEditorGroupsService)))
|
|
480
|
+
], NotebookEditorManager)));
|
|
474
481
|
let SimpleNotebookWorkingCopyEditorHandler = class SimpleNotebookWorkingCopyEditorHandler extends Disposable {
|
|
475
482
|
static { this.ID = 'workbench.contrib.simpleNotebookWorkingCopyEditorHandler'; }
|
|
476
483
|
constructor(_instantiationService, _workingCopyEditorService, _extensionService, _notebookService) {
|
|
@@ -512,12 +519,12 @@ let SimpleNotebookWorkingCopyEditorHandler = class SimpleNotebookWorkingCopyEdit
|
|
|
512
519
|
return NotebookWorkingCopyTypeIdentifier.parse(workingCopy.typeId);
|
|
513
520
|
}
|
|
514
521
|
};
|
|
515
|
-
SimpleNotebookWorkingCopyEditorHandler = ( __decorate([
|
|
516
|
-
( __param(0, IInstantiationService)),
|
|
517
|
-
( __param(1, IWorkingCopyEditorService)),
|
|
518
|
-
( __param(2, IExtensionService)),
|
|
519
|
-
( __param(3, INotebookService))
|
|
520
|
-
], SimpleNotebookWorkingCopyEditorHandler));
|
|
522
|
+
SimpleNotebookWorkingCopyEditorHandler = ( (__decorate([
|
|
523
|
+
( (__param(0, IInstantiationService))),
|
|
524
|
+
( (__param(1, IWorkingCopyEditorService))),
|
|
525
|
+
( (__param(2, IExtensionService))),
|
|
526
|
+
( (__param(3, INotebookService)))
|
|
527
|
+
], SimpleNotebookWorkingCopyEditorHandler)));
|
|
521
528
|
let NotebookLanguageSelectorScoreRefine = class NotebookLanguageSelectorScoreRefine {
|
|
522
529
|
static { this.ID = 'workbench.contrib.notebookLanguageSelectorScoreRefine'; }
|
|
523
530
|
constructor(_notebookService, languageFeaturesService) {
|
|
@@ -539,10 +546,10 @@ let NotebookLanguageSelectorScoreRefine = class NotebookLanguageSelectorScoreRef
|
|
|
539
546
|
};
|
|
540
547
|
}
|
|
541
548
|
};
|
|
542
|
-
NotebookLanguageSelectorScoreRefine = ( __decorate([
|
|
543
|
-
( __param(0, INotebookService)),
|
|
544
|
-
( __param(1, ILanguageFeaturesService))
|
|
545
|
-
], NotebookLanguageSelectorScoreRefine));
|
|
549
|
+
NotebookLanguageSelectorScoreRefine = ( (__decorate([
|
|
550
|
+
( (__param(0, INotebookService))),
|
|
551
|
+
( (__param(1, ILanguageFeaturesService)))
|
|
552
|
+
], NotebookLanguageSelectorScoreRefine)));
|
|
546
553
|
class NotebookAccessibilityHelpContribution extends Disposable {
|
|
547
554
|
constructor() {
|
|
548
555
|
super();
|
|
@@ -563,10 +570,13 @@ class NotebookAccessibleViewContribution extends Disposable {
|
|
|
563
570
|
const accessibleViewService = accessor.get(IAccessibleViewService);
|
|
564
571
|
const editorService = accessor.get(IEditorService);
|
|
565
572
|
return showAccessibleOutput(accessibleViewService, editorService);
|
|
566
|
-
}, ( ContextKeyExpr.and(
|
|
573
|
+
}, ( (ContextKeyExpr.and(
|
|
574
|
+
NOTEBOOK_OUTPUT_FOCUSED,
|
|
575
|
+
(ContextKeyExpr.equals('resourceExtname', '.ipynb'))
|
|
576
|
+
)))));
|
|
567
577
|
}
|
|
568
578
|
}
|
|
569
|
-
const workbenchContributionsRegistry = ( Registry.as(Extensions$1.Workbench));
|
|
579
|
+
const workbenchContributionsRegistry = ( (Registry.as(Extensions$1.Workbench)));
|
|
570
580
|
registerWorkbenchContribution2(NotebookContribution.ID, NotebookContribution, 1 );
|
|
571
581
|
registerWorkbenchContribution2(CellContentProvider.ID, CellContentProvider, 1 );
|
|
572
582
|
registerWorkbenchContribution2(CellInfoContentProvider.ID, CellInfoContentProvider, 1 );
|
|
@@ -598,8 +608,8 @@ for (const editorOption of editorOptionsRegistry) {
|
|
|
598
608
|
}
|
|
599
609
|
const editorOptionsCustomizationSchema = {
|
|
600
610
|
description: ( localizeWithPath(
|
|
601
|
-
|
|
602
|
-
|
|
611
|
+
_moduleId,
|
|
612
|
+
0,
|
|
603
613
|
'Settings for code editors used in notebooks. This can be used to customize most editor.* settings.'
|
|
604
614
|
)),
|
|
605
615
|
default: {},
|
|
@@ -610,23 +620,15 @@ const editorOptionsCustomizationSchema = {
|
|
|
610
620
|
],
|
|
611
621
|
tags: ['notebookLayout']
|
|
612
622
|
};
|
|
613
|
-
const configurationRegistry = ( Registry.as(Extensions$2.Configuration));
|
|
623
|
+
const configurationRegistry = ( (Registry.as(Extensions$2.Configuration)));
|
|
614
624
|
configurationRegistry.registerConfiguration({
|
|
615
625
|
id: 'notebook',
|
|
616
626
|
order: 100,
|
|
617
|
-
title: ( localizeWithPath(
|
|
618
|
-
'vs/workbench/contrib/notebook/browser/notebook.contribution',
|
|
619
|
-
'notebookConfigurationTitle',
|
|
620
|
-
"Notebook"
|
|
621
|
-
)),
|
|
627
|
+
title: ( localizeWithPath(_moduleId, 1, "Notebook")),
|
|
622
628
|
type: 'object',
|
|
623
629
|
properties: {
|
|
624
630
|
[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
|
-
)),
|
|
631
|
+
description: ( localizeWithPath(_moduleId, 2, "Priority list for output mime types")),
|
|
630
632
|
type: 'array',
|
|
631
633
|
items: {
|
|
632
634
|
type: 'string'
|
|
@@ -635,15 +637,15 @@ configurationRegistry.registerConfiguration({
|
|
|
635
637
|
},
|
|
636
638
|
[NotebookSetting.cellToolbarLocation]: {
|
|
637
639
|
description: ( localizeWithPath(
|
|
638
|
-
|
|
639
|
-
|
|
640
|
+
_moduleId,
|
|
641
|
+
3,
|
|
640
642
|
"Where the cell toolbar should be shown, or whether it should be hidden."
|
|
641
643
|
)),
|
|
642
644
|
type: 'object',
|
|
643
645
|
additionalProperties: {
|
|
644
646
|
markdownDescription: ( localizeWithPath(
|
|
645
|
-
|
|
646
|
-
|
|
647
|
+
_moduleId,
|
|
648
|
+
4,
|
|
647
649
|
"Configure the cell toolbar position for for specific file types"
|
|
648
650
|
)),
|
|
649
651
|
type: 'string',
|
|
@@ -655,27 +657,15 @@ configurationRegistry.registerConfiguration({
|
|
|
655
657
|
tags: ['notebookLayout']
|
|
656
658
|
},
|
|
657
659
|
[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
|
-
)),
|
|
660
|
+
description: ( localizeWithPath(_moduleId, 5, "Whether the cell status bar should be shown.")),
|
|
663
661
|
type: 'string',
|
|
664
662
|
enum: ['hidden', 'visible', 'visibleAfterExecute'],
|
|
665
663
|
enumDescriptions: [
|
|
664
|
+
( localizeWithPath(_moduleId, 6, "The cell Status bar is always hidden.")),
|
|
665
|
+
( localizeWithPath(_moduleId, 7, "The cell Status bar is always visible.")),
|
|
666
666
|
( localizeWithPath(
|
|
667
|
-
|
|
668
|
-
|
|
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',
|
|
667
|
+
_moduleId,
|
|
668
|
+
8,
|
|
679
669
|
"The cell Status bar is hidden until the cell has executed. Then it becomes visible to show the execution status."
|
|
680
670
|
))
|
|
681
671
|
],
|
|
@@ -683,19 +673,15 @@ configurationRegistry.registerConfiguration({
|
|
|
683
673
|
tags: ['notebookLayout']
|
|
684
674
|
},
|
|
685
675
|
[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
|
-
)),
|
|
676
|
+
description: ( localizeWithPath(_moduleId, 9, "Whether to use the enhanced text diff editor for notebook.")),
|
|
691
677
|
type: 'boolean',
|
|
692
678
|
default: true,
|
|
693
679
|
tags: ['notebookLayout']
|
|
694
680
|
},
|
|
695
681
|
[NotebookSetting.diffOverviewRuler]: {
|
|
696
682
|
description: ( localizeWithPath(
|
|
697
|
-
|
|
698
|
-
|
|
683
|
+
_moduleId,
|
|
684
|
+
10,
|
|
699
685
|
"Whether to render the overview ruler in the diff editor for notebook."
|
|
700
686
|
)),
|
|
701
687
|
type: 'boolean',
|
|
@@ -703,30 +689,22 @@ configurationRegistry.registerConfiguration({
|
|
|
703
689
|
tags: ['notebookLayout']
|
|
704
690
|
},
|
|
705
691
|
[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
|
-
)),
|
|
692
|
+
markdownDescription: ( localizeWithPath(_moduleId, 11, "Whether the cell toolbar should appear on hover or click.")),
|
|
711
693
|
type: 'string',
|
|
712
694
|
enum: ['hover', 'click'],
|
|
713
695
|
default: 'click',
|
|
714
696
|
tags: ['notebookLayout']
|
|
715
697
|
},
|
|
716
698
|
[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
|
-
)),
|
|
699
|
+
description: ( localizeWithPath(_moduleId, 12, "Whether to use separate undo/redo stack for each cell.")),
|
|
722
700
|
type: 'boolean',
|
|
723
701
|
default: true,
|
|
724
702
|
tags: ['notebookLayout']
|
|
725
703
|
},
|
|
726
704
|
[NotebookSetting.compactView]: {
|
|
727
705
|
description: ( localizeWithPath(
|
|
728
|
-
|
|
729
|
-
|
|
706
|
+
_moduleId,
|
|
707
|
+
13,
|
|
730
708
|
"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
709
|
)),
|
|
732
710
|
type: 'boolean',
|
|
@@ -735,8 +713,8 @@ configurationRegistry.registerConfiguration({
|
|
|
735
713
|
},
|
|
736
714
|
[NotebookSetting.focusIndicator]: {
|
|
737
715
|
description: ( localizeWithPath(
|
|
738
|
-
|
|
739
|
-
|
|
716
|
+
_moduleId,
|
|
717
|
+
14,
|
|
740
718
|
"Controls where the focus indicator is rendered, either along the cell borders or on the left gutter."
|
|
741
719
|
)),
|
|
742
720
|
type: 'string',
|
|
@@ -745,42 +723,22 @@ configurationRegistry.registerConfiguration({
|
|
|
745
723
|
tags: ['notebookLayout']
|
|
746
724
|
},
|
|
747
725
|
[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
|
-
)),
|
|
726
|
+
description: ( localizeWithPath(_moduleId, 15, "Control where the insert cell actions should appear.")),
|
|
753
727
|
type: 'string',
|
|
754
728
|
enum: ['betweenCells', 'notebookToolbar', 'both', 'hidden'],
|
|
755
729
|
enumDescriptions: [
|
|
756
|
-
( localizeWithPath(
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
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
|
-
)),
|
|
730
|
+
( localizeWithPath(_moduleId, 16, "A toolbar that appears on hover between cells.")),
|
|
731
|
+
( localizeWithPath(_moduleId, 17, "The toolbar at the top of the notebook editor.")),
|
|
732
|
+
( localizeWithPath(_moduleId, 18, "Both toolbars.")),
|
|
733
|
+
( localizeWithPath(_moduleId, 19, "The insert actions don't appear anywhere.")),
|
|
776
734
|
],
|
|
777
735
|
default: 'both',
|
|
778
736
|
tags: ['notebookLayout']
|
|
779
737
|
},
|
|
780
738
|
[NotebookSetting.globalToolbar]: {
|
|
781
739
|
description: ( localizeWithPath(
|
|
782
|
-
|
|
783
|
-
|
|
740
|
+
_moduleId,
|
|
741
|
+
20,
|
|
784
742
|
"Control whether to render a global toolbar inside the notebook editor."
|
|
785
743
|
)),
|
|
786
744
|
type: 'boolean',
|
|
@@ -789,8 +747,8 @@ configurationRegistry.registerConfiguration({
|
|
|
789
747
|
},
|
|
790
748
|
[NotebookSetting.stickyScrollEnabled]: {
|
|
791
749
|
description: ( localizeWithPath(
|
|
792
|
-
|
|
793
|
-
|
|
750
|
+
_moduleId,
|
|
751
|
+
21,
|
|
794
752
|
"Experimental. Control whether to render notebook Sticky Scroll headers in the notebook editor."
|
|
795
753
|
)),
|
|
796
754
|
type: 'boolean',
|
|
@@ -799,31 +757,23 @@ configurationRegistry.registerConfiguration({
|
|
|
799
757
|
},
|
|
800
758
|
[NotebookSetting.stickyScrollMode]: {
|
|
801
759
|
description: ( localizeWithPath(
|
|
802
|
-
|
|
803
|
-
|
|
760
|
+
_moduleId,
|
|
761
|
+
22,
|
|
804
762
|
"Control whether nested sticky lines appear to stack flat or indented."
|
|
805
763
|
)),
|
|
806
764
|
type: 'string',
|
|
807
765
|
enum: ['flat', 'indented'],
|
|
808
766
|
enumDescriptions: [
|
|
809
|
-
( localizeWithPath(
|
|
810
|
-
|
|
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
|
-
)),
|
|
767
|
+
( localizeWithPath(_moduleId, 23, "Nested sticky lines appear flat.")),
|
|
768
|
+
( localizeWithPath(_moduleId, 24, "Nested sticky lines appear indented.")),
|
|
819
769
|
],
|
|
820
770
|
default: 'indented',
|
|
821
771
|
tags: ['notebookLayout']
|
|
822
772
|
},
|
|
823
773
|
[NotebookSetting.consolidatedOutputButton]: {
|
|
824
774
|
description: ( localizeWithPath(
|
|
825
|
-
|
|
826
|
-
|
|
775
|
+
_moduleId,
|
|
776
|
+
25,
|
|
827
777
|
"Control whether outputs action should be rendered in the output toolbar."
|
|
828
778
|
)),
|
|
829
779
|
type: 'boolean',
|
|
@@ -831,37 +781,25 @@ configurationRegistry.registerConfiguration({
|
|
|
831
781
|
tags: ['notebookLayout']
|
|
832
782
|
},
|
|
833
783
|
[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
|
-
)),
|
|
784
|
+
description: ( localizeWithPath(_moduleId, 26, "Controls when the Markdown header folding arrow is shown.")),
|
|
839
785
|
type: 'string',
|
|
840
786
|
enum: ['always', 'never', 'mouseover'],
|
|
841
787
|
enumDescriptions: [
|
|
788
|
+
( localizeWithPath(_moduleId, 27, "The folding controls are always visible.")),
|
|
842
789
|
( localizeWithPath(
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
"The folding controls are always visible."
|
|
846
|
-
)),
|
|
847
|
-
( localizeWithPath(
|
|
848
|
-
'vs/workbench/contrib/notebook/browser/notebook.contribution',
|
|
849
|
-
'showFoldingControls.never',
|
|
790
|
+
_moduleId,
|
|
791
|
+
28,
|
|
850
792
|
"Never show the folding controls and reduce the gutter size."
|
|
851
793
|
)),
|
|
852
|
-
( localizeWithPath(
|
|
853
|
-
'vs/workbench/contrib/notebook/browser/notebook.contribution',
|
|
854
|
-
'showFoldingControls.mouseover',
|
|
855
|
-
"The folding controls are visible only on mouseover."
|
|
856
|
-
)),
|
|
794
|
+
( localizeWithPath(_moduleId, 29, "The folding controls are visible only on mouseover.")),
|
|
857
795
|
],
|
|
858
796
|
default: 'mouseover',
|
|
859
797
|
tags: ['notebookLayout']
|
|
860
798
|
},
|
|
861
799
|
[NotebookSetting.dragAndDropEnabled]: {
|
|
862
800
|
description: ( localizeWithPath(
|
|
863
|
-
|
|
864
|
-
|
|
801
|
+
_moduleId,
|
|
802
|
+
30,
|
|
865
803
|
"Control whether the notebook editor should allow moving cells through drag and drop."
|
|
866
804
|
)),
|
|
867
805
|
type: 'boolean',
|
|
@@ -870,8 +808,8 @@ configurationRegistry.registerConfiguration({
|
|
|
870
808
|
},
|
|
871
809
|
[NotebookSetting.consolidatedRunButton]: {
|
|
872
810
|
description: ( localizeWithPath(
|
|
873
|
-
|
|
874
|
-
|
|
811
|
+
_moduleId,
|
|
812
|
+
31,
|
|
875
813
|
"Control whether extra actions are shown in a dropdown next to the run button."
|
|
876
814
|
)),
|
|
877
815
|
type: 'boolean',
|
|
@@ -880,8 +818,8 @@ configurationRegistry.registerConfiguration({
|
|
|
880
818
|
},
|
|
881
819
|
[NotebookSetting.globalToolbarShowLabel]: {
|
|
882
820
|
description: ( localizeWithPath(
|
|
883
|
-
|
|
884
|
-
|
|
821
|
+
_moduleId,
|
|
822
|
+
32,
|
|
885
823
|
"Control whether the actions on the notebook toolbar should render label or not."
|
|
886
824
|
)),
|
|
887
825
|
type: 'string',
|
|
@@ -891,8 +829,8 @@ configurationRegistry.registerConfiguration({
|
|
|
891
829
|
},
|
|
892
830
|
[NotebookSetting.textOutputLineLimit]: {
|
|
893
831
|
markdownDescription: ( localizeWithPath(
|
|
894
|
-
|
|
895
|
-
|
|
832
|
+
_moduleId,
|
|
833
|
+
33,
|
|
896
834
|
"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
835
|
'`#notebook.output.scrolling#`'
|
|
898
836
|
)),
|
|
@@ -903,8 +841,8 @@ configurationRegistry.registerConfiguration({
|
|
|
903
841
|
},
|
|
904
842
|
[NotebookSetting.LinkifyOutputFilePaths]: {
|
|
905
843
|
description: ( localizeWithPath(
|
|
906
|
-
|
|
907
|
-
|
|
844
|
+
_moduleId,
|
|
845
|
+
34,
|
|
908
846
|
"Control whether to disable filepath links in the output of notebook cells."
|
|
909
847
|
)),
|
|
910
848
|
type: 'boolean',
|
|
@@ -913,8 +851,8 @@ configurationRegistry.registerConfiguration({
|
|
|
913
851
|
},
|
|
914
852
|
[NotebookSetting.markupFontSize]: {
|
|
915
853
|
markdownDescription: ( localizeWithPath(
|
|
916
|
-
|
|
917
|
-
|
|
854
|
+
_moduleId,
|
|
855
|
+
35,
|
|
918
856
|
"Controls the font size in pixels of rendered markup in notebooks. When set to {0}, 120% of {1} is used.",
|
|
919
857
|
'`0`',
|
|
920
858
|
'`#editor.fontSize#`'
|
|
@@ -926,8 +864,8 @@ configurationRegistry.registerConfiguration({
|
|
|
926
864
|
[NotebookSetting.cellEditorOptionsCustomizations]: editorOptionsCustomizationSchema,
|
|
927
865
|
[NotebookSetting.interactiveWindowCollapseCodeCells]: {
|
|
928
866
|
markdownDescription: ( localizeWithPath(
|
|
929
|
-
|
|
930
|
-
|
|
867
|
+
_moduleId,
|
|
868
|
+
36,
|
|
931
869
|
"Controls whether code cells in the interactive window are collapsed by default."
|
|
932
870
|
)),
|
|
933
871
|
type: 'string',
|
|
@@ -936,8 +874,8 @@ configurationRegistry.registerConfiguration({
|
|
|
936
874
|
},
|
|
937
875
|
[NotebookSetting.outputLineHeight]: {
|
|
938
876
|
markdownDescription: ( localizeWithPath(
|
|
939
|
-
|
|
940
|
-
|
|
877
|
+
_moduleId,
|
|
878
|
+
37,
|
|
941
879
|
"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
880
|
)),
|
|
943
881
|
type: 'number',
|
|
@@ -946,8 +884,8 @@ configurationRegistry.registerConfiguration({
|
|
|
946
884
|
},
|
|
947
885
|
[NotebookSetting.outputFontSize]: {
|
|
948
886
|
markdownDescription: ( localizeWithPath(
|
|
949
|
-
|
|
950
|
-
|
|
887
|
+
_moduleId,
|
|
888
|
+
38,
|
|
951
889
|
"Font size for the output text within notebook cells. When set to 0, {0} is used.",
|
|
952
890
|
'`#editor.fontSize#`'
|
|
953
891
|
)),
|
|
@@ -957,8 +895,8 @@ configurationRegistry.registerConfiguration({
|
|
|
957
895
|
},
|
|
958
896
|
[NotebookSetting.outputFontFamily]: {
|
|
959
897
|
markdownDescription: ( localizeWithPath(
|
|
960
|
-
|
|
961
|
-
|
|
898
|
+
_moduleId,
|
|
899
|
+
39,
|
|
962
900
|
"The font family of the output text within notebook cells. When set to empty, the {0} is used.",
|
|
963
901
|
'`#editor.fontFamily#`'
|
|
964
902
|
)),
|
|
@@ -967,8 +905,8 @@ configurationRegistry.registerConfiguration({
|
|
|
967
905
|
},
|
|
968
906
|
[NotebookSetting.outputScrolling]: {
|
|
969
907
|
markdownDescription: ( localizeWithPath(
|
|
970
|
-
|
|
971
|
-
|
|
908
|
+
_moduleId,
|
|
909
|
+
40,
|
|
972
910
|
"Initially render notebook outputs in a scrollable region when longer than the limit."
|
|
973
911
|
)),
|
|
974
912
|
type: 'boolean',
|
|
@@ -976,19 +914,15 @@ configurationRegistry.registerConfiguration({
|
|
|
976
914
|
default: typeof product$1.quality === 'string' && product$1.quality !== 'stable'
|
|
977
915
|
},
|
|
978
916
|
[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
|
-
)),
|
|
917
|
+
markdownDescription: ( localizeWithPath(_moduleId, 41, "Controls whether the lines in output should wrap.")),
|
|
984
918
|
type: 'boolean',
|
|
985
919
|
tags: ['notebookLayout', 'notebookOutputLayout'],
|
|
986
920
|
default: false
|
|
987
921
|
},
|
|
988
922
|
[NotebookSetting.formatOnSave]: {
|
|
989
923
|
markdownDescription: ( localizeWithPath(
|
|
990
|
-
|
|
991
|
-
|
|
924
|
+
_moduleId,
|
|
925
|
+
42,
|
|
992
926
|
"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
927
|
)),
|
|
994
928
|
type: 'boolean',
|
|
@@ -997,8 +931,8 @@ configurationRegistry.registerConfiguration({
|
|
|
997
931
|
},
|
|
998
932
|
[NotebookSetting.insertFinalNewline]: {
|
|
999
933
|
markdownDescription: ( localizeWithPath(
|
|
1000
|
-
|
|
1001
|
-
|
|
934
|
+
_moduleId,
|
|
935
|
+
43,
|
|
1002
936
|
"When enabled, insert a final new line into the end of code cells when saving a notebook."
|
|
1003
937
|
)),
|
|
1004
938
|
type: 'boolean',
|
|
@@ -1007,29 +941,21 @@ configurationRegistry.registerConfiguration({
|
|
|
1007
941
|
},
|
|
1008
942
|
[NotebookSetting.codeActionsOnSave]: {
|
|
1009
943
|
markdownDescription: ( localizeWithPath(
|
|
1010
|
-
|
|
1011
|
-
|
|
944
|
+
_moduleId,
|
|
945
|
+
44,
|
|
1012
946
|
'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
947
|
)),
|
|
1014
948
|
type: 'object',
|
|
1015
949
|
additionalProperties: {
|
|
1016
950
|
type: ['string', 'boolean'],
|
|
1017
951
|
enum: ['explicit', 'never', true, false],
|
|
1018
|
-
enumDescriptions: [( localizeWithPath(
|
|
1019
|
-
|
|
1020
|
-
|
|
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',
|
|
952
|
+
enumDescriptions: [( localizeWithPath(_moduleId, 45, 'Triggers Code Actions only when explicitly saved.')), ( localizeWithPath(_moduleId, 46, 'Never triggers Code Actions on save.')), ( localizeWithPath(
|
|
953
|
+
_moduleId,
|
|
954
|
+
47,
|
|
1029
955
|
'Triggers Code Actions only when explicitly saved. This value will be deprecated in favor of "explicit".'
|
|
1030
956
|
)), ( localizeWithPath(
|
|
1031
|
-
|
|
1032
|
-
|
|
957
|
+
_moduleId,
|
|
958
|
+
48,
|
|
1033
959
|
'Triggers Code Actions only when explicitly saved. This value will be deprecated in favor of "never".'
|
|
1034
960
|
))],
|
|
1035
961
|
},
|
|
@@ -1037,8 +963,8 @@ configurationRegistry.registerConfiguration({
|
|
|
1037
963
|
},
|
|
1038
964
|
[NotebookSetting.formatOnCellExecution]: {
|
|
1039
965
|
markdownDescription: ( localizeWithPath(
|
|
1040
|
-
|
|
1041
|
-
|
|
966
|
+
_moduleId,
|
|
967
|
+
49,
|
|
1042
968
|
"Format a notebook cell upon execution. A formatter must be available."
|
|
1043
969
|
)),
|
|
1044
970
|
type: 'boolean',
|
|
@@ -1046,8 +972,8 @@ configurationRegistry.registerConfiguration({
|
|
|
1046
972
|
},
|
|
1047
973
|
[NotebookSetting.confirmDeleteRunningCell]: {
|
|
1048
974
|
markdownDescription: ( localizeWithPath(
|
|
1049
|
-
|
|
1050
|
-
|
|
975
|
+
_moduleId,
|
|
976
|
+
50,
|
|
1051
977
|
"Control whether a confirmation prompt is required to delete a running cell."
|
|
1052
978
|
)),
|
|
1053
979
|
type: 'boolean',
|
|
@@ -1055,8 +981,8 @@ configurationRegistry.registerConfiguration({
|
|
|
1055
981
|
},
|
|
1056
982
|
[NotebookSetting.findScope]: {
|
|
1057
983
|
markdownDescription: ( localizeWithPath(
|
|
1058
|
-
|
|
1059
|
-
|
|
984
|
+
_moduleId,
|
|
985
|
+
51,
|
|
1060
986
|
"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
987
|
)),
|
|
1062
988
|
type: 'object',
|
|
@@ -1088,8 +1014,8 @@ configurationRegistry.registerConfiguration({
|
|
|
1088
1014
|
},
|
|
1089
1015
|
[NotebookSetting.remoteSaving]: {
|
|
1090
1016
|
markdownDescription: ( localizeWithPath(
|
|
1091
|
-
|
|
1092
|
-
|
|
1017
|
+
_moduleId,
|
|
1018
|
+
52,
|
|
1093
1019
|
"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
1020
|
)),
|
|
1095
1021
|
type: 'boolean',
|
|
@@ -1097,85 +1023,57 @@ configurationRegistry.registerConfiguration({
|
|
|
1097
1023
|
},
|
|
1098
1024
|
[NotebookSetting.scrollToRevealCell]: {
|
|
1099
1025
|
markdownDescription: ( localizeWithPath(
|
|
1100
|
-
|
|
1101
|
-
|
|
1026
|
+
_moduleId,
|
|
1027
|
+
53,
|
|
1102
1028
|
"How far to scroll when revealing the next cell upon running {0}.",
|
|
1103
1029
|
'notebook.cell.executeAndSelectBelow'
|
|
1104
1030
|
)),
|
|
1105
1031
|
type: 'string',
|
|
1106
1032
|
enum: ['fullCell', 'firstLine', 'none'],
|
|
1107
1033
|
markdownEnumDescriptions: [
|
|
1108
|
-
( localizeWithPath(
|
|
1109
|
-
|
|
1110
|
-
|
|
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
|
-
)),
|
|
1034
|
+
( localizeWithPath(_moduleId, 54, 'Scroll to fully reveal the next cell.')),
|
|
1035
|
+
( localizeWithPath(_moduleId, 55, 'Scroll to reveal the first line of the next cell.')),
|
|
1036
|
+
( localizeWithPath(_moduleId, 56, 'Do not scroll.')),
|
|
1123
1037
|
],
|
|
1124
1038
|
default: 'fullCell'
|
|
1125
1039
|
},
|
|
1126
1040
|
[NotebookSetting.anchorToFocusedCell]: {
|
|
1127
1041
|
markdownDescription: ( localizeWithPath(
|
|
1128
|
-
|
|
1129
|
-
|
|
1042
|
+
_moduleId,
|
|
1043
|
+
57,
|
|
1130
1044
|
"Experimental. Keep the focused cell steady while surrounding cells change size."
|
|
1131
1045
|
)),
|
|
1132
1046
|
type: 'string',
|
|
1133
1047
|
enum: ['auto', 'on', 'off'],
|
|
1134
1048
|
markdownEnumDescriptions: [
|
|
1135
1049
|
( localizeWithPath(
|
|
1136
|
-
|
|
1137
|
-
|
|
1050
|
+
_moduleId,
|
|
1051
|
+
58,
|
|
1138
1052
|
"Anchor the viewport to the focused cell depending on context unless {0} is set to {1}.",
|
|
1139
1053
|
'notebook.scrolling.revealCellBehavior',
|
|
1140
1054
|
'none'
|
|
1141
1055
|
)),
|
|
1142
|
-
( localizeWithPath(
|
|
1143
|
-
|
|
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
|
-
))
|
|
1056
|
+
( localizeWithPath(_moduleId, 59, "Always anchor the viewport to the focused cell.")),
|
|
1057
|
+
( localizeWithPath(_moduleId, 60, "The focused cell may shift around as cells resize."))
|
|
1152
1058
|
],
|
|
1153
1059
|
default: 'auto'
|
|
1154
1060
|
},
|
|
1155
1061
|
[NotebookSetting.cellChat]: {
|
|
1156
|
-
markdownDescription: ( localizeWithPath(
|
|
1157
|
-
'vs/workbench/contrib/notebook/browser/notebook.contribution',
|
|
1158
|
-
'notebook.cellChat',
|
|
1159
|
-
"Enable experimental floating chat widget in notebooks."
|
|
1160
|
-
)),
|
|
1062
|
+
markdownDescription: ( localizeWithPath(_moduleId, 61, "Enable experimental floating chat widget in notebooks.")),
|
|
1161
1063
|
type: 'boolean',
|
|
1162
1064
|
default: false
|
|
1163
1065
|
},
|
|
1164
1066
|
[NotebookSetting.notebookVariablesView]: {
|
|
1165
1067
|
markdownDescription: ( localizeWithPath(
|
|
1166
|
-
|
|
1167
|
-
|
|
1068
|
+
_moduleId,
|
|
1069
|
+
62,
|
|
1168
1070
|
"Enable the experimental notebook variables view within the debug panel."
|
|
1169
1071
|
)),
|
|
1170
1072
|
type: 'boolean',
|
|
1171
1073
|
default: false
|
|
1172
1074
|
},
|
|
1173
1075
|
[NotebookSetting.cellFailureDiagnostics]: {
|
|
1174
|
-
markdownDescription: ( localizeWithPath(
|
|
1175
|
-
'vs/workbench/contrib/notebook/browser/notebook.contribution',
|
|
1176
|
-
'notebook.cellFailureDiagnostics',
|
|
1177
|
-
"Show available diagnostics for cell failures."
|
|
1178
|
-
)),
|
|
1076
|
+
markdownDescription: ( localizeWithPath(_moduleId, 63, "Show available diagnostics for cell failures.")),
|
|
1179
1077
|
type: 'boolean',
|
|
1180
1078
|
default: true
|
|
1181
1079
|
},
|