@codingame/monaco-vscode-notebook-service-override 12.0.1 → 13.1.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.
- package/index.d.ts +1 -1
- package/index.js +20 -20
- package/package.json +29 -37
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.d.ts +13 -13
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +38 -38
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +33 -33
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticEditorContrib.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticEditorContrib.js +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticsActions.js +13 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.js +15 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/contributedStatusBarItemController.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/contributedStatusBarItemController.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +19 -19
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizerService.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizerService.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +27 -27
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookBreakpoints.js +12 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookCellPausing.js +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.js +9 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorHint/emptyCellEditorHint.d.ts +12 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorHint/emptyCellEditorHint.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +26 -26
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/execute/executionEditorProgress.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/execute/executionEditorProgress.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/media/notebookFind.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +15 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +29 -29
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.d.ts +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +17 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/kernelDetection/notebookKernelDetection.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/marker/markerProvider.js +21 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.d.ts +9 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.js +39 -39
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookSelectionHighlight.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +26 -26
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableContextKeys.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableContextKeys.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.d.ts +9 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +16 -16
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.d.ts +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.d.ts +17 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +25 -25
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.d.ts +16 -16
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +56 -56
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.d.ts +12 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +40 -40
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/undoRedo/notebookUndoRedo.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/viewportWarmup/viewportWarmup.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/apiActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +42 -42
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +18 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +51 -51
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +37 -37
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +33 -33
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +33 -33
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +19 -19
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +16 -16
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/variablesActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +35 -35
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +102 -102
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +16 -16
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibleView.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibleView.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +40 -40
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookCellStatusBarServiceImpl.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookCellStatusBarServiceImpl.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.d.ts +13 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.js +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.d.ts +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.d.ts +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.js +17 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelServiceImpl.d.ts +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelServiceImpl.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.d.ts +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +21 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookRendererMessagingServiceImpl.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookRendererMessagingServiceImpl.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.d.ts +19 -19
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +30 -30
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.js +9 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +27 -27
- package/vscode/src/vs/workbench/contrib/notebook/common/model/cellEdit.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/common/model/cellEdit.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.d.ts +12 -12
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.js +20 -20
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.d.ts +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.js +16 -16
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookOutputRenderer.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookOutputRenderer.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookProvider.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookSimpleWorker.d.ts +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookSimpleWorker.js +10 -10
- package/vscode/src/vs/workbench/services/workingCopy/common/abstractFileWorkingCopyManager.d.ts +6 -6
- package/vscode/src/vs/workbench/services/workingCopy/common/abstractFileWorkingCopyManager.js +8 -8
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.d.ts +23 -23
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +52 -52
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.d.ts +16 -16
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +27 -27
- package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.d.ts +9 -9
- package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.js +9 -9
- package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopyManager.d.ts +7 -7
- package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopyManager.js +11 -11
package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { IDataSource } from "vscode/vscode/vs/base/browser/ui/tree/tree";
|
|
2
|
-
import { Event } from "vscode/vscode/vs/base/common/event";
|
|
3
|
-
import { IDisposable, type IReference } from "vscode/vscode/vs/base/common/lifecycle";
|
|
4
|
-
import { URI } from "vscode/vscode/vs/base/common/uri";
|
|
5
|
-
import { IConfigurationService } from "vscode/vscode/vs/platform/configuration/common/configuration.service";
|
|
6
|
-
import { IEditorOptions } from "vscode/vscode/vs/platform/editor/common/editor";
|
|
7
|
-
import { IInstantiationService } from "vscode/vscode/vs/platform/instantiation/common/instantiation";
|
|
8
|
-
import { IThemeService } from "vscode/vscode/vs/platform/theme/common/themeService.service";
|
|
9
|
-
import { IEditorPane } from "vscode/vscode/vs/workbench/common/editor";
|
|
1
|
+
import { IDataSource } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/tree/tree";
|
|
2
|
+
import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
|
|
3
|
+
import { IDisposable, type IReference } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
4
|
+
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
5
|
+
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
6
|
+
import { IEditorOptions } from "@codingame/monaco-vscode-api/vscode/vs/platform/editor/common/editor";
|
|
7
|
+
import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
8
|
+
import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
|
|
9
|
+
import { IEditorPane } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor";
|
|
10
10
|
import { CellFoldingState, INotebookEditorPane } from "@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
|
|
11
11
|
import { NotebookEditor } from "@codingame/monaco-vscode-6f9bc782-77e0-5716-93bd-b05210c768c5-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditor";
|
|
12
12
|
import { INotebookCellOutlineDataSource } from "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSource";
|
|
13
|
-
import { CellKind } from "vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon";
|
|
14
|
-
import { IEditorService } from "vscode/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
13
|
+
import { CellKind } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon";
|
|
14
|
+
import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
15
15
|
import { IBreadcrumbsDataSource, IOutline, IOutlineCreator, IOutlineListConfig, IQuickPickDataSource, IQuickPickOutlineElement, OutlineChangeEvent, OutlineTarget } from "@codingame/monaco-vscode-d6e33d82-c101-549d-a885-0807ab3e0cfb-common/vscode/vs/workbench/services/outline/browser/outline";
|
|
16
|
-
import { IOutlineService } from "vscode/vscode/vs/workbench/services/outline/browser/outline.service";
|
|
16
|
+
import { IOutlineService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/outline/browser/outline.service";
|
|
17
17
|
import { OutlineEntry } from "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/viewModel/OutlineEntry";
|
|
18
|
-
import { CancellationToken } from "vscode/vscode/vs/base/common/cancellation";
|
|
19
|
-
import { RawContextKey } from "vscode/vscode/vs/platform/contextkey/common/contextkey";
|
|
20
|
-
import { INotebookExecutionStateService } from "vscode/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service";
|
|
21
|
-
import { ILanguageFeaturesService } from "vscode/vscode/vs/editor/common/services/languageFeatures";
|
|
18
|
+
import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation";
|
|
19
|
+
import { RawContextKey } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey";
|
|
20
|
+
import { INotebookExecutionStateService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service";
|
|
21
|
+
import { ILanguageFeaturesService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures";
|
|
22
22
|
export declare class NotebookQuickPickProvider implements IQuickPickDataSource<OutlineEntry> {
|
|
23
23
|
private readonly notebookCellOutlineDataSourceRef;
|
|
24
24
|
private readonly _configurationService;
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { localize } from 'vscode/vscode/vs/nls';
|
|
4
|
-
import { clearNode, WindowIdleValue } from 'vscode/vscode/vs/base/browser/dom';
|
|
5
|
-
import { ToolBar } from 'vscode/vscode/vs/base/browser/ui/toolbar/toolbar';
|
|
6
|
-
import { IconLabel } from 'vscode/vscode/vs/base/browser/ui/iconLabel/iconLabel';
|
|
7
|
-
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
8
|
-
import { createMatches } from 'vscode/vscode/vs/base/common/filters';
|
|
9
|
-
import { DisposableStore, Disposable, toDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
10
|
-
import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
|
|
11
|
-
import { getIconClassesForLanguageId } from 'vscode/vscode/vs/editor/common/services/getIconClasses';
|
|
12
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
13
|
-
import { Extensions as Extensions$1 } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
14
|
-
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
15
|
-
import { MarkerSeverity } from 'vscode/vscode/vs/platform/markers/common/markers';
|
|
16
|
-
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
17
|
-
import 'vscode/vscode/vs/platform/theme/common/colorUtils';
|
|
18
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/baseColors';
|
|
19
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/chartsColors';
|
|
20
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/editorColors';
|
|
21
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/inputColors';
|
|
22
|
-
import { listErrorForeground, listWarningForeground } from 'vscode/vscode/vs/platform/theme/common/colors/listColors';
|
|
23
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/menuColors';
|
|
24
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/minimapColors';
|
|
25
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/miscColors';
|
|
26
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
27
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/searchColors';
|
|
28
|
-
import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService.service';
|
|
29
|
-
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
4
|
+
import { clearNode, WindowIdleValue } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
5
|
+
import { ToolBar } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/toolbar/toolbar';
|
|
6
|
+
import { IconLabel } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/iconLabel/iconLabel';
|
|
7
|
+
import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
8
|
+
import { createMatches } from '@codingame/monaco-vscode-api/vscode/vs/base/common/filters';
|
|
9
|
+
import { DisposableStore, Disposable, toDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
10
|
+
import { ThemeIcon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/themables';
|
|
11
|
+
import { getIconClassesForLanguageId } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/getIconClasses';
|
|
12
|
+
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
13
|
+
import { Extensions as Extensions$1 } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
14
|
+
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
15
|
+
import { MarkerSeverity } from '@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers';
|
|
16
|
+
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
17
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colorUtils';
|
|
18
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/baseColors';
|
|
19
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/chartsColors';
|
|
20
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/editorColors';
|
|
21
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/inputColors';
|
|
22
|
+
import { listErrorForeground, listWarningForeground } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/listColors';
|
|
23
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/menuColors';
|
|
24
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/minimapColors';
|
|
25
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/miscColors';
|
|
26
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
27
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/searchColors';
|
|
28
|
+
import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
|
|
29
|
+
import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
30
30
|
import { CellFoldingState, CellRevealType } from '@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
31
31
|
import { NotebookEditor } from '@codingame/monaco-vscode-6f9bc782-77e0-5716-93bd-b05210c768c5-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditor';
|
|
32
|
-
import { CellKind, NotebookSetting, NotebookCellsChangeType } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
33
|
-
import { SIDE_GROUP } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
34
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
35
|
-
import { LifecyclePhase } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
32
|
+
import { CellKind, NotebookSetting, NotebookCellsChangeType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
33
|
+
import { SIDE_GROUP } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService';
|
|
34
|
+
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
35
|
+
import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
36
36
|
import { OutlineConfigKeys, OutlineTarget, OutlineConfigCollapseItemsValues } from '@codingame/monaco-vscode-d6e33d82-c101-549d-a885-0807ab3e0cfb-common/vscode/vs/workbench/services/outline/browser/outline';
|
|
37
|
-
import { IOutlineService } from 'vscode/vscode/vs/workbench/services/outline/browser/outline.service';
|
|
38
|
-
import { CancellationToken } from 'vscode/vscode/vs/base/common/cancellation';
|
|
39
|
-
import { Range } from 'vscode/vscode/vs/editor/common/core/range';
|
|
40
|
-
import { mainWindow } from 'vscode/vscode/vs/base/browser/window';
|
|
41
|
-
import { IContextMenuService } from 'vscode/vscode/vs/platform/contextview/browser/contextView.service';
|
|
42
|
-
import { MenuItemAction, MenuId, MenuRegistry, registerAction2, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
43
|
-
import { IMenuService } from 'vscode/vscode/vs/platform/actions/common/actions.service';
|
|
44
|
-
import { RawContextKey, ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
45
|
-
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
46
|
-
import { MenuEntryActionViewItem, getActionBarActions } from 'vscode/vscode/vs/platform/actions/browser/menuEntryActionViewItem';
|
|
47
|
-
import { disposableTimeout, Delayer } from 'vscode/vscode/vs/base/common/async';
|
|
37
|
+
import { IOutlineService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/outline/browser/outline.service';
|
|
38
|
+
import { CancellationToken } from '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
|
|
39
|
+
import { Range } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/range';
|
|
40
|
+
import { mainWindow } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/window';
|
|
41
|
+
import { IContextMenuService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextview/browser/contextView.service';
|
|
42
|
+
import { MenuItemAction, MenuId, MenuRegistry, registerAction2, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
43
|
+
import { IMenuService } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions.service';
|
|
44
|
+
import { RawContextKey, ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
45
|
+
import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
46
|
+
import { MenuEntryActionViewItem, getActionBarActions } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/browser/menuEntryActionViewItem';
|
|
47
|
+
import { disposableTimeout, Delayer } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
48
48
|
import { IOutlinePane } from '@codingame/monaco-vscode-0cd5242b-7b61-5f66-ac25-ffa40baf8e8f-common/vscode/vs/workbench/contrib/outline/browser/outline';
|
|
49
|
-
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
49
|
+
import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
|
|
50
50
|
import { NOTEBOOK_IS_ACTIVE_EDITOR } from '@codingame/monaco-vscode-4a36e358-d94d-55e0-86ee-3bcd543d9d3f-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
|
|
51
51
|
import { NotebookOutlineConstants } from '../../viewModel/notebookOutlineEntryFactory.js';
|
|
52
52
|
import { INotebookCellOutlineDataSourceFactory } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSourceFactory.service';
|
|
53
|
-
import { NotebookExecutionType } from '@codingame/monaco-vscode-
|
|
54
|
-
import { INotebookExecutionStateService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service';
|
|
55
|
-
import { ILanguageFeaturesService } from 'vscode/vscode/vs/editor/common/services/languageFeatures';
|
|
53
|
+
import { NotebookExecutionType } from '@codingame/monaco-vscode-972e8507-3a64-566d-8bc0-b78993998562-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService';
|
|
54
|
+
import { INotebookExecutionStateService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service';
|
|
55
|
+
import { ILanguageFeaturesService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures';
|
|
56
56
|
|
|
57
57
|
class NotebookOutlineTemplate {
|
|
58
58
|
static { this.templateId = 'NotebookOutlineRenderer'; }
|
|
@@ -718,33 +718,33 @@ const NotebookOutlineContext = {
|
|
|
718
718
|
type: 'boolean',
|
|
719
719
|
default: true,
|
|
720
720
|
markdownDescription: ( localize(
|
|
721
|
-
|
|
721
|
+
7402,
|
|
722
722
|
"When enabled, notebook outline will show only markdown cells containing a header."
|
|
723
723
|
))
|
|
724
724
|
},
|
|
725
725
|
[NotebookSetting.outlineShowCodeCells]: {
|
|
726
726
|
type: 'boolean',
|
|
727
727
|
default: false,
|
|
728
|
-
markdownDescription: ( localize(
|
|
728
|
+
markdownDescription: ( localize(7403, "When enabled, notebook outline shows code cells."))
|
|
729
729
|
},
|
|
730
730
|
[NotebookSetting.outlineShowCodeCellSymbols]: {
|
|
731
731
|
type: 'boolean',
|
|
732
732
|
default: true,
|
|
733
733
|
markdownDescription: ( localize(
|
|
734
|
-
|
|
734
|
+
7404,
|
|
735
735
|
"When enabled, notebook outline shows code cell symbols. Relies on `notebook.outline.showCodeCells` being enabled."
|
|
736
736
|
))
|
|
737
737
|
},
|
|
738
738
|
[NotebookSetting.breadcrumbsShowCodeCells]: {
|
|
739
739
|
type: 'boolean',
|
|
740
740
|
default: true,
|
|
741
|
-
markdownDescription: ( localize(
|
|
741
|
+
markdownDescription: ( localize(7405, "When enabled, notebook breadcrumbs contain code cells."))
|
|
742
742
|
},
|
|
743
743
|
[NotebookSetting.gotoSymbolsAllSymbols]: {
|
|
744
744
|
type: 'boolean',
|
|
745
745
|
default: true,
|
|
746
746
|
markdownDescription: ( localize(
|
|
747
|
-
|
|
747
|
+
7406,
|
|
748
748
|
"When enabled, the Go to Symbol Quick Pick will display full code symbols from the notebook, as well as Markdown headers."
|
|
749
749
|
))
|
|
750
750
|
},
|
|
@@ -752,7 +752,7 @@ const NotebookOutlineContext = {
|
|
|
752
752
|
});
|
|
753
753
|
MenuRegistry.appendMenuItem(MenuId.ViewTitle, {
|
|
754
754
|
submenu: MenuId.NotebookOutlineFilter,
|
|
755
|
-
title: ( localize(
|
|
755
|
+
title: ( localize(7407, "Filter Entries")),
|
|
756
756
|
icon: Codicon.filter,
|
|
757
757
|
group: 'navigation',
|
|
758
758
|
order: -1,
|
|
@@ -762,7 +762,7 @@ registerAction2(class ToggleShowMarkdownHeadersOnly extends Action2 {
|
|
|
762
762
|
constructor() {
|
|
763
763
|
super({
|
|
764
764
|
id: 'notebook.outline.toggleShowMarkdownHeadersOnly',
|
|
765
|
-
title: ( localize(
|
|
765
|
+
title: ( localize(7408, "Markdown Headers Only")),
|
|
766
766
|
f1: false,
|
|
767
767
|
toggled: {
|
|
768
768
|
condition: ( ContextKeyExpr.equals('config.notebook.outline.showMarkdownHeadersOnly', true))
|
|
@@ -783,7 +783,7 @@ registerAction2(class ToggleCodeCellEntries extends Action2 {
|
|
|
783
783
|
constructor() {
|
|
784
784
|
super({
|
|
785
785
|
id: 'notebook.outline.toggleCodeCells',
|
|
786
|
-
title: ( localize(
|
|
786
|
+
title: ( localize(7409, "Code Cells")),
|
|
787
787
|
f1: false,
|
|
788
788
|
toggled: {
|
|
789
789
|
condition: ( ContextKeyExpr.equals('config.notebook.outline.showCodeCells', true))
|
|
@@ -805,7 +805,7 @@ registerAction2(class ToggleCodeCellSymbolEntries extends Action2 {
|
|
|
805
805
|
constructor() {
|
|
806
806
|
super({
|
|
807
807
|
id: 'notebook.outline.toggleCodeCellSymbols',
|
|
808
|
-
title: ( localize(
|
|
808
|
+
title: ( localize(7410, "Code Cell Symbols")),
|
|
809
809
|
f1: false,
|
|
810
810
|
toggled: {
|
|
811
811
|
condition: ( ContextKeyExpr.equals('config.notebook.outline.showCodeCellSymbols', true))
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
import { localize } from 'vscode/vscode/vs/nls';
|
|
3
|
-
import { registerAction2, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
4
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
5
|
-
import { NotebookSetting } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
2
|
+
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
3
|
+
import { registerAction2, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
4
|
+
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
5
|
+
import { NotebookSetting } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
6
6
|
|
|
7
7
|
var NotebookProfileType;
|
|
8
8
|
(function (NotebookProfileType) {
|
|
@@ -53,7 +53,7 @@ registerAction2(class extends Action2 {
|
|
|
53
53
|
constructor() {
|
|
54
54
|
super({
|
|
55
55
|
id: 'notebook.setProfile',
|
|
56
|
-
title: ( localize(
|
|
56
|
+
title: ( localize(7411, "Set Profile"))
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
59
|
async run(accessor, args) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { CancellationToken } from "vscode/vscode/vs/base/common/cancellation";
|
|
2
|
-
import { HierarchicalKind } from "vscode/vscode/vs/base/common/hierarchicalKind";
|
|
3
|
-
import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
4
|
-
import { CodeActionProvider } from "vscode/vscode/vs/editor/common/languages";
|
|
5
|
-
import { ITextModel } from "vscode/vscode/vs/editor/common/model";
|
|
6
|
-
import { ILanguageFeaturesService } from "vscode/vscode/vs/editor/common/services/languageFeatures";
|
|
7
|
-
import { IInstantiationService, ServicesAccessor } from "vscode/vscode/vs/platform/instantiation/common/instantiation";
|
|
8
|
-
import { IProgress, IProgressStep } from "vscode/vscode/vs/platform/progress/common/progress";
|
|
9
|
-
import { IWorkbenchContribution } from "vscode/vscode/vs/workbench/common/contributions";
|
|
1
|
+
import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation";
|
|
2
|
+
import { HierarchicalKind } from "@codingame/monaco-vscode-api/vscode/vs/base/common/hierarchicalKind";
|
|
3
|
+
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
4
|
+
import { CodeActionProvider } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages";
|
|
5
|
+
import { ITextModel } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/model";
|
|
6
|
+
import { ILanguageFeaturesService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures";
|
|
7
|
+
import { IInstantiationService, ServicesAccessor } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
8
|
+
import { IProgress, IProgressStep } from "@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress";
|
|
9
|
+
import { IWorkbenchContribution } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions";
|
|
10
10
|
import { NotebookTextModel } from "../../../common/model/notebookTextModel.js";
|
|
11
|
-
import { IEditorService } from "vscode/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
11
|
+
import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
12
12
|
import { IStoredFileWorkingCopy, IStoredFileWorkingCopyModel } from "@codingame/monaco-vscode-99f24462-c56d-5407-83fb-2ea9dd33cc8c-common/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopy";
|
|
13
13
|
import { IStoredFileWorkingCopySaveParticipant, IStoredFileWorkingCopySaveParticipantContext } from "@codingame/monaco-vscode-base-service-override/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService";
|
|
14
|
-
import { IWorkingCopyFileService } from "vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.service";
|
|
14
|
+
import { IWorkingCopyFileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.service";
|
|
15
15
|
export declare abstract class NotebookSaveParticipant implements IStoredFileWorkingCopySaveParticipant {
|
|
16
16
|
private readonly _editorService;
|
|
17
17
|
constructor(_editorService: IEditorService);
|
|
@@ -22,7 +22,7 @@ export declare class CodeActionParticipantUtils {
|
|
|
22
22
|
static checkAndRunFormatCodeAction(accessor: ServicesAccessor, notebookModel: NotebookTextModel, progress: IProgress<IProgressStep>, token: CancellationToken): Promise<boolean>;
|
|
23
23
|
static applyOnSaveGenericCodeActions(accessor: ServicesAccessor, model: ITextModel, codeActionsOnSave: readonly HierarchicalKind[], excludes: readonly HierarchicalKind[], progress: IProgress<IProgressStep>, token: CancellationToken): Promise<void>;
|
|
24
24
|
static applyOnSaveFormatCodeAction(accessor: ServicesAccessor, model: ITextModel, formatCodeActionOnSave: HierarchicalKind, excludes: readonly HierarchicalKind[], extensionId: string | undefined, progress: IProgress<IProgressStep>, token: CancellationToken): Promise<boolean>;
|
|
25
|
-
static getActionsToRun(model: ITextModel, codeActionKind: HierarchicalKind, excludes: readonly HierarchicalKind[], languageFeaturesService: ILanguageFeaturesService, progress: IProgress<CodeActionProvider>, token: CancellationToken): Promise<import("vscode/vscode/vs/editor/contrib/codeAction/common/types").CodeActionSet>;
|
|
25
|
+
static getActionsToRun(model: ITextModel, codeActionKind: HierarchicalKind, excludes: readonly HierarchicalKind[], languageFeaturesService: ILanguageFeaturesService, progress: IProgress<CodeActionProvider>, token: CancellationToken): Promise<import("@codingame/monaco-vscode-api/vscode/vs/editor/contrib/codeAction/common/types").CodeActionSet>;
|
|
26
26
|
}
|
|
27
27
|
export declare class SaveParticipantsContribution extends Disposable implements IWorkbenchContribution {
|
|
28
28
|
private readonly instantiationService;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { HierarchicalKind } from 'vscode/vscode/vs/base/common/hierarchicalKind';
|
|
4
|
-
import { DisposableStore, Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
5
|
-
import { isEqual } from 'vscode/vscode/vs/base/common/resources';
|
|
6
|
-
import { ResourceTextEdit, IBulkEditService } from 'vscode/vscode/vs/editor/browser/services/bulkEditService';
|
|
7
|
-
import { trimTrailingWhitespace } from 'vscode/vscode/vs/editor/common/commands/trimTrailingWhitespaceCommand';
|
|
8
|
-
import { Position } from 'vscode/vscode/vs/editor/common/core/position';
|
|
9
|
-
import { Range } from 'vscode/vscode/vs/editor/common/core/range';
|
|
10
|
-
import { CodeActionTriggerType } from 'vscode/vscode/vs/editor/common/languages';
|
|
11
|
-
import { IEditorWorkerService } from 'vscode/vscode/vs/editor/common/services/editorWorker';
|
|
12
|
-
import { ILanguageFeaturesService } from 'vscode/vscode/vs/editor/common/services/languageFeatures';
|
|
13
|
-
import { ITextModelService } from 'vscode/vscode/vs/editor/common/services/resolverService';
|
|
14
|
-
import { applyCodeAction, ApplyCodeActionReason, getCodeActions } from 'vscode/vscode/vs/editor/contrib/codeAction/browser/codeAction';
|
|
15
|
-
import { CodeActionKind, CodeActionTriggerSource } from 'vscode/vscode/vs/editor/contrib/codeAction/common/types';
|
|
16
|
-
import { getDocumentFormattingEditsWithSelectedProvider, FormattingMode } from 'vscode/vscode/vs/editor/contrib/format/browser/format';
|
|
17
|
-
import { SnippetController2 } from 'vscode/vscode/vs/editor/contrib/snippet/browser/snippetController2';
|
|
18
|
-
import { localize } from 'vscode/vscode/vs/nls';
|
|
19
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
20
|
-
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
21
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
22
|
-
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
23
|
-
import { IWorkspaceTrustManagementService } from 'vscode/vscode/vs/platform/workspace/common/workspaceTrust.service';
|
|
24
|
-
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
25
|
-
import { SaveReason } from 'vscode/vscode/vs/workbench/common/editor';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { HierarchicalKind } from '@codingame/monaco-vscode-api/vscode/vs/base/common/hierarchicalKind';
|
|
4
|
+
import { DisposableStore, Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
5
|
+
import { isEqual } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
6
|
+
import { ResourceTextEdit, IBulkEditService } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/bulkEditService';
|
|
7
|
+
import { trimTrailingWhitespace } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/commands/trimTrailingWhitespaceCommand';
|
|
8
|
+
import { Position } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/position';
|
|
9
|
+
import { Range } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/range';
|
|
10
|
+
import { CodeActionTriggerType } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages';
|
|
11
|
+
import { IEditorWorkerService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/editorWorker';
|
|
12
|
+
import { ILanguageFeaturesService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures';
|
|
13
|
+
import { ITextModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService';
|
|
14
|
+
import { applyCodeAction, ApplyCodeActionReason, getCodeActions } from '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/codeAction/browser/codeAction';
|
|
15
|
+
import { CodeActionKind, CodeActionTriggerSource } from '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/codeAction/common/types';
|
|
16
|
+
import { getDocumentFormattingEditsWithSelectedProvider, FormattingMode } from '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/format/browser/format';
|
|
17
|
+
import { SnippetController2 } from '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/snippet/browser/snippetController2';
|
|
18
|
+
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
19
|
+
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
20
|
+
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
21
|
+
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
22
|
+
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
23
|
+
import { IWorkspaceTrustManagementService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspaceTrust.service';
|
|
24
|
+
import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
25
|
+
import { SaveReason } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
26
26
|
import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
27
|
-
import { NotebookSetting, CellKind } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
27
|
+
import { NotebookSetting, CellKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
28
28
|
import { NotebookFileWorkingCopyModel } from '@codingame/monaco-vscode-99f24462-c56d-5407-83fb-2ea9dd33cc8c-common/vscode/vs/workbench/contrib/notebook/common/notebookEditorModel';
|
|
29
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
30
|
-
import { LifecyclePhase } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
31
|
-
import { IWorkingCopyFileService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.service';
|
|
29
|
+
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
30
|
+
import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
31
|
+
import { IWorkingCopyFileService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.service';
|
|
32
32
|
import { NotebookMultiCursorController, NotebookMultiCursorState } from '../multicursor/notebookMulticursor.js';
|
|
33
33
|
|
|
34
34
|
class NotebookSaveParticipant {
|
|
@@ -64,7 +64,7 @@ let FormatOnSaveParticipant = class FormatOnSaveParticipant {
|
|
|
64
64
|
if (!enabled) {
|
|
65
65
|
return undefined;
|
|
66
66
|
}
|
|
67
|
-
progress.report({ message: ( localize(
|
|
67
|
+
progress.report({ message: ( localize(7412, "Formatting")) });
|
|
68
68
|
const notebook = workingCopy.model.notebookModel;
|
|
69
69
|
const formatApplied = await this.instantiationService.invokeFunction(CodeActionParticipantUtils.checkAndRunFormatCodeAction, notebook, progress, token);
|
|
70
70
|
const disposable = ( new DisposableStore());
|
|
@@ -82,7 +82,7 @@ let FormatOnSaveParticipant = class FormatOnSaveParticipant {
|
|
|
82
82
|
}
|
|
83
83
|
return [];
|
|
84
84
|
})));
|
|
85
|
-
await this.bulkEditService.apply( allCellEdits.flat(), { label: ( localize(
|
|
85
|
+
await this.bulkEditService.apply( allCellEdits.flat(), { label: ( localize(7413, "Format Notebook")), code: 'undoredo.formatNotebook', });
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
finally {
|
|
@@ -151,7 +151,7 @@ let TrimWhitespaceParticipant = class TrimWhitespaceParticipant extends Notebook
|
|
|
151
151
|
return ( ops.map(op => ( new ResourceTextEdit(model.uri, { ...op, text: op.text || '' }, model.getVersionId()))));
|
|
152
152
|
})));
|
|
153
153
|
const filteredEdits = allCellEdits.flat().filter(edit => edit !== undefined);
|
|
154
|
-
await this.bulkEditService.apply(filteredEdits, { label: ( localize(
|
|
154
|
+
await this.bulkEditService.apply(filteredEdits, { label: ( localize(7414, "Notebook Trim Trailing Whitespace")), code: 'undoredo.notebookTrimTrailingWhitespace' });
|
|
155
155
|
}
|
|
156
156
|
finally {
|
|
157
157
|
progress.report({ increment: 100 });
|
|
@@ -228,7 +228,7 @@ let TrimFinalNewLinesParticipant = class TrimFinalNewLinesParticipant extends No
|
|
|
228
228
|
));
|
|
229
229
|
})));
|
|
230
230
|
const filteredEdits = allCellEdits.flat().filter(edit => edit !== undefined);
|
|
231
|
-
await this.bulkEditService.apply(filteredEdits, { label: ( localize(
|
|
231
|
+
await this.bulkEditService.apply(filteredEdits, { label: ( localize(7415, "Trim Final New Lines")), code: 'undoredo.trimFinalNewLines' });
|
|
232
232
|
}
|
|
233
233
|
finally {
|
|
234
234
|
progress.report({ increment: 100 });
|
|
@@ -282,7 +282,7 @@ let InsertFinalNewLineParticipant = class InsertFinalNewLineParticipant extends
|
|
|
282
282
|
)), text: cell.textBuffer.getEOL() }, cell.textModel?.getVersionId()));
|
|
283
283
|
})));
|
|
284
284
|
const filteredEdits = allCellEdits.filter(edit => edit !== undefined);
|
|
285
|
-
await this.bulkEditService.apply(filteredEdits, { label: ( localize(
|
|
285
|
+
await this.bulkEditService.apply(filteredEdits, { label: ( localize(7416, "Insert Final New Line")), code: 'undoredo.insertFinalNewLine' });
|
|
286
286
|
if (activeCellEditor && selections) {
|
|
287
287
|
activeCellEditor.setSelections(selections);
|
|
288
288
|
}
|
|
@@ -338,7 +338,7 @@ let CodeActionOnSaveParticipant = class CodeActionOnSaveParticipant {
|
|
|
338
338
|
const notebookCodeActionsOnSave = includedActions.filter(x => CodeActionKind.Notebook.contains(x));
|
|
339
339
|
if (notebookCodeActionsOnSave.length) {
|
|
340
340
|
const nbDisposable = ( new DisposableStore());
|
|
341
|
-
progress.report({ message: ( localize(
|
|
341
|
+
progress.report({ message: ( localize(7417, "Running 'Notebook' code actions")) });
|
|
342
342
|
try {
|
|
343
343
|
const cell = notebookModel.cells[0];
|
|
344
344
|
const ref = await this.textModelService.createModelReference(cell.uri);
|
|
@@ -370,7 +370,7 @@ let CodeActionOnSaveParticipant = class CodeActionOnSaveParticipant {
|
|
|
370
370
|
});
|
|
371
371
|
}
|
|
372
372
|
const cellDisposable = ( new DisposableStore());
|
|
373
|
-
progress.report({ message: ( localize(
|
|
373
|
+
progress.report({ message: ( localize(7418, "Running 'Cell' code actions")) });
|
|
374
374
|
try {
|
|
375
375
|
await Promise.all(( notebookModel.cells.map(async (cell) => {
|
|
376
376
|
const ref = await this.textModelService.createModelReference(cell.uri);
|
|
@@ -410,7 +410,7 @@ class CodeActionParticipantUtils {
|
|
|
410
410
|
const configurationService = accessor.get(IConfigurationService);
|
|
411
411
|
const formatDisposable = ( new DisposableStore());
|
|
412
412
|
let formatResult = false;
|
|
413
|
-
progress.report({ message: ( localize(
|
|
413
|
+
progress.report({ message: ( localize(7419, "Running 'Format' code actions")) });
|
|
414
414
|
try {
|
|
415
415
|
const cell = notebookModel.cells[0];
|
|
416
416
|
const ref = await textModelService.createModelReference(cell.uri);
|
|
@@ -439,7 +439,7 @@ class CodeActionParticipantUtils {
|
|
|
439
439
|
_report() {
|
|
440
440
|
progress.report({
|
|
441
441
|
message: ( localize(
|
|
442
|
-
|
|
442
|
+
7420,
|
|
443
443
|
"Getting code actions from '{0}' ([configure]({1})).",
|
|
444
444
|
( [...this._names].map(name => `'${name}'`)).join(', '),
|
|
445
445
|
'command:workbench.action.openSettings?%5B%22notebook.codeActionsOnSave%22%5D'
|
|
@@ -479,7 +479,7 @@ class CodeActionParticipantUtils {
|
|
|
479
479
|
logService.warn('Failed to apply code action on save, applied to multiple resources.');
|
|
480
480
|
continue;
|
|
481
481
|
}
|
|
482
|
-
progress.report({ message: ( localize(
|
|
482
|
+
progress.report({ message: ( localize(7421, "Applying code action '{0}'.", action.action.title)) });
|
|
483
483
|
await instantiationService.invokeFunction(applyCodeAction, action, ApplyCodeActionReason.OnSave, {}, token);
|
|
484
484
|
if (token.isCancellationRequested) {
|
|
485
485
|
return;
|
|
@@ -504,7 +504,7 @@ class CodeActionParticipantUtils {
|
|
|
504
504
|
_report() {
|
|
505
505
|
progress.report({
|
|
506
506
|
message: ( localize(
|
|
507
|
-
|
|
507
|
+
7420,
|
|
508
508
|
"Getting code actions from '{0}' ([configure]({1})).",
|
|
509
509
|
( [...this._names].map(name => `'${name}'`)).join(', '),
|
|
510
510
|
'command:workbench.action.openSettings?%5B%22notebook.defaultFormatter%22%5D'
|
|
@@ -531,7 +531,7 @@ class CodeActionParticipantUtils {
|
|
|
531
531
|
if (!action) {
|
|
532
532
|
return false;
|
|
533
533
|
}
|
|
534
|
-
progress.report({ message: ( localize(
|
|
534
|
+
progress.report({ message: ( localize(7421, "Applying code action '{0}'.", action.action.title)) });
|
|
535
535
|
await instantiationService.invokeFunction(applyCodeAction, action, ApplyCodeActionReason.OnSave, {}, token);
|
|
536
536
|
if (token.isCancellationRequested) {
|
|
537
537
|
return false;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
1
|
+
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
2
2
|
import { INotebookEditor, INotebookEditorContribution } from "@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
|
|
3
3
|
export declare class TroubleshootController extends Disposable implements INotebookEditorContribution {
|
|
4
4
|
private readonly _notebookEditor;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
import { Disposable, DisposableStore, dispose } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
3
|
-
import { localize2 } from 'vscode/vscode/vs/nls';
|
|
4
|
-
import { Categories } from 'vscode/vscode/vs/platform/action/common/actionCommonCategories';
|
|
5
|
-
import { registerAction2, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
2
|
+
import { Disposable, DisposableStore, dispose } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
3
|
+
import { localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
4
|
+
import { Categories } from '@codingame/monaco-vscode-api/vscode/vs/platform/action/common/actionCommonCategories';
|
|
5
|
+
import { registerAction2, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
6
6
|
import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
7
7
|
import { registerNotebookContribution } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorExtensions';
|
|
8
|
-
import { CellStatusbarAlignment } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
9
|
-
import { INotebookService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
|
|
10
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
8
|
+
import { CellStatusbarAlignment } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
9
|
+
import { INotebookService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
|
|
10
|
+
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
11
11
|
|
|
12
12
|
class TroubleshootController extends Disposable {
|
|
13
13
|
static { this.id = 'workbench.notebook.troubleshoot'; }
|
|
@@ -95,7 +95,7 @@ registerAction2(class extends Action2 {
|
|
|
95
95
|
constructor() {
|
|
96
96
|
super({
|
|
97
97
|
id: 'notebook.toggleLayoutTroubleshoot',
|
|
98
|
-
title: ( localize2(
|
|
98
|
+
title: ( localize2(7422, "Toggle Layout Troubleshoot")),
|
|
99
99
|
category: Categories.Developer,
|
|
100
100
|
f1: true
|
|
101
101
|
});
|
|
@@ -114,7 +114,7 @@ registerAction2(class extends Action2 {
|
|
|
114
114
|
constructor() {
|
|
115
115
|
super({
|
|
116
116
|
id: 'notebook.inspectLayout',
|
|
117
|
-
title: ( localize2(
|
|
117
|
+
title: ( localize2(7423, "Inspect Notebook Layout")),
|
|
118
118
|
category: Categories.Developer,
|
|
119
119
|
f1: true
|
|
120
120
|
});
|
|
@@ -135,7 +135,7 @@ registerAction2(class extends Action2 {
|
|
|
135
135
|
constructor() {
|
|
136
136
|
super({
|
|
137
137
|
id: 'notebook.clearNotebookEdtitorTypeCache',
|
|
138
|
-
title: ( localize2(
|
|
138
|
+
title: ( localize2(7424, "Clear Notebook Editor Type Cache")),
|
|
139
139
|
category: Categories.Developer,
|
|
140
140
|
f1: true
|
|
141
141
|
});
|
package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/undoRedo/notebookUndoRedo.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
|
-
import { registerWorkbenchContribution2, WorkbenchPhase } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
5
|
-
import { CellKind } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
6
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
4
|
+
import { registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
5
|
+
import { CellKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
6
|
+
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
7
7
|
import { getNotebookEditorFromEditorPane, CellEditState } from '@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
8
|
-
import { UndoCommand, RedoCommand } from 'vscode/vscode/vs/editor/browser/editorExtensions';
|
|
8
|
+
import { UndoCommand, RedoCommand } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorExtensions';
|
|
9
9
|
|
|
10
10
|
let NotebookUndoRedoContribution = class NotebookUndoRedoContribution extends Disposable {
|
|
11
11
|
static { this.ID = 'workbench.contrib.notebookUndoRedo'; }
|
package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/viewportWarmup/viewportWarmup.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { RunOnceScheduler } from 'vscode/vscode/vs/base/common/async';
|
|
4
|
-
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
5
|
-
import { IAccessibilityService } from 'vscode/vscode/vs/platform/accessibility/common/accessibility.service';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { RunOnceScheduler } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
4
|
+
import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
5
|
+
import { IAccessibilityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/common/accessibility.service';
|
|
6
6
|
import { CellEditState, RenderOutputType } from '@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
7
7
|
import { registerNotebookContribution } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorExtensions';
|
|
8
8
|
import { outputDisplayLimit } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel';
|
|
9
|
-
import { CellKind } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
9
|
+
import { CellKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
10
10
|
import { cellRangesToIndexes } from '@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/common/notebookRange';
|
|
11
|
-
import { INotebookService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
|
|
11
|
+
import { INotebookService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
|
|
12
12
|
|
|
13
13
|
let NotebookViewportContribution = class NotebookViewportContribution extends Disposable {
|
|
14
14
|
static { this.id = 'workbench.notebook.viewportWarmup'; }
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
import { isRelativePattern } from 'vscode/vscode/vs/base/common/glob';
|
|
3
|
-
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
4
|
-
import { CommandsRegistry } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
5
|
-
import { isDocumentExcludePattern } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
6
|
-
import { INotebookKernelService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookKernelService.service';
|
|
7
|
-
import { INotebookService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
|
|
2
|
+
import { isRelativePattern } from '@codingame/monaco-vscode-api/vscode/vs/base/common/glob';
|
|
3
|
+
import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
4
|
+
import { CommandsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands';
|
|
5
|
+
import { isDocumentExcludePattern } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
6
|
+
import { INotebookKernelService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookKernelService.service';
|
|
7
|
+
import { INotebookService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
|
|
8
8
|
|
|
9
9
|
CommandsRegistry.registerCommand('_resolveNotebookContentProvider', (accessor) => {
|
|
10
10
|
const notebookService = accessor.get(INotebookService);
|