@opensumi/ide-editor 2.15.7 → 2.15.8
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/lib/browser/breadcrumb/default.d.ts.map +1 -1
- package/lib/browser/breadcrumb/default.js.map +1 -1
- package/lib/browser/breadcrumb/document-symbol.d.ts +1 -1
- package/lib/browser/breadcrumb/document-symbol.d.ts.map +1 -1
- package/lib/browser/breadcrumb/document-symbol.js +4 -4
- package/lib/browser/breadcrumb/document-symbol.js.map +1 -1
- package/lib/browser/breadcrumb/index.d.ts +2 -2
- package/lib/browser/breadcrumb/index.d.ts.map +1 -1
- package/lib/browser/breadcrumb/index.js.map +1 -1
- package/lib/browser/component/scroll/scroll.d.ts.map +1 -1
- package/lib/browser/component/scroll/scroll.js +1 -1
- package/lib/browser/component/scroll/scroll.js.map +1 -1
- package/lib/browser/component.d.ts +1 -1
- package/lib/browser/component.d.ts.map +1 -1
- package/lib/browser/component.js +3 -3
- package/lib/browser/component.js.map +1 -1
- package/lib/browser/decoration-applier.d.ts +1 -1
- package/lib/browser/decoration-applier.d.ts.map +1 -1
- package/lib/browser/decoration-applier.js +1 -1
- package/lib/browser/decoration-applier.js.map +1 -1
- package/lib/browser/diff/compare.d.ts +1 -1
- package/lib/browser/diff/compare.d.ts.map +1 -1
- package/lib/browser/diff/compare.js +1 -1
- package/lib/browser/diff/compare.js.map +1 -1
- package/lib/browser/diff/index.d.ts +1 -1
- package/lib/browser/diff/index.d.ts.map +1 -1
- package/lib/browser/diff/index.js +2 -2
- package/lib/browser/diff/index.js.map +1 -1
- package/lib/browser/doc-cache/empty-doc-cache.d.ts.map +1 -1
- package/lib/browser/doc-cache/empty-doc-cache.js.map +1 -1
- package/lib/browser/doc-cache/local-storage-cache.d.ts.map +1 -1
- package/lib/browser/doc-cache/local-storage-cache.js +1 -1
- package/lib/browser/doc-cache/local-storage-cache.js.map +1 -1
- package/lib/browser/doc-model/editor-document-model-service.d.ts +3 -3
- package/lib/browser/doc-model/editor-document-model-service.d.ts.map +1 -1
- package/lib/browser/doc-model/editor-document-model-service.js +4 -4
- package/lib/browser/doc-model/editor-document-model-service.js.map +1 -1
- package/lib/browser/doc-model/editor-document-model.d.ts +2 -2
- package/lib/browser/doc-model/editor-document-model.d.ts.map +1 -1
- package/lib/browser/doc-model/editor-document-model.js +21 -21
- package/lib/browser/doc-model/editor-document-model.js.map +1 -1
- package/lib/browser/doc-model/override.d.ts +1 -1
- package/lib/browser/doc-model/override.d.ts.map +1 -1
- package/lib/browser/doc-model/override.js.map +1 -1
- package/lib/browser/doc-model/save-task.d.ts.map +1 -1
- package/lib/browser/doc-model/save-task.js.map +1 -1
- package/lib/browser/doc-model/saveParticipants.d.ts.map +1 -1
- package/lib/browser/doc-model/saveParticipants.js +10 -10
- package/lib/browser/doc-model/saveParticipants.js.map +1 -1
- package/lib/browser/doc-model/types.d.ts +2 -2
- package/lib/browser/doc-model/types.d.ts.map +1 -1
- package/lib/browser/doc-model/types.js.map +1 -1
- package/lib/browser/editor-collection.service.d.ts +9 -9
- package/lib/browser/editor-collection.service.d.ts.map +1 -1
- package/lib/browser/editor-collection.service.js +6 -6
- package/lib/browser/editor-collection.service.js.map +1 -1
- package/lib/browser/editor-opener.d.ts.map +1 -1
- package/lib/browser/editor-opener.js.map +1 -1
- package/lib/browser/editor.contribution.d.ts +3 -2
- package/lib/browser/editor.contribution.d.ts.map +1 -1
- package/lib/browser/editor.contribution.js +31 -18
- package/lib/browser/editor.contribution.js.map +1 -1
- package/lib/browser/editor.decoration.service.d.ts +3 -3
- package/lib/browser/editor.decoration.service.d.ts.map +1 -1
- package/lib/browser/editor.decoration.service.js +2 -2
- package/lib/browser/editor.decoration.service.js.map +1 -1
- package/lib/browser/editor.module.less +6 -1
- package/lib/browser/editor.override.d.ts +2 -2
- package/lib/browser/editor.override.d.ts.map +1 -1
- package/lib/browser/editor.override.js +6 -6
- package/lib/browser/editor.override.js.map +1 -1
- package/lib/browser/editor.status-bar.service.d.ts +1 -1
- package/lib/browser/editor.status-bar.service.d.ts.map +1 -1
- package/lib/browser/editor.status-bar.service.js +3 -1
- package/lib/browser/editor.status-bar.service.js.map +1 -1
- package/lib/browser/editor.view.d.ts +1 -1
- package/lib/browser/editor.view.d.ts.map +1 -1
- package/lib/browser/editor.view.js +6 -6
- package/lib/browser/editor.view.js.map +1 -1
- package/lib/browser/feature.d.ts +1 -1
- package/lib/browser/feature.d.ts.map +1 -1
- package/lib/browser/feature.js.map +1 -1
- package/lib/browser/format/formatterSelect.d.ts +1 -1
- package/lib/browser/format/formatterSelect.d.ts.map +1 -1
- package/lib/browser/format/formatterSelect.js.map +1 -1
- package/lib/browser/fs-resource/fs-editor-doc.d.ts +2 -2
- package/lib/browser/fs-resource/fs-editor-doc.d.ts.map +1 -1
- package/lib/browser/fs-resource/fs-editor-doc.js +1 -1
- package/lib/browser/fs-resource/fs-editor-doc.js.map +1 -1
- package/lib/browser/fs-resource/fs-resource.d.ts +1 -1
- package/lib/browser/fs-resource/fs-resource.d.ts.map +1 -1
- package/lib/browser/fs-resource/fs-resource.js +10 -10
- package/lib/browser/fs-resource/fs-resource.js.map +1 -1
- package/lib/browser/fs-resource/index.d.ts +2 -2
- package/lib/browser/fs-resource/index.d.ts.map +1 -1
- package/lib/browser/fs-resource/index.js +2 -2
- package/lib/browser/fs-resource/index.js.map +1 -1
- package/lib/browser/grid/grid.service.d.ts +1 -1
- package/lib/browser/grid/grid.service.d.ts.map +1 -1
- package/lib/browser/grid/grid.service.js +1 -1
- package/lib/browser/grid/grid.service.js.map +1 -1
- package/lib/browser/history/index.d.ts +1 -1
- package/lib/browser/history/index.d.ts.map +1 -1
- package/lib/browser/history/index.js +1 -1
- package/lib/browser/history/index.js.map +1 -1
- package/lib/browser/index.d.ts +4 -4
- package/lib/browser/index.d.ts.map +1 -1
- package/lib/browser/index.js +40 -40
- package/lib/browser/index.js.map +1 -1
- package/lib/browser/language/diagnostic-collection.d.ts +1 -1
- package/lib/browser/language/diagnostic-collection.d.ts.map +1 -1
- package/lib/browser/language/diagnostic-collection.js +3 -1
- package/lib/browser/language/diagnostic-collection.js.map +1 -1
- package/lib/browser/language/language-status.contribution.d.ts.map +1 -1
- package/lib/browser/language/language-status.contribution.js.map +1 -1
- package/lib/browser/language/language-status.service.d.ts +1 -1
- package/lib/browser/language/language-status.service.d.ts.map +1 -1
- package/lib/browser/language/language-status.service.js.map +1 -1
- package/lib/browser/language/language.service.d.ts +2 -2
- package/lib/browser/language/language.service.d.ts.map +1 -1
- package/lib/browser/language/language.service.js +2 -2
- package/lib/browser/language/language.service.js.map +1 -1
- package/lib/browser/menu/editor.context.d.ts.map +1 -1
- package/lib/browser/menu/editor.context.js +3 -3
- package/lib/browser/menu/editor.context.js.map +1 -1
- package/lib/browser/menu/editor.menu.d.ts +2 -2
- package/lib/browser/menu/editor.menu.d.ts.map +1 -1
- package/lib/browser/menu/editor.menu.js.map +1 -1
- package/lib/browser/menu/title-context.menu.d.ts +1 -1
- package/lib/browser/menu/title-context.menu.d.ts.map +1 -1
- package/lib/browser/menu/title-context.menu.js +2 -2
- package/lib/browser/menu/title-context.menu.js.map +1 -1
- package/lib/browser/monaco-contrib/callHierarchy/callHierarchy.contribution.d.ts.map +1 -1
- package/lib/browser/monaco-contrib/callHierarchy/callHierarchy.contribution.js.map +1 -1
- package/lib/browser/monaco-contrib/command/command.service.d.ts.map +1 -1
- package/lib/browser/monaco-contrib/command/command.service.js +2 -1
- package/lib/browser/monaco-contrib/command/command.service.js.map +1 -1
- package/lib/browser/monaco-contrib/tokenizer/textmate-registry.d.ts.map +1 -1
- package/lib/browser/monaco-contrib/tokenizer/textmate-registry.js.map +1 -1
- package/lib/browser/monaco-contrib/tokenizer/textmate-tokenizer.d.ts +1 -1
- package/lib/browser/monaco-contrib/tokenizer/textmate-tokenizer.d.ts.map +1 -1
- package/lib/browser/monaco-contrib/tokenizer/textmate-tokenizer.js +1 -1
- package/lib/browser/monaco-contrib/tokenizer/textmate-tokenizer.js.map +1 -1
- package/lib/browser/monaco-contrib/tokenizer/textmate.service.d.ts +3 -3
- package/lib/browser/monaco-contrib/tokenizer/textmate.service.d.ts.map +1 -1
- package/lib/browser/monaco-contrib/tokenizer/textmate.service.js +6 -6
- package/lib/browser/monaco-contrib/tokenizer/textmate.service.js.map +1 -1
- package/lib/browser/navigation.module.less +8 -5
- package/lib/browser/navigation.view.d.ts.map +1 -1
- package/lib/browser/navigation.view.js +7 -7
- package/lib/browser/navigation.view.js.map +1 -1
- package/lib/browser/preference/contribution.d.ts.map +1 -1
- package/lib/browser/preference/contribution.js.map +1 -1
- package/lib/browser/preference/converter.d.ts +1 -1
- package/lib/browser/preference/converter.d.ts.map +1 -1
- package/lib/browser/preference/converter.js.map +1 -1
- package/lib/browser/preference/util.d.ts.map +1 -1
- package/lib/browser/preference/util.js.map +1 -1
- package/lib/browser/quick-open/go-to-line.d.ts +33 -0
- package/lib/browser/quick-open/go-to-line.d.ts.map +1 -0
- package/lib/browser/quick-open/go-to-line.js +147 -0
- package/lib/browser/quick-open/go-to-line.js.map +1 -0
- package/lib/browser/{language → quick-open}/workspace-symbol-quickopen.d.ts +2 -2
- package/lib/browser/quick-open/workspace-symbol-quickopen.d.ts.map +1 -0
- package/lib/browser/{language → quick-open}/workspace-symbol-quickopen.js +3 -3
- package/lib/browser/quick-open/workspace-symbol-quickopen.js.map +1 -0
- package/lib/browser/resource.service.d.ts +1 -1
- package/lib/browser/resource.service.d.ts.map +1 -1
- package/lib/browser/resource.service.js +2 -2
- package/lib/browser/resource.service.js.map +1 -1
- package/lib/browser/tab.view.d.ts.map +1 -1
- package/lib/browser/tab.view.js +6 -6
- package/lib/browser/tab.view.js.map +1 -1
- package/lib/browser/types.d.ts +3 -3
- package/lib/browser/types.d.ts.map +1 -1
- package/lib/browser/types.js.map +1 -1
- package/lib/browser/untitled-resource.d.ts.map +1 -1
- package/lib/browser/untitled-resource.js.map +1 -1
- package/lib/browser/view/editor.react.d.ts.map +1 -1
- package/lib/browser/view/editor.react.js.map +1 -1
- package/lib/browser/view/react-hook.d.ts.map +1 -1
- package/lib/browser/view/react-hook.js.map +1 -1
- package/lib/browser/view/suggest-widget.d.ts +1 -1
- package/lib/browser/view/suggest-widget.d.ts.map +1 -1
- package/lib/browser/view/suggest-widget.js +2 -2
- package/lib/browser/view/suggest-widget.js.map +1 -1
- package/lib/browser/view/topPadding.d.ts +1 -1
- package/lib/browser/view/topPadding.d.ts.map +1 -1
- package/lib/browser/view/topPadding.js.map +1 -1
- package/lib/browser/workbench-editor.service.d.ts +4 -4
- package/lib/browser/workbench-editor.service.d.ts.map +1 -1
- package/lib/browser/workbench-editor.service.js +87 -87
- package/lib/browser/workbench-editor.service.js.map +1 -1
- package/lib/common/doc-cache.d.ts +1 -1
- package/lib/common/doc-cache.d.ts.map +1 -1
- package/lib/common/doc-cache.js.map +1 -1
- package/lib/common/editor.d.ts +4 -4
- package/lib/common/editor.d.ts.map +1 -1
- package/lib/common/editor.js.map +1 -1
- package/lib/common/language-status.d.ts +1 -1
- package/lib/common/language-status.d.ts.map +1 -1
- package/lib/common/language-status.js.map +1 -1
- package/lib/common/language.d.ts +3 -3
- package/lib/common/language.d.ts.map +1 -1
- package/lib/common/language.js +1 -1
- package/lib/common/language.js.map +1 -1
- package/lib/common/mocks/workbench-editor.service.d.ts +2 -2
- package/lib/common/mocks/workbench-editor.service.d.ts.map +1 -1
- package/lib/common/mocks/workbench-editor.service.js +2 -2
- package/lib/common/mocks/workbench-editor.service.js.map +1 -1
- package/package.json +12 -12
- package/lib/browser/language/workspace-symbol-quickopen.d.ts.map +0 -1
- package/lib/browser/language/workspace-symbol-quickopen.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workbench-editor.service.d.ts","sourceRoot":"","sources":["../../src/browser/workbench-editor.service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"workbench-editor.service.d.ts","sourceRoot":"","sources":["../../src/browser/workbench-editor.service.ts"],"names":[],"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AC,IAAI,EAAE,eAAe;IAoB1C;;OAEG;IACU,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,gBAAgB,EAAE,WAAW,CAAC,EAAE,WAAW,EAAE,cAAc,CAAC,EAAE,SAAS;IA8ChH,SAAS;IAIT,KAAK;IAUL,OAAO;IAcP,QAAQ,IAAI,iBAAiB;IAY7B,gBAAgB;IAIhB,gBAAgB;IAIhB,eAAe;IAIT,YAAY,CAAC,KAAK,EAAE,iBAAiB;IAyBrC,OAAO,CAAC,eAAe,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,UAAU;IAUtD,YAAY,CAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,GAAE,UAA8B;IAgBxE,cAAc,CAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,GAAG,OAAO,CAAC,OAAO,CAAC;IAazE,WAAW,CAAC,MAAM,GAAE,UAA8B;IAaxD,QAAQ,IAAI,OAAO;IAcnB,aAAa;IAOb,aAAa;IAOb;;OAEG;IACH,MAAM;;;CAKP"}
|
|
@@ -2,41 +2,41 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.EditorGroup = exports.WorkbenchEditorServiceImpl = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const monaco = tslib_1.__importStar(require("@opensumi/monaco-editor-core/esm/vs/editor/editor.api"));
|
|
6
5
|
const mobx_1 = require("mobx");
|
|
7
|
-
const common_1 = require("../common");
|
|
8
6
|
const di_1 = require("@opensumi/di");
|
|
9
|
-
const ide_core_common_1 = require("@opensumi/ide-core-common");
|
|
10
|
-
const types_1 = require("./types");
|
|
11
|
-
const grid_service_1 = require("./grid/grid.service");
|
|
12
|
-
const functional_1 = require("@opensumi/ide-core-common/lib/functional");
|
|
13
7
|
const ide_core_browser_1 = require("@opensumi/ide-core-browser");
|
|
14
|
-
const types_2 = require("./doc-model/types");
|
|
15
|
-
const ide_core_common_2 = require("@opensumi/ide-core-common");
|
|
16
8
|
const resource_1 = require("@opensumi/ide-core-browser/lib/contextkey/resource");
|
|
9
|
+
const ide_core_common_1 = require("@opensumi/ide-core-common");
|
|
10
|
+
const ide_core_common_2 = require("@opensumi/ide-core-common");
|
|
11
|
+
const functional_1 = require("@opensumi/ide-core-common/lib/functional");
|
|
17
12
|
const ide_overlay_1 = require("@opensumi/ide-overlay");
|
|
13
|
+
const monaco = tslib_1.__importStar(require("@opensumi/monaco-editor-core/esm/vs/editor/editor.api"));
|
|
14
|
+
const common_1 = require("../common");
|
|
15
|
+
const types_1 = require("./doc-model/types");
|
|
18
16
|
const error_1 = require("./error");
|
|
19
|
-
|
|
17
|
+
const grid_service_1 = require("./grid/grid.service");
|
|
18
|
+
const types_2 = require("./types");
|
|
19
|
+
let WorkbenchEditorServiceImpl = class WorkbenchEditorServiceImpl extends ide_core_common_2.WithEventBus {
|
|
20
20
|
constructor() {
|
|
21
21
|
super();
|
|
22
22
|
this.editorGroups = [];
|
|
23
|
-
this._onDidEditorGroupsChanged = new
|
|
23
|
+
this._onDidEditorGroupsChanged = new ide_core_common_2.Emitter();
|
|
24
24
|
this.onDidEditorGroupsChanged = this._onDidEditorGroupsChanged.event;
|
|
25
25
|
this._sortedEditorGroups = [];
|
|
26
|
-
this._onActiveResourceChange = new
|
|
26
|
+
this._onActiveResourceChange = new ide_core_common_2.Emitter();
|
|
27
27
|
this.onActiveResourceChange = this._onActiveResourceChange.event;
|
|
28
|
-
this._onActiveEditorUriChange = new
|
|
28
|
+
this._onActiveEditorUriChange = new ide_core_common_2.Emitter();
|
|
29
29
|
this.onActiveEditorUriChange = this._onActiveEditorUriChange.event;
|
|
30
|
-
this._onCursorChange = new
|
|
30
|
+
this._onCursorChange = new ide_core_common_2.Emitter();
|
|
31
31
|
this.onCursorChange = this._onCursorChange.event;
|
|
32
|
-
this._onDidCurrentEditorGroupChanged = new
|
|
32
|
+
this._onDidCurrentEditorGroupChanged = new ide_core_common_2.Emitter();
|
|
33
33
|
this.onDidCurrentEditorGroupChanged = this._onDidCurrentEditorGroupChanged.event;
|
|
34
34
|
this._restoring = true;
|
|
35
|
-
this.contributionsReady = new
|
|
35
|
+
this.contributionsReady = new ide_core_common_2.Deferred();
|
|
36
36
|
this.untitledIndex = 1;
|
|
37
37
|
this.untitledCloseIndex = [];
|
|
38
38
|
this.gridReady = false;
|
|
39
|
-
this._onDidGridReady = new
|
|
39
|
+
this._onDidGridReady = new ide_core_common_2.Emitter();
|
|
40
40
|
this.onDidGridReady = this._onDidGridReady.event;
|
|
41
41
|
this.initialize();
|
|
42
42
|
}
|
|
@@ -51,7 +51,7 @@ let WorkbenchEditorServiceImpl = class WorkbenchEditorServiceImpl extends ide_co
|
|
|
51
51
|
}
|
|
52
52
|
this._currentEditorGroup = editorGroup;
|
|
53
53
|
this._onActiveResourceChange.fire(editorGroup.currentResource);
|
|
54
|
-
this.eventBus.fire(new
|
|
54
|
+
this.eventBus.fire(new types_2.EditorActiveResourceStateChangedEvent({
|
|
55
55
|
resource: editorGroup.currentResource,
|
|
56
56
|
openType: editorGroup.currentOpenType,
|
|
57
57
|
editorUri: (_a = this.currentEditor) === null || _a === void 0 ? void 0 : _a.currentUri,
|
|
@@ -62,7 +62,7 @@ let WorkbenchEditorServiceImpl = class WorkbenchEditorServiceImpl extends ide_co
|
|
|
62
62
|
onEditorGroupChangeEvent(e) {
|
|
63
63
|
var _a;
|
|
64
64
|
if (e.payload.group === this.currentEditorGroup) {
|
|
65
|
-
this.eventBus.fire(new
|
|
65
|
+
this.eventBus.fire(new types_2.EditorActiveResourceStateChangedEvent({
|
|
66
66
|
resource: e.payload.newResource,
|
|
67
67
|
openType: e.payload.newOpenType,
|
|
68
68
|
editorUri: (_a = this.currentEditor) === null || _a === void 0 ? void 0 : _a.currentUri,
|
|
@@ -97,7 +97,7 @@ let WorkbenchEditorServiceImpl = class WorkbenchEditorServiceImpl extends ide_co
|
|
|
97
97
|
createEditorGroup() {
|
|
98
98
|
const editorGroup = this.injector.get(EditorGroup, [this.generateRandomEditorGroupName()]);
|
|
99
99
|
this.editorGroups.push(editorGroup);
|
|
100
|
-
const currentWatchDisposer = new
|
|
100
|
+
const currentWatchDisposer = new ide_core_common_2.Disposable(editorGroup.onDidEditorGroupBodyChanged(() => {
|
|
101
101
|
if (editorGroup === this.currentEditorGroup) {
|
|
102
102
|
if (!editorGroup.currentOpenType && editorGroup.currentResource) {
|
|
103
103
|
// 暂时状态,不发事件
|
|
@@ -162,7 +162,7 @@ let WorkbenchEditorServiceImpl = class WorkbenchEditorServiceImpl extends ide_co
|
|
|
162
162
|
this._currentEditorGroup = this.editorGroups[0];
|
|
163
163
|
}
|
|
164
164
|
async initializeState() {
|
|
165
|
-
const state = await this.getStorage(
|
|
165
|
+
const state = await this.getStorage(ide_core_common_2.STORAGE_NAMESPACE.WORKBENCH);
|
|
166
166
|
return state;
|
|
167
167
|
}
|
|
168
168
|
get currentEditor() {
|
|
@@ -219,7 +219,7 @@ let WorkbenchEditorServiceImpl = class WorkbenchEditorServiceImpl extends ide_co
|
|
|
219
219
|
this.setCurrentGroup(this.editorGroups[0]);
|
|
220
220
|
}
|
|
221
221
|
for (let i = index; i < this.editorGroups.length; i++) {
|
|
222
|
-
this.eventBus.fire(new
|
|
222
|
+
this.eventBus.fire(new types_2.EditorGroupIndexChangedEvent({
|
|
223
223
|
group: this.editorGroups[i],
|
|
224
224
|
index: i,
|
|
225
225
|
}));
|
|
@@ -333,7 +333,7 @@ let WorkbenchEditorServiceImpl = class WorkbenchEditorServiceImpl extends ide_co
|
|
|
333
333
|
return this._sortedEditorGroups;
|
|
334
334
|
}
|
|
335
335
|
handleOnCloseUntitledResource(e) {
|
|
336
|
-
if (e.payload.resource.uri.scheme ===
|
|
336
|
+
if (e.payload.resource.uri.scheme === ide_core_common_1.Schemas.untitled) {
|
|
337
337
|
const { index } = e.payload.resource.uri.getParsedQuery();
|
|
338
338
|
this.untitledCloseIndex.push(parseInt(index, 10));
|
|
339
339
|
// 升序排序,每次可以去到最小的 index
|
|
@@ -343,7 +343,7 @@ let WorkbenchEditorServiceImpl = class WorkbenchEditorServiceImpl extends ide_co
|
|
|
343
343
|
createUntitledURI() {
|
|
344
344
|
// 优先从已删除的 index 中获取
|
|
345
345
|
const index = this.untitledCloseIndex.shift() || this.untitledIndex++;
|
|
346
|
-
return new
|
|
346
|
+
return new ide_core_common_2.URI().withScheme(ide_core_common_1.Schemas.untitled).withQuery(`name=Untitled-${index}&index=${index}`);
|
|
347
347
|
}
|
|
348
348
|
createUntitledResource(options = {
|
|
349
349
|
uri: this.createUntitledURI(),
|
|
@@ -356,27 +356,27 @@ tslib_1.__decorate([
|
|
|
356
356
|
tslib_1.__metadata("design:type", di_1.Injector)
|
|
357
357
|
], WorkbenchEditorServiceImpl.prototype, "injector", void 0);
|
|
358
358
|
tslib_1.__decorate([
|
|
359
|
-
(0, di_1.Autowired)(
|
|
359
|
+
(0, di_1.Autowired)(ide_core_common_2.StorageProvider),
|
|
360
360
|
tslib_1.__metadata("design:type", Function)
|
|
361
361
|
], WorkbenchEditorServiceImpl.prototype, "getStorage", void 0);
|
|
362
362
|
tslib_1.__decorate([
|
|
363
|
-
(0, di_1.Autowired)(
|
|
363
|
+
(0, di_1.Autowired)(types_2.BrowserEditorContribution),
|
|
364
364
|
tslib_1.__metadata("design:type", Object)
|
|
365
365
|
], WorkbenchEditorServiceImpl.prototype, "contributions", void 0);
|
|
366
366
|
tslib_1.__decorate([
|
|
367
|
-
(0, di_1.Autowired)(
|
|
367
|
+
(0, di_1.Autowired)(types_1.IEditorDocumentModelService),
|
|
368
368
|
tslib_1.__metadata("design:type", Object)
|
|
369
369
|
], WorkbenchEditorServiceImpl.prototype, "documentModelManager", void 0);
|
|
370
370
|
tslib_1.__decorate([
|
|
371
|
-
(0,
|
|
371
|
+
(0, ide_core_common_2.OnEvent)(types_2.EditorGroupChangeEvent),
|
|
372
372
|
tslib_1.__metadata("design:type", Function),
|
|
373
|
-
tslib_1.__metadata("design:paramtypes", [
|
|
373
|
+
tslib_1.__metadata("design:paramtypes", [types_2.EditorGroupChangeEvent]),
|
|
374
374
|
tslib_1.__metadata("design:returntype", void 0)
|
|
375
375
|
], WorkbenchEditorServiceImpl.prototype, "onEditorGroupChangeEvent", null);
|
|
376
376
|
tslib_1.__decorate([
|
|
377
|
-
(0,
|
|
377
|
+
(0, ide_core_common_2.OnEvent)(types_2.EditorGroupCloseEvent),
|
|
378
378
|
tslib_1.__metadata("design:type", Function),
|
|
379
|
-
tslib_1.__metadata("design:paramtypes", [
|
|
379
|
+
tslib_1.__metadata("design:paramtypes", [types_2.EditorGroupCloseEvent]),
|
|
380
380
|
tslib_1.__metadata("design:returntype", void 0)
|
|
381
381
|
], WorkbenchEditorServiceImpl.prototype, "handleOnCloseUntitledResource", null);
|
|
382
382
|
WorkbenchEditorServiceImpl = tslib_1.__decorate([
|
|
@@ -388,27 +388,27 @@ exports.WorkbenchEditorServiceImpl = WorkbenchEditorServiceImpl;
|
|
|
388
388
|
* Editor Group是一个可视的编辑区域
|
|
389
389
|
* 它由tab,editor,diff-editor,富组件container组成
|
|
390
390
|
*/
|
|
391
|
-
let EditorGroup = class EditorGroup extends
|
|
391
|
+
let EditorGroup = class EditorGroup extends ide_core_common_2.WithEventBus {
|
|
392
392
|
constructor(name) {
|
|
393
393
|
super();
|
|
394
394
|
this.name = name;
|
|
395
395
|
this.openingPromise = new Map();
|
|
396
|
-
this._onDidEditorFocusChange = this.registerDispose(new
|
|
396
|
+
this._onDidEditorFocusChange = this.registerDispose(new ide_core_common_2.Emitter());
|
|
397
397
|
this.onDidEditorFocusChange = this._onDidEditorFocusChange.event;
|
|
398
398
|
/**
|
|
399
399
|
* 当编辑器的tab部分发生变更
|
|
400
400
|
*/
|
|
401
|
-
this._onDidEditorGroupTabChanged = new
|
|
401
|
+
this._onDidEditorGroupTabChanged = new ide_core_common_2.Emitter();
|
|
402
402
|
this.onDidEditorGroupTabChanged = this._onDidEditorGroupTabChanged.event;
|
|
403
403
|
/**
|
|
404
404
|
* 当编辑器的主体部分发生变更
|
|
405
405
|
*/
|
|
406
|
-
this._onDidEditorGroupBodyChanged = new
|
|
406
|
+
this._onDidEditorGroupBodyChanged = new ide_core_common_2.Emitter();
|
|
407
407
|
this.onDidEditorGroupBodyChanged = this._onDidEditorGroupBodyChanged.event;
|
|
408
408
|
/**
|
|
409
409
|
* 当编辑器有内容处于加载状态
|
|
410
410
|
*/
|
|
411
|
-
this._onDidEditorGroupContentLoading = new
|
|
411
|
+
this._onDidEditorGroupContentLoading = new ide_core_common_2.Emitter();
|
|
412
412
|
this.onDidEditorGroupContentLoading = this._onDidEditorGroupContentLoading.event;
|
|
413
413
|
/**
|
|
414
414
|
* 每个group只能有一个preview
|
|
@@ -435,24 +435,24 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
435
435
|
this._codeEditorPendingLayout = false;
|
|
436
436
|
this._diffEditorPendingLayout = false;
|
|
437
437
|
// 当前为EditorComponent,且monaco光标变化时触发
|
|
438
|
-
this._onCurrentEditorCursorChange = new
|
|
438
|
+
this._onCurrentEditorCursorChange = new ide_core_common_2.Emitter();
|
|
439
439
|
this.onCurrentEditorCursorChange = this._onCurrentEditorCursorChange.event;
|
|
440
440
|
this.resourceOpenHistory = [];
|
|
441
441
|
this._domNode = null;
|
|
442
|
-
this.codeEditorReady = new
|
|
443
|
-
this.diffEditorReady = new
|
|
442
|
+
this.codeEditorReady = new ide_core_common_2.ReadyEvent();
|
|
443
|
+
this.diffEditorReady = new ide_core_common_2.ReadyEvent();
|
|
444
444
|
this._restoringState = false;
|
|
445
445
|
this.eventBus.on(ide_core_browser_1.ResizeEvent, (e) => {
|
|
446
446
|
if (e.payload.slotLocation === (0, ide_core_browser_1.getSlotLocation)('@opensumi/ide-editor', this.config.layoutConfig)) {
|
|
447
447
|
this.doLayoutEditors();
|
|
448
448
|
}
|
|
449
449
|
});
|
|
450
|
-
this.eventBus.on(
|
|
450
|
+
this.eventBus.on(types_2.GridResizeEvent, (e) => {
|
|
451
451
|
if (e.payload.gridId === this.grid.uid) {
|
|
452
452
|
this.doLayoutEditors();
|
|
453
453
|
}
|
|
454
454
|
});
|
|
455
|
-
this.eventBus.on(
|
|
455
|
+
this.eventBus.on(types_2.EditorComponentDisposeEvent, (e) => {
|
|
456
456
|
this.activeComponents.delete(e.payload);
|
|
457
457
|
this.activateComponentsProps.delete(e.payload);
|
|
458
458
|
});
|
|
@@ -601,7 +601,7 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
601
601
|
this._onDidEditorFocusChange.fire();
|
|
602
602
|
}
|
|
603
603
|
};
|
|
604
|
-
this.updateContextKeyWhenEditorChangesFocusDisposer = new
|
|
604
|
+
this.updateContextKeyWhenEditorChangesFocusDisposer = new ide_core_common_2.Disposable(this.diffEditor.modifiedEditor.onFocus(() => {
|
|
605
605
|
this._currentOrPreviousFocusedEditor = this.diffEditor.modifiedEditor;
|
|
606
606
|
this.setContextKeys();
|
|
607
607
|
this._onDidEditorFocusChange.fire();
|
|
@@ -746,7 +746,7 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
746
746
|
}));
|
|
747
747
|
this.toDispose.push(this.codeEditor.onSelectionsChanged((e) => {
|
|
748
748
|
if (this.currentOpenType && this.currentOpenType.type === 'code') {
|
|
749
|
-
this.eventBus.fire(new
|
|
749
|
+
this.eventBus.fire(new types_2.EditorSelectionChangeEvent({
|
|
750
750
|
group: this,
|
|
751
751
|
resource: this.currentResource,
|
|
752
752
|
selections: e.selections,
|
|
@@ -757,7 +757,7 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
757
757
|
}));
|
|
758
758
|
this.toDispose.push(this.codeEditor.onVisibleRangesChanged((e) => {
|
|
759
759
|
if (this.currentOpenType && this.currentOpenType.type === 'code') {
|
|
760
|
-
this.eventBus.fire(new
|
|
760
|
+
this.eventBus.fire(new types_2.EditorVisibleChangeEvent({
|
|
761
761
|
group: this,
|
|
762
762
|
resource: this.currentResource,
|
|
763
763
|
visibleRanges: e,
|
|
@@ -767,14 +767,14 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
767
767
|
}));
|
|
768
768
|
this.toDispose.push(this.codeEditor.onConfigurationChanged(() => {
|
|
769
769
|
if (this.currentOpenType && this.currentOpenType.type === 'code') {
|
|
770
|
-
this.eventBus.fire(new
|
|
770
|
+
this.eventBus.fire(new types_2.EditorConfigurationChangedEvent({
|
|
771
771
|
group: this,
|
|
772
772
|
resource: this.currentResource,
|
|
773
773
|
editorUri: this.codeEditor.currentUri,
|
|
774
774
|
}));
|
|
775
775
|
}
|
|
776
776
|
}));
|
|
777
|
-
this.eventBus.fire(new
|
|
777
|
+
this.eventBus.fire(new types_2.CodeEditorDidVisibleEvent({
|
|
778
778
|
groupName: this.name,
|
|
779
779
|
type: 'code',
|
|
780
780
|
editorId: this.codeEditor.getId(),
|
|
@@ -791,7 +791,7 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
791
791
|
// 这里应该还要加上 originalEditor 的相关监听,目前为了避免复杂度,先不放
|
|
792
792
|
this.toDispose.push(this.diffEditor.modifiedEditor.onSelectionsChanged((e) => {
|
|
793
793
|
if (this.currentOpenType && this.currentOpenType.type === 'diff') {
|
|
794
|
-
this.eventBus.fire(new
|
|
794
|
+
this.eventBus.fire(new types_2.EditorSelectionChangeEvent({
|
|
795
795
|
group: this,
|
|
796
796
|
resource: this.currentResource,
|
|
797
797
|
selections: e.selections,
|
|
@@ -802,7 +802,7 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
802
802
|
}));
|
|
803
803
|
this.toDispose.push(this.diffEditor.modifiedEditor.onVisibleRangesChanged((e) => {
|
|
804
804
|
if (this.currentOpenType && this.currentOpenType.type === 'diff') {
|
|
805
|
-
this.eventBus.fire(new
|
|
805
|
+
this.eventBus.fire(new types_2.EditorVisibleChangeEvent({
|
|
806
806
|
group: this,
|
|
807
807
|
resource: this.currentResource,
|
|
808
808
|
visibleRanges: e,
|
|
@@ -812,14 +812,14 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
812
812
|
}));
|
|
813
813
|
this.toDispose.push(this.diffEditor.modifiedEditor.onConfigurationChanged(() => {
|
|
814
814
|
if (this.currentOpenType && this.currentOpenType.type === 'diff') {
|
|
815
|
-
this.eventBus.fire(new
|
|
815
|
+
this.eventBus.fire(new types_2.EditorConfigurationChangedEvent({
|
|
816
816
|
group: this,
|
|
817
817
|
resource: this.currentResource,
|
|
818
818
|
editorUri: this.diffEditor.modifiedEditor.currentUri,
|
|
819
819
|
}));
|
|
820
820
|
}
|
|
821
821
|
}));
|
|
822
|
-
this.eventBus.fire(new
|
|
822
|
+
this.eventBus.fire(new types_2.CodeEditorDidVisibleEvent({
|
|
823
823
|
groupName: this.name,
|
|
824
824
|
type: 'diff',
|
|
825
825
|
editorId: this.diffEditor.modifiedEditor.getId(),
|
|
@@ -850,7 +850,7 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
850
850
|
return editorGroup.open(uri, Object.assign(Object.assign({}, options), { preview: false }));
|
|
851
851
|
}
|
|
852
852
|
async open(uri, options = {}) {
|
|
853
|
-
if (uri.scheme ===
|
|
853
|
+
if (uri.scheme === ide_core_common_1.Schemas.file) {
|
|
854
854
|
// 只记录 file 类型的
|
|
855
855
|
this.recentFilesManager.setMostRecentlyOpenedFile(uri.withoutFragment().toString());
|
|
856
856
|
}
|
|
@@ -866,7 +866,7 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
866
866
|
this.openingPromise.delete(uri.toString());
|
|
867
867
|
});
|
|
868
868
|
}
|
|
869
|
-
const previewMode = this.preferenceService.get('editor.previewMode') && ((0,
|
|
869
|
+
const previewMode = this.preferenceService.get('editor.previewMode') && ((0, ide_core_common_1.isUndefinedOrNull)(options.preview) ? true : options.preview);
|
|
870
870
|
if (!previewMode) {
|
|
871
871
|
this.openingPromise.get(uri.toString()).then(() => {
|
|
872
872
|
this.pinPreviewed(uri);
|
|
@@ -886,7 +886,7 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
886
886
|
let resourceReady;
|
|
887
887
|
try {
|
|
888
888
|
const previewMode = this.preferenceService.get('editor.previewMode') &&
|
|
889
|
-
((0,
|
|
889
|
+
((0, ide_core_common_1.isUndefinedOrNull)(options.preview) ? true : options.preview);
|
|
890
890
|
if (this.currentResource && this.currentResource.uri.isEqual(uri)) {
|
|
891
891
|
// 就是当前打开的resource
|
|
892
892
|
if (options.focus && this.currentEditor) {
|
|
@@ -974,8 +974,8 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
974
974
|
this._currentOpenType = null;
|
|
975
975
|
this.notifyBodyChanged();
|
|
976
976
|
// 只有真正打开的文件才会走到这里,backend模式的只更新了tab,文件内容并未加载
|
|
977
|
-
const reportTimer = this.reporterService.time(
|
|
978
|
-
resourceReady = new
|
|
977
|
+
const reportTimer = this.reporterService.time(ide_core_common_1.REPORT_NAME.EDITOR_REACTIVE);
|
|
978
|
+
resourceReady = new ide_core_common_2.Deferred();
|
|
979
979
|
this.resourceStatus.set(resource, resourceReady.promise);
|
|
980
980
|
// 超过60ms loading时间的才展示加载
|
|
981
981
|
const delayTimer = setTimeout(() => {
|
|
@@ -988,7 +988,7 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
988
988
|
this._currentOrPreviousFocusedEditor = this.currentEditor;
|
|
989
989
|
this._onDidEditorFocusChange.fire();
|
|
990
990
|
this.setContextKeys();
|
|
991
|
-
this.eventBus.fire(new
|
|
991
|
+
this.eventBus.fire(new types_2.EditorGroupOpenEvent({
|
|
992
992
|
group: this,
|
|
993
993
|
resource,
|
|
994
994
|
}));
|
|
@@ -998,7 +998,7 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
998
998
|
else {
|
|
999
999
|
this.locateInFileTree(uri);
|
|
1000
1000
|
}
|
|
1001
|
-
this.eventBus.fire(new
|
|
1001
|
+
this.eventBus.fire(new types_2.EditorGroupChangeEvent({
|
|
1002
1002
|
group: this,
|
|
1003
1003
|
newOpenType: this.currentOpenType,
|
|
1004
1004
|
newResource: this.currentResource,
|
|
@@ -1012,10 +1012,10 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
1012
1012
|
}
|
|
1013
1013
|
}
|
|
1014
1014
|
catch (e) {
|
|
1015
|
-
(0,
|
|
1015
|
+
(0, ide_core_common_2.getDebugLogger)().error(e);
|
|
1016
1016
|
resourceReady && resourceReady.reject();
|
|
1017
1017
|
if (!(0, error_1.isEditorError)(e, error_1.EditorTabChangedError)) {
|
|
1018
|
-
this.messageService.error((0,
|
|
1018
|
+
this.messageService.error((0, ide_core_common_2.formatLocalize)('editor.failToOpen', uri.displayName, e.message), [], true);
|
|
1019
1019
|
}
|
|
1020
1020
|
return false;
|
|
1021
1021
|
// todo 给用户显示error
|
|
@@ -1040,8 +1040,8 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
1040
1040
|
disposeDocumentRef(uri) {
|
|
1041
1041
|
if (uri.scheme === 'diff') {
|
|
1042
1042
|
const query = uri.getParsedQuery();
|
|
1043
|
-
this.doDisposeDocRef(new
|
|
1044
|
-
this.doDisposeDocRef(new
|
|
1043
|
+
this.doDisposeDocRef(new ide_core_common_2.URI(query.original));
|
|
1044
|
+
this.doDisposeDocRef(new ide_core_common_2.URI(query.modified));
|
|
1045
1045
|
}
|
|
1046
1046
|
else {
|
|
1047
1047
|
this.doDisposeDocRef(uri);
|
|
@@ -1094,7 +1094,7 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
1094
1094
|
// monaco 编辑器的 focus 多了一步检查,由于此时其实对应编辑器的 dom 的 display 为 none (需要等 React 下一次渲染才会改变为 block),
|
|
1095
1095
|
// 会引起 document.activeElement !== editor.textArea.domNode,进而会导致focus失败
|
|
1096
1096
|
// 需要等待真正 append 之后再
|
|
1097
|
-
const disposer = this.eventBus.on(
|
|
1097
|
+
const disposer = this.eventBus.on(types_2.CodeEditorDidVisibleEvent, (e) => {
|
|
1098
1098
|
var _a;
|
|
1099
1099
|
if (e.payload.groupName === this.name && e.payload.type === 'code') {
|
|
1100
1100
|
disposer.dispose();
|
|
@@ -1134,7 +1134,7 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
1134
1134
|
if (options.focus) {
|
|
1135
1135
|
(_a = this._domNode) === null || _a === void 0 ? void 0 : _a.focus();
|
|
1136
1136
|
// 理由见上方 codeEditor.focus 部分
|
|
1137
|
-
const disposer = this.eventBus.on(
|
|
1137
|
+
const disposer = this.eventBus.on(types_2.CodeEditorDidVisibleEvent, (e) => {
|
|
1138
1138
|
if (e.payload.groupName === this.name && e.payload.type === 'diff') {
|
|
1139
1139
|
disposer.dispose();
|
|
1140
1140
|
if (this.disposed) {
|
|
@@ -1164,7 +1164,7 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
1164
1164
|
}
|
|
1165
1165
|
else {
|
|
1166
1166
|
this.activateComponentsProps.set(component, initialProps);
|
|
1167
|
-
if (component.renderMode ===
|
|
1167
|
+
if (component.renderMode === types_2.EditorComponentRenderMode.ONE_PER_RESOURCE) {
|
|
1168
1168
|
const openedResources = this.activeComponents.get(component) || [];
|
|
1169
1169
|
const index = openedResources.findIndex((r) => r.uri.toString() === resource.uri.toString());
|
|
1170
1170
|
if (index === -1) {
|
|
@@ -1172,10 +1172,10 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
1172
1172
|
}
|
|
1173
1173
|
this.activeComponents.set(component, openedResources);
|
|
1174
1174
|
}
|
|
1175
|
-
else if (component.renderMode ===
|
|
1175
|
+
else if (component.renderMode === types_2.EditorComponentRenderMode.ONE_PER_GROUP) {
|
|
1176
1176
|
this.activeComponents.set(component, [resource]);
|
|
1177
1177
|
}
|
|
1178
|
-
else if (component.renderMode ===
|
|
1178
|
+
else if (component.renderMode === types_2.EditorComponentRenderMode.ONE_PER_WORKBENCH) {
|
|
1179
1179
|
const promises = [];
|
|
1180
1180
|
this.workbenchEditorService.editorGroups.forEach((g) => {
|
|
1181
1181
|
if (g === this) {
|
|
@@ -1186,7 +1186,7 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
1186
1186
|
promises.push(g.close(r.uri));
|
|
1187
1187
|
}
|
|
1188
1188
|
});
|
|
1189
|
-
await Promise.all(promises).catch((0,
|
|
1189
|
+
await Promise.all(promises).catch((0, ide_core_common_2.getDebugLogger)().error);
|
|
1190
1190
|
this.activeComponents.set(component, [resource]);
|
|
1191
1191
|
}
|
|
1192
1192
|
}
|
|
@@ -1228,7 +1228,7 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
1228
1228
|
}
|
|
1229
1229
|
}
|
|
1230
1230
|
this.resources.splice(index, 1);
|
|
1231
|
-
this.eventBus.fire(new
|
|
1231
|
+
this.eventBus.fire(new types_2.EditorGroupCloseEvent({
|
|
1232
1232
|
group: this,
|
|
1233
1233
|
resource,
|
|
1234
1234
|
}));
|
|
@@ -1318,7 +1318,7 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
1318
1318
|
this._currentOrPreviousFocusedEditor = null;
|
|
1319
1319
|
this._onDidEditorFocusChange.fire();
|
|
1320
1320
|
// 关闭最后一个时,应该发送一个 EditorGroupChangeEvent
|
|
1321
|
-
this.eventBus.fire(new
|
|
1321
|
+
this.eventBus.fire(new types_2.EditorGroupChangeEvent({
|
|
1322
1322
|
group: this,
|
|
1323
1323
|
newOpenType: this.currentOpenType,
|
|
1324
1324
|
newResource: this.currentResource,
|
|
@@ -1386,7 +1386,7 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
1386
1386
|
}
|
|
1387
1387
|
}
|
|
1388
1388
|
clearResourceOnClose(resource) {
|
|
1389
|
-
this.eventBus.fire(new
|
|
1389
|
+
this.eventBus.fire(new types_2.EditorGroupCloseEvent({
|
|
1390
1390
|
group: this,
|
|
1391
1391
|
resource,
|
|
1392
1392
|
}));
|
|
@@ -1431,7 +1431,7 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
1431
1431
|
}
|
|
1432
1432
|
const oldOpenType = this.currentOpenType;
|
|
1433
1433
|
await this.displayResourceComponent(this.currentResource, { forceOpenType: type });
|
|
1434
|
-
this.eventBus.fire(new
|
|
1434
|
+
this.eventBus.fire(new types_2.EditorGroupChangeEvent({
|
|
1435
1435
|
group: this,
|
|
1436
1436
|
newOpenType: this.currentOpenType,
|
|
1437
1437
|
newResource: this.currentResource,
|
|
@@ -1443,7 +1443,7 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
1443
1443
|
* 拖拽drop方法
|
|
1444
1444
|
*/
|
|
1445
1445
|
async dropUri(uri, position, sourceGroup, targetResource) {
|
|
1446
|
-
if (position !==
|
|
1446
|
+
if (position !== types_2.DragOverPosition.CENTER) {
|
|
1447
1447
|
await this.split((0, common_1.getSplitActionFromDragDrop)(position), uri, { preview: false, focus: true });
|
|
1448
1448
|
}
|
|
1449
1449
|
else {
|
|
@@ -1486,7 +1486,7 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
1486
1486
|
// 从其他group拖动过来
|
|
1487
1487
|
await sourceGroup.close(uri);
|
|
1488
1488
|
}
|
|
1489
|
-
else if (position !==
|
|
1489
|
+
else if (position !== types_2.DragOverPosition.CENTER) {
|
|
1490
1490
|
// split行为
|
|
1491
1491
|
await this.close(uri);
|
|
1492
1492
|
}
|
|
@@ -1511,7 +1511,7 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
1511
1511
|
this.codeEditor && this.codeEditor.dispose();
|
|
1512
1512
|
this.diffEditor && this.diffEditor.dispose();
|
|
1513
1513
|
this.toDispose.forEach((disposable) => disposable.dispose());
|
|
1514
|
-
this.eventBus.fire(new
|
|
1514
|
+
this.eventBus.fire(new types_2.EditorGroupDisposeEvent({
|
|
1515
1515
|
group: this,
|
|
1516
1516
|
}));
|
|
1517
1517
|
}
|
|
@@ -1535,17 +1535,17 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
1535
1535
|
}
|
|
1536
1536
|
async restoreState(state) {
|
|
1537
1537
|
this._restoringState = true;
|
|
1538
|
-
this.previewURI = state.uris[state.previewIndex] ? null : new
|
|
1538
|
+
this.previewURI = state.uris[state.previewIndex] ? null : new ide_core_common_2.URI(state.uris[state.previewIndex]);
|
|
1539
1539
|
for (const uri of state.uris) {
|
|
1540
|
-
await this.doOpen(new
|
|
1540
|
+
await this.doOpen(new ide_core_common_2.URI(uri), { disableNavigate: true, backend: true, preview: false, deletedPolicy: 'skip' });
|
|
1541
1541
|
}
|
|
1542
1542
|
let targetUri;
|
|
1543
1543
|
if (state.current) {
|
|
1544
|
-
targetUri = new
|
|
1544
|
+
targetUri = new ide_core_common_2.URI(state.current);
|
|
1545
1545
|
}
|
|
1546
1546
|
else {
|
|
1547
1547
|
if (state.uris.length > 0) {
|
|
1548
|
-
targetUri = new
|
|
1548
|
+
targetUri = new ide_core_common_2.URI(state.uris[state.uris.length - 1]);
|
|
1549
1549
|
}
|
|
1550
1550
|
}
|
|
1551
1551
|
if (targetUri) {
|
|
@@ -1561,7 +1561,7 @@ let EditorGroup = class EditorGroup extends ide_core_common_1.WithEventBus {
|
|
|
1561
1561
|
async saveAll(includeUntitled, reason) {
|
|
1562
1562
|
for (const r of this.resources) {
|
|
1563
1563
|
// 不保存无标题文件
|
|
1564
|
-
if (!includeUntitled && r.uri.scheme ===
|
|
1564
|
+
if (!includeUntitled && r.uri.scheme === ide_core_common_1.Schemas.untitled) {
|
|
1565
1565
|
continue;
|
|
1566
1566
|
}
|
|
1567
1567
|
await this.saveResource(r, reason);
|
|
@@ -1650,18 +1650,18 @@ tslib_1.__decorate([
|
|
|
1650
1650
|
], EditorGroup.prototype, "resourceService", void 0);
|
|
1651
1651
|
tslib_1.__decorate([
|
|
1652
1652
|
(0, di_1.Autowired)(),
|
|
1653
|
-
tslib_1.__metadata("design:type",
|
|
1653
|
+
tslib_1.__metadata("design:type", types_2.EditorComponentRegistry)
|
|
1654
1654
|
], EditorGroup.prototype, "editorComponentRegistry", void 0);
|
|
1655
1655
|
tslib_1.__decorate([
|
|
1656
1656
|
(0, di_1.Autowired)(common_1.WorkbenchEditorService),
|
|
1657
1657
|
tslib_1.__metadata("design:type", WorkbenchEditorServiceImpl)
|
|
1658
1658
|
], EditorGroup.prototype, "workbenchEditorService", void 0);
|
|
1659
1659
|
tslib_1.__decorate([
|
|
1660
|
-
(0, di_1.Autowired)(
|
|
1660
|
+
(0, di_1.Autowired)(types_1.IEditorDocumentModelService),
|
|
1661
1661
|
tslib_1.__metadata("design:type", Object)
|
|
1662
1662
|
], EditorGroup.prototype, "documentModelManager", void 0);
|
|
1663
1663
|
tslib_1.__decorate([
|
|
1664
|
-
(0, di_1.Autowired)(
|
|
1664
|
+
(0, di_1.Autowired)(ide_core_common_2.CommandService),
|
|
1665
1665
|
tslib_1.__metadata("design:type", Object)
|
|
1666
1666
|
], EditorGroup.prototype, "commands", void 0);
|
|
1667
1667
|
tslib_1.__decorate([
|
|
@@ -1677,7 +1677,7 @@ tslib_1.__decorate([
|
|
|
1677
1677
|
tslib_1.__metadata("design:type", Object)
|
|
1678
1678
|
], EditorGroup.prototype, "messageService", void 0);
|
|
1679
1679
|
tslib_1.__decorate([
|
|
1680
|
-
(0, di_1.Autowired)(
|
|
1680
|
+
(0, di_1.Autowired)(ide_core_common_2.IReporterService),
|
|
1681
1681
|
tslib_1.__metadata("design:type", Object)
|
|
1682
1682
|
], EditorGroup.prototype, "reporterService", void 0);
|
|
1683
1683
|
tslib_1.__decorate([
|
|
@@ -1689,7 +1689,7 @@ tslib_1.__decorate([
|
|
|
1689
1689
|
tslib_1.__metadata("design:type", Object)
|
|
1690
1690
|
], EditorGroup.prototype, "openerService", void 0);
|
|
1691
1691
|
tslib_1.__decorate([
|
|
1692
|
-
(0, di_1.Autowired)(
|
|
1692
|
+
(0, di_1.Autowired)(ide_core_common_2.ILogger),
|
|
1693
1693
|
tslib_1.__metadata("design:type", Object)
|
|
1694
1694
|
], EditorGroup.prototype, "logger", void 0);
|
|
1695
1695
|
tslib_1.__decorate([
|
|
@@ -1697,19 +1697,19 @@ tslib_1.__decorate([
|
|
|
1697
1697
|
tslib_1.__metadata("design:type", Array)
|
|
1698
1698
|
], EditorGroup.prototype, "availableOpenTypes", void 0);
|
|
1699
1699
|
tslib_1.__decorate([
|
|
1700
|
-
(0,
|
|
1700
|
+
(0, ide_core_common_2.OnEvent)(common_1.ResourceDecorationChangeEvent),
|
|
1701
1701
|
tslib_1.__metadata("design:type", Function),
|
|
1702
1702
|
tslib_1.__metadata("design:paramtypes", [common_1.ResourceDecorationChangeEvent]),
|
|
1703
1703
|
tslib_1.__metadata("design:returntype", void 0)
|
|
1704
1704
|
], EditorGroup.prototype, "onResourceDecorationChangeEvent", null);
|
|
1705
1705
|
tslib_1.__decorate([
|
|
1706
|
-
(0,
|
|
1706
|
+
(0, ide_core_common_2.OnEvent)(types_2.ResourceOpenTypeChangedEvent),
|
|
1707
1707
|
tslib_1.__metadata("design:type", Function),
|
|
1708
|
-
tslib_1.__metadata("design:paramtypes", [
|
|
1708
|
+
tslib_1.__metadata("design:paramtypes", [types_2.ResourceOpenTypeChangedEvent]),
|
|
1709
1709
|
tslib_1.__metadata("design:returntype", void 0)
|
|
1710
1710
|
], EditorGroup.prototype, "oResourceOpenTypeChangedEvent", null);
|
|
1711
1711
|
tslib_1.__decorate([
|
|
1712
|
-
(0,
|
|
1712
|
+
(0, ide_core_common_2.OnEvent)(types_2.RegisterEditorComponentEvent),
|
|
1713
1713
|
tslib_1.__metadata("design:type", Function),
|
|
1714
1714
|
tslib_1.__metadata("design:paramtypes", []),
|
|
1715
1715
|
tslib_1.__metadata("design:returntype", Promise)
|