@codingame/monaco-vscode-multi-diff-editor-service-override 11.1.2 → 12.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.
- package/index.d.ts +2 -1
- package/index.js +14 -1
- package/package.json +20 -7
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/actions.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/actions.js +14 -24
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditor.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditor.contribution.js +12 -10
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditor.d.ts +48 -0
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditor.js +6 -5
- package/multiDiffEditor.js +0 -12
package/index.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { type IEditorOverrideServices } from "vscode/vscode/vs/editor/standalone/browser/standaloneServices";
|
|
2
|
+
export default function getServiceOverride(): IEditorOverrideServices;
|
package/index.js
CHANGED
|
@@ -1 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
import 'vscode/vscode/vs/editor/standalone/browser/standaloneServices';
|
|
3
|
+
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
4
|
+
import { MultiDiffSourceResolverService } from '@codingame/monaco-vscode-9d05a43d-c330-5ff1-937e-fde4a3852931-common/vscode/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService';
|
|
5
|
+
import { IMultiDiffSourceResolverService } from 'vscode/vscode/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service';
|
|
6
|
+
import './vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditor.contribution.js';
|
|
7
|
+
|
|
8
|
+
function getServiceOverride() {
|
|
9
|
+
return {
|
|
10
|
+
[IMultiDiffSourceResolverService.toString()]: new SyncDescriptor(MultiDiffSourceResolverService, [], true)
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { getServiceOverride as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-multi-diff-editor-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "VSCode public API plugged on the monaco editor - multi-diff-editor service-override",
|
|
4
6
|
"keywords": [],
|
|
5
7
|
"author": {
|
|
6
8
|
"name": "CodinGame",
|
|
@@ -12,8 +14,17 @@
|
|
|
12
14
|
"url": "git+ssh://git@github.com/CodinGame/monaco-vscode-api.git"
|
|
13
15
|
},
|
|
14
16
|
"type": "module",
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@codingame/monaco-vscode-1cc4ea0a-c5b6-54ed-bb60-078a99119b55-common": "12.0.0",
|
|
19
|
+
"@codingame/monaco-vscode-219d9a5f-b446-507b-a188-1178a0867c75-common": "12.0.0",
|
|
20
|
+
"@codingame/monaco-vscode-5452e2b7-9081-5f95-839b-4ab3544ce28f-common": "12.0.0",
|
|
21
|
+
"@codingame/monaco-vscode-9d05a43d-c330-5ff1-937e-fde4a3852931-common": "12.0.0",
|
|
22
|
+
"@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common": "12.0.0",
|
|
23
|
+
"@codingame/monaco-vscode-f99b74f5-fcb7-512f-8c6c-35f5a107577d-common": "12.0.0",
|
|
24
|
+
"vscode": "npm:@codingame/monaco-vscode-api@12.0.0"
|
|
25
|
+
},
|
|
26
|
+
"peerDependencies": {},
|
|
27
|
+
"peerDependenciesMeta": {},
|
|
17
28
|
"main": "index.js",
|
|
18
29
|
"module": "index.js",
|
|
19
30
|
"types": "index.d.ts",
|
|
@@ -22,10 +33,12 @@
|
|
|
22
33
|
"default": "./index.js"
|
|
23
34
|
},
|
|
24
35
|
"./vscode/*": {
|
|
25
|
-
"default": "./vscode/src/*.js"
|
|
36
|
+
"default": "./vscode/src/*.js",
|
|
37
|
+
"types": "./vscode/src/*.d.ts"
|
|
38
|
+
},
|
|
39
|
+
"./*": {
|
|
40
|
+
"default": "./*.js",
|
|
41
|
+
"types": "./*.d.ts"
|
|
26
42
|
}
|
|
27
|
-
},
|
|
28
|
-
"dependencies": {
|
|
29
|
-
"vscode": "npm:@codingame/monaco-vscode-api@11.1.2"
|
|
30
43
|
}
|
|
31
44
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Action2 } from "vscode/vscode/vs/platform/actions/common/actions";
|
|
2
|
+
import { ServicesAccessor } from "vscode/vscode/vs/platform/instantiation/common/instantiation";
|
|
3
|
+
export declare class GoToFileAction extends Action2 {
|
|
4
|
+
constructor();
|
|
5
|
+
run(accessor: ServicesAccessor, ...args: any[]): Promise<void>;
|
|
6
|
+
}
|
|
7
|
+
export declare class CollapseAllAction extends Action2 {
|
|
8
|
+
constructor();
|
|
9
|
+
run(accessor: ServicesAccessor, ...args: unknown[]): Promise<void>;
|
|
10
|
+
}
|
|
11
|
+
export declare class ExpandAllAction extends Action2 {
|
|
12
|
+
constructor();
|
|
13
|
+
run(accessor: ServicesAccessor, ...args: unknown[]): Promise<void>;
|
|
14
|
+
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
|
|
1
2
|
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
2
3
|
import { localize2 } from 'vscode/vscode/vs/nls';
|
|
3
4
|
import { Action2, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
4
5
|
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
6
|
+
import { TextEditorSelectionRevealType } from 'vscode/vscode/vs/platform/editor/common/editor';
|
|
5
7
|
import { IListService } from 'vscode/vscode/vs/platform/list/browser/listService.service';
|
|
6
|
-
import { resolveCommandsContext } from 'vscode/vscode/vs/workbench/browser/parts/editor/editorCommandsContext';
|
|
8
|
+
import { resolveCommandsContext } from '@codingame/monaco-vscode-219d9a5f-b446-507b-a188-1178a0867c75-common/vscode/vs/workbench/browser/parts/editor/editorCommandsContext';
|
|
7
9
|
import { MultiDiffEditor } from './multiDiffEditor.js';
|
|
8
|
-
import { MultiDiffEditorInput } from 'vscode/vscode/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput';
|
|
10
|
+
import { MultiDiffEditorInput } from '@codingame/monaco-vscode-1cc4ea0a-c5b6-54ed-bb60-078a99119b55-common/vscode/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput';
|
|
9
11
|
import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
|
|
10
12
|
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
11
13
|
import { ActiveEditorContext } from 'vscode/vscode/vs/workbench/common/contextkeys';
|
|
@@ -14,11 +16,11 @@ class GoToFileAction extends Action2 {
|
|
|
14
16
|
constructor() {
|
|
15
17
|
super({
|
|
16
18
|
id: 'multiDiffEditor.goToFile',
|
|
17
|
-
title: ( localize2(
|
|
19
|
+
title: ( localize2(7271, 'Open File')),
|
|
18
20
|
icon: Codicon.goToFile,
|
|
19
|
-
precondition: (
|
|
21
|
+
precondition: ( ActiveEditorContext.isEqualTo(MultiDiffEditor.ID)),
|
|
20
22
|
menu: {
|
|
21
|
-
when: (
|
|
23
|
+
when: ( ActiveEditorContext.isEqualTo(MultiDiffEditor.ID)),
|
|
22
24
|
id: MenuId.MultiDiffEditorFileToolbar,
|
|
23
25
|
order: 22,
|
|
24
26
|
group: 'navigation',
|
|
@@ -46,7 +48,7 @@ class GoToFileAction extends Action2 {
|
|
|
46
48
|
resource: targetUri,
|
|
47
49
|
options: {
|
|
48
50
|
selection: selections?.[0],
|
|
49
|
-
selectionRevealType:
|
|
51
|
+
selectionRevealType: TextEditorSelectionRevealType.CenterIfOutsideViewport,
|
|
50
52
|
},
|
|
51
53
|
});
|
|
52
54
|
}
|
|
@@ -55,17 +57,11 @@ class CollapseAllAction extends Action2 {
|
|
|
55
57
|
constructor() {
|
|
56
58
|
super({
|
|
57
59
|
id: 'multiDiffEditor.collapseAll',
|
|
58
|
-
title: ( localize2(
|
|
60
|
+
title: ( localize2(7272, 'Collapse All Diffs')),
|
|
59
61
|
icon: Codicon.collapseAll,
|
|
60
|
-
precondition: (
|
|
61
|
-
(ContextKeyExpr.equals('activeEditor', MultiDiffEditor.ID)),
|
|
62
|
-
ContextKeyExpr.not('multiDiffEditorAllCollapsed')
|
|
63
|
-
))),
|
|
62
|
+
precondition: ( ContextKeyExpr.and(( ContextKeyExpr.equals('activeEditor', MultiDiffEditor.ID)), ContextKeyExpr.not('multiDiffEditorAllCollapsed'))),
|
|
64
63
|
menu: {
|
|
65
|
-
when: (
|
|
66
|
-
(ContextKeyExpr.equals('activeEditor', MultiDiffEditor.ID)),
|
|
67
|
-
ContextKeyExpr.not('multiDiffEditorAllCollapsed')
|
|
68
|
-
))),
|
|
64
|
+
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('activeEditor', MultiDiffEditor.ID)), ContextKeyExpr.not('multiDiffEditorAllCollapsed'))),
|
|
69
65
|
id: MenuId.EditorTitle,
|
|
70
66
|
group: 'navigation',
|
|
71
67
|
order: 100
|
|
@@ -90,17 +86,11 @@ class ExpandAllAction extends Action2 {
|
|
|
90
86
|
constructor() {
|
|
91
87
|
super({
|
|
92
88
|
id: 'multiDiffEditor.expandAll',
|
|
93
|
-
title: ( localize2(
|
|
89
|
+
title: ( localize2(7273, 'Expand All Diffs')),
|
|
94
90
|
icon: Codicon.expandAll,
|
|
95
|
-
precondition: (
|
|
96
|
-
(ContextKeyExpr.equals('activeEditor', MultiDiffEditor.ID)),
|
|
97
|
-
(ContextKeyExpr.has('multiDiffEditorAllCollapsed'))
|
|
98
|
-
))),
|
|
91
|
+
precondition: ( ContextKeyExpr.and(( ContextKeyExpr.equals('activeEditor', MultiDiffEditor.ID)), ( ContextKeyExpr.has('multiDiffEditorAllCollapsed')))),
|
|
99
92
|
menu: {
|
|
100
|
-
when: (
|
|
101
|
-
(ContextKeyExpr.equals('activeEditor', MultiDiffEditor.ID)),
|
|
102
|
-
(ContextKeyExpr.has('multiDiffEditorAllCollapsed'))
|
|
103
|
-
))),
|
|
93
|
+
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('activeEditor', MultiDiffEditor.ID)), ( ContextKeyExpr.has('multiDiffEditorAllCollapsed')))),
|
|
104
94
|
id: MenuId.EditorTitle,
|
|
105
95
|
group: 'navigation',
|
|
106
96
|
order: 100
|
package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditor.contribution.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditor.contribution.js
CHANGED
|
@@ -1,22 +1,24 @@
|
|
|
1
|
+
|
|
1
2
|
import { localize } from 'vscode/vscode/vs/nls';
|
|
2
3
|
import { registerAction2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
3
4
|
import { Extensions } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
4
5
|
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
5
6
|
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
6
|
-
import { EditorPaneDescriptor } from 'vscode/vscode/vs/workbench/browser/editor';
|
|
7
|
-
import { registerWorkbenchContribution2 } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
7
|
+
import { EditorPaneDescriptor } from '@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common/vscode/vs/workbench/browser/editor';
|
|
8
|
+
import { registerWorkbenchContribution2, WorkbenchPhase } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
8
9
|
import { EditorExtensions } from 'vscode/vscode/vs/workbench/common/editor';
|
|
9
10
|
import { MultiDiffEditor } from './multiDiffEditor.js';
|
|
10
|
-
import { MultiDiffEditorResolverContribution, MultiDiffEditorInput, MultiDiffEditorSerializer } from 'vscode/vscode/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput';
|
|
11
|
+
import { MultiDiffEditorResolverContribution, MultiDiffEditorInput, MultiDiffEditorSerializer } from '@codingame/monaco-vscode-1cc4ea0a-c5b6-54ed-bb60-078a99119b55-common/vscode/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput';
|
|
11
12
|
import { GoToFileAction, CollapseAllAction, ExpandAllAction } from './actions.js';
|
|
12
13
|
import 'vscode/vscode/vs/base/common/lifecycle';
|
|
13
14
|
import 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
14
|
-
import
|
|
15
|
+
import 'vscode/vscode/vs/platform/instantiation/common/extensions';
|
|
16
|
+
import { OpenScmGroupAction, ScmMultiDiffSourceResolverContribution } from '@codingame/monaco-vscode-f99b74f5-fcb7-512f-8c6c-35f5a107577d-common/vscode/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver';
|
|
15
17
|
|
|
16
18
|
registerAction2(GoToFileAction);
|
|
17
19
|
registerAction2(CollapseAllAction);
|
|
18
20
|
registerAction2(ExpandAllAction);
|
|
19
|
-
(
|
|
21
|
+
( Registry.as(Extensions.Configuration))
|
|
20
22
|
.registerConfiguration({
|
|
21
23
|
properties: {
|
|
22
24
|
'multiDiffEditor.experimental.enabled': {
|
|
@@ -26,10 +28,10 @@ registerAction2(ExpandAllAction);
|
|
|
26
28
|
},
|
|
27
29
|
}
|
|
28
30
|
});
|
|
29
|
-
registerWorkbenchContribution2(MultiDiffEditorResolverContribution.ID, MultiDiffEditorResolverContribution,
|
|
30
|
-
(
|
|
31
|
-
.registerEditorPane(EditorPaneDescriptor.create(MultiDiffEditor, MultiDiffEditor.ID, ( localize(
|
|
32
|
-
(
|
|
31
|
+
registerWorkbenchContribution2(MultiDiffEditorResolverContribution.ID, MultiDiffEditorResolverContribution, WorkbenchPhase.BlockStartup );
|
|
32
|
+
( Registry.as(EditorExtensions.EditorPane))
|
|
33
|
+
.registerEditorPane(EditorPaneDescriptor.create(MultiDiffEditor, MultiDiffEditor.ID, ( localize(7275, "Multi Diff Editor"))), [( new SyncDescriptor(MultiDiffEditorInput))]);
|
|
34
|
+
( Registry.as(EditorExtensions.EditorFactory))
|
|
33
35
|
.registerEditorSerializer(MultiDiffEditorInput.ID, MultiDiffEditorSerializer);
|
|
34
36
|
registerAction2(OpenScmGroupAction);
|
|
35
|
-
registerWorkbenchContribution2(ScmMultiDiffSourceResolverContribution.ID, ScmMultiDiffSourceResolverContribution,
|
|
37
|
+
registerWorkbenchContribution2(ScmMultiDiffSourceResolverContribution.ID, ScmMultiDiffSourceResolverContribution, WorkbenchPhase.BlockStartup );
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as DOM from "vscode/vscode/vs/base/browser/dom";
|
|
2
|
+
import { CancellationToken } from "vscode/vscode/vs/base/common/cancellation";
|
|
3
|
+
import { ITextResourceConfigurationService } from "vscode/vscode/vs/editor/common/services/textResourceConfiguration";
|
|
4
|
+
import { InstantiationService } from "vscode/vscode/vs/platform/instantiation/common/instantiationService";
|
|
5
|
+
import { IStorageService } from "vscode/vscode/vs/platform/storage/common/storage.service";
|
|
6
|
+
import { ITelemetryService } from "vscode/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
7
|
+
import { IThemeService } from "vscode/vscode/vs/platform/theme/common/themeService.service";
|
|
8
|
+
import { AbstractEditorWithViewState } from "@codingame/monaco-vscode-219d9a5f-b446-507b-a188-1178a0867c75-common/vscode/vs/workbench/browser/parts/editor/editorWithViewState";
|
|
9
|
+
import { ICompositeControl } from "vscode/vscode/vs/workbench/common/composite";
|
|
10
|
+
import { IEditorOpenContext } from "vscode/vscode/vs/workbench/common/editor";
|
|
11
|
+
import { EditorInput } from "vscode/vscode/vs/workbench/common/editor/editorInput";
|
|
12
|
+
import { MultiDiffEditorInput } from "@codingame/monaco-vscode-1cc4ea0a-c5b6-54ed-bb60-078a99119b55-common/vscode/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput";
|
|
13
|
+
import { IEditorGroup } from "vscode/vscode/vs/workbench/services/editor/common/editorGroupsService";
|
|
14
|
+
import { IEditorGroupsService } from "vscode/vscode/vs/workbench/services/editor/common/editorGroupsService.service";
|
|
15
|
+
import { IEditorService } from "vscode/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
16
|
+
import { URI } from "vscode/vscode/vs/base/common/uri";
|
|
17
|
+
import { MultiDiffEditorViewModel } from "@codingame/monaco-vscode-1cc4ea0a-c5b6-54ed-bb60-078a99119b55-common/vscode/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel";
|
|
18
|
+
import { IMultiDiffEditorOptions, IMultiDiffEditorViewState } from "@codingame/monaco-vscode-5452e2b7-9081-5f95-839b-4ab3544ce28f-common/vscode/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl";
|
|
19
|
+
import { ICodeEditor } from "vscode/vscode/vs/editor/browser/editorBrowser";
|
|
20
|
+
import { IDiffEditor } from "vscode/vscode/vs/editor/common/editorCommon";
|
|
21
|
+
import { MultiDiffEditorItem } from "@codingame/monaco-vscode-9d05a43d-c330-5ff1-937e-fde4a3852931-common/vscode/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService";
|
|
22
|
+
import { IEditorProgressService } from "vscode/vscode/vs/platform/progress/common/progress.service";
|
|
23
|
+
export declare class MultiDiffEditor extends AbstractEditorWithViewState<IMultiDiffEditorViewState> {
|
|
24
|
+
private editorProgressService;
|
|
25
|
+
static readonly ID = "multiDiffEditor";
|
|
26
|
+
private _multiDiffEditorWidget;
|
|
27
|
+
private _viewModel;
|
|
28
|
+
get viewModel(): MultiDiffEditorViewModel | undefined;
|
|
29
|
+
constructor(group: IEditorGroup, instantiationService: InstantiationService, telemetryService: ITelemetryService, themeService: IThemeService, storageService: IStorageService, editorService: IEditorService, editorGroupService: IEditorGroupsService, textResourceConfigurationService: ITextResourceConfigurationService, editorProgressService: IEditorProgressService);
|
|
30
|
+
protected createEditor(parent: HTMLElement): void;
|
|
31
|
+
setInput(input: MultiDiffEditorInput, options: IMultiDiffEditorOptions | undefined, context: IEditorOpenContext, token: CancellationToken): Promise<void>;
|
|
32
|
+
setOptions(options: IMultiDiffEditorOptions | undefined): void;
|
|
33
|
+
private _applyOptions;
|
|
34
|
+
clearInput(): Promise<void>;
|
|
35
|
+
layout(dimension: DOM.Dimension): void;
|
|
36
|
+
getControl(): ICompositeControl | undefined;
|
|
37
|
+
focus(): void;
|
|
38
|
+
hasFocus(): boolean;
|
|
39
|
+
protected computeEditorViewState(resource: URI): IMultiDiffEditorViewState | undefined;
|
|
40
|
+
protected tracksEditorViewState(input: EditorInput): boolean;
|
|
41
|
+
protected toEditorViewStateResource(input: EditorInput): URI | undefined;
|
|
42
|
+
tryGetCodeEditor(resource: URI): {
|
|
43
|
+
diffEditor: IDiffEditor;
|
|
44
|
+
editor: ICodeEditor;
|
|
45
|
+
} | undefined;
|
|
46
|
+
findDocumentDiffItem(resource: URI): MultiDiffEditorItem | undefined;
|
|
47
|
+
showWhile(promise: Promise<unknown>): Promise<void>;
|
|
48
|
+
}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
1
|
+
|
|
2
|
+
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
+
import { MultiDiffEditorWidget } from '@codingame/monaco-vscode-5452e2b7-9081-5f95-839b-4ab3544ce28f-common/vscode/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget';
|
|
3
4
|
import { ITextResourceConfigurationService } from 'vscode/vscode/vs/editor/common/services/textResourceConfiguration';
|
|
4
5
|
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
5
6
|
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage.service';
|
|
6
7
|
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
7
8
|
import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService.service';
|
|
8
|
-
import { ResourceLabel } from 'vscode/vscode/vs/workbench/browser/labels';
|
|
9
|
-
import { AbstractEditorWithViewState } from 'vscode/vscode/vs/workbench/browser/parts/editor/editorWithViewState';
|
|
10
|
-
import { MultiDiffEditorInput } from 'vscode/vscode/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput';
|
|
9
|
+
import { ResourceLabel } from '@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common/vscode/vs/workbench/browser/labels';
|
|
10
|
+
import { AbstractEditorWithViewState } from '@codingame/monaco-vscode-219d9a5f-b446-507b-a188-1178a0867c75-common/vscode/vs/workbench/browser/parts/editor/editorWithViewState';
|
|
11
|
+
import { MultiDiffEditorInput } from '@codingame/monaco-vscode-1cc4ea0a-c5b6-54ed-bb60-078a99119b55-common/vscode/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput';
|
|
11
12
|
import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
|
|
12
13
|
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
13
14
|
import { Range } from 'vscode/vscode/vs/editor/common/core/range';
|
package/multiDiffEditor.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
2
|
-
import { MultiDiffSourceResolverService } from 'vscode/vscode/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService';
|
|
3
|
-
import { IMultiDiffSourceResolverService } from 'vscode/vscode/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service';
|
|
4
|
-
import './vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditor.contribution.js';
|
|
5
|
-
|
|
6
|
-
function getServiceOverride() {
|
|
7
|
-
return {
|
|
8
|
-
[( IMultiDiffSourceResolverService.toString())]: new SyncDescriptor(MultiDiffSourceResolverService, [], true)
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export { getServiceOverride as default };
|