@codingame/monaco-vscode-notebook-service-override 9.0.2 → 10.0.0

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 (60) hide show
  1. package/package.json +2 -2
  2. package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +16 -19
  3. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +62 -63
  4. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticsActions.js +4 -6
  5. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.js +5 -5
  6. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +8 -9
  7. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +35 -37
  8. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookBreakpoints.js +1 -2
  9. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookCellPausing.js +1 -2
  10. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorHint/emptyCellEditorHint.js +2 -2
  11. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +16 -17
  12. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +17 -20
  13. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +15 -18
  14. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +4 -6
  15. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/kernelDetection/notebookKernelDetection.js +1 -2
  16. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +1 -1
  17. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/marker/markerProvider.js +2 -2
  18. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.js +319 -67
  19. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +64 -61
  20. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +2 -2
  21. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +1 -1
  22. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +10 -9
  23. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +48 -24
  24. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +35 -37
  25. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +1 -1
  26. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +45 -31
  27. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +4 -5
  28. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/undoRedo/notebookUndoRedo.js +2 -2
  29. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/viewportWarmup/viewportWarmup.js +2 -2
  30. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +124 -71
  31. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +179 -7
  32. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +52 -55
  33. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +30 -32
  34. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +28 -30
  35. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +17 -18
  36. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +7 -7
  37. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +20 -22
  38. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +126 -46
  39. package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +171 -83
  40. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +19 -19
  41. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibleView.js +5 -6
  42. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +33 -33
  43. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.js +4 -5
  44. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +1 -1
  45. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.js +6 -6
  46. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +7 -8
  47. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelServiceImpl.js +3 -5
  48. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +6 -9
  49. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +1 -1
  50. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +13 -21
  51. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.js +90 -39
  52. package/vscode/src/vs/workbench/contrib/notebook/common/model/cellEdit.js +3 -5
  53. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.js +40 -31
  54. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.js +7 -7
  55. package/vscode/src/vs/workbench/contrib/notebook/common/notebookOutputRenderer.js +10 -11
  56. package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookSimpleWorker.js +29 -55
  57. package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +15 -17
  58. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +12 -14
  59. package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.js +2 -4
  60. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +0 -33
@@ -5,27 +5,78 @@ import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/c
5
5
  import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
6
6
  import { ActiveEditorContext } from 'vscode/vscode/vs/workbench/common/contextkeys';
7
7
  import { SideBySideDiffElementViewModel } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel';
8
- import { NOTEBOOK_DIFF_HAS_UNCHANGED_CELLS, NOTEBOOK_DIFF_UNCHANGED_CELLS_HIDDEN, NOTEBOOK_DIFF_ITEM_KIND, NOTEBOOK_DIFF_ITEM_DIFF_STATE, NOTEBOOK_DIFF_CELL_PROPERTY, NOTEBOOK_DIFF_CELL_PROPERTY_EXPANDED, NOTEBOOK_DIFF_CELL_INPUT, NOTEBOOK_DIFF_CELL_IGNORE_WHITESPACE_KEY } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser';
8
+ import { NOTEBOOK_DIFF_HAS_UNCHANGED_CELLS, NOTEBOOK_DIFF_UNCHANGED_CELLS_HIDDEN, NOTEBOOK_DIFF_ITEM_KIND, NOTEBOOK_DIFF_ITEM_DIFF_STATE, NOTEBOOK_DIFF_METADATA, NOTEBOOK_DIFF_CELL_PROPERTY, NOTEBOOK_DIFF_CELL_PROPERTY_EXPANDED, NOTEBOOK_DIFF_CELL_INPUT, NOTEBOOK_DIFF_CELL_IGNORE_WHITESPACE_KEY } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser';
9
9
  import { NotebookTextDiffEditor } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor';
10
10
  import { openAsTextIcon, revertIcon, renderOutputIcon, toggleWhitespace, previousChangeIcon, nextChangeIcon } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
11
11
  import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
12
12
  import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
13
13
  import { Extensions } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
14
14
  import { DEFAULT_EDITOR_ASSOCIATION } from 'vscode/vscode/vs/workbench/common/editor';
15
- import { KeybindingWeight } from 'vscode/vscode/vs/platform/keybinding/common/keybindingsRegistry';
16
- import { KeyMod, KeyCode } from 'vscode/vscode/vs/base/common/keyCodes';
17
- import { CellEditType, NOTEBOOK_DIFF_EDITOR_ID } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
15
+ import { NOTEBOOK_DIFF_EDITOR_ID } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
18
16
  import { ITextResourceConfigurationService } from 'vscode/vscode/vs/editor/common/services/textResourceConfiguration';
19
17
  import { NotebookMultiTextDiffEditor } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor';
20
18
  import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
21
- import { TextEditorSelectionRevealType } from 'vscode/vscode/vs/platform/editor/common/editor';
22
19
 
20
+ registerAction2(class extends Action2 {
21
+ constructor() {
22
+ super({
23
+ id: 'notebook.diff.openFile',
24
+ icon: Codicon.goToFile,
25
+ title: ( localize2(8113, 'Open File')),
26
+ precondition: ( (ContextKeyExpr.or(
27
+ (ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)),
28
+ (ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID))
29
+ ))),
30
+ menu: [{
31
+ id: MenuId.EditorTitle,
32
+ group: 'navigation',
33
+ when: ( (ContextKeyExpr.or(
34
+ (ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)),
35
+ (ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID))
36
+ ))),
37
+ }]
38
+ });
39
+ }
40
+ async run(accessor) {
41
+ const editorService = accessor.get(IEditorService);
42
+ const activeEditor = editorService.activeEditorPane;
43
+ if (!activeEditor) {
44
+ return;
45
+ }
46
+ if (activeEditor instanceof NotebookTextDiffEditor || activeEditor instanceof NotebookMultiTextDiffEditor) {
47
+ const diffEditorInput = activeEditor.input;
48
+ const resource = diffEditorInput.modified.resource;
49
+ await editorService.openEditor({ resource });
50
+ }
51
+ }
52
+ });
53
+ registerAction2(class extends Action2 {
54
+ constructor() {
55
+ super({
56
+ id: 'notebook.diff.cell.toggleCollapseUnchangedRegions',
57
+ title: ( localize2(8114, 'Toggle Collapse Unchanged Regions')),
58
+ icon: Codicon.map,
59
+ toggled: ( (ContextKeyExpr.has('config.diffEditor.hideUnchangedRegions.enabled'))),
60
+ precondition: ( (ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID))),
61
+ menu: {
62
+ id: MenuId.EditorTitle,
63
+ group: 'navigation',
64
+ when: ( (ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID))),
65
+ },
66
+ });
67
+ }
68
+ run(accessor, ...args) {
69
+ const configurationService = accessor.get(IConfigurationService);
70
+ const newValue = !configurationService.getValue('diffEditor.hideUnchangedRegions.enabled');
71
+ configurationService.updateValue('diffEditor.hideUnchangedRegions.enabled', newValue);
72
+ }
73
+ });
23
74
  registerAction2(class extends Action2 {
24
75
  constructor() {
25
76
  super({
26
77
  id: 'notebook.diff.switchToText',
27
78
  icon: openAsTextIcon,
28
- title: ( localize2(8052, 'Open Text Diff Editor')),
79
+ title: ( localize2(8115, 'Open Text Diff Editor')),
29
80
  precondition: ( (ContextKeyExpr.or(
30
81
  (ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)),
31
82
  (ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID))
@@ -64,7 +115,7 @@ registerAction2(class extends Action2 {
64
115
  constructor() {
65
116
  super({
66
117
  id: 'notebook.diffEditor.showUnchangedCells',
67
- title: ( localize2(8053, 'Show Unchanged Cells')),
118
+ title: ( localize2(8116, 'Show Unchanged Cells')),
68
119
  icon: Codicon.unfold,
69
120
  precondition: ( (ContextKeyExpr.and(
70
121
  (ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)),
@@ -96,7 +147,7 @@ registerAction2(class extends Action2 {
96
147
  constructor() {
97
148
  super({
98
149
  id: 'notebook.diffEditor.hideUnchangedCells',
99
- title: ( localize2(8054, 'Hide Unchanged Cells')),
150
+ title: ( localize2(8117, 'Hide Unchanged Cells')),
100
151
  icon: Codicon.fold,
101
152
  precondition: ( (ContextKeyExpr.and(
102
153
  (ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)),
@@ -128,7 +179,7 @@ registerAction2(class GoToFileAction extends Action2 {
128
179
  constructor() {
129
180
  super({
130
181
  id: 'notebook.diffEditor.2.goToCell',
131
- title: ( localize2(8055, 'Go To Cell')),
182
+ title: ( localize2(8118, 'Go To Cell')),
132
183
  icon: Codicon.goToFile,
133
184
  menu: {
134
185
  when: ( (ContextKeyExpr.and(
@@ -152,12 +203,41 @@ registerAction2(class GoToFileAction extends Action2 {
152
203
  await editorService.openEditor({
153
204
  resource: uri,
154
205
  options: {
155
- selectionRevealType: TextEditorSelectionRevealType.CenterIfOutsideViewport,
206
+ selectionRevealType: 1 ,
156
207
  },
157
208
  });
158
209
  }
159
210
  });
160
- const revertInput = ( localize(8056, "Revert Input"));
211
+ registerAction2(class extends Action2 {
212
+ constructor() {
213
+ super({
214
+ id: 'notebook.diff.revertMetadata',
215
+ title: ( localize(8119, "Revert Notebook Metadata")),
216
+ icon: revertIcon,
217
+ f1: false,
218
+ menu: {
219
+ id: MenuId.NotebookDiffDocumentMetadata,
220
+ when: NOTEBOOK_DIFF_METADATA,
221
+ },
222
+ precondition: NOTEBOOK_DIFF_METADATA
223
+ });
224
+ }
225
+ run(accessor, context) {
226
+ if (!context) {
227
+ return;
228
+ }
229
+ const editorService = accessor.get(IEditorService);
230
+ const activeEditorPane = editorService.activeEditorPane;
231
+ if (!(activeEditorPane instanceof NotebookTextDiffEditor)) {
232
+ return;
233
+ }
234
+ context.modifiedDocumentTextModel.applyEdits([{
235
+ editType: 5 ,
236
+ metadata: context.originalMetadata.metadata,
237
+ }], true, undefined, () => undefined, undefined, true);
238
+ }
239
+ });
240
+ const revertInput = ( localize(8120, "Revert Input"));
161
241
  registerAction2(class extends Action2 {
162
242
  constructor() {
163
243
  super({
@@ -200,7 +280,7 @@ registerAction2(class extends Action2 {
200
280
  }
201
281
  }
202
282
  });
203
- const revertOutputs = ( localize(8057, "Revert Outputs"));
283
+ const revertOutputs = ( localize(8121, "Revert Outputs"));
204
284
  registerAction2(class extends Action2 {
205
285
  constructor() {
206
286
  super({
@@ -235,12 +315,12 @@ registerAction2(class extends Action2 {
235
315
  return;
236
316
  }
237
317
  item.mainDocumentTextModel.applyEdits([{
238
- editType: CellEditType.Output, index: modifiedCellIndex, outputs: original.outputs
318
+ editType: 2 , index: modifiedCellIndex, outputs: original.outputs
239
319
  }], true, undefined, () => undefined, undefined, true);
240
320
  }
241
321
  }
242
322
  });
243
- const revertMetadata = ( localize(8058, "Revert Metadata"));
323
+ const revertMetadata = ( localize(8122, "Revert Metadata"));
244
324
  registerAction2(class extends Action2 {
245
325
  constructor() {
246
326
  super({
@@ -275,7 +355,7 @@ registerAction2(class extends Action2 {
275
355
  return;
276
356
  }
277
357
  item.mainDocumentTextModel.applyEdits([{
278
- editType: CellEditType.Metadata, index: modifiedCellIndex, metadata: original.metadata
358
+ editType: 3 , index: modifiedCellIndex, metadata: original.metadata
279
359
  }], true, undefined, () => undefined, undefined, true);
280
360
  }
281
361
  }
@@ -298,27 +378,27 @@ registerAction2(class extends Action2 {
298
378
  if (!context) {
299
379
  return;
300
380
  }
301
- if (!(context.cell instanceof SideBySideDiffElementViewModel)) {
381
+ if (!(context instanceof SideBySideDiffElementViewModel)) {
302
382
  return;
303
383
  }
304
- const original = context.cell.original;
305
- const modified = context.cell.modified;
306
- const modifiedCellIndex = context.cell.mainDocumentTextModel.cells.indexOf(modified.textModel);
384
+ const original = context.original;
385
+ const modified = context.modified;
386
+ const modifiedCellIndex = context.mainDocumentTextModel.cells.indexOf(modified.textModel);
307
387
  if (modifiedCellIndex === -1) {
308
388
  return;
309
389
  }
310
- const rawEdits = [{ editType: CellEditType.Metadata, index: modifiedCellIndex, metadata: original.metadata }];
311
- if (context.cell.original.language && context.cell.modified.language !== context.cell.original.language) {
312
- rawEdits.push({ editType: CellEditType.CellLanguage, index: modifiedCellIndex, language: context.cell.original.language });
390
+ const rawEdits = [{ editType: 3 , index: modifiedCellIndex, metadata: original.metadata }];
391
+ if (context.original.language && context.modified.language !== context.original.language) {
392
+ rawEdits.push({ editType: 4 , index: modifiedCellIndex, language: context.original.language });
313
393
  }
314
- context.cell.modifiedDocument.applyEdits(rawEdits, true, undefined, () => undefined, undefined, true);
394
+ context.modifiedDocument.applyEdits(rawEdits, true, undefined, () => undefined, undefined, true);
315
395
  }
316
396
  });
317
397
  registerAction2(class extends Action2 {
318
398
  constructor() {
319
399
  super({
320
400
  id: 'notebook.diff.cell.switchOutputRenderingStyleToText',
321
- title: ( localize(8059, "Switch Output Rendering")),
401
+ title: ( localize(8123, "Switch Output Rendering")),
322
402
  icon: renderOutputIcon,
323
403
  f1: false,
324
404
  menu: {
@@ -331,14 +411,14 @@ registerAction2(class extends Action2 {
331
411
  if (!context) {
332
412
  return;
333
413
  }
334
- context.cell.renderOutput = !context.cell.renderOutput;
414
+ context.renderOutput = !context.renderOutput;
335
415
  }
336
416
  });
337
417
  registerAction2(class extends Action2 {
338
418
  constructor() {
339
419
  super({
340
420
  id: 'notebook.diff.cell.revertOutputs',
341
- title: ( localize(8057, "Revert Outputs")),
421
+ title: ( localize(8121, "Revert Outputs")),
342
422
  icon: revertIcon,
343
423
  f1: false,
344
424
  menu: {
@@ -352,17 +432,17 @@ registerAction2(class extends Action2 {
352
432
  if (!context) {
353
433
  return;
354
434
  }
355
- if (!(context.cell instanceof SideBySideDiffElementViewModel)) {
435
+ if (!(context instanceof SideBySideDiffElementViewModel)) {
356
436
  return;
357
437
  }
358
- const original = context.cell.original;
359
- const modified = context.cell.modified;
360
- const modifiedCellIndex = context.cell.mainDocumentTextModel.cells.indexOf(modified.textModel);
438
+ const original = context.original;
439
+ const modified = context.modified;
440
+ const modifiedCellIndex = context.mainDocumentTextModel.cells.indexOf(modified.textModel);
361
441
  if (modifiedCellIndex === -1) {
362
442
  return;
363
443
  }
364
- context.cell.mainDocumentTextModel.applyEdits([{
365
- editType: CellEditType.Output, index: modifiedCellIndex, outputs: original.outputs
444
+ context.mainDocumentTextModel.applyEdits([{
445
+ editType: 2 , index: modifiedCellIndex, outputs: original.outputs
366
446
  }], true, undefined, () => undefined, undefined, true);
367
447
  }
368
448
  });
@@ -370,7 +450,7 @@ registerAction2(class extends Action2 {
370
450
  constructor() {
371
451
  super({
372
452
  id: 'notebook.toggle.diff.cell.ignoreTrimWhitespace',
373
- title: ( localize(8060, "Show Leading/Trailing Whitespace Differences")),
453
+ title: ( localize(8124, "Show Leading/Trailing Whitespace Differences")),
374
454
  icon: toggleWhitespace,
375
455
  f1: false,
376
456
  menu: {
@@ -383,7 +463,7 @@ registerAction2(class extends Action2 {
383
463
  });
384
464
  }
385
465
  run(accessor, context) {
386
- const cell = context?.cell;
466
+ const cell = context;
387
467
  if (!cell?.modified) {
388
468
  return;
389
469
  }
@@ -413,8 +493,8 @@ registerAction2(class extends Action2 {
413
493
  if (!context) {
414
494
  return;
415
495
  }
416
- const original = context.cell.original;
417
- const modified = context.cell.modified;
496
+ const original = context.original;
497
+ const modified = context.modified;
418
498
  if (!original || !modified) {
419
499
  return;
420
500
  }
@@ -458,7 +538,7 @@ class ToggleRenderAction extends Action2 {
458
538
  }
459
539
  registerAction2(class extends ToggleRenderAction {
460
540
  constructor() {
461
- super('notebook.diff.showOutputs', ( localize2(8061, 'Show Outputs Differences')), ( (ContextKeyExpr.or(
541
+ super('notebook.diff.showOutputs', ( localize2(8125, 'Show Outputs Differences')), ( (ContextKeyExpr.or(
462
542
  (ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)),
463
543
  (ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID))
464
544
  ))), ( (ContextKeyExpr.notEquals('config.notebook.diff.ignoreOutputs', true))), 2, true, undefined);
@@ -466,7 +546,7 @@ registerAction2(class extends ToggleRenderAction {
466
546
  });
467
547
  registerAction2(class extends ToggleRenderAction {
468
548
  constructor() {
469
- super('notebook.diff.showMetadata', ( localize2(8062, 'Show Metadata Differences')), ( (ContextKeyExpr.or(
549
+ super('notebook.diff.showMetadata', ( localize2(8126, 'Show Metadata Differences')), ( (ContextKeyExpr.or(
470
550
  (ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)),
471
551
  (ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID))
472
552
  ))), ( (ContextKeyExpr.notEquals('config.notebook.diff.ignoreMetadata', true))), 1, undefined, true);
@@ -476,12 +556,12 @@ registerAction2(class extends Action2 {
476
556
  constructor() {
477
557
  super({
478
558
  id: 'notebook.diff.action.previous',
479
- title: ( localize(8063, "Show Previous Change")),
559
+ title: ( localize(8127, "Show Previous Change")),
480
560
  icon: previousChangeIcon,
481
561
  f1: false,
482
562
  keybinding: {
483
- primary: KeyMod.Shift | KeyMod.Alt | KeyCode.F3,
484
- weight: KeybindingWeight.WorkbenchContrib,
563
+ primary: 1024 | 512 | 61 ,
564
+ weight: 200 ,
485
565
  when: ( (ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)))
486
566
  },
487
567
  menu: {
@@ -504,12 +584,12 @@ registerAction2(class extends Action2 {
504
584
  constructor() {
505
585
  super({
506
586
  id: 'notebook.diff.action.next',
507
- title: ( localize(8064, "Show Next Change")),
587
+ title: ( localize(8128, "Show Next Change")),
508
588
  icon: nextChangeIcon,
509
589
  f1: false,
510
590
  keybinding: {
511
- primary: KeyMod.Alt | KeyCode.F3,
512
- weight: KeybindingWeight.WorkbenchContrib,
591
+ primary: 512 | 61 ,
592
+ weight: 200 ,
513
593
  when: ( (ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)))
514
594
  },
515
595
  menu: {
@@ -536,12 +616,12 @@ registerAction2(class extends Action2 {
536
616
  'notebook.diff.ignoreMetadata': {
537
617
  type: 'boolean',
538
618
  default: false,
539
- markdownDescription: ( localize(8065, "Hide Metadata Differences"))
619
+ markdownDescription: ( localize(8129, "Hide Metadata Differences"))
540
620
  },
541
621
  'notebook.diff.ignoreOutputs': {
542
622
  type: 'boolean',
543
623
  default: false,
544
- markdownDescription: ( localize(8066, "Hide Outputs Differences"))
624
+ markdownDescription: ( localize(8130, "Hide Outputs Differences"))
545
625
  },
546
626
  }
547
627
  });