@codingame/monaco-vscode-notebook-service-override 32.0.0 → 32.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 (45) hide show
  1. package/package.json +3 -3
  2. package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +7 -7
  3. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +21 -21
  4. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticsActions.js +4 -4
  5. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.js +1 -1
  6. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +3 -3
  7. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +6 -6
  8. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +9 -9
  9. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +4 -4
  10. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +4 -4
  11. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +1 -1
  12. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +1 -1
  13. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.js +5 -5
  14. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +13 -13
  15. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.js +1 -1
  16. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +1 -1
  17. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +1 -1
  18. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +3 -3
  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/editActions.js +25 -25
  24. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +22 -22
  25. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +21 -21
  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/controller/variablesActions.js +1 -1
  29. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +21 -21
  30. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.js +3 -3
  31. package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +59 -59
  32. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +10 -10
  33. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +31 -31
  34. package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditor.js +3 -3
  35. package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditorInput.js +1 -1
  36. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +1 -1
  37. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +1 -1
  38. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +3 -3
  39. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +1 -1
  40. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +1 -1
  41. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +1 -1
  42. package/vscode/src/vs/workbench/contrib/replNotebook/browser/repl.contribution.js +3 -3
  43. package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorAccessibilityHelp.js +14 -14
  44. package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +12 -12
  45. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +1 -1
@@ -33,7 +33,7 @@ registerAction2(class extends Action2 {
33
33
  super({
34
34
  id: "notebook.cell.nullAction",
35
35
  title: ( localize(
36
- 11474,
36
+ 11499,
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(11475, "Focus Next Cell Editor")),
59
+ title: ( localize(11500, "Focus Next Cell Editor")),
60
60
  keybinding: [{
61
61
  when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ( CONTEXT_ACCESSIBILITY_MODE_ENABLED.negate()), ( ContextKeyExpr.equals("config.notebook.navigation.allowNavigateToSurroundingCells", true)), ( ContextKeyExpr.and(( ContextKeyExpr.has(InputFocusedContextKey)), EditorContextKeys.editorTextFocus, ( NOTEBOOK_EDITOR_CURSOR_BOUNDARY.notEqualsTo("top")), ( NOTEBOOK_EDITOR_CURSOR_BOUNDARY.notEqualsTo("none")), ( ContextKeyExpr.or(( NOTEBOOK_EDITOR_CURSOR_LINE_BOUNDARY.isEqualTo("end")), ( NOTEBOOK_EDITOR_CURSOR_LINE_BOUNDARY.isEqualTo("both")))))), ( EditorContextKeys.isEmbeddedDiffEditor.negate()))),
62
62
  primary: KeyCode.DownArrow,
@@ -110,7 +110,7 @@ registerAction2(class FocusPreviousCellAction extends NotebookCellAction {
110
110
  constructor() {
111
111
  super({
112
112
  id: NOTEBOOK_FOCUS_PREVIOUS_EDITOR,
113
- title: ( localize(11476, "Focus Previous Cell Editor")),
113
+ title: ( localize(11501, "Focus Previous Cell Editor")),
114
114
  keybinding: [{
115
115
  when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ( CONTEXT_ACCESSIBILITY_MODE_ENABLED.negate()), ( ContextKeyExpr.equals("config.notebook.navigation.allowNavigateToSurroundingCells", true)), ( ContextKeyExpr.and(( ContextKeyExpr.has(InputFocusedContextKey)), EditorContextKeys.editorTextFocus, ( NOTEBOOK_EDITOR_CURSOR_BOUNDARY.notEqualsTo("bottom")), ( NOTEBOOK_EDITOR_CURSOR_BOUNDARY.notEqualsTo("none")), ( ContextKeyExpr.or(( NOTEBOOK_EDITOR_CURSOR_LINE_BOUNDARY.isEqualTo("start")), ( NOTEBOOK_EDITOR_CURSOR_LINE_BOUNDARY.isEqualTo("both")))))), ( EditorContextKeys.isEmbeddedDiffEditor.negate()))),
116
116
  primary: KeyCode.UpArrow,
@@ -155,7 +155,7 @@ registerAction2(class extends NotebookAction {
155
155
  constructor() {
156
156
  super({
157
157
  id: NOTEBOOK_FOCUS_TOP,
158
- title: ( localize(11477, "Focus First Cell")),
158
+ title: ( localize(11502, "Focus First Cell")),
159
159
  keybinding: [{
160
160
  when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ContextKeyExpr.not(InputFocusedContextKey))),
161
161
  primary: KeyMod.CtrlCmd | KeyCode.Home,
@@ -182,7 +182,7 @@ registerAction2(class extends NotebookAction {
182
182
  constructor() {
183
183
  super({
184
184
  id: NOTEBOOK_FOCUS_BOTTOM,
185
- title: ( localize(11478, "Focus Last Cell")),
185
+ title: ( localize(11503, "Focus Last Cell")),
186
186
  keybinding: [{
187
187
  when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ContextKeyExpr.not(InputFocusedContextKey))),
188
188
  primary: KeyMod.CtrlCmd | KeyCode.End,
@@ -214,7 +214,7 @@ registerAction2(class extends NotebookCellAction {
214
214
  constructor() {
215
215
  super({
216
216
  id: FOCUS_IN_OUTPUT_COMMAND_ID,
217
- title: ( localize2(11479, "Focus In Active Cell Output")),
217
+ title: ( localize2(11504, "Focus In Active Cell Output")),
218
218
  f1: true,
219
219
  keybinding: [{
220
220
  when: ( ContextKeyExpr.and(( IS_COMPOSITE_NOTEBOOK.negate()), IsWindowsContext, NOTEBOOK_CELL_HAS_OUTPUTS)),
@@ -240,7 +240,7 @@ registerAction2(class extends NotebookCellAction {
240
240
  constructor() {
241
241
  super({
242
242
  id: FOCUS_OUT_OUTPUT_COMMAND_ID,
243
- title: ( localize(11480, "Focus Out Active Cell Output")),
243
+ title: ( localize(11505, "Focus Out Active Cell Output")),
244
244
  keybinding: {
245
245
  primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.UpArrow,
246
246
  mac: {
@@ -261,7 +261,7 @@ registerAction2(class CenterActiveCellAction extends NotebookCellAction {
261
261
  constructor() {
262
262
  super({
263
263
  id: CENTER_ACTIVE_CELL,
264
- title: ( localize(11481, "Center Active Cell")),
264
+ title: ( localize(11506, "Center Active Cell")),
265
265
  keybinding: {
266
266
  when: NOTEBOOK_EDITOR_FOCUSED,
267
267
  primary: KeyMod.CtrlCmd | KeyCode.KeyL,
@@ -280,7 +280,7 @@ registerAction2(class extends NotebookCellAction {
280
280
  constructor() {
281
281
  super({
282
282
  id: NOTEBOOK_CURSOR_PAGEUP_COMMAND_ID,
283
- title: ( localize(11482, "Cell Cursor Page Up")),
283
+ title: ( localize(11507, "Cell Cursor Page Up")),
284
284
  keybinding: [{
285
285
  when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ( ContextKeyExpr.has(InputFocusedContextKey)), EditorContextKeys.editorTextFocus)),
286
286
  primary: KeyCode.PageUp,
@@ -298,7 +298,7 @@ registerAction2(class extends NotebookCellAction {
298
298
  constructor() {
299
299
  super({
300
300
  id: NOTEBOOK_CURSOR_PAGEUP_SELECT_COMMAND_ID,
301
- title: ( localize(11483, "Cell Cursor Page Up Select")),
301
+ title: ( localize(11508, "Cell Cursor Page Up Select")),
302
302
  keybinding: [{
303
303
  when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ( ContextKeyExpr.has(InputFocusedContextKey)), EditorContextKeys.editorTextFocus, ( NOTEBOOK_OUTPUT_FOCUSED.negate()))),
304
304
  primary: KeyMod.Shift | KeyCode.PageUp,
@@ -316,7 +316,7 @@ registerAction2(class extends NotebookCellAction {
316
316
  constructor() {
317
317
  super({
318
318
  id: NOTEBOOK_CURSOR_PAGEDOWN_COMMAND_ID,
319
- title: ( localize(11484, "Cell Cursor Page Down")),
319
+ title: ( localize(11509, "Cell Cursor Page Down")),
320
320
  keybinding: [{
321
321
  when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ( ContextKeyExpr.has(InputFocusedContextKey)), EditorContextKeys.editorTextFocus)),
322
322
  primary: KeyCode.PageDown,
@@ -334,7 +334,7 @@ registerAction2(class extends NotebookCellAction {
334
334
  constructor() {
335
335
  super({
336
336
  id: NOTEBOOK_CURSOR_PAGEDOWN_SELECT_COMMAND_ID,
337
- title: ( localize(11485, "Cell Cursor Page Down Select")),
337
+ title: ( localize(11510, "Cell Cursor Page Down Select")),
338
338
  keybinding: [{
339
339
  when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ( ContextKeyExpr.has(InputFocusedContextKey)), EditorContextKeys.editorTextFocus, ( NOTEBOOK_OUTPUT_FOCUSED.negate()))),
340
340
  primary: KeyMod.Shift | KeyCode.PageDown,
@@ -363,7 +363,7 @@ function getPageSize(context) {
363
363
  type: "boolean",
364
364
  default: true,
365
365
  markdownDescription: ( localize(
366
- 11486,
366
+ 11511,
367
367
  "When enabled cursor can navigate to the next/previous cell when the current cursor in the cell editor is at the first/last line."
368
368
  ))
369
369
  }
@@ -511,7 +511,7 @@ registerAction2(class ClearNotebookInlineValues extends NotebookAction {
511
511
  constructor() {
512
512
  super({
513
513
  id: "notebook.clearAllInlineValues",
514
- title: ( localize(11487, "Clear All Inline Values"))
514
+ title: ( localize(11512, "Clear All Inline Values"))
515
515
  });
516
516
  }
517
517
  runWithContext(accessor, context) {
@@ -71,7 +71,7 @@ let NotebookVariables = class NotebookVariables extends Disposable {
71
71
  const viewsRegistry = ( Registry.as(Extensions.ViewsRegistry));
72
72
  const viewDescriptor = {
73
73
  id: "workbench.notebook.variables",
74
- name: ( localize2(11490, "Notebook Variables")),
74
+ name: ( localize2(11515, "Notebook Variables")),
75
75
  containerIcon: variablesViewIcon,
76
76
  ctorDescriptor: ( new SyncDescriptor(NotebookVariablesView)),
77
77
  order: 50,
@@ -79,7 +79,7 @@ class NotebookVariableDataSource {
79
79
  notebook: parent.notebook,
80
80
  id: parent.id + `${last + 1}`,
81
81
  extHostId: parent.extHostId,
82
- name: ( localize(11491, "Display limit reached")),
82
+ name: ( localize(11516, "Display limit reached")),
83
83
  value: "",
84
84
  indexedChildrenCount: 0,
85
85
  hasNamedChildren: false
@@ -12,8 +12,8 @@ import { observableValue } from '@codingame/monaco-vscode-api/vscode/vs/base/com
12
12
  var NotebookVariableRenderer_1;
13
13
  const $ = $$1;
14
14
  const MAX_VALUE_RENDER_LENGTH_IN_VIEWLET = 1024;
15
- const NOTEBOOK_TITLE = ( localize2(11492, "Notebook Variables"));
16
- const REPL_TITLE = ( localize2(11493, "REPL Variables"));
15
+ const NOTEBOOK_TITLE = ( localize2(11517, "Notebook Variables"));
16
+ const REPL_TITLE = ( localize2(11518, "REPL Variables"));
17
17
  class NotebookVariablesDelegate {
18
18
  getHeight(element) {
19
19
  return 22;
@@ -76,7 +76,7 @@ class NotebookVariableAccessibilityProvider {
76
76
  this._widgetAriaLabel.set(label, undefined);
77
77
  }
78
78
  getAriaLabel(element) {
79
- return localize(11494, "Variable {0}, value {1}", element.name, element.value);
79
+ return localize(11519, "Variable {0}, value {1}", element.name, element.value);
80
80
  }
81
81
  }
82
82
 
@@ -775,33 +775,33 @@ const NotebookOutlineContext = {
775
775
  type: "boolean",
776
776
  default: true,
777
777
  markdownDescription: ( localize(
778
- 11495,
778
+ 11520,
779
779
  "When enabled, notebook outline will show only markdown cells containing a header."
780
780
  ))
781
781
  },
782
782
  [NotebookSetting.outlineShowCodeCells]: {
783
783
  type: "boolean",
784
784
  default: false,
785
- markdownDescription: ( localize(11496, "When enabled, notebook outline shows code cells."))
785
+ markdownDescription: ( localize(11521, "When enabled, notebook outline shows code cells."))
786
786
  },
787
787
  [NotebookSetting.outlineShowCodeCellSymbols]: {
788
788
  type: "boolean",
789
789
  default: true,
790
790
  markdownDescription: ( localize(
791
- 11497,
791
+ 11522,
792
792
  "When enabled, notebook outline shows code cell symbols. Relies on `#notebook.outline.showCodeCells#` being enabled."
793
793
  ))
794
794
  },
795
795
  [NotebookSetting.breadcrumbsShowCodeCells]: {
796
796
  type: "boolean",
797
797
  default: true,
798
- markdownDescription: ( localize(11498, "When enabled, notebook breadcrumbs contain code cells."))
798
+ markdownDescription: ( localize(11523, "When enabled, notebook breadcrumbs contain code cells."))
799
799
  },
800
800
  [NotebookSetting.gotoSymbolsAllSymbols]: {
801
801
  type: "boolean",
802
802
  default: true,
803
803
  markdownDescription: ( localize(
804
- 11499,
804
+ 11524,
805
805
  "When enabled, the Go to Symbol Quick Pick will display full code symbols from the notebook, as well as Markdown headers."
806
806
  ))
807
807
  }
@@ -809,7 +809,7 @@ const NotebookOutlineContext = {
809
809
  });
810
810
  MenuRegistry.appendMenuItem(MenuId.ViewTitle, {
811
811
  submenu: MenuId.NotebookOutlineFilter,
812
- title: ( localize(11500, "Filter Entries")),
812
+ title: ( localize(11525, "Filter Entries")),
813
813
  icon: Codicon.filter,
814
814
  group: "navigation",
815
815
  order: -1,
@@ -819,7 +819,7 @@ registerAction2(class ToggleShowMarkdownHeadersOnly extends Action2 {
819
819
  constructor() {
820
820
  super({
821
821
  id: "notebook.outline.toggleShowMarkdownHeadersOnly",
822
- title: ( localize(11501, "Markdown Headers Only")),
822
+ title: ( localize(11526, "Markdown Headers Only")),
823
823
  f1: false,
824
824
  toggled: {
825
825
  condition: ( ContextKeyExpr.equals("config.notebook.outline.showMarkdownHeadersOnly", true))
@@ -840,7 +840,7 @@ registerAction2(class ToggleCodeCellEntries extends Action2 {
840
840
  constructor() {
841
841
  super({
842
842
  id: "notebook.outline.toggleCodeCells",
843
- title: ( localize(11502, "Code Cells")),
843
+ title: ( localize(11527, "Code Cells")),
844
844
  f1: false,
845
845
  toggled: {
846
846
  condition: ( ContextKeyExpr.equals("config.notebook.outline.showCodeCells", true))
@@ -862,7 +862,7 @@ registerAction2(class ToggleCodeCellSymbolEntries extends Action2 {
862
862
  constructor() {
863
863
  super({
864
864
  id: "notebook.outline.toggleCodeCellSymbols",
865
- title: ( localize(11503, "Code Cell Symbols")),
865
+ title: ( localize(11528, "Code Cell Symbols")),
866
866
  f1: false,
867
867
  toggled: {
868
868
  condition: ( ContextKeyExpr.equals("config.notebook.outline.showCodeCellSymbols", true))
@@ -59,7 +59,7 @@ registerAction2(class extends Action2 {
59
59
  constructor() {
60
60
  super({
61
61
  id: "notebook.setProfile",
62
- title: ( localize(11504, "Set Profile"))
62
+ title: ( localize(11529, "Set Profile"))
63
63
  });
64
64
  }
65
65
  async run(accessor, args) {
@@ -73,7 +73,7 @@ let FormatOnSaveParticipant = class FormatOnSaveParticipant {
73
73
  return undefined;
74
74
  }
75
75
  progress.report({
76
- message: ( localize(11505, "Formatting"))
76
+ message: ( localize(11530, "Formatting"))
77
77
  });
78
78
  const notebook = workingCopy.model.notebookModel;
79
79
  const formatApplied = await this.instantiationService.invokeFunction(
@@ -104,7 +104,7 @@ let FormatOnSaveParticipant = class FormatOnSaveParticipant {
104
104
  return [];
105
105
  })));
106
106
  await this.bulkEditService.apply( allCellEdits.flat(), {
107
- label: ( localize(11506, "Format Notebook")),
107
+ label: ( localize(11531, "Format Notebook")),
108
108
  code: "undoredo.formatNotebook"
109
109
  });
110
110
  }
@@ -178,7 +178,7 @@ let TrimWhitespaceParticipant = class TrimWhitespaceParticipant extends Notebook
178
178
  })));
179
179
  const filteredEdits = allCellEdits.flat().filter(edit => edit !== undefined);
180
180
  await this.bulkEditService.apply(filteredEdits, {
181
- label: ( localize(11507, "Notebook Trim Trailing Whitespace")),
181
+ label: ( localize(11532, "Notebook Trim Trailing Whitespace")),
182
182
  code: "undoredo.notebookTrimTrailingWhitespace"
183
183
  });
184
184
  } finally {
@@ -253,7 +253,7 @@ let TrimFinalNewLinesParticipant = class TrimFinalNewLinesParticipant extends No
253
253
  })));
254
254
  const filteredEdits = allCellEdits.flat().filter(edit => edit !== undefined);
255
255
  await this.bulkEditService.apply(filteredEdits, {
256
- label: ( localize(11508, "Trim Final New Lines")),
256
+ label: ( localize(11533, "Trim Final New Lines")),
257
257
  code: "undoredo.trimFinalNewLines"
258
258
  });
259
259
  } finally {
@@ -310,7 +310,7 @@ let InsertFinalNewLineParticipant = class InsertFinalNewLineParticipant extends
310
310
  })));
311
311
  const filteredEdits = allCellEdits.filter(edit => edit !== undefined);
312
312
  await this.bulkEditService.apply(filteredEdits, {
313
- label: ( localize(11509, "Insert Final New Line")),
313
+ label: ( localize(11534, "Insert Final New Line")),
314
314
  code: "undoredo.insertFinalNewLine"
315
315
  });
316
316
  if (activeCellEditor && selections) {
@@ -366,7 +366,7 @@ let CodeActionOnSaveParticipant = class CodeActionOnSaveParticipant {
366
366
  if (notebookCodeActionsOnSave.length) {
367
367
  const nbDisposable = ( new DisposableStore());
368
368
  progress.report({
369
- message: ( localize(11510, "Running 'Notebook' code actions"))
369
+ message: ( localize(11535, "Running 'Notebook' code actions"))
370
370
  });
371
371
  try {
372
372
  const cell = notebookModel.cells[0];
@@ -407,7 +407,7 @@ let CodeActionOnSaveParticipant = class CodeActionOnSaveParticipant {
407
407
  }
408
408
  const cellDisposable = ( new DisposableStore());
409
409
  progress.report({
410
- message: ( localize(11511, "Running 'Cell' code actions"))
410
+ message: ( localize(11536, "Running 'Cell' code actions"))
411
411
  });
412
412
  try {
413
413
  await Promise.all(( notebookModel.cells.map(async cell => {
@@ -450,7 +450,7 @@ class CodeActionParticipantUtils {
450
450
  const formatDisposable = ( new DisposableStore());
451
451
  let formatResult = false;
452
452
  progress.report({
453
- message: ( localize(11512, "Running 'Format' code actions"))
453
+ message: ( localize(11537, "Running 'Format' code actions"))
454
454
  });
455
455
  try {
456
456
  const cell = notebookModel.cells[0];
@@ -488,7 +488,7 @@ class CodeActionParticipantUtils {
488
488
  _report() {
489
489
  progress.report({
490
490
  message: ( localize(
491
- 11513,
491
+ 11538,
492
492
  "Getting code actions from '{0}' ([configure]({1})).",
493
493
  ( [...this._names].map(name => `'${name}'`)).join(", "),
494
494
  "command:workbench.action.openSettings?%5B%22notebook.codeActionsOnSave%22%5D"
@@ -535,7 +535,7 @@ class CodeActionParticipantUtils {
535
535
  continue;
536
536
  }
537
537
  progress.report({
538
- message: ( localize(11514, "Applying code action '{0}'.", action.action.title))
538
+ message: ( localize(11539, "Applying code action '{0}'.", action.action.title))
539
539
  });
540
540
  await instantiationService.invokeFunction(applyCodeAction, action, ApplyCodeActionReason.OnSave, {}, token);
541
541
  if (token.isCancellationRequested) {
@@ -566,7 +566,7 @@ class CodeActionParticipantUtils {
566
566
  _report() {
567
567
  progress.report({
568
568
  message: ( localize(
569
- 11513,
569
+ 11538,
570
570
  "Getting code actions from '{0}' ([configure]({1})).",
571
571
  ( [...this._names].map(name => `'${name}'`)).join(", "),
572
572
  "command:workbench.action.openSettings?%5B%22notebook.defaultFormatter%22%5D"
@@ -603,7 +603,7 @@ class CodeActionParticipantUtils {
603
603
  return false;
604
604
  }
605
605
  progress.report({
606
- message: ( localize(11514, "Applying code action '{0}'.", action.action.title))
606
+ message: ( localize(11539, "Applying code action '{0}'.", action.action.title))
607
607
  });
608
608
  await instantiationService.invokeFunction(applyCodeAction, action, ApplyCodeActionReason.OnSave, {}, token);
609
609
  if (token.isCancellationRequested) {
@@ -282,7 +282,7 @@ registerAction2(class extends Action2 {
282
282
  constructor() {
283
283
  super({
284
284
  id: "notebook.toggleLayoutTroubleshoot",
285
- title: ( localize2(11515, "Toggle Notebook Layout Troubleshoot")),
285
+ title: ( localize2(11540, "Toggle Notebook Layout Troubleshoot")),
286
286
  category: Categories.Developer,
287
287
  f1: true
288
288
  });
@@ -301,7 +301,7 @@ registerAction2(class extends Action2 {
301
301
  constructor() {
302
302
  super({
303
303
  id: "notebook.inspectLayout",
304
- title: ( localize2(11516, "Inspect Notebook Layout")),
304
+ title: ( localize2(11541, "Inspect Notebook Layout")),
305
305
  category: Categories.Developer,
306
306
  f1: true
307
307
  });
@@ -322,7 +322,7 @@ registerAction2(class extends Action2 {
322
322
  constructor() {
323
323
  super({
324
324
  id: "notebook.clearNotebookEdtitorTypeCache",
325
- title: ( localize2(11517, "Clear Notebook Editor Type Cache")),
325
+ title: ( localize2(11542, "Clear Notebook Editor Type Cache")),
326
326
  category: Categories.Developer,
327
327
  f1: true
328
328
  });
@@ -47,7 +47,7 @@ registerAction2(class EditCellAction extends NotebookCellAction {
47
47
  constructor() {
48
48
  super({
49
49
  id: EDIT_CELL_COMMAND_ID,
50
- title: ( localize(11544, "Edit Cell")),
50
+ title: ( localize(11569, "Edit Cell")),
51
51
  keybinding: {
52
52
  when: ( ContextKeyExpr.and(
53
53
  NOTEBOOK_CELL_LIST_FOCUSED,
@@ -83,7 +83,7 @@ registerAction2(class QuitEditCellAction extends NotebookCellAction {
83
83
  constructor() {
84
84
  super({
85
85
  id: QUIT_EDIT_CELL_COMMAND_ID,
86
- title: ( localize(11545, "Stop Editing Cell")),
86
+ title: ( localize(11570, "Stop Editing Cell")),
87
87
  menu: {
88
88
  id: MenuId.NotebookCellTitle,
89
89
  when: ( ContextKeyExpr.and(( NOTEBOOK_CELL_TYPE.isEqualTo("markup")), NOTEBOOK_CELL_MARKDOWN_EDIT_MODE, NOTEBOOK_CELL_EDITABLE)),
@@ -122,7 +122,7 @@ registerAction2(class QuitEditAllCellsAction extends NotebookAction {
122
122
  constructor() {
123
123
  super({
124
124
  id: QUIT_EDIT_ALL_CELLS_COMMAND_ID,
125
- title: ( localize(11546, "Stop Editing All Cells"))
125
+ title: ( localize(11571, "Stop Editing All Cells"))
126
126
  });
127
127
  }
128
128
  async runWithContext(accessor, context) {
@@ -151,7 +151,7 @@ registerAction2(class DeleteCellAction extends NotebookCellAction {
151
151
  constructor() {
152
152
  super({
153
153
  id: DELETE_CELL_COMMAND_ID,
154
- title: ( localize(11547, "Delete Cell")),
154
+ title: ( localize(11572, "Delete Cell")),
155
155
  keybinding: {
156
156
  primary: KeyCode.Delete,
157
157
  mac: {
@@ -185,13 +185,13 @@ registerAction2(class DeleteCellAction extends NotebookCellAction {
185
185
  const configService = accessor.get(IConfigurationService);
186
186
  if (runState === NotebookCellExecutionState.Executing && configService.getValue(NotebookSetting.confirmDeleteRunningCell)) {
187
187
  const dialogService = accessor.get(IDialogService);
188
- const primaryButton = ( localize(11548, "Delete"));
188
+ const primaryButton = ( localize(11573, "Delete"));
189
189
  confirmation = await dialogService.confirm({
190
190
  type: "question",
191
- message: ( localize(11549, "This cell is running, are you sure you want to delete it?")),
191
+ message: ( localize(11574, "This cell is running, are you sure you want to delete it?")),
192
192
  primaryButton: primaryButton,
193
193
  checkbox: {
194
- label: ( localize(11550, "Do not ask me again"))
194
+ label: ( localize(11575, "Do not ask me again"))
195
195
  }
196
196
  });
197
197
  } else {
@@ -212,7 +212,7 @@ registerAction2(class ClearCellOutputsAction extends NotebookCellAction {
212
212
  constructor() {
213
213
  super({
214
214
  id: CLEAR_CELL_OUTPUTS_COMMAND_ID,
215
- title: ( localize(11551, "Clear Cell Outputs")),
215
+ title: ( localize(11576, "Clear Cell Outputs")),
216
216
  menu: [{
217
217
  id: MenuId.NotebookCellTitle,
218
218
  when: ( ContextKeyExpr.and(( NOTEBOOK_CELL_TYPE.isEqualTo("code")), executeNotebookCondition, NOTEBOOK_CELL_HAS_OUTPUTS, NOTEBOOK_EDITOR_EDITABLE, NOTEBOOK_CELL_EDITABLE, ( NOTEBOOK_USE_CONSOLIDATED_OUTPUT_BUTTON.toNegated()))),
@@ -279,7 +279,7 @@ registerAction2(class ClearAllCellOutputsAction extends NotebookAction {
279
279
  constructor() {
280
280
  super({
281
281
  id: CLEAR_ALL_CELLS_OUTPUTS_COMMAND_ID,
282
- title: ( localize(11552, "Clear All Outputs")),
282
+ title: ( localize(11577, "Clear All Outputs")),
283
283
  precondition: NOTEBOOK_HAS_OUTPUTS,
284
284
  menu: [{
285
285
  id: MenuId.EditorTitle,
@@ -343,14 +343,14 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction {
343
343
  constructor() {
344
344
  super({
345
345
  id: CHANGE_CELL_LANGUAGE,
346
- title: ( localize(11553, "Change Cell Language")),
346
+ title: ( localize(11578, "Change Cell Language")),
347
347
  keybinding: {
348
348
  weight: KeybindingWeight.WorkbenchContrib,
349
349
  primary: KeyChord(KeyMod.CtrlCmd | KeyCode.KeyK, KeyCode.KeyM),
350
350
  when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, NOTEBOOK_EDITOR_EDITABLE, NOTEBOOK_CELL_EDITABLE))
351
351
  },
352
352
  metadata: {
353
- description: ( localize(11553, "Change Cell Language")),
353
+ description: ( localize(11578, "Change Cell Language")),
354
354
  args: [{
355
355
  name: "range",
356
356
  description: "The cell range",
@@ -416,9 +416,9 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction {
416
416
  providerLanguages.forEach(languageId => {
417
417
  let description;
418
418
  if (context.cell.cellKind === CellKind.Markup ? (languageId === "markdown") : (languageId === context.cell.language)) {
419
- description = ( localize(11554, "({0}) - Current Language", languageId));
419
+ description = ( localize(11579, "({0}) - Current Language", languageId));
420
420
  } else {
421
- description = ( localize(11555, "({0})", languageId));
421
+ description = ( localize(11580, "({0})", languageId));
422
422
  }
423
423
  const languageName = languageService.getLanguageName(languageId);
424
424
  if (!languageName) {
@@ -444,16 +444,16 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction {
444
444
  return a.description.localeCompare(b.description);
445
445
  });
446
446
  const autoDetectMode = {
447
- label: ( localize(11556, "Auto Detect"))
447
+ label: ( localize(11581, "Auto Detect"))
448
448
  };
449
449
  const picks = [autoDetectMode, {
450
450
  type: "separator",
451
- label: ( localize(11557, "languages (identifier)"))
451
+ label: ( localize(11582, "languages (identifier)"))
452
452
  }, ...topItems, {
453
453
  type: "separator"
454
454
  }, ...mainItems];
455
455
  const selection = await quickInputService.pick(picks, {
456
- placeHolder: ( localize(11558, "Select Language Mode"))
456
+ placeHolder: ( localize(11583, "Select Language Mode"))
457
457
  });
458
458
  const languageId = selection === autoDetectMode ? await languageDetectionService.detectLanguage(context.cell.uri) : selection?.languageId;
459
459
  if (languageId) {
@@ -484,7 +484,7 @@ registerAction2(class DetectCellLanguageAction extends NotebookCellAction {
484
484
  constructor() {
485
485
  super({
486
486
  id: DETECT_CELL_LANGUAGE,
487
- title: ( localize2(11559, "Accept Detected Language for Cell")),
487
+ title: ( localize2(11584, "Accept Detected Language for Cell")),
488
488
  f1: true,
489
489
  precondition: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_EDITABLE, NOTEBOOK_CELL_EDITABLE)),
490
490
  keybinding: {
@@ -504,7 +504,7 @@ registerAction2(class DetectCellLanguageAction extends NotebookCellAction {
504
504
  if (detection) {
505
505
  setCellToLanguage(detection, context);
506
506
  } else {
507
- notificationService.warn(( localize(11560, "Unable to detect cell language")));
507
+ notificationService.warn(( localize(11585, "Unable to detect cell language")));
508
508
  }
509
509
  }
510
510
  });
@@ -539,7 +539,7 @@ registerAction2(class SelectNotebookIndentation extends NotebookAction {
539
539
  constructor() {
540
540
  super({
541
541
  id: SELECT_NOTEBOOK_INDENTATION_ID,
542
- title: ( localize2(11561, "Select Indentation")),
542
+ title: ( localize2(11586, "Select Indentation")),
543
543
  f1: true,
544
544
  precondition: ( ContextKeyExpr.and(
545
545
  NOTEBOOK_IS_ACTIVE_EDITOR,
@@ -558,12 +558,12 @@ registerAction2(class SelectNotebookIndentation extends NotebookAction {
558
558
  const activeNotebook = getNotebookEditorFromEditorPane(editorService.activeEditorPane);
559
559
  if (!activeNotebook || activeNotebook.isDisposed) {
560
560
  return quickInputService.pick([{
561
- label: ( localize(11562, "No notebook editor active at this time"))
561
+ label: ( localize(11587, "No notebook editor active at this time"))
562
562
  }]);
563
563
  }
564
564
  if (activeNotebook.isReadOnly) {
565
565
  return quickInputService.pick([{
566
- label: ( localize(11563, "The active notebook editor is read-only."))
566
+ label: ( localize(11588, "The active notebook editor is read-only."))
567
567
  }]);
568
568
  }
569
569
  const picks = ( [(
@@ -582,14 +582,14 @@ registerAction2(class SelectNotebookIndentation extends NotebookAction {
582
582
  }));
583
583
  picks.splice(3, 0, {
584
584
  type: "separator",
585
- label: ( localize(11564, "convert file"))
585
+ label: ( localize(11589, "convert file"))
586
586
  });
587
587
  picks.unshift({
588
588
  type: "separator",
589
- label: ( localize(11565, "change view"))
589
+ label: ( localize(11590, "change view"))
590
590
  });
591
591
  const action = await quickInputService.pick(picks, {
592
- placeHolder: ( localize(11566, "Select Action")),
592
+ placeHolder: ( localize(11591, "Select Action")),
593
593
  matchOnDetail: true
594
594
  });
595
595
  if (!action) {
@@ -604,7 +604,7 @@ registerAction2(class CommentSelectedCellsAction extends NotebookMultiCellAction
604
604
  constructor() {
605
605
  super({
606
606
  id: COMMENT_SELECTED_CELLS_ID,
607
- title: ( localize(11567, "Comment Selected Cells")),
607
+ title: ( localize(11592, "Comment Selected Cells")),
608
608
  keybinding: {
609
609
  when: ( ContextKeyExpr.and(
610
610
  NOTEBOOK_EDITOR_FOCUSED,