@codingame/monaco-vscode-notebook-service-override 9.0.0 → 9.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 (38) 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/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 +3 -3
  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 +1 -1
  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 +24 -24
  22. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +24 -24
  23. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +22 -22
  24. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +24 -24
  25. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +17 -17
  26. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +7 -7
  27. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +12 -12
  28. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +16 -16
  29. package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +59 -59
  30. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +10 -10
  31. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +33 -33
  32. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +1 -1
  33. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +1 -1
  34. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +3 -3
  35. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +1 -1
  36. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +1 -1
  37. package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +12 -12
  38. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +1 -1
@@ -28,7 +28,7 @@ import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/commo
28
28
 
29
29
  let NotebookVariablesView = class NotebookVariablesView extends ViewPane {
30
30
  static { this.ID = 'notebookVariablesView'; }
31
- static { this.TITLE = ( localize2(10814, "Notebook Variables")); }
31
+ static { this.TITLE = ( localize2(10783, "Notebook Variables")); }
32
32
  constructor(options, editorService, notebookKernelService, notebookExecutionStateService, keybindingService, contextMenuService, contextKeyService, configurationService, instantiationService, viewDescriptorService, openerService, quickInputService, commandService, themeService, telemetryService, hoverService, menuService) {
33
33
  super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService, hoverService);
34
34
  this.editorService = editorService;
@@ -718,33 +718,33 @@ const NotebookOutlineContext = {
718
718
  type: 'boolean',
719
719
  default: true,
720
720
  markdownDescription: ( localize(
721
- 8207,
721
+ 7998,
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(8208, "When enabled, notebook outline shows code cells."))
728
+ markdownDescription: ( localize(7999, "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
- 8209,
734
+ 8000,
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(8210, "When enabled, notebook breadcrumbs contain code cells."))
741
+ markdownDescription: ( localize(8001, "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
- 8211,
747
+ 8002,
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(8212, "Filter Entries")),
755
+ title: ( localize(8003, "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(8213, "Markdown Headers Only")),
768
+ title: ( localize(8004, "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(8214, "Code Cells")),
789
+ title: ( localize(8005, "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(8215, "Code Cell Symbols")),
811
+ title: ( localize(8006, "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(8216, "Set Profile"))
55
+ title: ( localize(8007, "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(8182, "Formatting")) });
52
+ progress.report({ message: ( localize(7973, "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(8183, "Format Notebook")), code: 'undoredo.formatNotebook', });
72
+ await this.bulkEditService.apply( allCellEdits.flat(), { label: ( localize(7974, "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(8184, "Notebook Trim Trailing Whitespace")), code: 'undoredo.notebookTrimTrailingWhitespace' });
144
+ await this.bulkEditService.apply(filteredEdits, { label: ( localize(7975, "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(8185, "Trim Final New Lines")), code: 'undoredo.trimFinalNewLines' });
222
+ await this.bulkEditService.apply(filteredEdits, { label: ( localize(7976, "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(8186, "Insert Final New Line")), code: 'undoredo.insertFinalNewLine' });
277
+ await this.bulkEditService.apply(filteredEdits, { label: ( localize(7977, "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(8187, "Running 'Notebook' code actions")) });
333
+ progress.report({ message: ( localize(7978, "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(8188, "Running 'Cell' code actions")) });
365
+ progress.report({ message: ( localize(7979, "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(8189, "Running 'Format' code actions")) });
405
+ progress.report({ message: ( localize(7980, "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
- 8190,
434
+ 7981,
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(8191, "Applying code action '{0}'.", action.action.title)) });
474
+ progress.report({ message: ( localize(7982, "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
- 8190,
499
+ 7981,
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(8191, "Applying code action '{0}'.", action.action.title)) });
526
+ progress.report({ message: ( localize(7982, "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(8255, "Toggle Layout Troubleshoot")),
97
+ title: ( localize2(8046, "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(8256, "Inspect Notebook Layout")),
116
+ title: ( localize2(8047, "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(8257, "Clear Notebook Editor Type Cache")),
137
+ title: ( localize2(8048, "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(10778, "Make Request")),
25
+ title: ( localize2(10747, "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(10779, 'Cursor Up')),
53
+ title: ( localize(10748, '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(10780, 'Cursor Down')),
88
+ title: ( localize(10749, '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(10781, 'Focus Chat Widget')),
111
+ title: ( localize(10750, '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(10782, 'Focus Next Cell Chat Widget')),
139
+ title: ( localize(10751, '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(10783, "Stop Request")),
167
+ title: ( localize2(10752, "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(10784, "Close Chat")),
186
+ title: ( localize2(10753, "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(10785, "Accept Changes")),
205
- shortTitle: ( localize(10786, 'Accept')),
204
+ title: ( localize2(10754, "Accept Changes")),
205
+ shortTitle: ( localize(10755, 'Accept')),
206
206
  icon: Codicon.check,
207
- tooltip: ( localize(10787, 'Accept Changes')),
207
+ tooltip: ( localize(10756, '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(10788, 'Discard')),
258
+ title: ( localize(10757, '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(10789, "Generate")),
308
+ value: '$(sparkle) ' + ( localize(10758, "Generate")),
309
309
  original: '$(sparkle) Generate',
310
310
  },
311
- tooltip: ( localize(10790, "Start Chat to Generate Code")),
311
+ tooltip: ( localize(10759, "Start Chat to Generate Code")),
312
312
  metadata: {
313
- description: ( localize(10790, "Start Chat to Generate Code")),
313
+ description: ( localize(10759, "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(10789, "Generate")),
411
+ value: '$(sparkle) ' + ( localize(10758, "Generate")),
412
412
  original: '$(sparkle) Generate',
413
413
  },
414
- tooltip: ( localize(10790, "Start Chat to Generate Code")),
414
+ tooltip: ( localize(10759, "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(10791, "Generate")),
442
- tooltip: ( localize(10792, "Start Chat to Generate Code"))
441
+ title: ( localize(10760, "Generate")),
442
+ tooltip: ( localize(10761, "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(10793, 'Focus Chat')),
461
+ title: ( localize(10762, '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(10794, 'Focus Next Cell')),
493
+ title: ( localize(10763, '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(10795, 'Focus Previous Cell')),
512
+ title: ( localize(10764, '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(10796, "Previous From History")),
531
+ title: ( localize2(10765, "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(10797, "Next From History")),
549
+ title: ( localize2(10766, "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(10798, "Generate")),
567
+ title: ( localize2(10767, "Generate")),
568
568
  icon: Codicon.sparkle,
569
569
  menu: {
570
570
  id: MenuId.NotebookCellTitle,
@@ -44,7 +44,7 @@ registerAction2(class EditCellAction extends NotebookCellAction {
44
44
  constructor() {
45
45
  super({
46
46
  id: EDIT_CELL_COMMAND_ID,
47
- title: ( localize(8142, "Edit Cell")),
47
+ title: ( localize(7933, "Edit Cell")),
48
48
  keybinding: {
49
49
  when: ( (ContextKeyExpr.and(
50
50
  NOTEBOOK_CELL_LIST_FOCUSED,
@@ -90,7 +90,7 @@ registerAction2(class QuitEditCellAction extends NotebookCellAction {
90
90
  constructor() {
91
91
  super({
92
92
  id: QUIT_EDIT_CELL_COMMAND_ID,
93
- title: ( localize(8143, "Stop Editing Cell")),
93
+ title: ( localize(7934, "Stop Editing Cell")),
94
94
  menu: {
95
95
  id: MenuId.NotebookCellTitle,
96
96
  when: ( (ContextKeyExpr.and(
@@ -140,7 +140,7 @@ registerAction2(class DeleteCellAction extends NotebookCellAction {
140
140
  constructor() {
141
141
  super({
142
142
  id: DELETE_CELL_COMMAND_ID,
143
- title: ( localize(8144, "Delete Cell")),
143
+ title: ( localize(7935, "Delete Cell")),
144
144
  keybinding: {
145
145
  primary: KeyCode.Delete,
146
146
  mac: {
@@ -177,13 +177,13 @@ registerAction2(class DeleteCellAction extends NotebookCellAction {
177
177
  const configService = accessor.get(IConfigurationService);
178
178
  if (runState === NotebookCellExecutionState.Executing && configService.getValue(NotebookSetting.confirmDeleteRunningCell)) {
179
179
  const dialogService = accessor.get(IDialogService);
180
- const primaryButton = ( localize(8145, "Delete"));
180
+ const primaryButton = ( localize(7936, "Delete"));
181
181
  confirmation = await dialogService.confirm({
182
182
  type: 'question',
183
- message: ( localize(8146, "This cell is running, are you sure you want to delete it?")),
183
+ message: ( localize(7937, "This cell is running, are you sure you want to delete it?")),
184
184
  primaryButton: primaryButton,
185
185
  checkbox: {
186
- label: ( localize(8147, "Do not ask me again"))
186
+ label: ( localize(7938, "Do not ask me again"))
187
187
  }
188
188
  });
189
189
  }
@@ -203,7 +203,7 @@ registerAction2(class ClearCellOutputsAction extends NotebookCellAction {
203
203
  constructor() {
204
204
  super({
205
205
  id: CLEAR_CELL_OUTPUTS_COMMAND_ID,
206
- title: ( localize(8148, 'Clear Cell Outputs')),
206
+ title: ( localize(7939, 'Clear Cell Outputs')),
207
207
  menu: [
208
208
  {
209
209
  id: MenuId.NotebookCellTitle,
@@ -274,7 +274,7 @@ registerAction2(class ClearAllCellOutputsAction extends NotebookAction {
274
274
  constructor() {
275
275
  super({
276
276
  id: CLEAR_ALL_CELLS_OUTPUTS_COMMAND_ID,
277
- title: ( localize(8149, 'Clear All Outputs')),
277
+ title: ( localize(7940, 'Clear All Outputs')),
278
278
  precondition: NOTEBOOK_HAS_OUTPUTS,
279
279
  menu: [
280
280
  {
@@ -335,9 +335,9 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction {
335
335
  constructor() {
336
336
  super({
337
337
  id: CHANGE_CELL_LANGUAGE,
338
- title: ( localize(8150, 'Change Cell Language')),
338
+ title: ( localize(7941, 'Change Cell Language')),
339
339
  metadata: {
340
- description: ( localize(8150, 'Change Cell Language')),
340
+ description: ( localize(7941, 'Change Cell Language')),
341
341
  args: [
342
342
  {
343
343
  name: 'range',
@@ -410,10 +410,10 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction {
410
410
  providerLanguages.forEach(languageId => {
411
411
  let description;
412
412
  if (context.cell.cellKind === CellKind.Markup ? (languageId === 'markdown') : (languageId === context.cell.language)) {
413
- description = ( localize(8151, "({0}) - Current Language", languageId));
413
+ description = ( localize(7942, "({0}) - Current Language", languageId));
414
414
  }
415
415
  else {
416
- description = ( localize(8152, "({0})", languageId));
416
+ description = ( localize(7943, "({0})", languageId));
417
417
  }
418
418
  const languageName = languageService.getLanguageName(languageId);
419
419
  if (!languageName) {
@@ -436,16 +436,16 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction {
436
436
  return a.description.localeCompare(b.description);
437
437
  });
438
438
  const autoDetectMode = {
439
- label: ( localize(8153, "Auto Detect"))
439
+ label: ( localize(7944, "Auto Detect"))
440
440
  };
441
441
  const picks = [
442
442
  autoDetectMode,
443
- { type: 'separator', label: ( localize(8154, "languages (identifier)")) },
443
+ { type: 'separator', label: ( localize(7945, "languages (identifier)")) },
444
444
  ...topItems,
445
445
  { type: 'separator' },
446
446
  ...mainItems
447
447
  ];
448
- const selection = await quickInputService.pick(picks, { placeHolder: ( localize(8155, "Select Language Mode")) });
448
+ const selection = await quickInputService.pick(picks, { placeHolder: ( localize(7946, "Select Language Mode")) });
449
449
  const languageId = selection === autoDetectMode
450
450
  ? await languageDetectionService.detectLanguage(context.cell.uri)
451
451
  : selection?.languageId;
@@ -478,7 +478,7 @@ registerAction2(class DetectCellLanguageAction extends NotebookCellAction {
478
478
  constructor() {
479
479
  super({
480
480
  id: DETECT_CELL_LANGUAGE,
481
- title: ( localize2(8156, "Accept Detected Language for Cell")),
481
+ title: ( localize2(7947, "Accept Detected Language for Cell")),
482
482
  f1: true,
483
483
  precondition: ( (ContextKeyExpr.and(NOTEBOOK_EDITOR_EDITABLE, NOTEBOOK_CELL_EDITABLE))),
484
484
  keybinding: { primary: KeyCode.KeyD | KeyMod.Alt | KeyMod.Shift, weight: KeybindingWeight.WorkbenchContrib }
@@ -496,7 +496,7 @@ registerAction2(class DetectCellLanguageAction extends NotebookCellAction {
496
496
  setCellToLanguage(detection, context);
497
497
  }
498
498
  else {
499
- notificationService.warn(( localize(8157, "Unable to detect cell language")));
499
+ notificationService.warn(( localize(7948, "Unable to detect cell language")));
500
500
  }
501
501
  }
502
502
  });
@@ -521,7 +521,7 @@ registerAction2(class SelectNotebookIndentation extends NotebookAction {
521
521
  constructor() {
522
522
  super({
523
523
  id: SELECT_NOTEBOOK_INDENTATION_ID,
524
- title: ( localize2(8158, 'Select Indentation')),
524
+ title: ( localize2(7949, 'Select Indentation')),
525
525
  f1: true,
526
526
  precondition: ( (ContextKeyExpr.and(
527
527
  NOTEBOOK_IS_ACTIVE_EDITOR,
@@ -539,10 +539,10 @@ registerAction2(class SelectNotebookIndentation extends NotebookAction {
539
539
  const instantiationService = accessor.get(IInstantiationService);
540
540
  const activeNotebook = getNotebookEditorFromEditorPane(editorService.activeEditorPane);
541
541
  if (!activeNotebook || activeNotebook.isDisposed) {
542
- return quickInputService.pick([{ label: ( localize(8159, "No notebook editor active at this time")) }]);
542
+ return quickInputService.pick([{ label: ( localize(7950, "No notebook editor active at this time")) }]);
543
543
  }
544
544
  if (activeNotebook.isReadOnly) {
545
- return quickInputService.pick([{ label: ( localize(8160, "The active notebook editor is read-only.")) }]);
545
+ return quickInputService.pick([{ label: ( localize(7951, "The active notebook editor is read-only.")) }]);
546
546
  }
547
547
  const picks = ( ([
548
548
  (
@@ -564,9 +564,9 @@ registerAction2(class SelectNotebookIndentation extends NotebookAction {
564
564
  }
565
565
  };
566
566
  })));
567
- picks.splice(3, 0, { type: 'separator', label: ( localize(8161, "convert file")) });
568
- picks.unshift({ type: 'separator', label: ( localize(8162, "change view")) });
569
- const action = await quickInputService.pick(picks, { placeHolder: ( localize(8163, "Select Action")), matchOnDetail: true });
567
+ picks.splice(3, 0, { type: 'separator', label: ( localize(7952, "convert file")) });
568
+ picks.unshift({ type: 'separator', label: ( localize(7953, "change view")) });
569
+ const action = await quickInputService.pick(picks, { placeHolder: ( localize(7954, "Select Action")), matchOnDetail: true });
570
570
  if (!action) {
571
571
  return;
572
572
  }
@@ -579,7 +579,7 @@ registerAction2(class CommentSelectedCellsAction extends NotebookMultiCellAction
579
579
  constructor() {
580
580
  super({
581
581
  id: COMMENT_SELECTED_CELLS_ID,
582
- title: ( localize(8164, "Comment Selected Cells")),
582
+ title: ( localize(7955, "Comment Selected Cells")),
583
583
  keybinding: {
584
584
  when: ( (ContextKeyExpr.and(
585
585
  NOTEBOOK_EDITOR_FOCUSED,