@codingame/monaco-vscode-notebook-service-override 8.0.4 → 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 (58) hide show
  1. package/package.json +3 -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 +26 -24
  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 +624 -0
  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/notebookVariablesDataSource.js +1 -1
  17. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +4 -5
  18. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +1 -1
  19. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +9 -9
  20. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +1 -1
  21. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +12 -12
  22. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +3 -3
  23. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +24 -24
  24. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +54 -55
  25. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +22 -22
  26. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +24 -24
  27. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +23 -21
  28. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +7 -7
  29. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +12 -12
  30. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +297 -21
  31. package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +124 -73
  32. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +27 -19
  33. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +33 -33
  34. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.js +62 -39
  35. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +7 -6
  36. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +1 -1
  37. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +3 -3
  38. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +7 -1
  39. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +18 -6
  40. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.js +15 -40
  41. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +0 -1
  42. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.js +28 -0
  43. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.js +55 -45
  44. package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookSimpleWorker.js +6 -6
  45. package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +12 -12
  46. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +1 -1
  47. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.js +0 -47
  48. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +0 -1303
  49. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +0 -267
  50. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.js +0 -569
  51. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.js +0 -115
  52. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.js +0 -39
  53. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiff.css.js +0 -6
  54. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +0 -903
  55. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +0 -13
  56. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +0 -397
  57. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.js +0 -186
  58. package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiffEditorInput.js +0 -107
@@ -33,7 +33,7 @@ registerAction2(class extends Action2 {
33
33
  super({
34
34
  id: 'notebook.cell.nullAction',
35
35
  title: ( localize(
36
- 8193,
36
+ 7985,
37
37
  "Keypresses that should be handled by the focused element in the cell output."
38
38
  )),
39
39
  keybinding: [{
@@ -56,7 +56,7 @@ registerAction2(class FocusNextCellAction extends NotebookCellAction {
56
56
  constructor() {
57
57
  super({
58
58
  id: NOTEBOOK_FOCUS_NEXT_EDITOR,
59
- title: ( localize(8194, 'Focus Next Cell Editor')),
59
+ title: ( localize(7986, 'Focus Next Cell Editor')),
60
60
  keybinding: [
61
61
  {
62
62
  when: ( (ContextKeyExpr.and(
@@ -131,7 +131,7 @@ registerAction2(class FocusPreviousCellAction extends NotebookCellAction {
131
131
  constructor() {
132
132
  super({
133
133
  id: NOTEBOOK_FOCUS_PREVIOUS_EDITOR,
134
- title: ( localize(8195, 'Focus Previous Cell Editor')),
134
+ title: ( localize(7987, 'Focus Previous Cell Editor')),
135
135
  keybinding: [
136
136
  {
137
137
  when: ( (ContextKeyExpr.and(
@@ -197,7 +197,7 @@ registerAction2(class extends NotebookAction {
197
197
  constructor() {
198
198
  super({
199
199
  id: NOTEBOOK_FOCUS_TOP,
200
- title: ( localize(8196, 'Focus First Cell')),
200
+ title: ( localize(7988, 'Focus First Cell')),
201
201
  keybinding: [
202
202
  {
203
203
  when: ( (ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ContextKeyExpr.not(InputFocusedContextKey)))),
@@ -229,7 +229,7 @@ registerAction2(class extends NotebookAction {
229
229
  constructor() {
230
230
  super({
231
231
  id: NOTEBOOK_FOCUS_BOTTOM,
232
- title: ( localize(8197, 'Focus Last Cell')),
232
+ title: ( localize(7989, 'Focus Last Cell')),
233
233
  keybinding: [
234
234
  {
235
235
  when: ( (ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ContextKeyExpr.not(InputFocusedContextKey)))),
@@ -266,7 +266,7 @@ registerAction2(class extends NotebookCellAction {
266
266
  constructor() {
267
267
  super({
268
268
  id: FOCUS_IN_OUTPUT_COMMAND_ID,
269
- title: ( localize(8198, 'Focus In Active Cell Output')),
269
+ title: ( localize(7990, 'Focus In Active Cell Output')),
270
270
  keybinding: {
271
271
  when: ( (ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, NOTEBOOK_CELL_HAS_OUTPUTS))),
272
272
  primary: KeyMod.CtrlCmd | KeyCode.DownArrow,
@@ -285,7 +285,7 @@ registerAction2(class extends NotebookCellAction {
285
285
  constructor() {
286
286
  super({
287
287
  id: FOCUS_OUT_OUTPUT_COMMAND_ID,
288
- title: ( localize(8199, 'Focus Out Active Cell Output')),
288
+ title: ( localize(7991, 'Focus Out Active Cell Output')),
289
289
  keybinding: {
290
290
  when: ( (ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, NOTEBOOK_OUTPUT_FOCUSED))),
291
291
  primary: KeyMod.CtrlCmd | KeyCode.UpArrow,
@@ -304,7 +304,7 @@ registerAction2(class CenterActiveCellAction extends NotebookCellAction {
304
304
  constructor() {
305
305
  super({
306
306
  id: CENTER_ACTIVE_CELL,
307
- title: ( localize(8200, "Center Active Cell")),
307
+ title: ( localize(7992, "Center Active Cell")),
308
308
  keybinding: {
309
309
  when: NOTEBOOK_EDITOR_FOCUSED,
310
310
  primary: KeyMod.CtrlCmd | KeyCode.KeyL,
@@ -323,7 +323,7 @@ registerAction2(class extends NotebookCellAction {
323
323
  constructor() {
324
324
  super({
325
325
  id: NOTEBOOK_CURSOR_PAGEUP_COMMAND_ID,
326
- title: ( localize(8201, "Cell Cursor Page Up")),
326
+ title: ( localize(7993, "Cell Cursor Page Up")),
327
327
  keybinding: [
328
328
  {
329
329
  when: ( (ContextKeyExpr.and(
@@ -345,7 +345,7 @@ registerAction2(class extends NotebookCellAction {
345
345
  constructor() {
346
346
  super({
347
347
  id: NOTEBOOK_CURSOR_PAGEUP_SELECT_COMMAND_ID,
348
- title: ( localize(8202, "Cell Cursor Page Up Select")),
348
+ title: ( localize(7994, "Cell Cursor Page Up Select")),
349
349
  keybinding: [
350
350
  {
351
351
  when: ( (ContextKeyExpr.and(
@@ -368,7 +368,7 @@ registerAction2(class extends NotebookCellAction {
368
368
  constructor() {
369
369
  super({
370
370
  id: NOTEBOOK_CURSOR_PAGEDOWN_COMMAND_ID,
371
- title: ( localize(8203, "Cell Cursor Page Down")),
371
+ title: ( localize(7995, "Cell Cursor Page Down")),
372
372
  keybinding: [
373
373
  {
374
374
  when: ( (ContextKeyExpr.and(
@@ -390,7 +390,7 @@ registerAction2(class extends NotebookCellAction {
390
390
  constructor() {
391
391
  super({
392
392
  id: NOTEBOOK_CURSOR_PAGEDOWN_SELECT_COMMAND_ID,
393
- title: ( localize(8204, "Cell Cursor Page Down Select")),
393
+ title: ( localize(7996, "Cell Cursor Page Down Select")),
394
394
  keybinding: [
395
395
  {
396
396
  when: ( (ContextKeyExpr.and(
@@ -424,7 +424,7 @@ function getPageSize(context) {
424
424
  type: 'boolean',
425
425
  default: true,
426
426
  markdownDescription: ( localize(
427
- 8205,
427
+ 7997,
428
428
  "When enabled cursor can navigate to the next/previous cell when the current cursor in the cell editor is at the first/last line."
429
429
  ))
430
430
  }
@@ -66,7 +66,7 @@ let NotebookVariables = class NotebookVariables extends Disposable {
66
66
  if (debugViewContainer) {
67
67
  const viewsRegistry = ( (Registry.as(Extensions.ViewsRegistry)));
68
68
  const viewDescriptor = {
69
- id: 'NOTEBOOK_VARIABLES', name: ( localize2(8270, "Notebook Variables")),
69
+ id: 'NOTEBOOK_VARIABLES', name: ( localize2(8069, "Notebook Variables")),
70
70
  containerIcon: variablesViewIcon, ctorDescriptor: ( (new SyncDescriptor(NotebookVariablesView))),
71
71
  order: 50, weight: 5, canToggleVisibility: true, canMoveView: true, collapsed: true, when: NOTEBOOK_VARIABLE_VIEW_ENABLED,
72
72
  };
@@ -74,7 +74,7 @@ class NotebookVariableDataSource {
74
74
  notebook: parent.notebook,
75
75
  id: parent.id + `${last + 1}`,
76
76
  extHostId: parent.extHostId,
77
- name: ( localize(11396, "Display limit reached")),
77
+ name: ( localize(11477, "Display limit reached")),
78
78
  value: '',
79
79
  indexedChildrenCount: 0,
80
80
  hasNamedChildren: false
@@ -37,10 +37,9 @@ let NotebookVariableRenderer = class NotebookVariableRenderer {
37
37
  const text = element.element.value.trim() !== '' ? `${element.element.name}:` : element.element.name;
38
38
  data.name.textContent = text;
39
39
  data.name.title = element.element.type ?? '';
40
- renderExpressionValue(element.element, data.value, {
40
+ renderExpressionValue(data.elementDisposables, element.element, data.value, {
41
41
  colorize: true,
42
- hover: data.elementDisposables,
43
- maxValueLength: MAX_VALUE_RENDER_LENGTH_IN_VIEWLET
42
+ maxValueLength: MAX_VALUE_RENDER_LENGTH_IN_VIEWLET,
44
43
  }, this._hoverService);
45
44
  }
46
45
  disposeElement(element, index, templateData, height) {
@@ -55,10 +54,10 @@ NotebookVariableRenderer = NotebookVariableRenderer_1 = ( (__decorate([
55
54
  ], NotebookVariableRenderer)));
56
55
  class NotebookVariableAccessibilityProvider {
57
56
  getWidgetAriaLabel() {
58
- return ( localize(11397, "Notebook Variables"));
57
+ return ( localize(11478, "Notebook Variables"));
59
58
  }
60
59
  getAriaLabel(element) {
61
- return ( localize(11398, "Variable {0}, value {1}", element.name, element.value));
60
+ return ( localize(11479, "Variable {0}, value {1}", element.name, element.value));
62
61
  }
63
62
  }
64
63
 
@@ -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(10766, "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
- 8206,
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(8207, "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
- 8208,
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(8209, "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
- 8210,
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(8211, "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(8212, "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(8213, "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(8214, "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(8215, "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(8181, "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(8182, "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(8183, "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(8184, "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(8185, "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(8186, "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(8187, "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(8188, "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
- 8189,
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(8190, "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
- 8189,
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(8190, "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(8254, "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(8255, "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(8256, "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(10734, "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(10735, '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(10736, '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(10737, '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(10738, '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(10739, "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(10740, "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(10741, "Accept Changes")),
205
- shortTitle: ( localize(10742, 'Accept')),
204
+ title: ( localize2(10754, "Accept Changes")),
205
+ shortTitle: ( localize(10755, 'Accept')),
206
206
  icon: Codicon.check,
207
- tooltip: ( localize(10743, '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(10744, '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(10745, "Generate")),
308
+ value: '$(sparkle) ' + ( localize(10758, "Generate")),
309
309
  original: '$(sparkle) Generate',
310
310
  },
311
- tooltip: ( localize(10746, "Start Chat to Generate Code")),
311
+ tooltip: ( localize(10759, "Start Chat to Generate Code")),
312
312
  metadata: {
313
- description: ( localize(10746, "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(10745, "Generate")),
411
+ value: '$(sparkle) ' + ( localize(10758, "Generate")),
412
412
  original: '$(sparkle) Generate',
413
413
  },
414
- tooltip: ( localize(10746, "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(10747, "Generate")),
442
- tooltip: ( localize(10748, "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(10749, '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(10750, '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(10751, '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(10752, "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(10753, "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(10754, "Generate")),
567
+ title: ( localize2(10767, "Generate")),
568
568
  icon: Codicon.sparkle,
569
569
  menu: {
570
570
  id: MenuId.NotebookCellTitle,