@codingame/monaco-vscode-notebook-service-override 14.0.6 → 15.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 (110) hide show
  1. package/package.json +26 -29
  2. package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.d.ts +34 -0
  3. package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.js +216 -0
  4. package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +8 -8
  5. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +29 -28
  6. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticEditorContrib.d.ts +1 -1
  7. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticEditorContrib.js +3 -3
  8. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticsActions.js +9 -9
  9. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.d.ts +1 -1
  10. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.js +5 -9
  11. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/contributedStatusBarItemController.d.ts +1 -1
  12. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/contributedStatusBarItemController.js +1 -1
  13. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +5 -5
  14. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/contribution.d.ts +1 -0
  15. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/contribution.js +10 -0
  16. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookCellDecorators.d.ts +4 -40
  17. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookCellDecorators.js +13 -217
  18. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatActionsOverlay.d.ts +3 -4
  19. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatActionsOverlay.js +22 -33
  20. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatEditController.d.ts +1 -1
  21. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatEditController.js +17 -20
  22. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookOriginalCellModelFactory.d.ts +2 -2
  23. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookOriginalCellModelFactory.js +2 -2
  24. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookOriginalModelRefFactory.d.ts +3 -1
  25. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookOriginalModelRefFactory.js +8 -3
  26. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizer.d.ts +6 -4
  27. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizer.js +47 -29
  28. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizerService.d.ts +5 -3
  29. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizerService.js +28 -17
  30. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.d.ts +2 -2
  31. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +10 -10
  32. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookBreakpoints.js +1 -1
  33. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.d.ts +1 -1
  34. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.js +4 -4
  35. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorHint/emptyCellEditorHint.js +1 -1
  36. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +13 -13
  37. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/execute/executionEditorProgress.d.ts +1 -1
  38. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/execute/executionEditorProgress.js +1 -1
  39. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +7 -7
  40. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +12 -11
  41. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +4 -4
  42. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +2 -2
  43. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/marker/markerProvider.js +4 -3
  44. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.d.ts +3 -3
  45. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.js +14 -18
  46. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookSelectionHighlight.js +1 -1
  47. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +18 -18
  48. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.d.ts +11 -4
  49. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.js +328 -116
  50. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +3 -3
  51. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +1 -1
  52. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +2 -2
  53. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.d.ts +1 -2
  54. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +8 -10
  55. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.d.ts +5 -5
  56. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +16 -16
  57. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +1 -1
  58. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.d.ts +2 -2
  59. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +19 -18
  60. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.d.ts +1 -1
  61. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +5 -5
  62. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/undoRedo/notebookUndoRedo.js +1 -1
  63. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/viewportWarmup/viewportWarmup.js +4 -4
  64. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.d.ts +3 -5
  65. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +39 -37
  66. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +99 -8
  67. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +40 -35
  68. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +31 -31
  69. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.d.ts +2 -2
  70. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +37 -33
  71. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +22 -25
  72. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +11 -10
  73. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.d.ts +2 -2
  74. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +17 -17
  75. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/variablesActions.js +4 -4
  76. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +58 -25
  77. package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.d.ts +1 -1
  78. package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +99 -87
  79. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +12 -12
  80. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibleView.js +3 -3
  81. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +33 -33
  82. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.d.ts +6 -4
  83. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.js +7 -4
  84. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.d.ts +1 -1
  85. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +2 -2
  86. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.d.ts +1 -1
  87. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.js +1 -1
  88. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +1 -1
  89. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +4 -4
  90. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +1 -1
  91. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.d.ts +3 -3
  92. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +8 -5
  93. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.d.ts +1 -1
  94. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.js +1 -1
  95. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.d.ts +5 -5
  96. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +2 -3
  97. package/vscode/src/vs/workbench/contrib/notebook/common/model/cellEdit.d.ts +1 -1
  98. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.d.ts +3 -3
  99. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.js +5 -5
  100. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.js +1 -1
  101. package/vscode/src/vs/workbench/contrib/notebook/common/notebookProvider.d.ts +1 -1
  102. package/vscode/src/vs/workbench/contrib/notebook/common/notebookProvider.js +3 -1
  103. package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookSimpleWorker.js +20 -16
  104. package/vscode/src/vs/workbench/services/workingCopy/common/abstractFileWorkingCopyManager.d.ts +1 -1
  105. package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.d.ts +2 -2
  106. package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +14 -14
  107. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.d.ts +1 -1
  108. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +3 -3
  109. package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.d.ts +2 -2
  110. package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-notebook-service-override",
3
- "version": "14.0.6",
3
+ "version": "15.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - notebook service-override",
6
6
  "keywords": [],
@@ -15,34 +15,31 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-0b087f42-a5a3-5eb9-9bfd-1eebc1bba163-common": "14.0.6",
19
- "@codingame/monaco-vscode-0cd5242b-7b61-5f66-ac25-ffa40baf8e8f-common": "14.0.6",
20
- "@codingame/monaco-vscode-168b98e5-dc20-5807-b1f9-798f1f92b37f-common": "14.0.6",
21
- "@codingame/monaco-vscode-1ae7d696-d960-5ac6-97a3-9fe7c8c3a793-common": "14.0.6",
22
- "@codingame/monaco-vscode-3a00040f-b81b-50bc-88da-35f611c0bd1e-common": "14.0.6",
23
- "@codingame/monaco-vscode-407531d3-fdae-5387-8c41-49ba0e9574b5-common": "14.0.6",
24
- "@codingame/monaco-vscode-4e719823-8b6e-554d-b01a-5670b53fbb19-common": "14.0.6",
25
- "@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "14.0.6",
26
- "@codingame/monaco-vscode-695440c8-a687-5594-b476-bbc7b36bafe9-common": "14.0.6",
27
- "@codingame/monaco-vscode-6f9bc782-77e0-5716-93bd-b05210c768c5-common": "14.0.6",
28
- "@codingame/monaco-vscode-771c2e6d-0284-5ac1-be73-7176085eedc5-common": "14.0.6",
29
- "@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common": "14.0.6",
30
- "@codingame/monaco-vscode-8ccb7637-50ea-5359-97bf-00015d7fe567-common": "14.0.6",
31
- "@codingame/monaco-vscode-91789cdf-e3cb-5a04-aaeb-6f7df7d3d231-common": "14.0.6",
32
- "@codingame/monaco-vscode-99f24462-c56d-5407-83fb-2ea9dd33cc8c-common": "14.0.6",
33
- "@codingame/monaco-vscode-9e30237f-37af-5bbd-8bc1-5c4f2c0714b3-common": "14.0.6",
34
- "@codingame/monaco-vscode-9ee79c1a-3f03-568b-8eac-b02513a98b68-common": "14.0.6",
35
- "@codingame/monaco-vscode-af5ccfda-af82-504b-b365-92b4e654e5c5-common": "14.0.6",
36
- "@codingame/monaco-vscode-api": "14.0.6",
37
- "@codingame/monaco-vscode-b1e8558d-1726-5299-bc75-e43ee6d1a124-common": "14.0.6",
38
- "@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common": "14.0.6",
39
- "@codingame/monaco-vscode-ce8c4b18-4e75-55dd-9656-517347af9de7-common": "14.0.6",
40
- "@codingame/monaco-vscode-d0fb86d3-2a47-594e-955b-9a24631a7124-common": "14.0.6",
41
- "@codingame/monaco-vscode-d4a98668-f793-5361-a9cf-1e6ae6d62ce3-common": "14.0.6",
42
- "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common": "14.0.6",
43
- "@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common": "14.0.6",
44
- "@codingame/monaco-vscode-ecf3436d-6064-5fbd-a760-37a211ce79c7-common": "14.0.6",
45
- "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common": "14.0.6",
18
+ "@codingame/monaco-vscode-0b087f42-a5a3-5eb9-9bfd-1eebc1bba163-common": "15.0.0",
19
+ "@codingame/monaco-vscode-0cd5242b-7b61-5f66-ac25-ffa40baf8e8f-common": "15.0.0",
20
+ "@codingame/monaco-vscode-12c5f9eb-72d3-57ca-babd-5bef7aa9de3b-common": "15.0.0",
21
+ "@codingame/monaco-vscode-1ae7d696-d960-5ac6-97a3-9fe7c8c3a793-common": "15.0.0",
22
+ "@codingame/monaco-vscode-1bb39316-6fbf-572e-ab6a-818a2496c14f-common": "15.0.0",
23
+ "@codingame/monaco-vscode-29bc1406-2925-5b8f-b25e-d04a7772d896-common": "15.0.0",
24
+ "@codingame/monaco-vscode-2e69e120-617a-5258-95e0-3b8902f4e014-common": "15.0.0",
25
+ "@codingame/monaco-vscode-3a00040f-b81b-50bc-88da-35f611c0bd1e-common": "15.0.0",
26
+ "@codingame/monaco-vscode-4e719823-8b6e-554d-b01a-5670b53fbb19-common": "15.0.0",
27
+ "@codingame/monaco-vscode-52bb4d5b-ba1a-57fd-9bee-b28824214eac-common": "15.0.0",
28
+ "@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "15.0.0",
29
+ "@codingame/monaco-vscode-695440c8-a687-5594-b476-bbc7b36bafe9-common": "15.0.0",
30
+ "@codingame/monaco-vscode-6f9bc782-77e0-5716-93bd-b05210c768c5-common": "15.0.0",
31
+ "@codingame/monaco-vscode-805e9c2f-56b6-5a43-8b5b-d2dc2d3805fc-common": "15.0.0",
32
+ "@codingame/monaco-vscode-86d65fc6-30f9-5dca-9501-e249de688591-common": "15.0.0",
33
+ "@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common": "15.0.0",
34
+ "@codingame/monaco-vscode-8ccb7637-50ea-5359-97bf-00015d7fe567-common": "15.0.0",
35
+ "@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common": "15.0.0",
36
+ "@codingame/monaco-vscode-9b5a5e82-d649-5455-b4bf-ef90d6afd294-common": "15.0.0",
37
+ "@codingame/monaco-vscode-a3f28a41-ba19-5a7e-8f5a-d6c1403b507d-common": "15.0.0",
38
+ "@codingame/monaco-vscode-a4c2011e-8775-52bd-abf0-4a3c07a9696b-common": "15.0.0",
39
+ "@codingame/monaco-vscode-api": "15.0.0",
40
+ "@codingame/monaco-vscode-b1e8558d-1726-5299-bc75-e43ee6d1a124-common": "15.0.0",
41
+ "@codingame/monaco-vscode-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common": "15.0.0",
42
+ "@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common": "15.0.0",
46
43
  "marked": "14.0.0"
47
44
  },
48
45
  "main": "index.js",
@@ -0,0 +1,34 @@
1
+ import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
2
+ import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
3
+ import { Position } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/core/position";
4
+ import { ITextModel } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/model";
5
+ import { IMarker } from "@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers";
6
+ import { IMarkerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers.service";
7
+ import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
8
+ export declare class MarkerCoordinate {
9
+ readonly marker: IMarker;
10
+ readonly index: number;
11
+ readonly total: number;
12
+ constructor(marker: IMarker, index: number, total: number);
13
+ }
14
+ export declare class MarkerList {
15
+ private readonly _markerService;
16
+ private readonly _configService;
17
+ private readonly _onDidChange;
18
+ readonly onDidChange: Event<void>;
19
+ private readonly _resourceFilter?;
20
+ private readonly _dispoables;
21
+ private _markers;
22
+ private _nextIdx;
23
+ constructor(resourceFilter: URI | ((uri: URI) => boolean) | undefined, _markerService: IMarkerService, _configService: IConfigurationService);
24
+ dispose(): void;
25
+ matches(uri: URI | undefined): boolean;
26
+ get selected(): MarkerCoordinate | undefined;
27
+ private _initIdx;
28
+ resetIndex(): void;
29
+ move(fwd: boolean, model: ITextModel, position: Position): boolean;
30
+ find(uri: URI, position: Position): MarkerCoordinate | undefined;
31
+ }
32
+ export interface IMarkerListProvider {
33
+ getMarkerList(resource: URI | undefined): MarkerList | undefined;
34
+ }
@@ -0,0 +1,216 @@
1
+
2
+ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
+ import { equals, binarySearch2 } from '@codingame/monaco-vscode-api/vscode/vs/base/common/arrays';
4
+ import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
5
+ import { DisposableStore, toDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
6
+ import { LinkedList } from '@codingame/monaco-vscode-api/vscode/vs/base/common/linkedList';
7
+ import { compare } from '@codingame/monaco-vscode-api/vscode/vs/base/common/strings';
8
+ import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
9
+ import { Range } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/range';
10
+ import { registerSingleton, InstantiationType } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
11
+ import { MarkerSeverity } from '@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers';
12
+ import { IMarkerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers.service';
13
+ import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
14
+ import { isEqual } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
15
+ import { IMarkerNavigationService } from '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/gotoError/browser/markerNavigationService.service';
16
+
17
+ class MarkerCoordinate {
18
+ constructor(marker, index, total) {
19
+ this.marker = marker;
20
+ this.index = index;
21
+ this.total = total;
22
+ }
23
+ }
24
+ let MarkerList = class MarkerList {
25
+ constructor(resourceFilter, _markerService, _configService) {
26
+ this._markerService = _markerService;
27
+ this._configService = _configService;
28
+ this._onDidChange = ( new Emitter());
29
+ this.onDidChange = this._onDidChange.event;
30
+ this._dispoables = ( new DisposableStore());
31
+ this._markers = [];
32
+ this._nextIdx = -1;
33
+ if (URI.isUri(resourceFilter)) {
34
+ this._resourceFilter = uri => ( uri.toString()) === ( resourceFilter.toString());
35
+ }
36
+ else if (resourceFilter) {
37
+ this._resourceFilter = resourceFilter;
38
+ }
39
+ const compareOrder = this._configService.getValue('problems.sortOrder');
40
+ const compareMarker = (a, b) => {
41
+ let res = compare(( a.resource.toString()), ( b.resource.toString()));
42
+ if (res === 0) {
43
+ if (compareOrder === 'position') {
44
+ res = Range.compareRangesUsingStarts(a, b) || MarkerSeverity.compare(a.severity, b.severity);
45
+ }
46
+ else {
47
+ res = MarkerSeverity.compare(a.severity, b.severity) || Range.compareRangesUsingStarts(a, b);
48
+ }
49
+ }
50
+ return res;
51
+ };
52
+ const updateMarker = () => {
53
+ let newMarkers = this._markerService.read({
54
+ resource: URI.isUri(resourceFilter) ? resourceFilter : undefined,
55
+ severities: MarkerSeverity.Error | MarkerSeverity.Warning | MarkerSeverity.Info
56
+ });
57
+ if (typeof resourceFilter === 'function') {
58
+ newMarkers = newMarkers.filter(m => this._resourceFilter(m.resource));
59
+ }
60
+ newMarkers.sort(compareMarker);
61
+ if (equals(newMarkers, this._markers, (a, b) => ( a.resource.toString()) === ( b.resource.toString())
62
+ && a.startLineNumber === b.startLineNumber
63
+ && a.startColumn === b.startColumn
64
+ && a.endLineNumber === b.endLineNumber
65
+ && a.endColumn === b.endColumn
66
+ && a.severity === b.severity
67
+ && a.message === b.message)) {
68
+ return false;
69
+ }
70
+ this._markers = newMarkers;
71
+ return true;
72
+ };
73
+ updateMarker();
74
+ this._dispoables.add(_markerService.onMarkerChanged(uris => {
75
+ if (!this._resourceFilter || ( uris.some(uri => this._resourceFilter(uri)))) {
76
+ if (updateMarker()) {
77
+ this._nextIdx = -1;
78
+ this._onDidChange.fire();
79
+ }
80
+ }
81
+ }));
82
+ }
83
+ dispose() {
84
+ this._dispoables.dispose();
85
+ this._onDidChange.dispose();
86
+ }
87
+ matches(uri) {
88
+ if (!this._resourceFilter && !uri) {
89
+ return true;
90
+ }
91
+ if (!this._resourceFilter || !uri) {
92
+ return false;
93
+ }
94
+ return this._resourceFilter(uri);
95
+ }
96
+ get selected() {
97
+ const marker = this._markers[this._nextIdx];
98
+ return marker && ( new MarkerCoordinate(marker, this._nextIdx + 1, this._markers.length));
99
+ }
100
+ _initIdx(model, position, fwd) {
101
+ let idx = this._markers.findIndex(marker => isEqual(marker.resource, model.uri));
102
+ if (idx < 0) {
103
+ idx = binarySearch2(this._markers.length, idx => compare(( this._markers[idx].resource.toString()), ( model.uri.toString())));
104
+ if (idx < 0) {
105
+ idx = ~idx;
106
+ }
107
+ if (fwd) {
108
+ this._nextIdx = idx;
109
+ }
110
+ else {
111
+ this._nextIdx = (this._markers.length + idx - 1) % this._markers.length;
112
+ }
113
+ }
114
+ else {
115
+ let found = false;
116
+ let wentPast = false;
117
+ for (let i = idx; i < this._markers.length; i++) {
118
+ let range = Range.lift(this._markers[i]);
119
+ if (range.isEmpty()) {
120
+ const word = model.getWordAtPosition(range.getStartPosition());
121
+ if (word) {
122
+ range = ( new Range(
123
+ range.startLineNumber,
124
+ word.startColumn,
125
+ range.startLineNumber,
126
+ word.endColumn
127
+ ));
128
+ }
129
+ }
130
+ if (position && (range.containsPosition(position) || position.isBeforeOrEqual(range.getStartPosition()))) {
131
+ this._nextIdx = i;
132
+ found = true;
133
+ wentPast = !range.containsPosition(position);
134
+ break;
135
+ }
136
+ if (( this._markers[i].resource.toString()) !== ( model.uri.toString())) {
137
+ break;
138
+ }
139
+ }
140
+ if (!found) {
141
+ this._nextIdx = fwd ? 0 : this._markers.length - 1;
142
+ }
143
+ else if (wentPast && !fwd) {
144
+ this._nextIdx -= 1;
145
+ }
146
+ }
147
+ if (this._nextIdx < 0) {
148
+ this._nextIdx = this._markers.length - 1;
149
+ }
150
+ }
151
+ resetIndex() {
152
+ this._nextIdx = -1;
153
+ }
154
+ move(fwd, model, position) {
155
+ if (this._markers.length === 0) {
156
+ return false;
157
+ }
158
+ const oldIdx = this._nextIdx;
159
+ if (this._nextIdx === -1) {
160
+ this._initIdx(model, position, fwd);
161
+ }
162
+ else if (fwd) {
163
+ this._nextIdx = (this._nextIdx + 1) % this._markers.length;
164
+ }
165
+ else if (!fwd) {
166
+ this._nextIdx = (this._nextIdx - 1 + this._markers.length) % this._markers.length;
167
+ }
168
+ if (oldIdx !== this._nextIdx) {
169
+ return true;
170
+ }
171
+ return false;
172
+ }
173
+ find(uri, position) {
174
+ let idx = this._markers.findIndex(marker => ( marker.resource.toString()) === ( uri.toString()));
175
+ if (idx < 0) {
176
+ return undefined;
177
+ }
178
+ for (; idx < this._markers.length; idx++) {
179
+ if (Range.containsPosition(this._markers[idx], position)) {
180
+ return ( new MarkerCoordinate(this._markers[idx], idx + 1, this._markers.length));
181
+ }
182
+ }
183
+ return undefined;
184
+ }
185
+ };
186
+ MarkerList = ( __decorate([
187
+ ( __param(1, IMarkerService)),
188
+ ( __param(2, IConfigurationService))
189
+ ], MarkerList));
190
+ let MarkerNavigationService = class MarkerNavigationService {
191
+ constructor(_markerService, _configService) {
192
+ this._markerService = _markerService;
193
+ this._configService = _configService;
194
+ this._provider = ( new LinkedList());
195
+ }
196
+ registerProvider(provider) {
197
+ const remove = this._provider.unshift(provider);
198
+ return toDisposable(() => remove());
199
+ }
200
+ getMarkerList(resource) {
201
+ for (const provider of this._provider) {
202
+ const result = provider.getMarkerList(resource);
203
+ if (result) {
204
+ return result;
205
+ }
206
+ }
207
+ return ( new MarkerList(resource, this._markerService, this._configService));
208
+ }
209
+ };
210
+ MarkerNavigationService = ( __decorate([
211
+ ( __param(0, IMarkerService)),
212
+ ( __param(1, IConfigurationService))
213
+ ], MarkerNavigationService));
214
+ registerSingleton(IMarkerNavigationService, MarkerNavigationService, InstantiationType.Delayed);
215
+
216
+ export { MarkerCoordinate, MarkerList };
@@ -196,8 +196,8 @@ class EmptyTextEditorHintContentWidget {
196
196
  getActions: () => {
197
197
  return [{
198
198
  id: 'workench.action.disableEmptyEditorHint',
199
- label: ( localize(4819, "Disable Empty Editor Hint")),
200
- tooltip: ( localize(4819, "Disable Empty Editor Hint")),
199
+ label: ( localize(4904, "Disable Empty Editor Hint")),
200
+ tooltip: ( localize(4904, "Disable Empty Editor Hint")),
201
201
  enabled: true,
202
202
  class: undefined,
203
203
  run: () => {
@@ -235,7 +235,7 @@ class EmptyTextEditorHintContentWidget {
235
235
  const keybindingHintLabel = keybindingHint?.getLabel();
236
236
  if (keybindingHint && keybindingHintLabel) {
237
237
  const actionPart = ( localize(
238
- 4820,
238
+ 4905,
239
239
  'Press {0} to ask {1} to do something. ',
240
240
  keybindingHintLabel,
241
241
  providerName
@@ -266,7 +266,7 @@ class EmptyTextEditorHintContentWidget {
266
266
  this.toDispose.add(addDisposableListener(label.element, EventType.CLICK, handleClick));
267
267
  }
268
268
  hintElement.appendChild(after);
269
- const typeToDismiss = ( localize(4821, 'Start typing to dismiss.'));
269
+ const typeToDismiss = ( localize(4906, 'Start typing to dismiss.'));
270
270
  const textHint2 = $('span', undefined, typeToDismiss);
271
271
  textHint2.style.fontStyle = 'italic';
272
272
  hintElement.appendChild(textHint2);
@@ -274,7 +274,7 @@ class EmptyTextEditorHintContentWidget {
274
274
  }
275
275
  else {
276
276
  const hintMsg = ( localize(
277
- 4822,
277
+ 4907,
278
278
  '[[Ask {0} to do something]] or start typing to dismiss.',
279
279
  providerName
280
280
  ));
@@ -334,7 +334,7 @@ class EmptyTextEditorHintContentWidget {
334
334
  }
335
335
  };
336
336
  const hintMsg = ( localize(
337
- 4823,
337
+ 4908,
338
338
  '[[Select a language]], or [[fill with template]], or [[open a different editor]] to get started.\nStart typing to dismiss or [[don\'t show]] this again.'
339
339
  ));
340
340
  const hintElement = renderFormattedText(hintMsg, {
@@ -345,7 +345,7 @@ class EmptyTextEditorHintContentWidget {
345
345
  const keybindingsLookup = [ChangeLanguageAction.ID, ApplyFileSnippetAction.Id, 'welcome.showNewFileEntries'];
346
346
  const keybindingLabels = ( keybindingsLookup.map((id) => this.keybindingService.lookupKeybinding(id)?.getLabel() ?? id));
347
347
  const ariaLabel = ( localize(
348
- 4824,
348
+ 4909,
349
349
  'Execute {0} to select a language, execute {1} to fill with template, or execute {2} to open a different editor and get started. Start typing to dismiss.',
350
350
  ...keybindingLabels
351
351
  ));
@@ -366,7 +366,7 @@ class EmptyTextEditorHintContentWidget {
366
366
  const { hintElement, ariaLabel } = !inlineChatProviders.length ? this._getHintDefault() : this._getHintInlineChat(inlineChatProviders);
367
367
  this.domNode.append(hintElement);
368
368
  this.ariaLabel = ariaLabel.concat(( localize(
369
- 4825,
369
+ 4910,
370
370
  ' Toggle {0} in settings to disable this hint.',
371
371
  AccessibilityVerbositySettingId.EmptyEditorHint
372
372
  )));
@@ -1,18 +1,19 @@
1
1
 
2
2
  import { KeyMod, KeyCode, KeyChord } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
3
3
  import { Mimes } from '@codingame/monaco-vscode-api/vscode/vs/base/common/mime';
4
- import { IBulkEditService, ResourceTextEdit } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/bulkEditService';
4
+ import { ResourceTextEdit } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/bulkEditService';
5
+ import { IBulkEditService } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/bulkEditService.service';
5
6
  import { localize2, localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
6
7
  import { registerAction2, MenuId } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
7
8
  import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
8
9
  import { InputFocusedContext, InputFocusedContextKey } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkeys';
9
10
  import { KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
10
- import { ResourceNotebookCellEdit } from '@codingame/monaco-vscode-af5ccfda-af82-504b-b365-92b4e654e5c5-common/vscode/vs/workbench/contrib/bulkEdit/browser/bulkCellEdits';
11
- import { moveCellRange, copyCellRange, computeCellLinesContents, joinCellsWithSurrounds, joinSelectedCells, changeCellToKind } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/cellOperations';
12
- import { NotebookCellAction, CellOverflowToolbarGroups, CELL_TITLE_CELL_GROUP_ID, CellToolbarOrder, NotebookMultiCellAction, parseMultiCellExecutionArgs, cellExecutionArgs } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
13
- import { CellFocusMode, EXPAND_CELL_INPUT_COMMAND_ID, EXPAND_CELL_OUTPUT_COMMAND_ID } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
14
- import { NOTEBOOK_EDITOR_FOCUSED, NOTEBOOK_EDITOR_EDITABLE, NOTEBOOK_CELL_EDITABLE, NOTEBOOK_CELL_INPUT_COLLAPSED, NOTEBOOK_CELL_TYPE, NOTEBOOK_IS_ACTIVE_EDITOR, NOTEBOOK_OUTPUT_FOCUSED, NOTEBOOK_CELL_LIST_FOCUSED, NOTEBOOK_CELL_OUTPUT_COLLAPSED, NOTEBOOK_CELL_HAS_OUTPUTS } from '@codingame/monaco-vscode-771c2e6d-0284-5ac1-be73-7176085eedc5-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
15
- import { moveUpIcon, moveDownIcon, splitCellIcon } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
11
+ import { ResourceNotebookCellEdit } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/bulkEdit/browser/bulkCellEdits';
12
+ import { moveCellRange, copyCellRange, computeCellLinesContents, joinCellsWithSurrounds, joinSelectedCells, changeCellToKind } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/controller/cellOperations';
13
+ import { NotebookCellAction, CellOverflowToolbarGroups, CELL_TITLE_CELL_GROUP_ID, CellToolbarOrder, NotebookMultiCellAction, parseMultiCellExecutionArgs, cellExecutionArgs } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
14
+ import { CellFocusMode, EXPAND_CELL_INPUT_COMMAND_ID, EXPAND_CELL_OUTPUT_COMMAND_ID } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
15
+ import { NOTEBOOK_EDITOR_FOCUSED, NOTEBOOK_EDITOR_EDITABLE, NOTEBOOK_CELL_EDITABLE, NOTEBOOK_CELL_INPUT_COLLAPSED, NOTEBOOK_CELL_TYPE, NOTEBOOK_IS_ACTIVE_EDITOR, NOTEBOOK_OUTPUT_FOCUSED, NOTEBOOK_CELL_LIST_FOCUSED, NOTEBOOK_CELL_OUTPUT_COLLAPSED, NOTEBOOK_CELL_HAS_OUTPUTS } from '@codingame/monaco-vscode-52bb4d5b-ba1a-57fd-9bee-b28824214eac-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
16
+ import { moveUpIcon, moveDownIcon, splitCellIcon } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
16
17
  import { CellEditType, CellKind, NotebookSetting } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
17
18
  import { INotificationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service';
18
19
  import { EditorContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/editorContextKeys';
@@ -26,7 +27,7 @@ registerAction2(class extends NotebookCellAction {
26
27
  constructor() {
27
28
  super({
28
29
  id: MOVE_CELL_UP_COMMAND_ID,
29
- title: ( localize2(7441, "Move Cell Up")),
30
+ title: ( localize2(7526, "Move Cell Up")),
30
31
  icon: moveUpIcon,
31
32
  keybinding: {
32
33
  primary: KeyMod.Alt | KeyCode.UpArrow,
@@ -49,7 +50,7 @@ registerAction2(class extends NotebookCellAction {
49
50
  constructor() {
50
51
  super({
51
52
  id: MOVE_CELL_DOWN_COMMAND_ID,
52
- title: ( localize2(7442, "Move Cell Down")),
53
+ title: ( localize2(7527, "Move Cell Down")),
53
54
  icon: moveDownIcon,
54
55
  keybinding: {
55
56
  primary: KeyMod.Alt | KeyCode.DownArrow,
@@ -72,7 +73,7 @@ registerAction2(class extends NotebookCellAction {
72
73
  constructor() {
73
74
  super({
74
75
  id: COPY_CELL_UP_COMMAND_ID,
75
- title: ( localize2(7443, "Copy Cell Up")),
76
+ title: ( localize2(7528, "Copy Cell Up")),
76
77
  keybinding: {
77
78
  primary: KeyMod.Alt | KeyMod.Shift | KeyCode.UpArrow,
78
79
  when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ( InputFocusedContext.toNegated()))),
@@ -88,7 +89,7 @@ registerAction2(class extends NotebookCellAction {
88
89
  constructor() {
89
90
  super({
90
91
  id: COPY_CELL_DOWN_COMMAND_ID,
91
- title: ( localize2(7444, "Copy Cell Down")),
92
+ title: ( localize2(7529, "Copy Cell Down")),
92
93
  keybinding: {
93
94
  primary: KeyMod.Alt | KeyMod.Shift | KeyCode.DownArrow,
94
95
  when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ( InputFocusedContext.toNegated()))),
@@ -114,7 +115,7 @@ registerAction2(class extends NotebookCellAction {
114
115
  constructor() {
115
116
  super({
116
117
  id: SPLIT_CELL_COMMAND_ID,
117
- title: ( localize2(7445, "Split Cell")),
118
+ title: ( localize2(7530, "Split Cell")),
118
119
  menu: {
119
120
  id: MenuId.NotebookCellTitle,
120
121
  when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_EDITABLE, NOTEBOOK_CELL_EDITABLE, ( NOTEBOOK_CELL_INPUT_COLLAPSED.toNegated()))),
@@ -181,7 +182,7 @@ registerAction2(class extends NotebookCellAction {
181
182
  constructor() {
182
183
  super({
183
184
  id: JOIN_CELL_ABOVE_COMMAND_ID,
184
- title: ( localize2(7446, "Join With Previous Cell")),
185
+ title: ( localize2(7531, "Join With Previous Cell")),
185
186
  keybinding: {
186
187
  when: NOTEBOOK_EDITOR_FOCUSED,
187
188
  primary: KeyMod.WinCtrl | KeyMod.Alt | KeyMod.Shift | KeyCode.KeyJ,
@@ -204,7 +205,7 @@ registerAction2(class extends NotebookCellAction {
204
205
  constructor() {
205
206
  super({
206
207
  id: JOIN_CELL_BELOW_COMMAND_ID,
207
- title: ( localize2(7447, "Join With Next Cell")),
208
+ title: ( localize2(7532, "Join With Next Cell")),
208
209
  keybinding: {
209
210
  when: NOTEBOOK_EDITOR_FOCUSED,
210
211
  primary: KeyMod.WinCtrl | KeyMod.Alt | KeyCode.KeyJ,
@@ -227,7 +228,7 @@ registerAction2(class extends NotebookCellAction {
227
228
  constructor() {
228
229
  super({
229
230
  id: JOIN_SELECTED_CELLS_COMMAND_ID,
230
- title: ( localize2(7448, "Join Selected Cells")),
231
+ title: ( localize2(7533, "Join Selected Cells")),
231
232
  menu: {
232
233
  id: MenuId.NotebookCellTitle,
233
234
  when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, NOTEBOOK_EDITOR_EDITABLE)),
@@ -248,7 +249,7 @@ registerAction2(class ChangeCellToCodeAction extends NotebookMultiCellAction {
248
249
  constructor() {
249
250
  super({
250
251
  id: CHANGE_CELL_TO_CODE_COMMAND_ID,
251
- title: ( localize2(7449, "Change Cell to Code")),
252
+ title: ( localize2(7534, "Change Cell to Code")),
252
253
  keybinding: {
253
254
  when: ( ContextKeyExpr.and(
254
255
  NOTEBOOK_EDITOR_FOCUSED,
@@ -279,7 +280,7 @@ registerAction2(class ChangeCellToMarkdownAction extends NotebookMultiCellAction
279
280
  constructor() {
280
281
  super({
281
282
  id: CHANGE_CELL_TO_MARKDOWN_COMMAND_ID,
282
- title: ( localize2(7450, "Change Cell to Markdown")),
283
+ title: ( localize2(7535, "Change Cell to Markdown")),
283
284
  keybinding: {
284
285
  when: ( ContextKeyExpr.and(
285
286
  NOTEBOOK_EDITOR_FOCUSED,
@@ -318,7 +319,7 @@ registerAction2(class CollapseCellInputAction extends NotebookMultiCellAction {
318
319
  constructor() {
319
320
  super({
320
321
  id: COLLAPSE_CELL_INPUT_COMMAND_ID,
321
- title: ( localize2(7451, "Collapse Cell Input")),
322
+ title: ( localize2(7536, "Collapse Cell Input")),
322
323
  keybinding: {
323
324
  when: ( ContextKeyExpr.and(NOTEBOOK_CELL_LIST_FOCUSED, ( NOTEBOOK_CELL_INPUT_COLLAPSED.toNegated()), ( InputFocusedContext.toNegated()))),
324
325
  primary: KeyChord(KeyMod.CtrlCmd | KeyCode.KeyK, KeyMod.CtrlCmd | KeyCode.KeyC),
@@ -342,7 +343,7 @@ registerAction2(class ExpandCellInputAction extends NotebookMultiCellAction {
342
343
  constructor() {
343
344
  super({
344
345
  id: EXPAND_CELL_INPUT_COMMAND_ID,
345
- title: ( localize2(7452, "Expand Cell Input")),
346
+ title: ( localize2(7537, "Expand Cell Input")),
346
347
  keybinding: {
347
348
  when: ( ContextKeyExpr.and(NOTEBOOK_CELL_LIST_FOCUSED, NOTEBOOK_CELL_INPUT_COLLAPSED)),
348
349
  primary: KeyChord(KeyMod.CtrlCmd | KeyCode.KeyK, KeyMod.CtrlCmd | KeyCode.KeyC),
@@ -366,7 +367,7 @@ registerAction2(class CollapseCellOutputAction extends NotebookMultiCellAction {
366
367
  constructor() {
367
368
  super({
368
369
  id: COLLAPSE_CELL_OUTPUT_COMMAND_ID,
369
- title: ( localize2(7453, "Collapse Cell Output")),
370
+ title: ( localize2(7538, "Collapse Cell Output")),
370
371
  keybinding: {
371
372
  when: ( ContextKeyExpr.and(NOTEBOOK_CELL_LIST_FOCUSED, ( NOTEBOOK_CELL_OUTPUT_COLLAPSED.toNegated()), ( InputFocusedContext.toNegated()), NOTEBOOK_CELL_HAS_OUTPUTS)),
372
373
  primary: KeyChord(KeyMod.CtrlCmd | KeyCode.KeyK, KeyCode.KeyT),
@@ -387,7 +388,7 @@ registerAction2(class ExpandCellOuputAction extends NotebookMultiCellAction {
387
388
  constructor() {
388
389
  super({
389
390
  id: EXPAND_CELL_OUTPUT_COMMAND_ID,
390
- title: ( localize2(7454, "Expand Cell Output")),
391
+ title: ( localize2(7539, "Expand Cell Output")),
391
392
  keybinding: {
392
393
  when: ( ContextKeyExpr.and(NOTEBOOK_CELL_LIST_FOCUSED, NOTEBOOK_CELL_OUTPUT_COLLAPSED)),
393
394
  primary: KeyChord(KeyMod.CtrlCmd | KeyCode.KeyK, KeyCode.KeyT),
@@ -409,9 +410,9 @@ registerAction2(class extends NotebookMultiCellAction {
409
410
  super({
410
411
  id: TOGGLE_CELL_OUTPUTS_COMMAND_ID,
411
412
  precondition: NOTEBOOK_CELL_LIST_FOCUSED,
412
- title: ( localize2(7455, "Toggle Outputs")),
413
+ title: ( localize2(7540, "Toggle Outputs")),
413
414
  metadata: {
414
- description: ( localize(7455, "Toggle Outputs")),
415
+ description: ( localize(7540, "Toggle Outputs")),
415
416
  args: cellExecutionArgs
416
417
  }
417
418
  });
@@ -436,7 +437,7 @@ registerAction2(class CollapseAllCellInputsAction extends NotebookMultiCellActio
436
437
  constructor() {
437
438
  super({
438
439
  id: COLLAPSE_ALL_CELL_INPUTS_COMMAND_ID,
439
- title: ( localize2(7456, "Collapse All Cell Inputs")),
440
+ title: ( localize2(7541, "Collapse All Cell Inputs")),
440
441
  f1: true,
441
442
  });
442
443
  }
@@ -448,7 +449,7 @@ registerAction2(class ExpandAllCellInputsAction extends NotebookMultiCellAction
448
449
  constructor() {
449
450
  super({
450
451
  id: EXPAND_ALL_CELL_INPUTS_COMMAND_ID,
451
- title: ( localize2(7457, "Expand All Cell Inputs")),
452
+ title: ( localize2(7542, "Expand All Cell Inputs")),
452
453
  f1: true
453
454
  });
454
455
  }
@@ -460,7 +461,7 @@ registerAction2(class CollapseAllCellOutputsAction extends NotebookMultiCellActi
460
461
  constructor() {
461
462
  super({
462
463
  id: COLLAPSE_ALL_CELL_OUTPUTS_COMMAND_ID,
463
- title: ( localize2(7458, "Collapse All Cell Outputs")),
464
+ title: ( localize2(7543, "Collapse All Cell Outputs")),
464
465
  f1: true,
465
466
  });
466
467
  }
@@ -472,7 +473,7 @@ registerAction2(class ExpandAllCellOutputsAction extends NotebookMultiCellAction
472
473
  constructor() {
473
474
  super({
474
475
  id: EXPAND_ALL_CELL_OUTPUTS_COMMAND_ID,
475
- title: ( localize2(7459, "Expand All Cell Outputs")),
476
+ title: ( localize2(7544, "Expand All Cell Outputs")),
476
477
  f1: true
477
478
  });
478
479
  }
@@ -484,7 +485,7 @@ registerAction2(class ToggleCellOutputScrolling extends NotebookMultiCellAction
484
485
  constructor() {
485
486
  super({
486
487
  id: TOGGLE_CELL_OUTPUT_SCROLLING,
487
- title: ( localize2(7460, "Toggle Scroll Cell Output")),
488
+ title: ( localize2(7545, "Toggle Scroll Cell Output")),
488
489
  keybinding: {
489
490
  when: ( ContextKeyExpr.and(NOTEBOOK_CELL_LIST_FOCUSED, ( InputFocusedContext.toNegated()), NOTEBOOK_CELL_HAS_OUTPUTS)),
490
491
  primary: KeyChord(KeyMod.CtrlCmd | KeyCode.KeyK, KeyCode.KeyY),
@@ -2,7 +2,7 @@ import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/l
2
2
  import { IMarkerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers.service";
3
3
  import { INotebookExecutionStateService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service";
4
4
  import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
5
- import { INotebookEditor, INotebookEditorContribution } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
5
+ import { INotebookEditor, INotebookEditorContribution } from "@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
6
6
  import { IChatAgentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents.service";
7
7
  export declare class CellDiagnostics extends Disposable implements INotebookEditorContribution {
8
8
  private readonly notebookEditor;
@@ -2,13 +2,13 @@
2
2
  import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
3
  import { Disposable, toDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
4
4
  import { IMarkerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers.service';
5
- import { NotebookExecutionType } from '@codingame/monaco-vscode-af5ccfda-af82-504b-b365-92b4e654e5c5-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService';
5
+ import { NotebookExecutionType } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService';
6
6
  import { INotebookExecutionStateService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service';
7
7
  import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
8
8
  import { NotebookSetting, CellKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
9
- import { registerNotebookContribution } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorExtensions';
9
+ import { registerNotebookContribution } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorExtensions';
10
10
  import { Iterable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/iterator';
11
- import { CodeCellViewModel } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel';
11
+ import { CodeCellViewModel } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel';
12
12
  import { Event } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
13
13
  import { IChatAgentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents.service';
14
14