@codingame/monaco-vscode-notebook-service-override 11.0.0 → 11.0.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.
Files changed (40) hide show
  1. package/package.json +8 -8
  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 +2 -2
  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 +4 -4
  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/notebookVariables.js +1 -1
  16. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +2 -2
  17. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +9 -9
  18. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +1 -1
  19. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +12 -12
  20. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +3 -3
  21. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +27 -27
  22. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +1 -1
  23. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +24 -24
  24. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +22 -22
  25. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +24 -24
  26. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +17 -17
  27. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +7 -7
  28. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +12 -12
  29. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/variablesActions.js +1 -1
  30. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +19 -19
  31. package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +60 -60
  32. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +10 -10
  33. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +33 -33
  34. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +1 -1
  35. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +1 -1
  36. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +3 -3
  37. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +1 -1
  38. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +1 -1
  39. package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +12 -12
  40. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +1 -1
@@ -41,7 +41,7 @@ registerAction2(class EditCellAction extends NotebookCellAction {
41
41
  constructor() {
42
42
  super({
43
43
  id: EDIT_CELL_COMMAND_ID,
44
- title: ( localize(8045, "Edit Cell")),
44
+ title: ( localize(8081, "Edit Cell")),
45
45
  keybinding: {
46
46
  when: ( (ContextKeyExpr.and(
47
47
  NOTEBOOK_CELL_LIST_FOCUSED,
@@ -87,7 +87,7 @@ registerAction2(class QuitEditCellAction extends NotebookCellAction {
87
87
  constructor() {
88
88
  super({
89
89
  id: QUIT_EDIT_CELL_COMMAND_ID,
90
- title: ( localize(8046, "Stop Editing Cell")),
90
+ title: ( localize(8082, "Stop Editing Cell")),
91
91
  menu: {
92
92
  id: MenuId.NotebookCellTitle,
93
93
  when: ( (ContextKeyExpr.and(
@@ -137,7 +137,7 @@ registerAction2(class DeleteCellAction extends NotebookCellAction {
137
137
  constructor() {
138
138
  super({
139
139
  id: DELETE_CELL_COMMAND_ID,
140
- title: ( localize(8047, "Delete Cell")),
140
+ title: ( localize(8083, "Delete Cell")),
141
141
  keybinding: {
142
142
  primary: 20 ,
143
143
  mac: {
@@ -174,13 +174,13 @@ registerAction2(class DeleteCellAction extends NotebookCellAction {
174
174
  const configService = accessor.get(IConfigurationService);
175
175
  if (runState === NotebookCellExecutionState.Executing && configService.getValue(NotebookSetting.confirmDeleteRunningCell)) {
176
176
  const dialogService = accessor.get(IDialogService);
177
- const primaryButton = ( localize(8048, "Delete"));
177
+ const primaryButton = ( localize(8084, "Delete"));
178
178
  confirmation = await dialogService.confirm({
179
179
  type: 'question',
180
- message: ( localize(8049, "This cell is running, are you sure you want to delete it?")),
180
+ message: ( localize(8085, "This cell is running, are you sure you want to delete it?")),
181
181
  primaryButton: primaryButton,
182
182
  checkbox: {
183
- label: ( localize(8050, "Do not ask me again"))
183
+ label: ( localize(8086, "Do not ask me again"))
184
184
  }
185
185
  });
186
186
  }
@@ -200,7 +200,7 @@ registerAction2(class ClearCellOutputsAction extends NotebookCellAction {
200
200
  constructor() {
201
201
  super({
202
202
  id: CLEAR_CELL_OUTPUTS_COMMAND_ID,
203
- title: ( localize(8051, 'Clear Cell Outputs')),
203
+ title: ( localize(8087, 'Clear Cell Outputs')),
204
204
  menu: [
205
205
  {
206
206
  id: MenuId.NotebookCellTitle,
@@ -271,7 +271,7 @@ registerAction2(class ClearAllCellOutputsAction extends NotebookAction {
271
271
  constructor() {
272
272
  super({
273
273
  id: CLEAR_ALL_CELLS_OUTPUTS_COMMAND_ID,
274
- title: ( localize(8052, 'Clear All Outputs')),
274
+ title: ( localize(8088, 'Clear All Outputs')),
275
275
  precondition: NOTEBOOK_HAS_OUTPUTS,
276
276
  menu: [
277
277
  {
@@ -332,9 +332,9 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction {
332
332
  constructor() {
333
333
  super({
334
334
  id: CHANGE_CELL_LANGUAGE,
335
- title: ( localize(8053, 'Change Cell Language')),
335
+ title: ( localize(8089, 'Change Cell Language')),
336
336
  metadata: {
337
- description: ( localize(8053, 'Change Cell Language')),
337
+ description: ( localize(8089, 'Change Cell Language')),
338
338
  args: [
339
339
  {
340
340
  name: 'range',
@@ -407,10 +407,10 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction {
407
407
  providerLanguages.forEach(languageId => {
408
408
  let description;
409
409
  if (context.cell.cellKind === CellKind.Markup ? (languageId === 'markdown') : (languageId === context.cell.language)) {
410
- description = ( localize(8054, "({0}) - Current Language", languageId));
410
+ description = ( localize(8090, "({0}) - Current Language", languageId));
411
411
  }
412
412
  else {
413
- description = ( localize(8055, "({0})", languageId));
413
+ description = ( localize(8091, "({0})", languageId));
414
414
  }
415
415
  const languageName = languageService.getLanguageName(languageId);
416
416
  if (!languageName) {
@@ -433,16 +433,16 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction {
433
433
  return a.description.localeCompare(b.description);
434
434
  });
435
435
  const autoDetectMode = {
436
- label: ( localize(8056, "Auto Detect"))
436
+ label: ( localize(8092, "Auto Detect"))
437
437
  };
438
438
  const picks = [
439
439
  autoDetectMode,
440
- { type: 'separator', label: ( localize(8057, "languages (identifier)")) },
440
+ { type: 'separator', label: ( localize(8093, "languages (identifier)")) },
441
441
  ...topItems,
442
442
  { type: 'separator' },
443
443
  ...mainItems
444
444
  ];
445
- const selection = await quickInputService.pick(picks, { placeHolder: ( localize(8058, "Select Language Mode")) });
445
+ const selection = await quickInputService.pick(picks, { placeHolder: ( localize(8094, "Select Language Mode")) });
446
446
  const languageId = selection === autoDetectMode
447
447
  ? await languageDetectionService.detectLanguage(context.cell.uri)
448
448
  : selection?.languageId;
@@ -475,7 +475,7 @@ registerAction2(class DetectCellLanguageAction extends NotebookCellAction {
475
475
  constructor() {
476
476
  super({
477
477
  id: DETECT_CELL_LANGUAGE,
478
- title: ( localize2(8059, "Accept Detected Language for Cell")),
478
+ title: ( localize2(8095, "Accept Detected Language for Cell")),
479
479
  f1: true,
480
480
  precondition: ( (ContextKeyExpr.and(NOTEBOOK_EDITOR_EDITABLE, NOTEBOOK_CELL_EDITABLE))),
481
481
  keybinding: { primary: 34 | 512 | 1024 , weight: 200 }
@@ -493,7 +493,7 @@ registerAction2(class DetectCellLanguageAction extends NotebookCellAction {
493
493
  setCellToLanguage(detection, context);
494
494
  }
495
495
  else {
496
- notificationService.warn(( localize(8060, "Unable to detect cell language")));
496
+ notificationService.warn(( localize(8096, "Unable to detect cell language")));
497
497
  }
498
498
  }
499
499
  });
@@ -518,7 +518,7 @@ registerAction2(class SelectNotebookIndentation extends NotebookAction {
518
518
  constructor() {
519
519
  super({
520
520
  id: SELECT_NOTEBOOK_INDENTATION_ID,
521
- title: ( localize2(8061, 'Select Indentation')),
521
+ title: ( localize2(8097, 'Select Indentation')),
522
522
  f1: true,
523
523
  precondition: ( (ContextKeyExpr.and(
524
524
  NOTEBOOK_IS_ACTIVE_EDITOR,
@@ -536,10 +536,10 @@ registerAction2(class SelectNotebookIndentation extends NotebookAction {
536
536
  const instantiationService = accessor.get(IInstantiationService);
537
537
  const activeNotebook = getNotebookEditorFromEditorPane(editorService.activeEditorPane);
538
538
  if (!activeNotebook || activeNotebook.isDisposed) {
539
- return quickInputService.pick([{ label: ( localize(8062, "No notebook editor active at this time")) }]);
539
+ return quickInputService.pick([{ label: ( localize(8098, "No notebook editor active at this time")) }]);
540
540
  }
541
541
  if (activeNotebook.isReadOnly) {
542
- return quickInputService.pick([{ label: ( localize(8063, "The active notebook editor is read-only.")) }]);
542
+ return quickInputService.pick([{ label: ( localize(8099, "The active notebook editor is read-only.")) }]);
543
543
  }
544
544
  const picks = ( ([
545
545
  (
@@ -561,9 +561,9 @@ registerAction2(class SelectNotebookIndentation extends NotebookAction {
561
561
  }
562
562
  };
563
563
  })));
564
- picks.splice(3, 0, { type: 'separator', label: ( localize(8064, "convert file")) });
565
- picks.unshift({ type: 'separator', label: ( localize(8065, "change view")) });
566
- const action = await quickInputService.pick(picks, { placeHolder: ( localize(8066, "Select Action")), matchOnDetail: true });
564
+ picks.splice(3, 0, { type: 'separator', label: ( localize(8100, "convert file")) });
565
+ picks.unshift({ type: 'separator', label: ( localize(8101, "change view")) });
566
+ const action = await quickInputService.pick(picks, { placeHolder: ( localize(8102, "Select Action")), matchOnDetail: true });
567
567
  if (!action) {
568
568
  return;
569
569
  }
@@ -576,7 +576,7 @@ registerAction2(class CommentSelectedCellsAction extends NotebookMultiCellAction
576
576
  constructor() {
577
577
  super({
578
578
  id: COMMENT_SELECTED_CELLS_ID,
579
- title: ( localize(8067, "Comment Selected Cells")),
579
+ title: ( localize(8103, "Comment Selected Cells")),
580
580
  keybinding: {
581
581
  when: ( (ContextKeyExpr.and(
582
582
  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(8007, "Render All Markdown Cells")),
91
+ title: ( localize(8043, "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(8008, "Run All")),
102
+ title: ( localize(8044, "Run All")),
103
103
  icon: executeAllIcon,
104
104
  metadata: {
105
- description: ( localize(8008, "Run All")),
105
+ description: ( localize(8044, "Run All")),
106
106
  args: [
107
107
  {
108
108
  name: 'uri',
@@ -160,7 +160,7 @@ registerAction2(class ExecuteCell extends NotebookMultiCellAction {
160
160
  super({
161
161
  id: EXECUTE_CELL_COMMAND_ID,
162
162
  precondition: executeThisCellCondition,
163
- title: ( localize(8009, "Execute Cell")),
163
+ title: ( localize(8045, "Execute Cell")),
164
164
  keybinding: {
165
165
  when: ( (ContextKeyExpr.or(
166
166
  NOTEBOOK_CELL_LIST_FOCUSED,
@@ -178,7 +178,7 @@ registerAction2(class ExecuteCell extends NotebookMultiCellAction {
178
178
  group: 'inline'
179
179
  },
180
180
  metadata: {
181
- description: ( localize(8009, "Execute Cell")),
181
+ description: ( localize(8045, "Execute Cell")),
182
182
  args: cellExecutionArgs
183
183
  },
184
184
  icon: executeIcon
@@ -212,7 +212,7 @@ registerAction2(class ExecuteAboveCells extends NotebookMultiCellAction {
212
212
  super({
213
213
  id: EXECUTE_CELLS_ABOVE,
214
214
  precondition: executeCondition,
215
- title: ( localize(8010, "Execute Above Cells")),
215
+ title: ( localize(8046, "Execute Above Cells")),
216
216
  menu: [
217
217
  {
218
218
  id: MenuId.NotebookCellExecute,
@@ -258,7 +258,7 @@ registerAction2(class ExecuteCellAndBelow extends NotebookMultiCellAction {
258
258
  super({
259
259
  id: EXECUTE_CELL_AND_BELOW,
260
260
  precondition: executeCondition,
261
- title: ( localize(8011, "Execute Cell and Below")),
261
+ title: ( localize(8047, "Execute Cell and Below")),
262
262
  menu: [
263
263
  {
264
264
  id: MenuId.NotebookCellExecute,
@@ -304,9 +304,9 @@ registerAction2(class ExecuteCellFocusContainer extends NotebookMultiCellAction
304
304
  super({
305
305
  id: EXECUTE_CELL_FOCUS_CONTAINER_COMMAND_ID,
306
306
  precondition: executeThisCellCondition,
307
- title: ( localize(8012, "Execute Cell and Focus Container")),
307
+ title: ( localize(8048, "Execute Cell and Focus Container")),
308
308
  metadata: {
309
- description: ( localize(8012, "Execute Cell and Focus Container")),
309
+ description: ( localize(8048, "Execute Cell and Focus Container")),
310
310
  args: cellExecutionArgs
311
311
  },
312
312
  icon: executeIcon
@@ -338,7 +338,7 @@ registerAction2(class CancelExecuteCell extends NotebookMultiCellAction {
338
338
  super({
339
339
  id: CANCEL_CELL_COMMAND_ID,
340
340
  precondition: cellCancelCondition,
341
- title: ( localize(8013, "Stop Cell Execution")),
341
+ title: ( localize(8049, "Stop Cell Execution")),
342
342
  icon: stopIcon,
343
343
  menu: {
344
344
  id: MenuId.NotebookCellExecutePrimary,
@@ -346,7 +346,7 @@ registerAction2(class CancelExecuteCell extends NotebookMultiCellAction {
346
346
  group: 'inline'
347
347
  },
348
348
  metadata: {
349
- description: ( localize(8013, "Stop Cell Execution")),
349
+ description: ( localize(8049, "Stop Cell Execution")),
350
350
  args: [
351
351
  {
352
352
  name: 'options',
@@ -404,7 +404,7 @@ registerAction2(class ExecuteCellSelectBelow extends NotebookCellAction {
404
404
  executeThisCellCondition,
405
405
  (NOTEBOOK_CELL_TYPE.isEqualTo('markup'))
406
406
  ))),
407
- title: ( localize(8014, "Execute Notebook Cell and Select Below")),
407
+ title: ( localize(8050, "Execute Notebook Cell and Select Below")),
408
408
  keybinding: {
409
409
  when: ( (ContextKeyExpr.and(
410
410
  NOTEBOOK_CELL_LIST_FOCUSED,
@@ -470,7 +470,7 @@ registerAction2(class ExecuteCellInsertBelow extends NotebookCellAction {
470
470
  executeThisCellCondition,
471
471
  (NOTEBOOK_CELL_TYPE.isEqualTo('markup'))
472
472
  ))),
473
- title: ( localize(8015, "Execute Notebook Cell and Insert Below")),
473
+ title: ( localize(8051, "Execute Notebook Cell and Insert Below")),
474
474
  keybinding: {
475
475
  when: NOTEBOOK_CELL_LIST_FOCUSED,
476
476
  primary: 512 | 3 ,
@@ -507,7 +507,7 @@ registerAction2(class CancelAllNotebook extends CancelNotebook {
507
507
  constructor() {
508
508
  super({
509
509
  id: CANCEL_NOTEBOOK_COMMAND_ID,
510
- title: ( localize2(8016, "Stop Execution")),
510
+ title: ( localize2(8052, "Stop Execution")),
511
511
  icon: stopIcon,
512
512
  menu: [
513
513
  {
@@ -539,7 +539,7 @@ registerAction2(class InterruptNotebook extends CancelNotebook {
539
539
  constructor() {
540
540
  super({
541
541
  id: INTERRUPT_NOTEBOOK_COMMAND_ID,
542
- title: ( localize2(8017, "Interrupt")),
542
+ title: ( localize2(8053, "Interrupt")),
543
543
  precondition: ( (ContextKeyExpr.and(NOTEBOOK_HAS_SOMETHING_RUNNING, NOTEBOOK_INTERRUPTIBLE_KERNEL))),
544
544
  icon: stopIcon,
545
545
  menu: [
@@ -573,7 +573,7 @@ registerAction2(class InterruptNotebook extends CancelNotebook {
573
573
  }
574
574
  });
575
575
  MenuRegistry.appendMenuItem(MenuId.NotebookToolbar, {
576
- title: ( localize(8018, "Go To")),
576
+ title: ( localize(8054, "Go To")),
577
577
  submenu: MenuId.NotebookCellExecuteGoTo,
578
578
  group: 'navigation/execute',
579
579
  order: 20,
@@ -583,9 +583,9 @@ registerAction2(class RevealRunningCellAction extends NotebookAction {
583
583
  constructor() {
584
584
  super({
585
585
  id: REVEAL_RUNNING_CELL,
586
- title: ( localize(8019, "Go to Running Cell")),
587
- tooltip: ( localize(8019, "Go to Running Cell")),
588
- shortTitle: ( localize(8019, "Go to Running Cell")),
586
+ title: ( localize(8055, "Go to Running Cell")),
587
+ tooltip: ( localize(8055, "Go to Running Cell")),
588
+ shortTitle: ( localize(8055, "Go to Running Cell")),
589
589
  precondition: NOTEBOOK_HAS_RUNNING_CELL,
590
590
  menu: [
591
591
  {
@@ -654,9 +654,9 @@ registerAction2(class RevealLastFailedCellAction extends NotebookAction {
654
654
  constructor() {
655
655
  super({
656
656
  id: REVEAL_LAST_FAILED_CELL,
657
- title: ( localize(8020, "Go to Most Recently Failed Cell")),
658
- tooltip: ( localize(8020, "Go to Most Recently Failed Cell")),
659
- shortTitle: ( localize(8021, "Go to Most Recently Failed Cell")),
657
+ title: ( localize(8056, "Go to Most Recently Failed Cell")),
658
+ tooltip: ( localize(8056, "Go to Most Recently Failed Cell")),
659
+ shortTitle: ( localize(8057, "Go to Most Recently Failed Cell")),
660
660
  precondition: NOTEBOOK_LAST_CELL_FAILED,
661
661
  menu: [
662
662
  {
@@ -53,7 +53,7 @@ registerAction2(class InsertCodeCellAboveAction extends InsertCellCommand {
53
53
  constructor() {
54
54
  super({
55
55
  id: INSERT_CODE_CELL_ABOVE_COMMAND_ID,
56
- title: ( localize(7991, "Insert Code Cell Above")),
56
+ title: ( localize(8027, "Insert Code Cell Above")),
57
57
  keybinding: {
58
58
  primary: 2048 | 1024 | 3 ,
59
59
  when: ( (ContextKeyExpr.and(
@@ -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(7992, "Insert Code Cell Above and Focus Container"))
76
+ title: ( localize(8028, "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(7993, "Insert Code Cell Below")),
84
+ title: ( localize(8029, "Insert Code Cell Below")),
85
85
  keybinding: {
86
86
  primary: 2048 | 3 ,
87
87
  when: ( (ContextKeyExpr.and(
@@ -102,7 +102,7 @@ registerAction2(class InsertCodeCellBelowAndFocusContainerAction extends InsertC
102
102
  constructor() {
103
103
  super({
104
104
  id: INSERT_CODE_CELL_BELOW_AND_FOCUS_CONTAINER_COMMAND_ID,
105
- title: ( localize(7994, "Insert Code Cell Below and Focus Container")),
105
+ title: ( localize(8030, "Insert Code Cell Below and Focus Container")),
106
106
  }, CellKind.Code, 'below', false);
107
107
  }
108
108
  });
@@ -110,7 +110,7 @@ registerAction2(class InsertMarkdownCellAboveAction extends InsertCellCommand {
110
110
  constructor() {
111
111
  super({
112
112
  id: INSERT_MARKDOWN_CELL_ABOVE_COMMAND_ID,
113
- title: ( localize(7995, "Insert Markdown Cell Above")),
113
+ title: ( localize(8031, "Insert Markdown Cell Above")),
114
114
  menu: {
115
115
  id: MenuId.NotebookCellInsert,
116
116
  order: 2
@@ -122,7 +122,7 @@ registerAction2(class InsertMarkdownCellBelowAction extends InsertCellCommand {
122
122
  constructor() {
123
123
  super({
124
124
  id: INSERT_MARKDOWN_CELL_BELOW_COMMAND_ID,
125
- title: ( localize(7996, "Insert Markdown Cell Below")),
125
+ title: ( localize(8032, "Insert Markdown Cell Below")),
126
126
  menu: {
127
127
  id: MenuId.NotebookCellInsert,
128
128
  order: 3
@@ -134,7 +134,7 @@ registerAction2(class InsertCodeCellAtTopAction extends NotebookAction {
134
134
  constructor() {
135
135
  super({
136
136
  id: INSERT_CODE_CELL_AT_TOP_COMMAND_ID,
137
- title: ( localize(7997, "Add Code Cell At Top")),
137
+ title: ( localize(8033, "Add Code Cell At Top")),
138
138
  f1: false
139
139
  });
140
140
  }
@@ -156,7 +156,7 @@ registerAction2(class InsertMarkdownCellAtTopAction extends NotebookAction {
156
156
  constructor() {
157
157
  super({
158
158
  id: INSERT_MARKDOWN_CELL_AT_TOP_COMMAND_ID,
159
- title: ( localize(7998, "Add Markdown Cell At Top")),
159
+ title: ( localize(8034, "Add Markdown Cell At Top")),
160
160
  f1: false
161
161
  });
162
162
  }
@@ -177,8 +177,8 @@ registerAction2(class InsertMarkdownCellAtTopAction extends NotebookAction {
177
177
  MenuRegistry.appendMenuItem(MenuId.NotebookCellBetween, {
178
178
  command: {
179
179
  id: INSERT_CODE_CELL_BELOW_COMMAND_ID,
180
- title: '$(add) ' + ( localize(7999, "Code")),
181
- tooltip: ( localize(8000, "Add Code Cell"))
180
+ title: '$(add) ' + ( localize(8035, "Code")),
181
+ tooltip: ( localize(8036, "Add Code Cell"))
182
182
  },
183
183
  order: 0,
184
184
  group: 'inline',
@@ -190,9 +190,9 @@ MenuRegistry.appendMenuItem(MenuId.NotebookCellBetween, {
190
190
  MenuRegistry.appendMenuItem(MenuId.NotebookCellBetween, {
191
191
  command: {
192
192
  id: INSERT_CODE_CELL_BELOW_COMMAND_ID,
193
- title: ( localize(8001, "Add Code")),
193
+ title: ( localize(8037, "Add Code")),
194
194
  icon: Codicon.add,
195
- tooltip: ( localize(8000, "Add Code Cell"))
195
+ tooltip: ( localize(8036, "Add Code Cell"))
196
196
  },
197
197
  order: 0,
198
198
  group: 'inline',
@@ -205,8 +205,8 @@ MenuRegistry.appendMenuItem(MenuId.NotebookToolbar, {
205
205
  command: {
206
206
  id: INSERT_CODE_CELL_BELOW_COMMAND_ID,
207
207
  icon: Codicon.add,
208
- title: ( localize(8002, "Code")),
209
- tooltip: ( localize(8000, "Add Code Cell"))
208
+ title: ( localize(8038, "Code")),
209
+ tooltip: ( localize(8036, "Add Code Cell"))
210
210
  },
211
211
  order: -5,
212
212
  group: 'navigation/add',
@@ -219,8 +219,8 @@ MenuRegistry.appendMenuItem(MenuId.NotebookToolbar, {
219
219
  MenuRegistry.appendMenuItem(MenuId.NotebookCellListTop, {
220
220
  command: {
221
221
  id: INSERT_CODE_CELL_AT_TOP_COMMAND_ID,
222
- title: '$(add) ' + ( localize(7999, "Code")),
223
- tooltip: ( localize(8000, "Add Code Cell"))
222
+ title: '$(add) ' + ( localize(8035, "Code")),
223
+ tooltip: ( localize(8036, "Add Code Cell"))
224
224
  },
225
225
  order: 0,
226
226
  group: 'inline',
@@ -232,9 +232,9 @@ MenuRegistry.appendMenuItem(MenuId.NotebookCellListTop, {
232
232
  MenuRegistry.appendMenuItem(MenuId.NotebookCellListTop, {
233
233
  command: {
234
234
  id: INSERT_CODE_CELL_AT_TOP_COMMAND_ID,
235
- title: ( localize(8003, "Add Code")),
235
+ title: ( localize(8039, "Add Code")),
236
236
  icon: Codicon.add,
237
- tooltip: ( localize(8000, "Add Code Cell"))
237
+ tooltip: ( localize(8036, "Add Code Cell"))
238
238
  },
239
239
  order: 0,
240
240
  group: 'inline',
@@ -246,8 +246,8 @@ MenuRegistry.appendMenuItem(MenuId.NotebookCellListTop, {
246
246
  MenuRegistry.appendMenuItem(MenuId.NotebookCellBetween, {
247
247
  command: {
248
248
  id: INSERT_MARKDOWN_CELL_BELOW_COMMAND_ID,
249
- title: '$(add) ' + ( localize(8004, "Markdown")),
250
- tooltip: ( localize(8005, "Add Markdown Cell"))
249
+ title: '$(add) ' + ( localize(8040, "Markdown")),
250
+ tooltip: ( localize(8041, "Add Markdown Cell"))
251
251
  },
252
252
  order: 1,
253
253
  group: 'inline',
@@ -260,8 +260,8 @@ MenuRegistry.appendMenuItem(MenuId.NotebookToolbar, {
260
260
  command: {
261
261
  id: INSERT_MARKDOWN_CELL_BELOW_COMMAND_ID,
262
262
  icon: Codicon.add,
263
- title: ( localize(8006, "Markdown")),
264
- tooltip: ( localize(8005, "Add Markdown Cell"))
263
+ title: ( localize(8042, "Markdown")),
264
+ tooltip: ( localize(8041, "Add Markdown Cell"))
265
265
  },
266
266
  order: -5,
267
267
  group: 'navigation/add',
@@ -276,8 +276,8 @@ MenuRegistry.appendMenuItem(MenuId.NotebookToolbar, {
276
276
  MenuRegistry.appendMenuItem(MenuId.NotebookCellListTop, {
277
277
  command: {
278
278
  id: INSERT_MARKDOWN_CELL_AT_TOP_COMMAND_ID,
279
- title: '$(add) ' + ( localize(8004, "Markdown")),
280
- tooltip: ( localize(8005, "Add Markdown Cell"))
279
+ title: '$(add) ' + ( localize(8040, "Markdown")),
280
+ tooltip: ( localize(8041, "Add Markdown Cell"))
281
281
  },
282
282
  order: 1,
283
283
  group: 'inline',
@@ -21,7 +21,7 @@ registerAction2(class NotebookConfigureLayoutAction extends Action2 {
21
21
  constructor() {
22
22
  super({
23
23
  id: 'workbench.notebook.layout.select',
24
- title: ( localize2(8030, "Select between Notebook Layouts")),
24
+ title: ( localize2(8066, "Select between Notebook Layouts")),
25
25
  f1: true,
26
26
  precondition: ( (ContextKeyExpr.equals(`config.${NotebookSetting.openGettingStarted}`, true))),
27
27
  category: NOTEBOOK_ACTIONS_CATEGORY,
@@ -56,7 +56,7 @@ registerAction2(class NotebookConfigureLayoutAction extends Action2 {
56
56
  constructor() {
57
57
  super({
58
58
  id: 'workbench.notebook.layout.configure',
59
- title: ( localize2(8031, "Customize Notebook Layout")),
59
+ title: ( localize2(8067, "Customize Notebook Layout")),
60
60
  f1: true,
61
61
  category: NOTEBOOK_ACTIONS_CATEGORY,
62
62
  menu: [
@@ -77,7 +77,7 @@ registerAction2(class NotebookConfigureLayoutFromEditorTitle extends Action2 {
77
77
  constructor() {
78
78
  super({
79
79
  id: 'workbench.notebook.layout.configure.editorTitle',
80
- title: ( localize2(8031, "Customize Notebook Layout")),
80
+ title: ( localize2(8067, "Customize Notebook Layout")),
81
81
  f1: false,
82
82
  category: NOTEBOOK_ACTIONS_CATEGORY,
83
83
  menu: [
@@ -97,7 +97,7 @@ registerAction2(class NotebookConfigureLayoutFromEditorTitle extends Action2 {
97
97
  MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
98
98
  submenu: MenuId.NotebookEditorLayoutConfigure,
99
99
  rememberDefaultAction: false,
100
- title: ( localize2(8032, "Customize Notebook...")),
100
+ title: ( localize2(8068, "Customize Notebook...")),
101
101
  icon: Codicon.gear,
102
102
  group: 'navigation',
103
103
  order: -1,
@@ -107,7 +107,7 @@ registerAction2(class ToggleLineNumberFromEditorTitle extends Action2 {
107
107
  constructor() {
108
108
  super({
109
109
  id: 'notebook.toggleLineNumbersFromEditorTitle',
110
- title: ( localize2(8033, 'Toggle Notebook Line Numbers')),
110
+ title: ( localize2(8069, 'Toggle Notebook Line Numbers')),
111
111
  precondition: NOTEBOOK_EDITOR_FOCUSED,
112
112
  menu: [
113
113
  {
@@ -121,7 +121,7 @@ registerAction2(class ToggleLineNumberFromEditorTitle extends Action2 {
121
121
  f1: true,
122
122
  toggled: {
123
123
  condition: ( (ContextKeyExpr.notEquals('config.notebook.lineNumbers', 'off'))),
124
- title: ( localize(8034, "Notebook Line Numbers")),
124
+ title: ( localize(8070, "Notebook Line Numbers")),
125
125
  }
126
126
  });
127
127
  }
@@ -133,7 +133,7 @@ registerAction2(class ToggleCellToolbarPositionFromEditorTitle extends Action2 {
133
133
  constructor() {
134
134
  super({
135
135
  id: 'notebook.toggleCellToolbarPositionFromEditorTitle',
136
- title: ( localize2(8035, 'Toggle Cell Toolbar Position')),
136
+ title: ( localize2(8071, 'Toggle Cell Toolbar Position')),
137
137
  menu: [{
138
138
  id: MenuId.NotebookEditorLayoutConfigure,
139
139
  group: 'notebookLayoutDetails',
@@ -151,7 +151,7 @@ registerAction2(class ToggleBreadcrumbFromEditorTitle extends Action2 {
151
151
  constructor() {
152
152
  super({
153
153
  id: 'breadcrumbs.toggleFromEditorTitle',
154
- title: ( localize2(8036, 'Toggle Breadcrumbs')),
154
+ title: ( localize2(8072, 'Toggle Breadcrumbs')),
155
155
  menu: [{
156
156
  id: MenuId.NotebookEditorLayoutConfigure,
157
157
  group: 'notebookLayoutDetails',
@@ -168,7 +168,7 @@ registerAction2(class SaveMimeTypeDisplayOrder extends Action2 {
168
168
  constructor() {
169
169
  super({
170
170
  id: 'notebook.saveMimeTypeOrder',
171
- title: ( localize2(8037, "Save Mimetype Display Order")),
171
+ title: ( localize2(8073, "Save Mimetype Display Order")),
172
172
  f1: true,
173
173
  category: NOTEBOOK_ACTIONS_CATEGORY,
174
174
  precondition: NOTEBOOK_IS_ACTIVE_EDITOR,
@@ -178,10 +178,10 @@ registerAction2(class SaveMimeTypeDisplayOrder extends Action2 {
178
178
  const service = accessor.get(INotebookService);
179
179
  const disposables = ( (new DisposableStore()));
180
180
  const qp = disposables.add(accessor.get(IQuickInputService).createQuickPick());
181
- qp.placeholder = ( localize(8038, 'Settings file to save in'));
181
+ qp.placeholder = ( localize(8074, 'Settings file to save in'));
182
182
  qp.items = [
183
- { target: 2 , label: ( localize(8039, 'User Settings')) },
184
- { target: 5 , label: ( localize(8040, 'Workspace Settings')) },
183
+ { target: 2 , label: ( localize(8075, 'User Settings')) },
184
+ { target: 5 , label: ( localize(8076, 'Workspace Settings')) },
185
185
  ];
186
186
  disposables.add(qp.onDidAccept(() => {
187
187
  const target = qp.selectedItems[0]?.target;
@@ -198,7 +198,7 @@ registerAction2(class NotebookWebviewResetAction extends Action2 {
198
198
  constructor() {
199
199
  super({
200
200
  id: 'workbench.notebook.layout.webview.reset',
201
- title: ( localize2(8041, "Reset Notebook Webview")),
201
+ title: ( localize2(8077, "Reset Notebook Webview")),
202
202
  f1: false,
203
203
  category: NOTEBOOK_ACTIONS_CATEGORY
204
204
  });
@@ -229,14 +229,14 @@ registerAction2(class ToggleNotebookStickyScroll extends Action2 {
229
229
  super({
230
230
  id: 'notebook.action.toggleNotebookStickyScroll',
231
231
  title: {
232
- ...( localize2(8042, "Toggle Notebook Sticky Scroll")),
233
- mnemonicTitle: ( localize(8043, "&&Toggle Notebook Sticky Scroll")),
232
+ ...( localize2(8078, "Toggle Notebook Sticky Scroll")),
233
+ mnemonicTitle: ( localize(8079, "&&Toggle Notebook Sticky Scroll")),
234
234
  },
235
235
  category: Categories.View,
236
236
  toggled: {
237
237
  condition: ( (ContextKeyExpr.equals('config.notebook.stickyScroll.enabled', true))),
238
- title: ( localize(8044, "Toggle Notebook Sticky Scroll")),
239
- mnemonicTitle: ( localize(8043, "&&Toggle Notebook Sticky Scroll")),
238
+ title: ( localize(8080, "Toggle Notebook Sticky Scroll")),
239
+ mnemonicTitle: ( localize(8079, "&&Toggle Notebook Sticky Scroll")),
240
240
  },
241
241
  menu: [
242
242
  { id: MenuId.CommandPalette },
@@ -17,7 +17,7 @@ class NotebookIndentUsingTabs extends Action2 {
17
17
  constructor() {
18
18
  super({
19
19
  id: NotebookIndentUsingTabs.ID,
20
- title: ( localize(10938, "Indent Using Tabs")),
20
+ title: ( localize(10950, "Indent Using Tabs")),
21
21
  precondition: undefined,
22
22
  });
23
23
  }
@@ -30,7 +30,7 @@ class NotebookIndentUsingSpaces extends Action2 {
30
30
  constructor() {
31
31
  super({
32
32
  id: NotebookIndentUsingSpaces.ID,
33
- title: ( localize(10939, "Indent Using Spaces")),
33
+ title: ( localize(10951, "Indent Using Spaces")),
34
34
  precondition: undefined,
35
35
  });
36
36
  }
@@ -43,7 +43,7 @@ class NotebookChangeTabDisplaySize extends Action2 {
43
43
  constructor() {
44
44
  super({
45
45
  id: NotebookChangeTabDisplaySize.ID,
46
- title: ( localize(10940, "Change Tab Display Size")),
46
+ title: ( localize(10952, "Change Tab Display Size")),
47
47
  precondition: undefined,
48
48
  });
49
49
  }
@@ -56,7 +56,7 @@ class NotebookIndentationToSpacesAction extends Action2 {
56
56
  constructor() {
57
57
  super({
58
58
  id: NotebookIndentationToSpacesAction.ID,
59
- title: ( localize(10941, "Convert Indentation to Spaces")),
59
+ title: ( localize(10953, "Convert Indentation to Spaces")),
60
60
  precondition: undefined,
61
61
  });
62
62
  }
@@ -69,7 +69,7 @@ class NotebookIndentationToTabsAction extends Action2 {
69
69
  constructor() {
70
70
  super({
71
71
  id: NotebookIndentationToTabsAction.ID,
72
- title: ( localize(10942, "Convert Indentation to Tabs")),
72
+ title: ( localize(10954, "Convert Indentation to Tabs")),
73
73
  precondition: undefined,
74
74
  });
75
75
  }
@@ -101,7 +101,7 @@ function changeNotebookIndentation(accessor, insertSpaces, displaySizeOnly) {
101
101
  delete initialConfig['editor.tabSize'];
102
102
  delete initialConfig['editor.insertSpaces'];
103
103
  setTimeout(() => {
104
- quickInputService.pick(picks, { placeHolder: ( localize(10943, "Select Tab Size for Current File")) }).then(pick => {
104
+ quickInputService.pick(picks, { placeHolder: ( localize(10955, "Select Tab Size for Current File")) }).then(pick => {
105
105
  if (pick) {
106
106
  const pickedVal = parseInt(pick.label, 10);
107
107
  if (displaySizeOnly) {
@@ -151,7 +151,7 @@ function convertNotebookIndentation(accessor, tabsToSpaces) {
151
151
  return;
152
152
  }
153
153
  const edits = getIndentationEditOperations(textEditorModel, modelOpts.tabSize, tabsToSpaces);
154
- bulkEditService.apply(edits, { label: ( localize(10944, "Convert Indentation")), code: 'undoredo.convertIndentation', });
154
+ bulkEditService.apply(edits, { label: ( localize(10956, "Convert Indentation")), code: 'undoredo.convertIndentation', });
155
155
  })))).then(() => {
156
156
  const initialConfig = configurationService.getValue(NotebookSetting.cellEditorOptionsCustomizations);
157
157
  const initialIndentSize = initialConfig['editor.indentSize'];