@codingame/monaco-vscode-notebook-service-override 8.0.2 → 8.0.3

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 (27) hide show
  1. package/package.json +2 -2
  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/cellStatusBar/statusBarProviders.js +3 -3
  5. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +6 -6
  6. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +10 -10
  7. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +2 -2
  8. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +4 -4
  9. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +1 -1
  10. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +1 -1
  11. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +13 -13
  12. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +1 -1
  13. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +9 -9
  14. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +1 -1
  15. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +12 -12
  16. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +3 -3
  17. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +24 -24
  18. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +24 -24
  19. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +22 -22
  20. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +24 -24
  21. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +17 -17
  22. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +12 -12
  23. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +11 -11
  24. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +1 -1
  25. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +10 -10
  26. package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +12 -12
  27. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +1 -1
@@ -718,33 +718,33 @@ const NotebookOutlineContext = {
718
718
  type: 'boolean',
719
719
  default: true,
720
720
  markdownDescription: ( localize(
721
- 7991,
721
+ 7963,
722
722
  "When enabled, notebook outline will show only markdown cells containing a header."
723
723
  ))
724
724
  },
725
725
  [NotebookSetting.outlineShowCodeCells]: {
726
726
  type: 'boolean',
727
727
  default: false,
728
- markdownDescription: ( localize(7992, "When enabled, notebook outline shows code cells."))
728
+ markdownDescription: ( localize(7964, "When enabled, notebook outline shows code cells."))
729
729
  },
730
730
  [NotebookSetting.outlineShowCodeCellSymbols]: {
731
731
  type: 'boolean',
732
732
  default: true,
733
733
  markdownDescription: ( localize(
734
- 7993,
734
+ 7965,
735
735
  "When enabled, notebook outline shows code cell symbols. Relies on `notebook.outline.showCodeCells` being enabled."
736
736
  ))
737
737
  },
738
738
  [NotebookSetting.breadcrumbsShowCodeCells]: {
739
739
  type: 'boolean',
740
740
  default: true,
741
- markdownDescription: ( localize(7994, "When enabled, notebook breadcrumbs contain code cells."))
741
+ markdownDescription: ( localize(7966, "When enabled, notebook breadcrumbs contain code cells."))
742
742
  },
743
743
  [NotebookSetting.gotoSymbolsAllSymbols]: {
744
744
  type: 'boolean',
745
745
  default: true,
746
746
  markdownDescription: ( localize(
747
- 7995,
747
+ 7967,
748
748
  "When enabled, the Go to Symbol Quick Pick will display full code symbols from the notebook, as well as Markdown headers."
749
749
  ))
750
750
  },
@@ -752,7 +752,7 @@ const NotebookOutlineContext = {
752
752
  });
753
753
  MenuRegistry.appendMenuItem(MenuId.ViewTitle, {
754
754
  submenu: MenuId.NotebookOutlineFilter,
755
- title: ( localize(7996, "Filter Entries")),
755
+ title: ( localize(7968, "Filter Entries")),
756
756
  icon: Codicon.filter,
757
757
  group: 'navigation',
758
758
  order: -1,
@@ -765,7 +765,7 @@ registerAction2(class ToggleShowMarkdownHeadersOnly extends Action2 {
765
765
  constructor() {
766
766
  super({
767
767
  id: 'notebook.outline.toggleShowMarkdownHeadersOnly',
768
- title: ( localize(7997, "Markdown Headers Only")),
768
+ title: ( localize(7969, "Markdown Headers Only")),
769
769
  f1: false,
770
770
  toggled: {
771
771
  condition: ( (ContextKeyExpr.equals('config.notebook.outline.showMarkdownHeadersOnly', true)))
@@ -786,7 +786,7 @@ registerAction2(class ToggleCodeCellEntries extends Action2 {
786
786
  constructor() {
787
787
  super({
788
788
  id: 'notebook.outline.toggleCodeCells',
789
- title: ( localize(7998, "Code Cells")),
789
+ title: ( localize(7970, "Code Cells")),
790
790
  f1: false,
791
791
  toggled: {
792
792
  condition: ( (ContextKeyExpr.equals('config.notebook.outline.showCodeCells', true)))
@@ -808,7 +808,7 @@ registerAction2(class ToggleCodeCellSymbolEntries extends Action2 {
808
808
  constructor() {
809
809
  super({
810
810
  id: 'notebook.outline.toggleCodeCellSymbols',
811
- title: ( localize(7999, "Code Cell Symbols")),
811
+ title: ( localize(7971, "Code Cell Symbols")),
812
812
  f1: false,
813
813
  toggled: {
814
814
  condition: ( (ContextKeyExpr.equals('config.notebook.outline.showCodeCellSymbols', true)))
@@ -52,7 +52,7 @@ registerAction2(class extends Action2 {
52
52
  constructor() {
53
53
  super({
54
54
  id: 'notebook.setProfile',
55
- title: ( localize(8000, "Set Profile"))
55
+ title: ( localize(7972, "Set Profile"))
56
56
  });
57
57
  }
58
58
  async run(accessor, args) {
@@ -49,7 +49,7 @@ let FormatOnSaveParticipant = class FormatOnSaveParticipant {
49
49
  if (!enabled) {
50
50
  return undefined;
51
51
  }
52
- progress.report({ message: ( localize(7966, "Formatting")) });
52
+ progress.report({ message: ( localize(7938, "Formatting")) });
53
53
  const notebook = workingCopy.model.notebookModel;
54
54
  const formatApplied = await this.instantiationService.invokeFunction(CodeActionParticipantUtils.checkAndRunFormatCodeAction, notebook, progress, token);
55
55
  const disposable = ( (new DisposableStore()));
@@ -69,7 +69,7 @@ let FormatOnSaveParticipant = class FormatOnSaveParticipant {
69
69
  }
70
70
  return [];
71
71
  }))));
72
- await this.bulkEditService.apply( allCellEdits.flat(), { label: ( localize(7967, "Format Notebook")), code: 'undoredo.formatNotebook', });
72
+ await this.bulkEditService.apply( allCellEdits.flat(), { label: ( localize(7939, "Format Notebook")), code: 'undoredo.formatNotebook', });
73
73
  }
74
74
  }
75
75
  finally {
@@ -141,7 +141,7 @@ let TrimWhitespaceParticipant = class TrimWhitespaceParticipant {
141
141
  );
142
142
  }))));
143
143
  const filteredEdits = allCellEdits.flat().filter(edit => edit !== undefined);
144
- await this.bulkEditService.apply(filteredEdits, { label: ( localize(7968, "Notebook Trim Trailing Whitespace")), code: 'undoredo.notebookTrimTrailingWhitespace' });
144
+ await this.bulkEditService.apply(filteredEdits, { label: ( localize(7940, "Notebook Trim Trailing Whitespace")), code: 'undoredo.notebookTrimTrailingWhitespace' });
145
145
  }
146
146
  finally {
147
147
  progress.report({ increment: 100 });
@@ -219,7 +219,7 @@ let TrimFinalNewLinesParticipant = class TrimFinalNewLinesParticipant {
219
219
  );
220
220
  }))));
221
221
  const filteredEdits = allCellEdits.flat().filter(edit => edit !== undefined);
222
- await this.bulkEditService.apply(filteredEdits, { label: ( localize(7969, "Trim Final New Lines")), code: 'undoredo.trimFinalNewLines' });
222
+ await this.bulkEditService.apply(filteredEdits, { label: ( localize(7941, "Trim Final New Lines")), code: 'undoredo.trimFinalNewLines' });
223
223
  }
224
224
  finally {
225
225
  progress.report({ increment: 100 });
@@ -274,7 +274,7 @@ let InsertFinalNewLineParticipant = class InsertFinalNewLineParticipant {
274
274
  );
275
275
  }))));
276
276
  const filteredEdits = allCellEdits.filter(edit => edit !== undefined);
277
- await this.bulkEditService.apply(filteredEdits, { label: ( localize(7970, "Insert Final New Line")), code: 'undoredo.insertFinalNewLine' });
277
+ await this.bulkEditService.apply(filteredEdits, { label: ( localize(7942, "Insert Final New Line")), code: 'undoredo.insertFinalNewLine' });
278
278
  if (activeCellEditor && selections) {
279
279
  activeCellEditor.setSelections(selections);
280
280
  }
@@ -330,7 +330,7 @@ let CodeActionOnSaveParticipant = class CodeActionOnSaveParticipant {
330
330
  const notebookCodeActionsOnSave = includedActions.filter(x => CodeActionKind.Notebook.contains(x));
331
331
  if (notebookCodeActionsOnSave.length) {
332
332
  const nbDisposable = ( (new DisposableStore()));
333
- progress.report({ message: ( localize(7971, "Running 'Notebook' code actions")) });
333
+ progress.report({ message: ( localize(7943, "Running 'Notebook' code actions")) });
334
334
  try {
335
335
  const cell = notebookModel.cells[0];
336
336
  const ref = await this.textModelService.createModelReference(cell.uri);
@@ -362,7 +362,7 @@ let CodeActionOnSaveParticipant = class CodeActionOnSaveParticipant {
362
362
  });
363
363
  }
364
364
  const cellDisposable = ( (new DisposableStore()));
365
- progress.report({ message: ( localize(7972, "Running 'Cell' code actions")) });
365
+ progress.report({ message: ( localize(7944, "Running 'Cell' code actions")) });
366
366
  try {
367
367
  await Promise.all(( (notebookModel.cells.map(async (cell) => {
368
368
  const ref = await this.textModelService.createModelReference(cell.uri);
@@ -402,7 +402,7 @@ class CodeActionParticipantUtils {
402
402
  const configurationService = accessor.get(IConfigurationService);
403
403
  const formatDisposable = ( (new DisposableStore()));
404
404
  let formatResult = false;
405
- progress.report({ message: ( localize(7973, "Running 'Format' code actions")) });
405
+ progress.report({ message: ( localize(7945, "Running 'Format' code actions")) });
406
406
  try {
407
407
  const cell = notebookModel.cells[0];
408
408
  const ref = await textModelService.createModelReference(cell.uri);
@@ -431,7 +431,7 @@ class CodeActionParticipantUtils {
431
431
  _report() {
432
432
  progress.report({
433
433
  message: ( localize(
434
- 7974,
434
+ 7946,
435
435
  "Getting code actions from '{0}' ([configure]({1})).",
436
436
  ( ([...this._names].map(name => `'${name}'`))).join(', '),
437
437
  'command:workbench.action.openSettings?%5B%22notebook.codeActionsOnSave%22%5D'
@@ -471,7 +471,7 @@ class CodeActionParticipantUtils {
471
471
  logService.warn('Failed to apply code action on save, applied to multiple resources.');
472
472
  continue;
473
473
  }
474
- progress.report({ message: ( localize(7975, "Applying code action '{0}'.", action.action.title)) });
474
+ progress.report({ message: ( localize(7947, "Applying code action '{0}'.", action.action.title)) });
475
475
  await instantiationService.invokeFunction(applyCodeAction, action, ApplyCodeActionReason.OnSave, {}, token);
476
476
  if (token.isCancellationRequested) {
477
477
  return;
@@ -496,7 +496,7 @@ class CodeActionParticipantUtils {
496
496
  _report() {
497
497
  progress.report({
498
498
  message: ( localize(
499
- 7974,
499
+ 7946,
500
500
  "Getting code actions from '{0}' ([configure]({1})).",
501
501
  ( ([...this._names].map(name => `'${name}'`))).join(', '),
502
502
  'command:workbench.action.openSettings?%5B%22notebook.defaultFormatter%22%5D'
@@ -523,7 +523,7 @@ class CodeActionParticipantUtils {
523
523
  if (!action) {
524
524
  return false;
525
525
  }
526
- progress.report({ message: ( localize(7975, "Applying code action '{0}'.", action.action.title)) });
526
+ progress.report({ message: ( localize(7947, "Applying code action '{0}'.", action.action.title)) });
527
527
  await instantiationService.invokeFunction(applyCodeAction, action, ApplyCodeActionReason.OnSave, {}, token);
528
528
  if (token.isCancellationRequested) {
529
529
  return false;
@@ -94,7 +94,7 @@ registerAction2(class extends Action2 {
94
94
  constructor() {
95
95
  super({
96
96
  id: 'notebook.toggleLayoutTroubleshoot',
97
- title: ( localize2(8039, "Toggle Layout Troubleshoot")),
97
+ title: ( localize2(8011, "Toggle Layout Troubleshoot")),
98
98
  category: Categories.Developer,
99
99
  f1: true
100
100
  });
@@ -113,7 +113,7 @@ registerAction2(class extends Action2 {
113
113
  constructor() {
114
114
  super({
115
115
  id: 'notebook.inspectLayout',
116
- title: ( localize2(8040, "Inspect Notebook Layout")),
116
+ title: ( localize2(8012, "Inspect Notebook Layout")),
117
117
  category: Categories.Developer,
118
118
  f1: true
119
119
  });
@@ -134,7 +134,7 @@ registerAction2(class extends Action2 {
134
134
  constructor() {
135
135
  super({
136
136
  id: 'notebook.clearNotebookEdtitorTypeCache',
137
- title: ( localize2(8041, "Clear Notebook Editor Type Cache")),
137
+ title: ( localize2(8013, "Clear Notebook Editor Type Cache")),
138
138
  category: Categories.Developer,
139
139
  f1: true
140
140
  });
@@ -22,7 +22,7 @@ registerAction2(class extends NotebookAction {
22
22
  constructor() {
23
23
  super({
24
24
  id: 'notebook.cell.chat.accept',
25
- title: ( localize2(10700, "Make Request")),
25
+ title: ( localize2(10693, "Make Request")),
26
26
  icon: Codicon.send,
27
27
  keybinding: {
28
28
  when: ( (ContextKeyExpr.and(
@@ -50,7 +50,7 @@ registerAction2(class extends NotebookCellAction {
50
50
  constructor() {
51
51
  super({
52
52
  id: 'notebook.cell.chat.arrowOutUp',
53
- title: ( localize(10701, 'Cursor Up')),
53
+ title: ( localize(10694, 'Cursor Up')),
54
54
  keybinding: {
55
55
  when: ( (ContextKeyExpr.and(
56
56
  CTX_NOTEBOOK_CELL_CHAT_FOCUSED,
@@ -85,7 +85,7 @@ registerAction2(class extends NotebookAction {
85
85
  constructor() {
86
86
  super({
87
87
  id: 'notebook.cell.chat.arrowOutDown',
88
- title: ( localize(10702, 'Cursor Down')),
88
+ title: ( localize(10695, 'Cursor Down')),
89
89
  keybinding: {
90
90
  when: ( (ContextKeyExpr.and(
91
91
  CTX_NOTEBOOK_CELL_CHAT_FOCUSED,
@@ -108,7 +108,7 @@ registerAction2(class extends NotebookCellAction {
108
108
  constructor() {
109
109
  super({
110
110
  id: 'notebook.cell.focusChatWidget',
111
- title: ( localize(10703, 'Focus Chat Widget')),
111
+ title: ( localize(10696, 'Focus Chat Widget')),
112
112
  keybinding: {
113
113
  when: ( (ContextKeyExpr.and(
114
114
  NOTEBOOK_EDITOR_FOCUSED,
@@ -136,7 +136,7 @@ registerAction2(class extends NotebookCellAction {
136
136
  constructor() {
137
137
  super({
138
138
  id: 'notebook.cell.focusNextChatWidget',
139
- title: ( localize(10704, 'Focus Next Cell Chat Widget')),
139
+ title: ( localize(10697, 'Focus Next Cell Chat Widget')),
140
140
  keybinding: {
141
141
  when: ( (ContextKeyExpr.and(
142
142
  NOTEBOOK_EDITOR_FOCUSED,
@@ -164,7 +164,7 @@ registerAction2(class extends NotebookAction {
164
164
  constructor() {
165
165
  super({
166
166
  id: 'notebook.cell.chat.stop',
167
- title: ( localize2(10705, "Stop Request")),
167
+ title: ( localize2(10698, "Stop Request")),
168
168
  icon: Codicon.debugStop,
169
169
  menu: {
170
170
  id: MENU_CELL_CHAT_INPUT,
@@ -183,7 +183,7 @@ registerAction2(class extends NotebookAction {
183
183
  constructor() {
184
184
  super({
185
185
  id: 'notebook.cell.chat.close',
186
- title: ( localize2(10706, "Close Chat")),
186
+ title: ( localize2(10699, "Close Chat")),
187
187
  icon: Codicon.close,
188
188
  menu: {
189
189
  id: MENU_CELL_CHAT_WIDGET,
@@ -201,10 +201,10 @@ registerAction2(class extends NotebookAction {
201
201
  constructor() {
202
202
  super({
203
203
  id: 'notebook.cell.chat.acceptChanges',
204
- title: ( localize2(10707, "Accept Changes")),
205
- shortTitle: ( localize(10708, 'Accept')),
204
+ title: ( localize2(10700, "Accept Changes")),
205
+ shortTitle: ( localize(10701, 'Accept')),
206
206
  icon: Codicon.check,
207
- tooltip: ( localize(10709, 'Accept Changes')),
207
+ tooltip: ( localize(10702, 'Accept Changes')),
208
208
  keybinding: [
209
209
  {
210
210
  when: ( (ContextKeyExpr.and(
@@ -255,7 +255,7 @@ registerAction2(class extends NotebookAction {
255
255
  constructor() {
256
256
  super({
257
257
  id: 'notebook.cell.chat.discard',
258
- title: ( localize(10710, 'Discard')),
258
+ title: ( localize(10703, 'Discard')),
259
259
  icon: Codicon.discard,
260
260
  keybinding: {
261
261
  when: ( (ContextKeyExpr.and(
@@ -305,12 +305,12 @@ registerAction2(class extends NotebookAction {
305
305
  super({
306
306
  id: 'notebook.cell.chat.start',
307
307
  title: {
308
- value: '$(sparkle) ' + ( localize(10711, "Generate")),
308
+ value: '$(sparkle) ' + ( localize(10704, "Generate")),
309
309
  original: '$(sparkle) Generate',
310
310
  },
311
- tooltip: ( localize(10712, "Start Chat to Generate Code")),
311
+ tooltip: ( localize(10705, "Start Chat to Generate Code")),
312
312
  metadata: {
313
- description: ( localize(10712, "Start Chat to Generate Code")),
313
+ description: ( localize(10705, "Start Chat to Generate Code")),
314
314
  args: [
315
315
  {
316
316
  name: 'args',
@@ -408,10 +408,10 @@ registerAction2(class extends NotebookAction {
408
408
  super({
409
409
  id: 'notebook.cell.chat.startAtTop',
410
410
  title: {
411
- value: '$(sparkle) ' + ( localize(10711, "Generate")),
411
+ value: '$(sparkle) ' + ( localize(10704, "Generate")),
412
412
  original: '$(sparkle) Generate',
413
413
  },
414
- tooltip: ( localize(10712, "Start Chat to Generate Code")),
414
+ tooltip: ( localize(10705, "Start Chat to Generate Code")),
415
415
  f1: false,
416
416
  menu: [
417
417
  {
@@ -438,8 +438,8 @@ MenuRegistry.appendMenuItem(MenuId.NotebookToolbar, {
438
438
  command: {
439
439
  id: 'notebook.cell.chat.start',
440
440
  icon: Codicon.sparkle,
441
- title: ( localize(10713, "Generate")),
442
- tooltip: ( localize(10714, "Start Chat to Generate Code"))
441
+ title: ( localize(10706, "Generate")),
442
+ tooltip: ( localize(10707, "Start Chat to Generate Code"))
443
443
  },
444
444
  order: -10,
445
445
  group: 'navigation/add',
@@ -458,7 +458,7 @@ registerAction2(class extends NotebookAction {
458
458
  constructor() {
459
459
  super({
460
460
  id: 'notebook.cell.chat.focus',
461
- title: ( localize(10715, 'Focus Chat')),
461
+ title: ( localize(10708, 'Focus Chat')),
462
462
  keybinding: [
463
463
  {
464
464
  when: ( (ContextKeyExpr.and(
@@ -490,7 +490,7 @@ registerAction2(class extends NotebookAction {
490
490
  constructor() {
491
491
  super({
492
492
  id: 'notebook.cell.chat.focusNextCell',
493
- title: ( localize(10716, 'Focus Next Cell')),
493
+ title: ( localize(10709, 'Focus Next Cell')),
494
494
  keybinding: [
495
495
  {
496
496
  when: ( (ContextKeyExpr.and(CTX_NOTEBOOK_CELL_CHAT_FOCUSED, CTX_INLINE_CHAT_FOCUSED))),
@@ -509,7 +509,7 @@ registerAction2(class extends NotebookAction {
509
509
  constructor() {
510
510
  super({
511
511
  id: 'notebook.cell.chat.focusPreviousCell',
512
- title: ( localize(10717, 'Focus Previous Cell')),
512
+ title: ( localize(10710, 'Focus Previous Cell')),
513
513
  keybinding: [
514
514
  {
515
515
  when: ( (ContextKeyExpr.and(CTX_NOTEBOOK_CELL_CHAT_FOCUSED, CTX_INLINE_CHAT_FOCUSED))),
@@ -528,7 +528,7 @@ registerAction2(class extends NotebookAction {
528
528
  constructor() {
529
529
  super({
530
530
  id: 'notebook.cell.chat.previousFromHistory',
531
- title: ( localize2(10718, "Previous From History")),
531
+ title: ( localize2(10711, "Previous From History")),
532
532
  precondition: ( (ContextKeyExpr.and(CTX_NOTEBOOK_CELL_CHAT_FOCUSED, CTX_INLINE_CHAT_FOCUSED))),
533
533
  keybinding: {
534
534
  when: ( (ContextKeyExpr.and(CTX_NOTEBOOK_CELL_CHAT_FOCUSED, CTX_INLINE_CHAT_FOCUSED))),
@@ -546,7 +546,7 @@ registerAction2(class extends NotebookAction {
546
546
  constructor() {
547
547
  super({
548
548
  id: 'notebook.cell.chat.nextFromHistory',
549
- title: ( localize2(10719, "Next From History")),
549
+ title: ( localize2(10712, "Next From History")),
550
550
  precondition: ( (ContextKeyExpr.and(CTX_NOTEBOOK_CELL_CHAT_FOCUSED, CTX_INLINE_CHAT_FOCUSED))),
551
551
  keybinding: {
552
552
  when: ( (ContextKeyExpr.and(CTX_NOTEBOOK_CELL_CHAT_FOCUSED, CTX_INLINE_CHAT_FOCUSED))),
@@ -564,7 +564,7 @@ registerAction2(class extends NotebookCellAction {
564
564
  constructor() {
565
565
  super({
566
566
  id: 'notebook.cell.chat.restore',
567
- title: ( localize2(10720, "Generate")),
567
+ title: ( localize2(10713, "Generate")),
568
568
  icon: Codicon.sparkle,
569
569
  menu: {
570
570
  id: MenuId.NotebookCellTitle,
@@ -43,7 +43,7 @@ registerAction2(class EditCellAction extends NotebookCellAction {
43
43
  constructor() {
44
44
  super({
45
45
  id: EDIT_CELL_COMMAND_ID,
46
- title: ( localize(7926, "Edit Cell")),
46
+ title: ( localize(7898, "Edit Cell")),
47
47
  keybinding: {
48
48
  when: ( (ContextKeyExpr.and(
49
49
  NOTEBOOK_CELL_LIST_FOCUSED,
@@ -89,7 +89,7 @@ registerAction2(class QuitEditCellAction extends NotebookCellAction {
89
89
  constructor() {
90
90
  super({
91
91
  id: QUIT_EDIT_CELL_COMMAND_ID,
92
- title: ( localize(7927, "Stop Editing Cell")),
92
+ title: ( localize(7899, "Stop Editing Cell")),
93
93
  menu: {
94
94
  id: MenuId.NotebookCellTitle,
95
95
  when: ( (ContextKeyExpr.and(
@@ -139,7 +139,7 @@ registerAction2(class DeleteCellAction extends NotebookCellAction {
139
139
  constructor() {
140
140
  super({
141
141
  id: DELETE_CELL_COMMAND_ID,
142
- title: ( localize(7928, "Delete Cell")),
142
+ title: ( localize(7900, "Delete Cell")),
143
143
  keybinding: {
144
144
  primary: KeyCode.Delete,
145
145
  mac: {
@@ -176,13 +176,13 @@ registerAction2(class DeleteCellAction extends NotebookCellAction {
176
176
  const configService = accessor.get(IConfigurationService);
177
177
  if (runState === NotebookCellExecutionState.Executing && configService.getValue(NotebookSetting.confirmDeleteRunningCell)) {
178
178
  const dialogService = accessor.get(IDialogService);
179
- const primaryButton = ( localize(7929, "Delete"));
179
+ const primaryButton = ( localize(7901, "Delete"));
180
180
  confirmation = await dialogService.confirm({
181
181
  type: 'question',
182
- message: ( localize(7930, "This cell is running, are you sure you want to delete it?")),
182
+ message: ( localize(7902, "This cell is running, are you sure you want to delete it?")),
183
183
  primaryButton: primaryButton,
184
184
  checkbox: {
185
- label: ( localize(7931, "Do not ask me again"))
185
+ label: ( localize(7903, "Do not ask me again"))
186
186
  }
187
187
  });
188
188
  }
@@ -202,7 +202,7 @@ registerAction2(class ClearCellOutputsAction extends NotebookCellAction {
202
202
  constructor() {
203
203
  super({
204
204
  id: CLEAR_CELL_OUTPUTS_COMMAND_ID,
205
- title: ( localize(7932, 'Clear Cell Outputs')),
205
+ title: ( localize(7904, 'Clear Cell Outputs')),
206
206
  menu: [
207
207
  {
208
208
  id: MenuId.NotebookCellTitle,
@@ -273,7 +273,7 @@ registerAction2(class ClearAllCellOutputsAction extends NotebookAction {
273
273
  constructor() {
274
274
  super({
275
275
  id: CLEAR_ALL_CELLS_OUTPUTS_COMMAND_ID,
276
- title: ( localize(7933, 'Clear All Outputs')),
276
+ title: ( localize(7905, 'Clear All Outputs')),
277
277
  precondition: NOTEBOOK_HAS_OUTPUTS,
278
278
  menu: [
279
279
  {
@@ -334,9 +334,9 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction {
334
334
  constructor() {
335
335
  super({
336
336
  id: CHANGE_CELL_LANGUAGE,
337
- title: ( localize(7934, 'Change Cell Language')),
337
+ title: ( localize(7906, 'Change Cell Language')),
338
338
  metadata: {
339
- description: ( localize(7934, 'Change Cell Language')),
339
+ description: ( localize(7906, 'Change Cell Language')),
340
340
  args: [
341
341
  {
342
342
  name: 'range',
@@ -409,10 +409,10 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction {
409
409
  providerLanguages.forEach(languageId => {
410
410
  let description;
411
411
  if (context.cell.cellKind === CellKind.Markup ? (languageId === 'markdown') : (languageId === context.cell.language)) {
412
- description = ( localize(7935, "({0}) - Current Language", languageId));
412
+ description = ( localize(7907, "({0}) - Current Language", languageId));
413
413
  }
414
414
  else {
415
- description = ( localize(7936, "({0})", languageId));
415
+ description = ( localize(7908, "({0})", languageId));
416
416
  }
417
417
  const languageName = languageService.getLanguageName(languageId);
418
418
  if (!languageName) {
@@ -435,16 +435,16 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction {
435
435
  return a.description.localeCompare(b.description);
436
436
  });
437
437
  const autoDetectMode = {
438
- label: ( localize(7937, "Auto Detect"))
438
+ label: ( localize(7909, "Auto Detect"))
439
439
  };
440
440
  const picks = [
441
441
  autoDetectMode,
442
- { type: 'separator', label: ( localize(7938, "languages (identifier)")) },
442
+ { type: 'separator', label: ( localize(7910, "languages (identifier)")) },
443
443
  ...topItems,
444
444
  { type: 'separator' },
445
445
  ...mainItems
446
446
  ];
447
- const selection = await quickInputService.pick(picks, { placeHolder: ( localize(7939, "Select Language Mode")) });
447
+ const selection = await quickInputService.pick(picks, { placeHolder: ( localize(7911, "Select Language Mode")) });
448
448
  const languageId = selection === autoDetectMode
449
449
  ? await languageDetectionService.detectLanguage(context.cell.uri)
450
450
  : selection?.languageId;
@@ -477,7 +477,7 @@ registerAction2(class DetectCellLanguageAction extends NotebookCellAction {
477
477
  constructor() {
478
478
  super({
479
479
  id: DETECT_CELL_LANGUAGE,
480
- title: ( localize2(7940, "Accept Detected Language for Cell")),
480
+ title: ( localize2(7912, "Accept Detected Language for Cell")),
481
481
  f1: true,
482
482
  precondition: ( (ContextKeyExpr.and(NOTEBOOK_EDITOR_EDITABLE, NOTEBOOK_CELL_EDITABLE))),
483
483
  keybinding: { primary: KeyCode.KeyD | KeyMod.Alt | KeyMod.Shift, weight: KeybindingWeight.WorkbenchContrib }
@@ -495,7 +495,7 @@ registerAction2(class DetectCellLanguageAction extends NotebookCellAction {
495
495
  setCellToLanguage(detection, context);
496
496
  }
497
497
  else {
498
- notificationService.warn(( localize(7941, "Unable to detect cell language")));
498
+ notificationService.warn(( localize(7913, "Unable to detect cell language")));
499
499
  }
500
500
  }
501
501
  });
@@ -520,7 +520,7 @@ registerAction2(class SelectNotebookIndentation extends NotebookAction {
520
520
  constructor() {
521
521
  super({
522
522
  id: SELECT_NOTEBOOK_INDENTATION_ID,
523
- title: ( localize2(7942, 'Select Indentation')),
523
+ title: ( localize2(7914, 'Select Indentation')),
524
524
  f1: true,
525
525
  precondition: ( (ContextKeyExpr.and(
526
526
  NOTEBOOK_IS_ACTIVE_EDITOR,
@@ -538,10 +538,10 @@ registerAction2(class SelectNotebookIndentation extends NotebookAction {
538
538
  const instantiationService = accessor.get(IInstantiationService);
539
539
  const activeNotebook = getNotebookEditorFromEditorPane(editorService.activeEditorPane);
540
540
  if (!activeNotebook || activeNotebook.isDisposed) {
541
- return quickInputService.pick([{ label: ( localize(7943, "No notebook editor active at this time")) }]);
541
+ return quickInputService.pick([{ label: ( localize(7915, "No notebook editor active at this time")) }]);
542
542
  }
543
543
  if (activeNotebook.isReadOnly) {
544
- return quickInputService.pick([{ label: ( localize(7944, "The active notebook editor is read-only.")) }]);
544
+ return quickInputService.pick([{ label: ( localize(7916, "The active notebook editor is read-only.")) }]);
545
545
  }
546
546
  const picks = ( ([
547
547
  (
@@ -563,9 +563,9 @@ registerAction2(class SelectNotebookIndentation extends NotebookAction {
563
563
  }
564
564
  };
565
565
  })));
566
- picks.splice(3, 0, { type: 'separator', label: ( localize(7945, "convert file")) });
567
- picks.unshift({ type: 'separator', label: ( localize(7946, "change view")) });
568
- const action = await quickInputService.pick(picks, { placeHolder: ( localize(7947, "Select Action")), matchOnDetail: true });
566
+ picks.splice(3, 0, { type: 'separator', label: ( localize(7917, "convert file")) });
567
+ picks.unshift({ type: 'separator', label: ( localize(7918, "change view")) });
568
+ const action = await quickInputService.pick(picks, { placeHolder: ( localize(7919, "Select Action")), matchOnDetail: true });
569
569
  if (!action) {
570
570
  return;
571
571
  }
@@ -578,7 +578,7 @@ registerAction2(class CommentSelectedCellsAction extends NotebookMultiCellAction
578
578
  constructor() {
579
579
  super({
580
580
  id: COMMENT_SELECTED_CELLS_ID,
581
- title: ( localize(7948, "Comment Selected Cells")),
581
+ title: ( localize(7920, "Comment Selected Cells")),
582
582
  keybinding: {
583
583
  when: ( (ContextKeyExpr.and(
584
584
  NOTEBOOK_EDITOR_FOCUSED,