@codingame/monaco-vscode-notebook-service-override 14.0.2 → 14.0.4

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 (43) hide show
  1. package/package.json +29 -29
  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/cellDiagnosticsActions.js +4 -4
  5. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.js +1 -1
  6. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +3 -3
  7. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +6 -6
  8. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +10 -10
  9. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +2 -2
  10. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +4 -4
  11. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +1 -1
  12. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +1 -1
  13. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.js +5 -5
  14. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +13 -13
  15. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.js +1 -1
  16. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +1 -1
  17. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +1 -1
  18. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +2 -2
  19. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +2 -2
  20. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +9 -9
  21. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +1 -1
  22. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +12 -12
  23. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +3 -3
  24. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +27 -27
  25. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +1 -1
  26. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +24 -24
  27. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +22 -22
  28. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +24 -24
  29. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +17 -17
  30. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +7 -7
  31. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +12 -12
  32. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/variablesActions.js +1 -1
  33. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +19 -19
  34. package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +65 -65
  35. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +10 -10
  36. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +33 -33
  37. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +1 -1
  38. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +1 -1
  39. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +3 -3
  40. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +1 -1
  41. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +1 -1
  42. package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +12 -12
  43. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +1 -1
@@ -46,7 +46,7 @@ registerAction2(class EditCellAction extends NotebookCellAction {
46
46
  constructor() {
47
47
  super({
48
48
  id: EDIT_CELL_COMMAND_ID,
49
- title: ( localize(7610, "Edit Cell")),
49
+ title: ( localize(7611, "Edit Cell")),
50
50
  keybinding: {
51
51
  when: ( ContextKeyExpr.and(
52
52
  NOTEBOOK_CELL_LIST_FOCUSED,
@@ -82,7 +82,7 @@ registerAction2(class QuitEditCellAction extends NotebookCellAction {
82
82
  constructor() {
83
83
  super({
84
84
  id: QUIT_EDIT_CELL_COMMAND_ID,
85
- title: ( localize(7611, "Stop Editing Cell")),
85
+ title: ( localize(7612, "Stop Editing Cell")),
86
86
  menu: {
87
87
  id: MenuId.NotebookCellTitle,
88
88
  when: ( ContextKeyExpr.and(( NOTEBOOK_CELL_TYPE.isEqualTo('markup')), NOTEBOOK_CELL_MARKDOWN_EDIT_MODE, NOTEBOOK_CELL_EDITABLE)),
@@ -123,7 +123,7 @@ registerAction2(class DeleteCellAction extends NotebookCellAction {
123
123
  constructor() {
124
124
  super({
125
125
  id: DELETE_CELL_COMMAND_ID,
126
- title: ( localize(7612, "Delete Cell")),
126
+ title: ( localize(7613, "Delete Cell")),
127
127
  keybinding: {
128
128
  primary: KeyCode.Delete,
129
129
  mac: {
@@ -160,13 +160,13 @@ registerAction2(class DeleteCellAction extends NotebookCellAction {
160
160
  const configService = accessor.get(IConfigurationService);
161
161
  if (runState === NotebookCellExecutionState.Executing && configService.getValue(NotebookSetting.confirmDeleteRunningCell)) {
162
162
  const dialogService = accessor.get(IDialogService);
163
- const primaryButton = ( localize(7613, "Delete"));
163
+ const primaryButton = ( localize(7614, "Delete"));
164
164
  confirmation = await dialogService.confirm({
165
165
  type: 'question',
166
- message: ( localize(7614, "This cell is running, are you sure you want to delete it?")),
166
+ message: ( localize(7615, "This cell is running, are you sure you want to delete it?")),
167
167
  primaryButton: primaryButton,
168
168
  checkbox: {
169
- label: ( localize(7615, "Do not ask me again"))
169
+ label: ( localize(7616, "Do not ask me again"))
170
170
  }
171
171
  });
172
172
  }
@@ -186,7 +186,7 @@ registerAction2(class ClearCellOutputsAction extends NotebookCellAction {
186
186
  constructor() {
187
187
  super({
188
188
  id: CLEAR_CELL_OUTPUTS_COMMAND_ID,
189
- title: ( localize(7616, 'Clear Cell Outputs')),
189
+ title: ( localize(7617, 'Clear Cell Outputs')),
190
190
  menu: [
191
191
  {
192
192
  id: MenuId.NotebookCellTitle,
@@ -250,7 +250,7 @@ registerAction2(class ClearAllCellOutputsAction extends NotebookAction {
250
250
  constructor() {
251
251
  super({
252
252
  id: CLEAR_ALL_CELLS_OUTPUTS_COMMAND_ID,
253
- title: ( localize(7617, 'Clear All Outputs')),
253
+ title: ( localize(7618, 'Clear All Outputs')),
254
254
  precondition: NOTEBOOK_HAS_OUTPUTS,
255
255
  menu: [
256
256
  {
@@ -307,9 +307,9 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction {
307
307
  constructor() {
308
308
  super({
309
309
  id: CHANGE_CELL_LANGUAGE,
310
- title: ( localize(7618, 'Change Cell Language')),
310
+ title: ( localize(7619, 'Change Cell Language')),
311
311
  metadata: {
312
- description: ( localize(7618, 'Change Cell Language')),
312
+ description: ( localize(7619, 'Change Cell Language')),
313
313
  args: [
314
314
  {
315
315
  name: 'range',
@@ -382,10 +382,10 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction {
382
382
  providerLanguages.forEach(languageId => {
383
383
  let description;
384
384
  if (context.cell.cellKind === CellKind.Markup ? (languageId === 'markdown') : (languageId === context.cell.language)) {
385
- description = ( localize(7619, "({0}) - Current Language", languageId));
385
+ description = ( localize(7620, "({0}) - Current Language", languageId));
386
386
  }
387
387
  else {
388
- description = ( localize(7620, "({0})", languageId));
388
+ description = ( localize(7621, "({0})", languageId));
389
389
  }
390
390
  const languageName = languageService.getLanguageName(languageId);
391
391
  if (!languageName) {
@@ -408,16 +408,16 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction {
408
408
  return a.description.localeCompare(b.description);
409
409
  });
410
410
  const autoDetectMode = {
411
- label: ( localize(7621, "Auto Detect"))
411
+ label: ( localize(7622, "Auto Detect"))
412
412
  };
413
413
  const picks = [
414
414
  autoDetectMode,
415
- { type: 'separator', label: ( localize(7622, "languages (identifier)")) },
415
+ { type: 'separator', label: ( localize(7623, "languages (identifier)")) },
416
416
  ...topItems,
417
417
  { type: 'separator' },
418
418
  ...mainItems
419
419
  ];
420
- const selection = await quickInputService.pick(picks, { placeHolder: ( localize(7623, "Select Language Mode")) });
420
+ const selection = await quickInputService.pick(picks, { placeHolder: ( localize(7624, "Select Language Mode")) });
421
421
  const languageId = selection === autoDetectMode
422
422
  ? await languageDetectionService.detectLanguage(context.cell.uri)
423
423
  : selection?.languageId;
@@ -450,7 +450,7 @@ registerAction2(class DetectCellLanguageAction extends NotebookCellAction {
450
450
  constructor() {
451
451
  super({
452
452
  id: DETECT_CELL_LANGUAGE,
453
- title: ( localize2(7624, "Accept Detected Language for Cell")),
453
+ title: ( localize2(7625, "Accept Detected Language for Cell")),
454
454
  f1: true,
455
455
  precondition: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_EDITABLE, NOTEBOOK_CELL_EDITABLE)),
456
456
  keybinding: { primary: KeyCode.KeyD | KeyMod.Alt | KeyMod.Shift, weight: KeybindingWeight.WorkbenchContrib }
@@ -468,7 +468,7 @@ registerAction2(class DetectCellLanguageAction extends NotebookCellAction {
468
468
  setCellToLanguage(detection, context);
469
469
  }
470
470
  else {
471
- notificationService.warn(( localize(7625, "Unable to detect cell language")));
471
+ notificationService.warn(( localize(7626, "Unable to detect cell language")));
472
472
  }
473
473
  }
474
474
  });
@@ -493,7 +493,7 @@ registerAction2(class SelectNotebookIndentation extends NotebookAction {
493
493
  constructor() {
494
494
  super({
495
495
  id: SELECT_NOTEBOOK_INDENTATION_ID,
496
- title: ( localize2(7626, 'Select Indentation')),
496
+ title: ( localize2(7627, 'Select Indentation')),
497
497
  f1: true,
498
498
  precondition: ( ContextKeyExpr.and(
499
499
  NOTEBOOK_IS_ACTIVE_EDITOR,
@@ -511,10 +511,10 @@ registerAction2(class SelectNotebookIndentation extends NotebookAction {
511
511
  const instantiationService = accessor.get(IInstantiationService);
512
512
  const activeNotebook = getNotebookEditorFromEditorPane(editorService.activeEditorPane);
513
513
  if (!activeNotebook || activeNotebook.isDisposed) {
514
- return quickInputService.pick([{ label: ( localize(7627, "No notebook editor active at this time")) }]);
514
+ return quickInputService.pick([{ label: ( localize(7628, "No notebook editor active at this time")) }]);
515
515
  }
516
516
  if (activeNotebook.isReadOnly) {
517
- return quickInputService.pick([{ label: ( localize(7628, "The active notebook editor is read-only.")) }]);
517
+ return quickInputService.pick([{ label: ( localize(7629, "The active notebook editor is read-only.")) }]);
518
518
  }
519
519
  const picks = ( [
520
520
  (
@@ -536,9 +536,9 @@ registerAction2(class SelectNotebookIndentation extends NotebookAction {
536
536
  }
537
537
  };
538
538
  }));
539
- picks.splice(3, 0, { type: 'separator', label: ( localize(7629, "convert file")) });
540
- picks.unshift({ type: 'separator', label: ( localize(7630, "change view")) });
541
- const action = await quickInputService.pick(picks, { placeHolder: ( localize(7631, "Select Action")), matchOnDetail: true });
539
+ picks.splice(3, 0, { type: 'separator', label: ( localize(7630, "convert file")) });
540
+ picks.unshift({ type: 'separator', label: ( localize(7631, "change view")) });
541
+ const action = await quickInputService.pick(picks, { placeHolder: ( localize(7632, "Select Action")), matchOnDetail: true });
542
542
  if (!action) {
543
543
  return;
544
544
  }
@@ -551,7 +551,7 @@ registerAction2(class CommentSelectedCellsAction extends NotebookMultiCellAction
551
551
  constructor() {
552
552
  super({
553
553
  id: COMMENT_SELECTED_CELLS_ID,
554
- title: ( localize(7632, "Comment Selected Cells")),
554
+ title: ( localize(7633, "Comment Selected Cells")),
555
555
  keybinding: {
556
556
  when: ( ContextKeyExpr.and(
557
557
  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(7633, "Render All Markdown Cells")),
91
+ title: ( localize(7634, "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(7634, "Run All")),
102
+ title: ( localize(7635, "Run All")),
103
103
  icon: executeAllIcon,
104
104
  metadata: {
105
- description: ( localize(7634, "Run All")),
105
+ description: ( localize(7635, "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(7635, "Execute Cell")),
149
+ title: ( localize(7636, "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(7635, "Execute Cell")),
164
+ description: ( localize(7636, "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(7636, "Execute Above Cells")),
198
+ title: ( localize(7637, "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(7637, "Execute Cell and Below")),
238
+ title: ( localize(7638, "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(7638, "Execute Cell and Focus Container")),
278
+ title: ( localize(7639, "Execute Cell and Focus Container")),
279
279
  metadata: {
280
- description: ( localize(7638, "Execute Cell and Focus Container")),
280
+ description: ( localize(7639, "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(7639, "Stop Cell Execution")),
309
+ title: ( localize(7640, "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(7639, "Stop Cell Execution")),
317
+ description: ( localize(7640, "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(7640, "Execute Notebook Cell and Select Below")),
372
+ title: ( localize(7641, "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(7641, "Execute Notebook Cell and Insert Below")),
432
+ title: ( localize(7642, "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(7642, "Stop Execution")),
469
+ title: ( localize2(7643, "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(7643, "Interrupt")),
492
+ title: ( localize2(7644, "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(7644, "Go To")),
526
+ title: ( localize(7645, "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(7645, "Go to Running Cell")),
537
- tooltip: ( localize(7645, "Go to Running Cell")),
538
- shortTitle: ( localize(7645, "Go to Running Cell")),
536
+ title: ( localize(7646, "Go to Running Cell")),
537
+ tooltip: ( localize(7646, "Go to Running Cell")),
538
+ shortTitle: ( localize(7646, "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(7646, "Go to Most Recently Failed Cell")),
597
- tooltip: ( localize(7646, "Go to Most Recently Failed Cell")),
598
- shortTitle: ( localize(7647, "Go to Most Recently Failed Cell")),
596
+ title: ( localize(7647, "Go to Most Recently Failed Cell")),
597
+ tooltip: ( localize(7647, "Go to Most Recently Failed Cell")),
598
+ shortTitle: ( localize(7648, "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(7650, "Insert Code Cell Above")),
59
+ title: ( localize(7651, "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(7651, "Insert Code Cell Above and Focus Container"))
76
+ title: ( localize(7652, "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(7652, "Insert Code Cell Below")),
84
+ title: ( localize(7653, "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(7653, "Insert Code Cell Below and Focus Container")),
101
+ title: ( localize(7654, "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(7654, "Insert Markdown Cell Above")),
109
+ title: ( localize(7655, "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(7655, "Insert Markdown Cell Below")),
121
+ title: ( localize(7656, "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(7656, "Add Code Cell At Top")),
133
+ title: ( localize(7657, "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(7657, "Add Markdown Cell At Top")),
155
+ title: ( localize(7658, "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(7658, "Code")),
177
- tooltip: ( localize(7659, "Add Code Cell"))
176
+ title: '$(add) ' + ( localize(7659, "Code")),
177
+ tooltip: ( localize(7660, "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(7660, "Add Code")),
186
+ title: ( localize(7661, "Add Code")),
187
187
  icon: Codicon.add,
188
- tooltip: ( localize(7659, "Add Code Cell"))
188
+ tooltip: ( localize(7660, "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(7661, "Code")),
199
- tooltip: ( localize(7659, "Add Code Cell"))
198
+ title: ( localize(7662, "Code")),
199
+ tooltip: ( localize(7660, "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(7658, "Code")),
209
- tooltip: ( localize(7659, "Add Code Cell"))
208
+ title: '$(add) ' + ( localize(7659, "Code")),
209
+ tooltip: ( localize(7660, "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(7662, "Add Code")),
218
+ title: ( localize(7663, "Add Code")),
219
219
  icon: Codicon.add,
220
- tooltip: ( localize(7659, "Add Code Cell"))
220
+ tooltip: ( localize(7660, "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(7663, "Markdown")),
230
- tooltip: ( localize(7664, "Add Markdown Cell"))
229
+ title: '$(add) ' + ( localize(7664, "Markdown")),
230
+ tooltip: ( localize(7665, "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(7665, "Markdown")),
241
- tooltip: ( localize(7664, "Add Markdown Cell"))
240
+ title: ( localize(7666, "Markdown")),
241
+ tooltip: ( localize(7665, "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(7663, "Markdown")),
251
- tooltip: ( localize(7664, "Add Markdown Cell"))
250
+ title: '$(add) ' + ( localize(7664, "Markdown")),
251
+ tooltip: ( localize(7665, "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(7666, "Select between Notebook Layouts")),
26
+ title: ( localize2(7667, "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(7667, "Customize Notebook Layout")),
54
+ title: ( localize2(7668, "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(7667, "Customize Notebook Layout")),
75
+ title: ( localize2(7668, "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(7668, "Customize Notebook...")),
95
+ title: ( localize2(7669, "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(7669, 'Toggle Notebook Line Numbers')),
105
+ title: ( localize2(7670, '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(7670, "Notebook Line Numbers")),
119
+ title: ( localize(7671, "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(7671, 'Toggle Cell Toolbar Position')),
131
+ title: ( localize2(7672, '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(7672, 'Toggle Breadcrumbs')),
149
+ title: ( localize2(7673, '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(7673, "Save Mimetype Display Order")),
166
+ title: ( localize2(7674, "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(7674, 'Settings file to save in'));
176
+ qp.placeholder = ( localize(7675, 'Settings file to save in'));
177
177
  qp.items = [
178
- { target: ConfigurationTarget.USER, label: ( localize(7675, 'User Settings')) },
179
- { target: ConfigurationTarget.WORKSPACE, label: ( localize(7676, 'Workspace Settings')) },
178
+ { target: ConfigurationTarget.USER, label: ( localize(7676, 'User Settings')) },
179
+ { target: ConfigurationTarget.WORKSPACE, label: ( localize(7677, '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(7677, "Reset Notebook Webview")),
196
+ title: ( localize2(7678, "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(7678, "Toggle Notebook Sticky Scroll")),
228
- mnemonicTitle: ( localize(7679, "&&Toggle Notebook Sticky Scroll")),
227
+ ...( localize2(7679, "Toggle Notebook Sticky Scroll")),
228
+ mnemonicTitle: ( localize(7680, "&&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(7680, "Toggle Notebook Sticky Scroll")),
234
- mnemonicTitle: ( localize(7679, "&&Toggle Notebook Sticky Scroll")),
233
+ title: ( localize(7681, "Toggle Notebook Sticky Scroll")),
234
+ mnemonicTitle: ( localize(7680, "&&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(7681, "Indent Using Tabs")),
21
+ title: ( localize(7682, "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(7682, "Indent Using Spaces")),
34
+ title: ( localize(7683, "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(7683, "Change Tab Display Size")),
47
+ title: ( localize(7684, "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(7684, "Convert Indentation to Spaces")),
60
+ title: ( localize(7685, "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(7685, "Convert Indentation to Tabs")),
73
+ title: ( localize(7686, "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(7686, "Select Tab Size for Current File")) }).then(pick => {
105
+ quickInputService.pick(picks, { placeHolder: ( localize(7687, "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(7687, "Convert Indentation")), code: 'undoredo.convertIndentation', });
155
+ bulkEditService.apply(edits, { label: ( localize(7688, "Convert Indentation")), code: 'undoredo.convertIndentation', });
156
156
  }))).then(() => {
157
157
  const initialConfig = configurationService.getValue(NotebookSetting.cellEditorOptionsCustomizations);
158
158
  const initialIndentSize = initialConfig['editor.indentSize'];