@opensumi/ide-outline 2.12.1-next-079c1930

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/lib/browser/index.d.ts +6 -0
  2. package/lib/browser/index.d.ts.map +1 -0
  3. package/lib/browser/index.js +41 -0
  4. package/lib/browser/index.js.map +1 -0
  5. package/lib/browser/outline-node.d.ts +18 -0
  6. package/lib/browser/outline-node.d.ts.map +1 -0
  7. package/lib/browser/outline-node.define.d.ts +28 -0
  8. package/lib/browser/outline-node.define.d.ts.map +1 -0
  9. package/lib/browser/outline-node.define.js +59 -0
  10. package/lib/browser/outline-node.define.js.map +1 -0
  11. package/lib/browser/outline-node.js +78 -0
  12. package/lib/browser/outline-node.js.map +1 -0
  13. package/lib/browser/outline-node.module.less +220 -0
  14. package/lib/browser/outline.contribution.d.ts +12 -0
  15. package/lib/browser/outline.contribution.d.ts.map +1 -0
  16. package/lib/browser/outline.contribution.js +125 -0
  17. package/lib/browser/outline.contribution.js.map +1 -0
  18. package/lib/browser/outline.d.ts +6 -0
  19. package/lib/browser/outline.d.ts.map +1 -0
  20. package/lib/browser/outline.js +79 -0
  21. package/lib/browser/outline.js.map +1 -0
  22. package/lib/browser/outline.module.less +11 -0
  23. package/lib/browser/services/outline-contextkey.service.d.ts +8 -0
  24. package/lib/browser/services/outline-contextkey.service.d.ts.map +1 -0
  25. package/lib/browser/services/outline-contextkey.service.js +25 -0
  26. package/lib/browser/services/outline-contextkey.service.js.map +1 -0
  27. package/lib/browser/services/outline-decoration.service.d.ts +14 -0
  28. package/lib/browser/services/outline-decoration.service.d.ts.map +1 -0
  29. package/lib/browser/services/outline-decoration.service.js +56 -0
  30. package/lib/browser/services/outline-decoration.service.js.map +1 -0
  31. package/lib/browser/services/outline-event.service.d.ts +21 -0
  32. package/lib/browser/services/outline-event.service.d.ts.map +1 -0
  33. package/lib/browser/services/outline-event.service.js +57 -0
  34. package/lib/browser/services/outline-event.service.js.map +1 -0
  35. package/lib/browser/services/outline-model.d.ts +12 -0
  36. package/lib/browser/services/outline-model.d.ts.map +1 -0
  37. package/lib/browser/services/outline-model.js +43 -0
  38. package/lib/browser/services/outline-model.js.map +1 -0
  39. package/lib/browser/services/outline-model.service.d.ts +83 -0
  40. package/lib/browser/services/outline-model.service.d.ts.map +1 -0
  41. package/lib/browser/services/outline-model.service.js +508 -0
  42. package/lib/browser/services/outline-model.service.js.map +1 -0
  43. package/lib/browser/services/outline-tree.service.d.ts +33 -0
  44. package/lib/browser/services/outline-tree.service.d.ts.map +1 -0
  45. package/lib/browser/services/outline-tree.service.js +143 -0
  46. package/lib/browser/services/outline-tree.service.js.map +1 -0
  47. package/lib/common/index.d.ts +26 -0
  48. package/lib/common/index.d.ts.map +1 -0
  49. package/lib/common/index.js +5 -0
  50. package/lib/common/index.js.map +1 -0
  51. package/lib/index.d.ts +2 -0
  52. package/lib/index.d.ts.map +1 -0
  53. package/lib/index.js +5 -0
  54. package/lib/index.js.map +1 -0
  55. package/package.json +29 -0
@@ -0,0 +1,143 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OutlineTreeService = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const di_1 = require("@opensumi/di");
6
+ const ide_components_1 = require("@opensumi/ide-components");
7
+ const outline_node_define_1 = require("../outline-node.define");
8
+ const ide_core_browser_1 = require("@opensumi/ide-core-browser");
9
+ const document_symbol_1 = require("@opensumi/ide-editor/lib/browser/breadcrumb/document-symbol");
10
+ const outline_contextkey_service_1 = require("./outline-contextkey.service");
11
+ let OutlineTreeService = class OutlineTreeService extends ide_components_1.Tree {
12
+ constructor() {
13
+ super();
14
+ // 处理字符串排序,IdleValue 在空闲或需要时执行 [idle-or-urgent stratage implementation](https://philipwalton.com/articles/idle-until-urgent)
15
+ this.collator = new ide_core_browser_1.IdleValue(() => new Intl.Collator(undefined, { numeric: true }));
16
+ this.cacheOutlineNodes = new Map();
17
+ this._sortType = 0 /* ByPosition */;
18
+ this._followCursor = false;
19
+ this.onDidChangeEmitter = new ide_core_browser_1.Emitter();
20
+ this.sortComparator = (a, b) => {
21
+ if (this.sortType === 2 /* ByKind */) {
22
+ return a.raw.kind - b.raw.kind || this.collator.getValue().compare(a.name, b.name);
23
+ }
24
+ else if (this.sortType === 1 /* ByName */) {
25
+ return this.collator.getValue().compare(a.name, b.name) || (0, ide_core_browser_1.compareRangesUsingStarts)(a.raw.range, b.raw.range);
26
+ }
27
+ else {
28
+ return (0, ide_core_browser_1.compareRangesUsingStarts)(a.raw.range, b.raw.range) || this.collator.getValue().compare(a.name, b.name);
29
+ }
30
+ };
31
+ this._whenReady = this.init();
32
+ }
33
+ async init() {
34
+ this._outlineStorage = await this.storageProvider(ide_core_browser_1.STORAGE_NAMESPACE.OUTLINE);
35
+ this._sortType = this._outlineStorage.get('sortType', 0 /* ByPosition */);
36
+ this.outlineContextKeyService.outlineSortTypeContext.set(this._sortType);
37
+ this._followCursor = this._outlineStorage.get('followCursor', false);
38
+ this.outlineContextKeyService.outlineFollowCursorContext.set(this._followCursor);
39
+ }
40
+ get whenReady() {
41
+ return this._whenReady;
42
+ }
43
+ get onDidChange() {
44
+ return this.onDidChangeEmitter.event;
45
+ }
46
+ get currentUri() {
47
+ return this._currentUri;
48
+ }
49
+ set currentUri(value) {
50
+ this._currentUri = value;
51
+ }
52
+ get followCursor() {
53
+ return this._followCursor;
54
+ }
55
+ set followCursor(value) {
56
+ if (this._followCursor === value) {
57
+ return;
58
+ }
59
+ this._followCursor = value;
60
+ this.outlineContextKeyService.outlineFollowCursorContext.set(value);
61
+ this._outlineStorage.set('followCursor', value);
62
+ this.onDidChangeEmitter.fire();
63
+ }
64
+ get sortType() {
65
+ return this._sortType;
66
+ }
67
+ set sortType(type) {
68
+ if (this._sortType === type) {
69
+ return;
70
+ }
71
+ this._sortType = type;
72
+ this.outlineContextKeyService.outlineSortTypeContext.set(type);
73
+ this._outlineStorage.set('sortType', type);
74
+ this.onDidChangeEmitter.fire();
75
+ }
76
+ async resolveChildren(parent) {
77
+ var _a;
78
+ let children = [];
79
+ if (!parent) {
80
+ children = [new outline_node_define_1.OutlineRoot(this, this.currentUri)];
81
+ }
82
+ else if (parent) {
83
+ if (!outline_node_define_1.OutlineCompositeTreeNode.is(parent)) {
84
+ if (!(parent.currentUri || this.currentUri)) {
85
+ return [];
86
+ }
87
+ const symbols = this.documentSymbolStore.getDocumentSymbol((parent.currentUri || this.currentUri));
88
+ children = (symbols === null || symbols === void 0 ? void 0 : symbols.map((symbol) => {
89
+ var _a;
90
+ const cache = this.cacheOutlineNodes.get(symbol.id);
91
+ if (!!((_a = symbol.children) === null || _a === void 0 ? void 0 : _a.length)) {
92
+ return new outline_node_define_1.OutlineCompositeTreeNode(this, parent, symbol, (0, ide_core_browser_1.getSymbolIcon)(symbol.kind) + ' outline-icon', cache === null || cache === void 0 ? void 0 : cache.id);
93
+ }
94
+ return new outline_node_define_1.OutlineTreeNode(this, parent, symbol, (0, ide_core_browser_1.getSymbolIcon)(symbol.kind) + ' outline-icon', cache === null || cache === void 0 ? void 0 : cache.id);
95
+ })) || [];
96
+ }
97
+ else if (parent.raw) {
98
+ children = ((_a = parent.raw.children) === null || _a === void 0 ? void 0 : _a.map((symbol) => {
99
+ var _a;
100
+ const cache = this.cacheOutlineNodes.get(symbol.id);
101
+ if (!!((_a = symbol.children) === null || _a === void 0 ? void 0 : _a.length)) {
102
+ return new outline_node_define_1.OutlineCompositeTreeNode(this, parent, symbol, (0, ide_core_browser_1.getSymbolIcon)(symbol.kind) + ' outline-icon', cache === null || cache === void 0 ? void 0 : cache.id);
103
+ }
104
+ return new outline_node_define_1.OutlineTreeNode(this, parent, symbol, (0, ide_core_browser_1.getSymbolIcon)(symbol.kind) + ' outline-icon', cache === null || cache === void 0 ? void 0 : cache.id);
105
+ }).filter((node) => !!node.name)) || [];
106
+ }
107
+ }
108
+ this.cacheNodes(children);
109
+ return children;
110
+ }
111
+ cacheNodes(nodes) {
112
+ for (const node of nodes) {
113
+ if (node.raw) {
114
+ // OutlineTreeNode or OutlineCompositeTreeNode
115
+ this.cacheOutlineNodes.set(node.raw.id, node);
116
+ }
117
+ }
118
+ }
119
+ getTreeNodeBySymbol(symbol) {
120
+ if (!!symbol) {
121
+ const cache = this.cacheOutlineNodes.get(symbol.id);
122
+ return cache;
123
+ }
124
+ }
125
+ };
126
+ (0, tslib_1.__decorate)([
127
+ (0, di_1.Autowired)(document_symbol_1.DocumentSymbolStore),
128
+ (0, tslib_1.__metadata)("design:type", document_symbol_1.DocumentSymbolStore)
129
+ ], OutlineTreeService.prototype, "documentSymbolStore", void 0);
130
+ (0, tslib_1.__decorate)([
131
+ (0, di_1.Autowired)(outline_contextkey_service_1.OutlineContextKeyService),
132
+ (0, tslib_1.__metadata)("design:type", outline_contextkey_service_1.OutlineContextKeyService)
133
+ ], OutlineTreeService.prototype, "outlineContextKeyService", void 0);
134
+ (0, tslib_1.__decorate)([
135
+ (0, di_1.Autowired)(ide_core_browser_1.StorageProvider),
136
+ (0, tslib_1.__metadata)("design:type", Function)
137
+ ], OutlineTreeService.prototype, "storageProvider", void 0);
138
+ OutlineTreeService = (0, tslib_1.__decorate)([
139
+ (0, di_1.Injectable)(),
140
+ (0, tslib_1.__metadata)("design:paramtypes", [])
141
+ ], OutlineTreeService);
142
+ exports.OutlineTreeService = OutlineTreeService;
143
+ //# sourceMappingURL=outline-tree.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"outline-tree.service.js","sourceRoot":"","sources":["../../../src/browser/services/outline-tree.service.ts"],"names":[],"mappings":";;;;AAAA,qCAAqD;AACrD,6DAA8E;AAC9E,gEAAgG;AAChG,iEAA8K;AAC9K,iGAA6H;AAE7H,6EAAwE;AAGxE,IAAa,kBAAkB,GAA/B,MAAa,kBAAmB,SAAQ,qBAAI;IA0B1C;QACE,KAAK,EAAE,CAAC;QAhBV,4HAA4H;QAC3G,aAAQ,GAAG,IAAI,4BAAS,CAAgB,GAAG,E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AClB,CAAC;IAEO,UAAU,CAAC,KAAmE;QACpF,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;YACxB,IAAK,IAAwB,CAAC,GAAG,EAAE;gBACjC,8CAA8C;gBAC9C,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAE,IAAwB,CAAC,GAAG,CAAC,EAAE,EAAE,IAAuB,CAAC,CAAC;aACvF;SACF;IACH,CAAC;IAED,mBAAmB,CAAC,MAAiC;QACnD,IAAI,CAAC,CAAC,MAAM,EAAE;YACZ,MAAM,KAAK,GAAG,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;YACpD,OAAO,KAAK,CAAC;SACd;IACH,CAAC;CAWF,CAAA;AAxIC;IADC,IAAA,cAAS,EAAC,qCAAmB,CAAC;2CACF,qCAAmB;+DAAC;AAGjD;IADC,IAAA,cAAS,EAAC,qDAAwB,CAAC;2CACF,qDAAwB;oEAAC;AAG3D;IADC,IAAA,cAAS,EAAC,kCAAe,CAAC;;2DACc;AAT9B,kBAAkB;IAD9B,IAAA,eAAU,GAAE;;GACA,kBAAkB,CA2I9B;AA3IY,gDAAkB"}
@@ -0,0 +1,26 @@
1
+ import { MarkerSeverity, URI } from '@opensumi/ide-core-common';
2
+ import { ITreeNode } from '@opensumi/ide-components';
3
+ export declare const enum OutlineSortOrder {
4
+ ByPosition = 0,
5
+ ByName = 1,
6
+ ByKind = 2
7
+ }
8
+ export interface IOutlineMarker {
9
+ startLineNumber: number;
10
+ startColumn: number;
11
+ endLineNumber: number;
12
+ endColumn: number;
13
+ severity: MarkerSeverity;
14
+ message?: string;
15
+ }
16
+ export declare const IOutlineDecorationService: unique symbol;
17
+ export interface IOutlineDecoration {
18
+ color: string;
19
+ tooltip: string;
20
+ badge: string;
21
+ }
22
+ export interface IOutlineDecorationService {
23
+ getDecoration(node: ITreeNode): IOutlineDecoration;
24
+ updateDiagnosisInfo(uri?: URI): void;
25
+ }
26
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD,0BAAkB,gBAAgB;IAChC,UAAU,IAAA;IACV,MAAM,IAAA;IACN,MAAM,IAAA;CACP;AAED,MAAM,WAAW,cAAc;IAC7B,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,cAAc,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,yBAAyB,eAAsC,CAAC;AAE7E,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,yBAAyB;IACxC,aAAa,CAAC,IAAI,EAAE,SAAS,GAAG,kBAAkB,CAAC;IACnD,mBAAmB,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;CACtC"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IOutlineDecorationService = void 0;
4
+ exports.IOutlineDecorationService = Symbol('IOutlineDecorationService');
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":";;;AAkBa,QAAA,yBAAyB,GAAG,MAAM,CAAC,2BAA2B,CAAC,CAAC"}
package/lib/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from './common';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
package/lib/index.js ADDED
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ (0, tslib_1.__exportStar)(require("./common"), exports);
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,wDAAyB"}
package/package.json ADDED
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "@opensumi/ide-outline",
3
+ "version": "2.12.1-next-079c1930",
4
+ "files": [
5
+ "lib"
6
+ ],
7
+ "license": "MIT",
8
+ "main": "lib/index.js",
9
+ "typings": "lib/index.d.ts",
10
+ "scripts": {
11
+ "prepublishOnly": "npm run build",
12
+ "build": "tsc --build ../../configs/ts/references/tsconfig.outline.json"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git@github.com:opensumi/core.git"
17
+ },
18
+ "dependencies": {},
19
+ "devDependencies": {
20
+ "@opensumi/ide-core-common": "2.12.1-next-079c1930",
21
+ "@opensumi/ide-core-browser": "2.12.1-next-079c1930",
22
+ "@opensumi/ide-components": "2.12.1-next-079c1930",
23
+ "@opensumi/ide-editor": "2.12.1-next-079c1930",
24
+ "@opensumi/ide-explorer": "2.12.1-next-079c1930",
25
+ "@opensumi/ide-main-layout": "2.12.1-next-079c1930",
26
+ "@opensumi/ide-theme": "2.12.1-next-079c1930",
27
+ "@opensumi/ide-dev-tool": "^1.3.1"
28
+ }
29
+ }