@codingame/monaco-vscode-notebook-service-override 13.0.0 → 13.1.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 (46) hide show
  1. package/package.json +28 -36
  2. package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +8 -8
  3. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +21 -21
  4. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticEditorContrib.js +1 -1
  5. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticsActions.js +4 -4
  6. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.js +1 -1
  7. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +3 -3
  8. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +6 -6
  9. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.js +1 -1
  10. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +10 -10
  11. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +2 -2
  12. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +4 -4
  13. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +1 -1
  14. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +1 -1
  15. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.js +5 -5
  16. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +13 -13
  17. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +1 -1
  18. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +1 -1
  19. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +2 -2
  20. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +2 -2
  21. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +10 -10
  22. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +1 -1
  23. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +12 -12
  24. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +3 -3
  25. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +27 -27
  26. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +1 -1
  27. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +24 -24
  28. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +22 -22
  29. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +24 -24
  30. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +17 -17
  31. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +7 -7
  32. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +12 -12
  33. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/variablesActions.js +1 -1
  34. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +19 -19
  35. package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +63 -63
  36. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +10 -10
  37. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +33 -33
  38. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +1 -1
  39. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.d.ts +1 -1
  40. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.js +1 -1
  41. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +1 -1
  42. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +3 -3
  43. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +1 -1
  44. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +1 -1
  45. package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +12 -12
  46. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +1 -1
@@ -45,7 +45,7 @@ registerAction2(class EditCellAction extends NotebookCellAction {
45
45
  constructor() {
46
46
  super({
47
47
  id: EDIT_CELL_COMMAND_ID,
48
- title: ( localize(7448, "Edit Cell")),
48
+ title: ( localize(7466, "Edit Cell")),
49
49
  keybinding: {
50
50
  when: ( ContextKeyExpr.and(
51
51
  NOTEBOOK_CELL_LIST_FOCUSED,
@@ -81,7 +81,7 @@ registerAction2(class QuitEditCellAction extends NotebookCellAction {
81
81
  constructor() {
82
82
  super({
83
83
  id: QUIT_EDIT_CELL_COMMAND_ID,
84
- title: ( localize(7449, "Stop Editing Cell")),
84
+ title: ( localize(7467, "Stop Editing Cell")),
85
85
  menu: {
86
86
  id: MenuId.NotebookCellTitle,
87
87
  when: ( ContextKeyExpr.and(( NOTEBOOK_CELL_TYPE.isEqualTo('markup')), NOTEBOOK_CELL_MARKDOWN_EDIT_MODE, NOTEBOOK_CELL_EDITABLE)),
@@ -122,7 +122,7 @@ registerAction2(class DeleteCellAction extends NotebookCellAction {
122
122
  constructor() {
123
123
  super({
124
124
  id: DELETE_CELL_COMMAND_ID,
125
- title: ( localize(7450, "Delete Cell")),
125
+ title: ( localize(7468, "Delete Cell")),
126
126
  keybinding: {
127
127
  primary: KeyCode.Delete,
128
128
  mac: {
@@ -159,13 +159,13 @@ registerAction2(class DeleteCellAction extends NotebookCellAction {
159
159
  const configService = accessor.get(IConfigurationService);
160
160
  if (runState === NotebookCellExecutionState.Executing && configService.getValue(NotebookSetting.confirmDeleteRunningCell)) {
161
161
  const dialogService = accessor.get(IDialogService);
162
- const primaryButton = ( localize(7451, "Delete"));
162
+ const primaryButton = ( localize(7469, "Delete"));
163
163
  confirmation = await dialogService.confirm({
164
164
  type: 'question',
165
- message: ( localize(7452, "This cell is running, are you sure you want to delete it?")),
165
+ message: ( localize(7470, "This cell is running, are you sure you want to delete it?")),
166
166
  primaryButton: primaryButton,
167
167
  checkbox: {
168
- label: ( localize(7453, "Do not ask me again"))
168
+ label: ( localize(7471, "Do not ask me again"))
169
169
  }
170
170
  });
171
171
  }
@@ -185,7 +185,7 @@ registerAction2(class ClearCellOutputsAction extends NotebookCellAction {
185
185
  constructor() {
186
186
  super({
187
187
  id: CLEAR_CELL_OUTPUTS_COMMAND_ID,
188
- title: ( localize(7454, 'Clear Cell Outputs')),
188
+ title: ( localize(7472, 'Clear Cell Outputs')),
189
189
  menu: [
190
190
  {
191
191
  id: MenuId.NotebookCellTitle,
@@ -249,7 +249,7 @@ registerAction2(class ClearAllCellOutputsAction extends NotebookAction {
249
249
  constructor() {
250
250
  super({
251
251
  id: CLEAR_ALL_CELLS_OUTPUTS_COMMAND_ID,
252
- title: ( localize(7455, 'Clear All Outputs')),
252
+ title: ( localize(7473, 'Clear All Outputs')),
253
253
  precondition: NOTEBOOK_HAS_OUTPUTS,
254
254
  menu: [
255
255
  {
@@ -304,9 +304,9 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction {
304
304
  constructor() {
305
305
  super({
306
306
  id: CHANGE_CELL_LANGUAGE,
307
- title: ( localize(7456, 'Change Cell Language')),
307
+ title: ( localize(7474, 'Change Cell Language')),
308
308
  metadata: {
309
- description: ( localize(7456, 'Change Cell Language')),
309
+ description: ( localize(7474, 'Change Cell Language')),
310
310
  args: [
311
311
  {
312
312
  name: 'range',
@@ -379,10 +379,10 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction {
379
379
  providerLanguages.forEach(languageId => {
380
380
  let description;
381
381
  if (context.cell.cellKind === CellKind.Markup ? (languageId === 'markdown') : (languageId === context.cell.language)) {
382
- description = ( localize(7457, "({0}) - Current Language", languageId));
382
+ description = ( localize(7475, "({0}) - Current Language", languageId));
383
383
  }
384
384
  else {
385
- description = ( localize(7458, "({0})", languageId));
385
+ description = ( localize(7476, "({0})", languageId));
386
386
  }
387
387
  const languageName = languageService.getLanguageName(languageId);
388
388
  if (!languageName) {
@@ -405,16 +405,16 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction {
405
405
  return a.description.localeCompare(b.description);
406
406
  });
407
407
  const autoDetectMode = {
408
- label: ( localize(7459, "Auto Detect"))
408
+ label: ( localize(7477, "Auto Detect"))
409
409
  };
410
410
  const picks = [
411
411
  autoDetectMode,
412
- { type: 'separator', label: ( localize(7460, "languages (identifier)")) },
412
+ { type: 'separator', label: ( localize(7478, "languages (identifier)")) },
413
413
  ...topItems,
414
414
  { type: 'separator' },
415
415
  ...mainItems
416
416
  ];
417
- const selection = await quickInputService.pick(picks, { placeHolder: ( localize(7461, "Select Language Mode")) });
417
+ const selection = await quickInputService.pick(picks, { placeHolder: ( localize(7479, "Select Language Mode")) });
418
418
  const languageId = selection === autoDetectMode
419
419
  ? await languageDetectionService.detectLanguage(context.cell.uri)
420
420
  : selection?.languageId;
@@ -447,7 +447,7 @@ registerAction2(class DetectCellLanguageAction extends NotebookCellAction {
447
447
  constructor() {
448
448
  super({
449
449
  id: DETECT_CELL_LANGUAGE,
450
- title: ( localize2(7462, "Accept Detected Language for Cell")),
450
+ title: ( localize2(7480, "Accept Detected Language for Cell")),
451
451
  f1: true,
452
452
  precondition: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_EDITABLE, NOTEBOOK_CELL_EDITABLE)),
453
453
  keybinding: { primary: KeyCode.KeyD | KeyMod.Alt | KeyMod.Shift, weight: KeybindingWeight.WorkbenchContrib }
@@ -465,7 +465,7 @@ registerAction2(class DetectCellLanguageAction extends NotebookCellAction {
465
465
  setCellToLanguage(detection, context);
466
466
  }
467
467
  else {
468
- notificationService.warn(( localize(7463, "Unable to detect cell language")));
468
+ notificationService.warn(( localize(7481, "Unable to detect cell language")));
469
469
  }
470
470
  }
471
471
  });
@@ -490,7 +490,7 @@ registerAction2(class SelectNotebookIndentation extends NotebookAction {
490
490
  constructor() {
491
491
  super({
492
492
  id: SELECT_NOTEBOOK_INDENTATION_ID,
493
- title: ( localize2(7464, 'Select Indentation')),
493
+ title: ( localize2(7482, 'Select Indentation')),
494
494
  f1: true,
495
495
  precondition: ( ContextKeyExpr.and(
496
496
  NOTEBOOK_IS_ACTIVE_EDITOR,
@@ -508,10 +508,10 @@ registerAction2(class SelectNotebookIndentation extends NotebookAction {
508
508
  const instantiationService = accessor.get(IInstantiationService);
509
509
  const activeNotebook = getNotebookEditorFromEditorPane(editorService.activeEditorPane);
510
510
  if (!activeNotebook || activeNotebook.isDisposed) {
511
- return quickInputService.pick([{ label: ( localize(7465, "No notebook editor active at this time")) }]);
511
+ return quickInputService.pick([{ label: ( localize(7483, "No notebook editor active at this time")) }]);
512
512
  }
513
513
  if (activeNotebook.isReadOnly) {
514
- return quickInputService.pick([{ label: ( localize(7466, "The active notebook editor is read-only.")) }]);
514
+ return quickInputService.pick([{ label: ( localize(7484, "The active notebook editor is read-only.")) }]);
515
515
  }
516
516
  const picks = ( [
517
517
  (
@@ -533,9 +533,9 @@ registerAction2(class SelectNotebookIndentation extends NotebookAction {
533
533
  }
534
534
  };
535
535
  }));
536
- picks.splice(3, 0, { type: 'separator', label: ( localize(7467, "convert file")) });
537
- picks.unshift({ type: 'separator', label: ( localize(7468, "change view")) });
538
- const action = await quickInputService.pick(picks, { placeHolder: ( localize(7469, "Select Action")), matchOnDetail: true });
536
+ picks.splice(3, 0, { type: 'separator', label: ( localize(7485, "convert file")) });
537
+ picks.unshift({ type: 'separator', label: ( localize(7486, "change view")) });
538
+ const action = await quickInputService.pick(picks, { placeHolder: ( localize(7487, "Select Action")), matchOnDetail: true });
539
539
  if (!action) {
540
540
  return;
541
541
  }
@@ -548,7 +548,7 @@ registerAction2(class CommentSelectedCellsAction extends NotebookMultiCellAction
548
548
  constructor() {
549
549
  super({
550
550
  id: COMMENT_SELECTED_CELLS_ID,
551
- title: ( localize(7470, "Comment Selected Cells")),
551
+ title: ( localize(7488, "Comment Selected Cells")),
552
552
  keybinding: {
553
553
  when: ( ContextKeyExpr.and(
554
554
  NOTEBOOK_EDITOR_FOCUSED,
@@ -88,7 +88,7 @@ registerAction2(class RenderAllMarkdownCellsAction extends NotebookAction {
88
88
  constructor() {
89
89
  super({
90
90
  id: RENDER_ALL_MARKDOWN_CELLS,
91
- title: ( localize(7471, "Render All Markdown Cells")),
91
+ title: ( localize(7489, "Render All Markdown Cells")),
92
92
  });
93
93
  }
94
94
  async runWithContext(accessor, context) {
@@ -99,10 +99,10 @@ registerAction2(class ExecuteNotebookAction extends NotebookAction {
99
99
  constructor() {
100
100
  super({
101
101
  id: EXECUTE_NOTEBOOK_COMMAND_ID,
102
- title: ( localize(7472, "Run All")),
102
+ title: ( localize(7490, "Run All")),
103
103
  icon: executeAllIcon,
104
104
  metadata: {
105
- description: ( localize(7472, "Run All")),
105
+ description: ( localize(7490, "Run All")),
106
106
  args: [
107
107
  {
108
108
  name: 'uri',
@@ -146,7 +146,7 @@ registerAction2(class ExecuteCell extends NotebookMultiCellAction {
146
146
  super({
147
147
  id: EXECUTE_CELL_COMMAND_ID,
148
148
  precondition: executeThisCellCondition,
149
- title: ( localize(7473, "Execute Cell")),
149
+ title: ( localize(7491, "Execute Cell")),
150
150
  keybinding: {
151
151
  when: NOTEBOOK_CELL_LIST_FOCUSED,
152
152
  primary: KeyMod.WinCtrl | KeyCode.Enter,
@@ -161,7 +161,7 @@ registerAction2(class ExecuteCell extends NotebookMultiCellAction {
161
161
  group: 'inline'
162
162
  },
163
163
  metadata: {
164
- description: ( localize(7473, "Execute Cell")),
164
+ description: ( localize(7491, "Execute Cell")),
165
165
  args: cellExecutionArgs
166
166
  },
167
167
  icon: executeIcon
@@ -195,7 +195,7 @@ registerAction2(class ExecuteAboveCells extends NotebookMultiCellAction {
195
195
  super({
196
196
  id: EXECUTE_CELLS_ABOVE,
197
197
  precondition: executeCondition,
198
- title: ( localize(7474, "Execute Above Cells")),
198
+ title: ( localize(7492, "Execute Above Cells")),
199
199
  menu: [
200
200
  {
201
201
  id: MenuId.NotebookCellExecute,
@@ -235,7 +235,7 @@ registerAction2(class ExecuteCellAndBelow extends NotebookMultiCellAction {
235
235
  super({
236
236
  id: EXECUTE_CELL_AND_BELOW,
237
237
  precondition: executeCondition,
238
- title: ( localize(7475, "Execute Cell and Below")),
238
+ title: ( localize(7493, "Execute Cell and Below")),
239
239
  menu: [
240
240
  {
241
241
  id: MenuId.NotebookCellExecute,
@@ -275,9 +275,9 @@ registerAction2(class ExecuteCellFocusContainer extends NotebookMultiCellAction
275
275
  super({
276
276
  id: EXECUTE_CELL_FOCUS_CONTAINER_COMMAND_ID,
277
277
  precondition: executeThisCellCondition,
278
- title: ( localize(7476, "Execute Cell and Focus Container")),
278
+ title: ( localize(7494, "Execute Cell and Focus Container")),
279
279
  metadata: {
280
- description: ( localize(7476, "Execute Cell and Focus Container")),
280
+ description: ( localize(7494, "Execute Cell and Focus Container")),
281
281
  args: cellExecutionArgs
282
282
  },
283
283
  icon: executeIcon
@@ -306,7 +306,7 @@ registerAction2(class CancelExecuteCell extends NotebookMultiCellAction {
306
306
  super({
307
307
  id: CANCEL_CELL_COMMAND_ID,
308
308
  precondition: cellCancelCondition,
309
- title: ( localize(7477, "Stop Cell Execution")),
309
+ title: ( localize(7495, "Stop Cell Execution")),
310
310
  icon: stopIcon,
311
311
  menu: {
312
312
  id: MenuId.NotebookCellExecutePrimary,
@@ -314,7 +314,7 @@ registerAction2(class CancelExecuteCell extends NotebookMultiCellAction {
314
314
  group: 'inline'
315
315
  },
316
316
  metadata: {
317
- description: ( localize(7477, "Stop Cell Execution")),
317
+ description: ( localize(7495, "Stop Cell Execution")),
318
318
  args: [
319
319
  {
320
320
  name: 'options',
@@ -369,7 +369,7 @@ registerAction2(class ExecuteCellSelectBelow extends NotebookCellAction {
369
369
  super({
370
370
  id: EXECUTE_CELL_SELECT_BELOW,
371
371
  precondition: ( ContextKeyExpr.or(executeThisCellCondition, ( NOTEBOOK_CELL_TYPE.isEqualTo('markup')))),
372
- title: ( localize(7478, "Execute Notebook Cell and Select Below")),
372
+ title: ( localize(7496, "Execute Notebook Cell and Select Below")),
373
373
  keybinding: {
374
374
  when: ( ContextKeyExpr.and(NOTEBOOK_CELL_LIST_FOCUSED, ( CTX_INLINE_CHAT_FOCUSED.negate()))),
375
375
  primary: KeyMod.Shift | KeyCode.Enter,
@@ -429,7 +429,7 @@ registerAction2(class ExecuteCellInsertBelow extends NotebookCellAction {
429
429
  super({
430
430
  id: EXECUTE_CELL_INSERT_BELOW,
431
431
  precondition: ( ContextKeyExpr.or(executeThisCellCondition, ( NOTEBOOK_CELL_TYPE.isEqualTo('markup')))),
432
- title: ( localize(7479, "Execute Notebook Cell and Insert Below")),
432
+ title: ( localize(7497, "Execute Notebook Cell and Insert Below")),
433
433
  keybinding: {
434
434
  when: NOTEBOOK_CELL_LIST_FOCUSED,
435
435
  primary: KeyMod.Alt | KeyCode.Enter,
@@ -466,7 +466,7 @@ registerAction2(class CancelAllNotebook extends CancelNotebook {
466
466
  constructor() {
467
467
  super({
468
468
  id: CANCEL_NOTEBOOK_COMMAND_ID,
469
- title: ( localize2(7480, "Stop Execution")),
469
+ title: ( localize2(7498, "Stop Execution")),
470
470
  icon: stopIcon,
471
471
  menu: [
472
472
  {
@@ -489,7 +489,7 @@ registerAction2(class InterruptNotebook extends CancelNotebook {
489
489
  constructor() {
490
490
  super({
491
491
  id: INTERRUPT_NOTEBOOK_COMMAND_ID,
492
- title: ( localize2(7481, "Interrupt")),
492
+ title: ( localize2(7499, "Interrupt")),
493
493
  precondition: ( ContextKeyExpr.and(NOTEBOOK_HAS_SOMETHING_RUNNING, NOTEBOOK_INTERRUPTIBLE_KERNEL)),
494
494
  icon: stopIcon,
495
495
  menu: [
@@ -523,7 +523,7 @@ registerAction2(class InterruptNotebook extends CancelNotebook {
523
523
  }
524
524
  });
525
525
  MenuRegistry.appendMenuItem(MenuId.NotebookToolbar, {
526
- title: ( localize(7482, "Go To")),
526
+ title: ( localize(7500, "Go To")),
527
527
  submenu: MenuId.NotebookCellExecuteGoTo,
528
528
  group: 'navigation/execute',
529
529
  order: 20,
@@ -533,9 +533,9 @@ registerAction2(class RevealRunningCellAction extends NotebookAction {
533
533
  constructor() {
534
534
  super({
535
535
  id: REVEAL_RUNNING_CELL,
536
- title: ( localize(7483, "Go to Running Cell")),
537
- tooltip: ( localize(7483, "Go to Running Cell")),
538
- shortTitle: ( localize(7483, "Go to Running Cell")),
536
+ title: ( localize(7501, "Go to Running Cell")),
537
+ tooltip: ( localize(7501, "Go to Running Cell")),
538
+ shortTitle: ( localize(7501, "Go to Running Cell")),
539
539
  precondition: NOTEBOOK_HAS_RUNNING_CELL,
540
540
  menu: [
541
541
  {
@@ -593,9 +593,9 @@ registerAction2(class RevealLastFailedCellAction extends NotebookAction {
593
593
  constructor() {
594
594
  super({
595
595
  id: REVEAL_LAST_FAILED_CELL,
596
- title: ( localize(7484, "Go to Most Recently Failed Cell")),
597
- tooltip: ( localize(7484, "Go to Most Recently Failed Cell")),
598
- shortTitle: ( localize(7485, "Go to Most Recently Failed Cell")),
596
+ title: ( localize(7502, "Go to Most Recently Failed Cell")),
597
+ tooltip: ( localize(7502, "Go to Most Recently Failed Cell")),
598
+ shortTitle: ( localize(7503, "Go to Most Recently Failed Cell")),
599
599
  precondition: NOTEBOOK_LAST_CELL_FAILED,
600
600
  menu: [
601
601
  {
@@ -56,7 +56,7 @@ registerAction2(class InsertCodeCellAboveAction extends InsertCellCommand {
56
56
  constructor() {
57
57
  super({
58
58
  id: INSERT_CODE_CELL_ABOVE_COMMAND_ID,
59
- title: ( localize(7488, "Insert Code Cell Above")),
59
+ title: ( localize(7506, "Insert Code Cell Above")),
60
60
  keybinding: {
61
61
  primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.Enter,
62
62
  when: ( ContextKeyExpr.and(NOTEBOOK_CELL_LIST_FOCUSED, ( InputFocusedContext.toNegated()))),
@@ -73,7 +73,7 @@ registerAction2(class InsertCodeCellAboveAndFocusContainerAction extends InsertC
73
73
  constructor() {
74
74
  super({
75
75
  id: INSERT_CODE_CELL_ABOVE_AND_FOCUS_CONTAINER_COMMAND_ID,
76
- title: ( localize(7489, "Insert Code Cell Above and Focus Container"))
76
+ title: ( localize(7507, "Insert Code Cell Above and Focus Container"))
77
77
  }, CellKind.Code, 'above', false);
78
78
  }
79
79
  });
@@ -81,7 +81,7 @@ registerAction2(class InsertCodeCellBelowAction extends InsertCellCommand {
81
81
  constructor() {
82
82
  super({
83
83
  id: INSERT_CODE_CELL_BELOW_COMMAND_ID,
84
- title: ( localize(7490, "Insert Code Cell Below")),
84
+ title: ( localize(7508, "Insert Code Cell Below")),
85
85
  keybinding: {
86
86
  primary: KeyMod.CtrlCmd | KeyCode.Enter,
87
87
  when: ( ContextKeyExpr.and(NOTEBOOK_CELL_LIST_FOCUSED, ( InputFocusedContext.toNegated()), ( CTX_NOTEBOOK_CHAT_OUTER_FOCUS_POSITION.isEqualTo('')))),
@@ -98,7 +98,7 @@ registerAction2(class InsertCodeCellBelowAndFocusContainerAction extends InsertC
98
98
  constructor() {
99
99
  super({
100
100
  id: INSERT_CODE_CELL_BELOW_AND_FOCUS_CONTAINER_COMMAND_ID,
101
- title: ( localize(7491, "Insert Code Cell Below and Focus Container")),
101
+ title: ( localize(7509, "Insert Code Cell Below and Focus Container")),
102
102
  }, CellKind.Code, 'below', false);
103
103
  }
104
104
  });
@@ -106,7 +106,7 @@ registerAction2(class InsertMarkdownCellAboveAction extends InsertCellCommand {
106
106
  constructor() {
107
107
  super({
108
108
  id: INSERT_MARKDOWN_CELL_ABOVE_COMMAND_ID,
109
- title: ( localize(7492, "Insert Markdown Cell Above")),
109
+ title: ( localize(7510, "Insert Markdown Cell Above")),
110
110
  menu: {
111
111
  id: MenuId.NotebookCellInsert,
112
112
  order: 2
@@ -118,7 +118,7 @@ registerAction2(class InsertMarkdownCellBelowAction extends InsertCellCommand {
118
118
  constructor() {
119
119
  super({
120
120
  id: INSERT_MARKDOWN_CELL_BELOW_COMMAND_ID,
121
- title: ( localize(7493, "Insert Markdown Cell Below")),
121
+ title: ( localize(7511, "Insert Markdown Cell Below")),
122
122
  menu: {
123
123
  id: MenuId.NotebookCellInsert,
124
124
  order: 3
@@ -130,7 +130,7 @@ registerAction2(class InsertCodeCellAtTopAction extends NotebookAction {
130
130
  constructor() {
131
131
  super({
132
132
  id: INSERT_CODE_CELL_AT_TOP_COMMAND_ID,
133
- title: ( localize(7494, "Add Code Cell At Top")),
133
+ title: ( localize(7512, "Add Code Cell At Top")),
134
134
  f1: false
135
135
  });
136
136
  }
@@ -152,7 +152,7 @@ registerAction2(class InsertMarkdownCellAtTopAction extends NotebookAction {
152
152
  constructor() {
153
153
  super({
154
154
  id: INSERT_MARKDOWN_CELL_AT_TOP_COMMAND_ID,
155
- title: ( localize(7495, "Add Markdown Cell At Top")),
155
+ title: ( localize(7513, "Add Markdown Cell At Top")),
156
156
  f1: false
157
157
  });
158
158
  }
@@ -173,8 +173,8 @@ registerAction2(class InsertMarkdownCellAtTopAction extends NotebookAction {
173
173
  MenuRegistry.appendMenuItem(MenuId.NotebookCellBetween, {
174
174
  command: {
175
175
  id: INSERT_CODE_CELL_BELOW_COMMAND_ID,
176
- title: '$(add) ' + ( localize(7496, "Code")),
177
- tooltip: ( localize(7497, "Add Code Cell"))
176
+ title: '$(add) ' + ( localize(7514, "Code")),
177
+ tooltip: ( localize(7515, "Add Code Cell"))
178
178
  },
179
179
  order: 0,
180
180
  group: 'inline',
@@ -183,9 +183,9 @@ MenuRegistry.appendMenuItem(MenuId.NotebookCellBetween, {
183
183
  MenuRegistry.appendMenuItem(MenuId.NotebookCellBetween, {
184
184
  command: {
185
185
  id: INSERT_CODE_CELL_BELOW_COMMAND_ID,
186
- title: ( localize(7498, "Add Code")),
186
+ title: ( localize(7516, "Add Code")),
187
187
  icon: Codicon.add,
188
- tooltip: ( localize(7497, "Add Code Cell"))
188
+ tooltip: ( localize(7515, "Add Code Cell"))
189
189
  },
190
190
  order: 0,
191
191
  group: 'inline',
@@ -195,8 +195,8 @@ MenuRegistry.appendMenuItem(MenuId.NotebookToolbar, {
195
195
  command: {
196
196
  id: INSERT_CODE_CELL_BELOW_COMMAND_ID,
197
197
  icon: Codicon.add,
198
- title: ( localize(7499, "Code")),
199
- tooltip: ( localize(7497, "Add Code Cell"))
198
+ title: ( localize(7517, "Code")),
199
+ tooltip: ( localize(7515, "Add Code Cell"))
200
200
  },
201
201
  order: -5,
202
202
  group: 'navigation/add',
@@ -205,8 +205,8 @@ MenuRegistry.appendMenuItem(MenuId.NotebookToolbar, {
205
205
  MenuRegistry.appendMenuItem(MenuId.NotebookCellListTop, {
206
206
  command: {
207
207
  id: INSERT_CODE_CELL_AT_TOP_COMMAND_ID,
208
- title: '$(add) ' + ( localize(7496, "Code")),
209
- tooltip: ( localize(7497, "Add Code Cell"))
208
+ title: '$(add) ' + ( localize(7514, "Code")),
209
+ tooltip: ( localize(7515, "Add Code Cell"))
210
210
  },
211
211
  order: 0,
212
212
  group: 'inline',
@@ -215,9 +215,9 @@ MenuRegistry.appendMenuItem(MenuId.NotebookCellListTop, {
215
215
  MenuRegistry.appendMenuItem(MenuId.NotebookCellListTop, {
216
216
  command: {
217
217
  id: INSERT_CODE_CELL_AT_TOP_COMMAND_ID,
218
- title: ( localize(7500, "Add Code")),
218
+ title: ( localize(7518, "Add Code")),
219
219
  icon: Codicon.add,
220
- tooltip: ( localize(7497, "Add Code Cell"))
220
+ tooltip: ( localize(7515, "Add Code Cell"))
221
221
  },
222
222
  order: 0,
223
223
  group: 'inline',
@@ -226,8 +226,8 @@ MenuRegistry.appendMenuItem(MenuId.NotebookCellListTop, {
226
226
  MenuRegistry.appendMenuItem(MenuId.NotebookCellBetween, {
227
227
  command: {
228
228
  id: INSERT_MARKDOWN_CELL_BELOW_COMMAND_ID,
229
- title: '$(add) ' + ( localize(7501, "Markdown")),
230
- tooltip: ( localize(7502, "Add Markdown Cell"))
229
+ title: '$(add) ' + ( localize(7519, "Markdown")),
230
+ tooltip: ( localize(7520, "Add Markdown Cell"))
231
231
  },
232
232
  order: 1,
233
233
  group: 'inline',
@@ -237,8 +237,8 @@ MenuRegistry.appendMenuItem(MenuId.NotebookToolbar, {
237
237
  command: {
238
238
  id: INSERT_MARKDOWN_CELL_BELOW_COMMAND_ID,
239
239
  icon: Codicon.add,
240
- title: ( localize(7503, "Markdown")),
241
- tooltip: ( localize(7502, "Add Markdown Cell"))
240
+ title: ( localize(7521, "Markdown")),
241
+ tooltip: ( localize(7520, "Add Markdown Cell"))
242
242
  },
243
243
  order: -5,
244
244
  group: 'navigation/add',
@@ -247,8 +247,8 @@ MenuRegistry.appendMenuItem(MenuId.NotebookToolbar, {
247
247
  MenuRegistry.appendMenuItem(MenuId.NotebookCellListTop, {
248
248
  command: {
249
249
  id: INSERT_MARKDOWN_CELL_AT_TOP_COMMAND_ID,
250
- title: '$(add) ' + ( localize(7501, "Markdown")),
251
- tooltip: ( localize(7502, "Add Markdown Cell"))
250
+ title: '$(add) ' + ( localize(7519, "Markdown")),
251
+ tooltip: ( localize(7520, "Add Markdown Cell"))
252
252
  },
253
253
  order: 1,
254
254
  group: 'inline',
@@ -23,7 +23,7 @@ registerAction2(class NotebookConfigureLayoutAction extends Action2 {
23
23
  constructor() {
24
24
  super({
25
25
  id: 'workbench.notebook.layout.select',
26
- title: ( localize2(7504, "Select between Notebook Layouts")),
26
+ title: ( localize2(7522, "Select between Notebook Layouts")),
27
27
  f1: true,
28
28
  precondition: ( ContextKeyExpr.equals(`config.${NotebookSetting.openGettingStarted}`, true)),
29
29
  category: NOTEBOOK_ACTIONS_CATEGORY,
@@ -51,7 +51,7 @@ registerAction2(class NotebookConfigureLayoutAction extends Action2 {
51
51
  constructor() {
52
52
  super({
53
53
  id: 'workbench.notebook.layout.configure',
54
- title: ( localize2(7505, "Customize Notebook Layout")),
54
+ title: ( localize2(7523, "Customize Notebook Layout")),
55
55
  f1: true,
56
56
  category: NOTEBOOK_ACTIONS_CATEGORY,
57
57
  menu: [
@@ -72,7 +72,7 @@ registerAction2(class NotebookConfigureLayoutFromEditorTitle extends Action2 {
72
72
  constructor() {
73
73
  super({
74
74
  id: 'workbench.notebook.layout.configure.editorTitle',
75
- title: ( localize2(7505, "Customize Notebook Layout")),
75
+ title: ( localize2(7523, "Customize Notebook Layout")),
76
76
  f1: false,
77
77
  category: NOTEBOOK_ACTIONS_CATEGORY,
78
78
  menu: [
@@ -92,7 +92,7 @@ registerAction2(class NotebookConfigureLayoutFromEditorTitle extends Action2 {
92
92
  MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
93
93
  submenu: MenuId.NotebookEditorLayoutConfigure,
94
94
  rememberDefaultAction: false,
95
- title: ( localize2(7506, "Customize Notebook...")),
95
+ title: ( localize2(7524, "Customize Notebook...")),
96
96
  icon: Codicon.gear,
97
97
  group: 'navigation',
98
98
  order: -1,
@@ -102,7 +102,7 @@ registerAction2(class ToggleLineNumberFromEditorTitle extends Action2 {
102
102
  constructor() {
103
103
  super({
104
104
  id: 'notebook.toggleLineNumbersFromEditorTitle',
105
- title: ( localize2(7507, 'Toggle Notebook Line Numbers')),
105
+ title: ( localize2(7525, 'Toggle Notebook Line Numbers')),
106
106
  precondition: NOTEBOOK_EDITOR_FOCUSED,
107
107
  menu: [
108
108
  {
@@ -116,7 +116,7 @@ registerAction2(class ToggleLineNumberFromEditorTitle extends Action2 {
116
116
  f1: true,
117
117
  toggled: {
118
118
  condition: ( ContextKeyExpr.notEquals('config.notebook.lineNumbers', 'off')),
119
- title: ( localize(7508, "Notebook Line Numbers")),
119
+ title: ( localize(7526, "Notebook Line Numbers")),
120
120
  }
121
121
  });
122
122
  }
@@ -128,7 +128,7 @@ registerAction2(class ToggleCellToolbarPositionFromEditorTitle extends Action2 {
128
128
  constructor() {
129
129
  super({
130
130
  id: 'notebook.toggleCellToolbarPositionFromEditorTitle',
131
- title: ( localize2(7509, 'Toggle Cell Toolbar Position')),
131
+ title: ( localize2(7527, 'Toggle Cell Toolbar Position')),
132
132
  menu: [{
133
133
  id: MenuId.NotebookEditorLayoutConfigure,
134
134
  group: 'notebookLayoutDetails',
@@ -146,7 +146,7 @@ registerAction2(class ToggleBreadcrumbFromEditorTitle extends Action2 {
146
146
  constructor() {
147
147
  super({
148
148
  id: 'breadcrumbs.toggleFromEditorTitle',
149
- title: ( localize2(7510, 'Toggle Breadcrumbs')),
149
+ title: ( localize2(7528, 'Toggle Breadcrumbs')),
150
150
  menu: [{
151
151
  id: MenuId.NotebookEditorLayoutConfigure,
152
152
  group: 'notebookLayoutDetails',
@@ -163,7 +163,7 @@ registerAction2(class SaveMimeTypeDisplayOrder extends Action2 {
163
163
  constructor() {
164
164
  super({
165
165
  id: 'notebook.saveMimeTypeOrder',
166
- title: ( localize2(7511, "Save Mimetype Display Order")),
166
+ title: ( localize2(7529, "Save Mimetype Display Order")),
167
167
  f1: true,
168
168
  category: NOTEBOOK_ACTIONS_CATEGORY,
169
169
  precondition: NOTEBOOK_IS_ACTIVE_EDITOR,
@@ -173,10 +173,10 @@ registerAction2(class SaveMimeTypeDisplayOrder extends Action2 {
173
173
  const service = accessor.get(INotebookService);
174
174
  const disposables = ( new DisposableStore());
175
175
  const qp = disposables.add(accessor.get(IQuickInputService).createQuickPick());
176
- qp.placeholder = ( localize(7512, 'Settings file to save in'));
176
+ qp.placeholder = ( localize(7530, 'Settings file to save in'));
177
177
  qp.items = [
178
- { target: ConfigurationTarget.USER, label: ( localize(7513, 'User Settings')) },
179
- { target: ConfigurationTarget.WORKSPACE, label: ( localize(7514, 'Workspace Settings')) },
178
+ { target: ConfigurationTarget.USER, label: ( localize(7531, 'User Settings')) },
179
+ { target: ConfigurationTarget.WORKSPACE, label: ( localize(7532, 'Workspace Settings')) },
180
180
  ];
181
181
  disposables.add(qp.onDidAccept(() => {
182
182
  const target = qp.selectedItems[0]?.target;
@@ -193,7 +193,7 @@ registerAction2(class NotebookWebviewResetAction extends Action2 {
193
193
  constructor() {
194
194
  super({
195
195
  id: 'workbench.notebook.layout.webview.reset',
196
- title: ( localize2(7515, "Reset Notebook Webview")),
196
+ title: ( localize2(7533, "Reset Notebook Webview")),
197
197
  f1: false,
198
198
  category: NOTEBOOK_ACTIONS_CATEGORY
199
199
  });
@@ -224,14 +224,14 @@ registerAction2(class ToggleNotebookStickyScroll extends Action2 {
224
224
  super({
225
225
  id: 'notebook.action.toggleNotebookStickyScroll',
226
226
  title: {
227
- ...( localize2(7516, "Toggle Notebook Sticky Scroll")),
228
- mnemonicTitle: ( localize(7517, "&&Toggle Notebook Sticky Scroll")),
227
+ ...( localize2(7534, "Toggle Notebook Sticky Scroll")),
228
+ mnemonicTitle: ( localize(7535, "&&Toggle Notebook Sticky Scroll")),
229
229
  },
230
230
  category: Categories.View,
231
231
  toggled: {
232
232
  condition: ( ContextKeyExpr.equals('config.notebook.stickyScroll.enabled', true)),
233
- title: ( localize(7518, "Toggle Notebook Sticky Scroll")),
234
- mnemonicTitle: ( localize(7517, "&&Toggle Notebook Sticky Scroll")),
233
+ title: ( localize(7536, "Toggle Notebook Sticky Scroll")),
234
+ mnemonicTitle: ( localize(7535, "&&Toggle Notebook Sticky Scroll")),
235
235
  },
236
236
  menu: [
237
237
  { id: MenuId.CommandPalette },
@@ -18,7 +18,7 @@ class NotebookIndentUsingTabs extends Action2 {
18
18
  constructor() {
19
19
  super({
20
20
  id: NotebookIndentUsingTabs.ID,
21
- title: ( localize(7519, "Indent Using Tabs")),
21
+ title: ( localize(7537, "Indent Using Tabs")),
22
22
  precondition: undefined,
23
23
  });
24
24
  }
@@ -31,7 +31,7 @@ class NotebookIndentUsingSpaces extends Action2 {
31
31
  constructor() {
32
32
  super({
33
33
  id: NotebookIndentUsingSpaces.ID,
34
- title: ( localize(7520, "Indent Using Spaces")),
34
+ title: ( localize(7538, "Indent Using Spaces")),
35
35
  precondition: undefined,
36
36
  });
37
37
  }
@@ -44,7 +44,7 @@ class NotebookChangeTabDisplaySize extends Action2 {
44
44
  constructor() {
45
45
  super({
46
46
  id: NotebookChangeTabDisplaySize.ID,
47
- title: ( localize(7521, "Change Tab Display Size")),
47
+ title: ( localize(7539, "Change Tab Display Size")),
48
48
  precondition: undefined,
49
49
  });
50
50
  }
@@ -57,7 +57,7 @@ class NotebookIndentationToSpacesAction extends Action2 {
57
57
  constructor() {
58
58
  super({
59
59
  id: NotebookIndentationToSpacesAction.ID,
60
- title: ( localize(7522, "Convert Indentation to Spaces")),
60
+ title: ( localize(7540, "Convert Indentation to Spaces")),
61
61
  precondition: undefined,
62
62
  });
63
63
  }
@@ -70,7 +70,7 @@ class NotebookIndentationToTabsAction extends Action2 {
70
70
  constructor() {
71
71
  super({
72
72
  id: NotebookIndentationToTabsAction.ID,
73
- title: ( localize(7523, "Convert Indentation to Tabs")),
73
+ title: ( localize(7541, "Convert Indentation to Tabs")),
74
74
  precondition: undefined,
75
75
  });
76
76
  }
@@ -102,7 +102,7 @@ function changeNotebookIndentation(accessor, insertSpaces, displaySizeOnly) {
102
102
  delete initialConfig['editor.tabSize'];
103
103
  delete initialConfig['editor.insertSpaces'];
104
104
  setTimeout(() => {
105
- quickInputService.pick(picks, { placeHolder: ( localize(7524, "Select Tab Size for Current File")) }).then(pick => {
105
+ quickInputService.pick(picks, { placeHolder: ( localize(7542, "Select Tab Size for Current File")) }).then(pick => {
106
106
  if (pick) {
107
107
  const pickedVal = parseInt(pick.label, 10);
108
108
  if (displaySizeOnly) {
@@ -152,7 +152,7 @@ function convertNotebookIndentation(accessor, tabsToSpaces) {
152
152
  return;
153
153
  }
154
154
  const edits = getIndentationEditOperations(textEditorModel, modelOpts.tabSize, tabsToSpaces);
155
- bulkEditService.apply(edits, { label: ( localize(7525, "Convert Indentation")), code: 'undoredo.convertIndentation', });
155
+ bulkEditService.apply(edits, { label: ( localize(7543, "Convert Indentation")), code: 'undoredo.convertIndentation', });
156
156
  }))).then(() => {
157
157
  const initialConfig = configurationService.getValue(NotebookSetting.cellEditorOptionsCustomizations);
158
158
  const initialIndentSize = initialConfig['editor.indentSize'];