@opensumi/ide-extension 3.8.2-next-1741418699.0 → 3.8.2-next-1741622293.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/lib/worker-host.js +6 -6
- package/package.json +35 -35
package/lib/worker-host.js
CHANGED
|
@@ -65946,7 +65946,7 @@ Color.transparent = new Color(new RGBA(0, 0, 0, 0));
|
|
|
65946
65946
|
CSS.formatHex = formatHex;
|
|
65947
65947
|
/**
|
|
65948
65948
|
* Formats the color as #RRGGBBAA
|
|
65949
|
-
* If 'compact' is set, colors without
|
|
65949
|
+
* If 'compact' is set, colors without transparency will be printed as #RRGGBB
|
|
65950
65950
|
*/
|
|
65951
65951
|
function formatHexA(color, compact = false) {
|
|
65952
65952
|
if (compact && color.rgba.a === 1) {
|
|
@@ -66422,22 +66422,22 @@ exports.TokenStyle = TokenStyle;
|
|
|
66422
66422
|
})(TokenStyle || (exports.TokenStyle = TokenStyle = {}));
|
|
66423
66423
|
const noMatch = (_scope) => -1;
|
|
66424
66424
|
exports.noMatch = noMatch;
|
|
66425
|
-
function nameMatcher(
|
|
66425
|
+
function nameMatcher(identifiers, scope) {
|
|
66426
66426
|
function findInIdents(s, lastIndent) {
|
|
66427
66427
|
for (let i = lastIndent - 1; i >= 0; i--) {
|
|
66428
|
-
if (scopesAreMatching(s,
|
|
66428
|
+
if (scopesAreMatching(s, identifiers[i])) {
|
|
66429
66429
|
return i;
|
|
66430
66430
|
}
|
|
66431
66431
|
}
|
|
66432
66432
|
return -1;
|
|
66433
66433
|
}
|
|
66434
|
-
if (scope.length <
|
|
66434
|
+
if (scope.length < identifiers.length) {
|
|
66435
66435
|
return -1;
|
|
66436
66436
|
}
|
|
66437
66437
|
let lastScopeIndex = scope.length - 1;
|
|
66438
|
-
let lastIdentifierIndex = findInIdents(scope[lastScopeIndex--],
|
|
66438
|
+
let lastIdentifierIndex = findInIdents(scope[lastScopeIndex--], identifiers.length);
|
|
66439
66439
|
if (lastIdentifierIndex >= 0) {
|
|
66440
|
-
const score = (lastIdentifierIndex + 1) * 0x10000 +
|
|
66440
|
+
const score = (lastIdentifierIndex + 1) * 0x10000 + identifiers[lastIdentifierIndex].length;
|
|
66441
66441
|
while (lastScopeIndex >= 0) {
|
|
66442
66442
|
lastIdentifierIndex = findInIdents(scope[lastScopeIndex--], lastIdentifierIndex);
|
|
66443
66443
|
if (lastIdentifierIndex === -1) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensumi/ide-extension",
|
|
3
|
-
"version": "3.8.2-next-
|
|
3
|
+
"version": "3.8.2-next-1741622293.0",
|
|
4
4
|
"files": [
|
|
5
5
|
"lib",
|
|
6
6
|
"hosted"
|
|
@@ -23,18 +23,18 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@opensumi/events": "^1.0.0",
|
|
26
|
-
"@opensumi/ide-connection": "3.8.2-next-
|
|
27
|
-
"@opensumi/ide-core-browser": "3.8.2-next-
|
|
28
|
-
"@opensumi/ide-core-node": "3.8.2-next-
|
|
29
|
-
"@opensumi/ide-debug": "3.8.2-next-
|
|
30
|
-
"@opensumi/ide-file-search": "3.8.2-next-
|
|
31
|
-
"@opensumi/ide-file-service": "3.8.2-next-
|
|
32
|
-
"@opensumi/ide-logs": "3.8.2-next-
|
|
33
|
-
"@opensumi/ide-markdown": "3.8.2-next-
|
|
34
|
-
"@opensumi/ide-task": "3.8.2-next-
|
|
35
|
-
"@opensumi/ide-terminal-next": "3.8.2-next-
|
|
36
|
-
"@opensumi/ide-utils": "3.8.2-next-
|
|
37
|
-
"@opensumi/ide-webview": "3.8.2-next-
|
|
26
|
+
"@opensumi/ide-connection": "3.8.2-next-1741622293.0",
|
|
27
|
+
"@opensumi/ide-core-browser": "3.8.2-next-1741622293.0",
|
|
28
|
+
"@opensumi/ide-core-node": "3.8.2-next-1741622293.0",
|
|
29
|
+
"@opensumi/ide-debug": "3.8.2-next-1741622293.0",
|
|
30
|
+
"@opensumi/ide-file-search": "3.8.2-next-1741622293.0",
|
|
31
|
+
"@opensumi/ide-file-service": "3.8.2-next-1741622293.0",
|
|
32
|
+
"@opensumi/ide-logs": "3.8.2-next-1741622293.0",
|
|
33
|
+
"@opensumi/ide-markdown": "3.8.2-next-1741622293.0",
|
|
34
|
+
"@opensumi/ide-task": "3.8.2-next-1741622293.0",
|
|
35
|
+
"@opensumi/ide-terminal-next": "3.8.2-next-1741622293.0",
|
|
36
|
+
"@opensumi/ide-utils": "3.8.2-next-1741622293.0",
|
|
37
|
+
"@opensumi/ide-webview": "3.8.2-next-1741622293.0",
|
|
38
38
|
"address": "^1.1.2",
|
|
39
39
|
"glob-to-regexp": "0.4.1",
|
|
40
40
|
"is-running": "^2.1.0",
|
|
@@ -45,28 +45,28 @@
|
|
|
45
45
|
"v8-inspect-profiler": "^0.1.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@opensumi/ide-ai-native": "3.8.2-next-
|
|
49
|
-
"@opensumi/ide-comments": "3.8.2-next-
|
|
50
|
-
"@opensumi/ide-components": "3.8.2-next-
|
|
48
|
+
"@opensumi/ide-ai-native": "3.8.2-next-1741622293.0",
|
|
49
|
+
"@opensumi/ide-comments": "3.8.2-next-1741622293.0",
|
|
50
|
+
"@opensumi/ide-components": "3.8.2-next-1741622293.0",
|
|
51
51
|
"@opensumi/ide-core-browser": "workspace:*",
|
|
52
|
-
"@opensumi/ide-core-common": "3.8.2-next-
|
|
53
|
-
"@opensumi/ide-decoration": "3.8.2-next-
|
|
54
|
-
"@opensumi/ide-dev-tool": "3.8.2-next-
|
|
55
|
-
"@opensumi/ide-editor": "3.8.2-next-
|
|
56
|
-
"@opensumi/ide-extension-storage": "3.8.2-next-
|
|
57
|
-
"@opensumi/ide-file-tree-next": "3.8.2-next-
|
|
58
|
-
"@opensumi/ide-i18n": "3.8.2-next-
|
|
59
|
-
"@opensumi/ide-main-layout": "3.8.2-next-
|
|
60
|
-
"@opensumi/ide-monaco": "3.8.2-next-
|
|
61
|
-
"@opensumi/ide-output": "3.8.2-next-
|
|
62
|
-
"@opensumi/ide-overlay": "3.8.2-next-
|
|
63
|
-
"@opensumi/ide-quick-open": "3.8.2-next-
|
|
64
|
-
"@opensumi/ide-scm": "3.8.2-next-
|
|
65
|
-
"@opensumi/ide-testing": "3.8.2-next-
|
|
66
|
-
"@opensumi/ide-theme": "3.8.2-next-
|
|
67
|
-
"@opensumi/ide-toolbar": "3.8.2-next-
|
|
68
|
-
"@opensumi/ide-workspace": "3.8.2-next-
|
|
69
|
-
"@opensumi/ide-workspace-edit": "3.8.2-next-
|
|
52
|
+
"@opensumi/ide-core-common": "3.8.2-next-1741622293.0",
|
|
53
|
+
"@opensumi/ide-decoration": "3.8.2-next-1741622293.0",
|
|
54
|
+
"@opensumi/ide-dev-tool": "3.8.2-next-1741622293.0",
|
|
55
|
+
"@opensumi/ide-editor": "3.8.2-next-1741622293.0",
|
|
56
|
+
"@opensumi/ide-extension-storage": "3.8.2-next-1741622293.0",
|
|
57
|
+
"@opensumi/ide-file-tree-next": "3.8.2-next-1741622293.0",
|
|
58
|
+
"@opensumi/ide-i18n": "3.8.2-next-1741622293.0",
|
|
59
|
+
"@opensumi/ide-main-layout": "3.8.2-next-1741622293.0",
|
|
60
|
+
"@opensumi/ide-monaco": "3.8.2-next-1741622293.0",
|
|
61
|
+
"@opensumi/ide-output": "3.8.2-next-1741622293.0",
|
|
62
|
+
"@opensumi/ide-overlay": "3.8.2-next-1741622293.0",
|
|
63
|
+
"@opensumi/ide-quick-open": "3.8.2-next-1741622293.0",
|
|
64
|
+
"@opensumi/ide-scm": "3.8.2-next-1741622293.0",
|
|
65
|
+
"@opensumi/ide-testing": "3.8.2-next-1741622293.0",
|
|
66
|
+
"@opensumi/ide-theme": "3.8.2-next-1741622293.0",
|
|
67
|
+
"@opensumi/ide-toolbar": "3.8.2-next-1741622293.0",
|
|
68
|
+
"@opensumi/ide-workspace": "3.8.2-next-1741622293.0",
|
|
69
|
+
"@opensumi/ide-workspace-edit": "3.8.2-next-1741622293.0"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "dc52950c079da503dc1428591f5926714e65d99b"
|
|
72
72
|
}
|