@theia/workspace 1.53.0-next.55 → 1.53.0-next.64
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/README.md +30 -30
- package/lib/browser/workspace-trust-preferences.d.ts.map +1 -1
- package/lib/browser/workspace-trust-preferences.js +1 -0
- package/lib/browser/workspace-trust-preferences.js.map +1 -1
- package/lib/browser/workspace-trust-service.d.ts.map +1 -1
- package/lib/browser/workspace-trust-service.js +11 -9
- package/lib/browser/workspace-trust-service.js.map +1 -1
- package/package.json +5 -5
- package/src/browser/canonical-uri-service.ts +57 -57
- package/src/browser/diff-service.ts +62 -62
- package/src/browser/index.ts +23 -23
- package/src/browser/quick-open-workspace.ts +112 -112
- package/src/browser/untitled-workspace-exit-dialog.ts +70 -70
- package/src/browser/workspace-breadcrumbs-contribution.ts +56 -56
- package/src/browser/workspace-commands.spec.ts +153 -153
- package/src/browser/workspace-commands.ts +557 -557
- package/src/browser/workspace-compare-handler.ts +56 -56
- package/src/browser/workspace-delete-handler.ts +212 -212
- package/src/browser/workspace-duplicate-handler.ts +75 -75
- package/src/browser/workspace-frontend-contribution.ts +537 -537
- package/src/browser/workspace-frontend-module.ts +118 -118
- package/src/browser/workspace-input-dialog.ts +61 -61
- package/src/browser/workspace-preferences.ts +58 -58
- package/src/browser/workspace-schema-updater.ts +150 -150
- package/src/browser/workspace-service.ts +780 -780
- package/src/browser/workspace-storage-service.ts +67 -67
- package/src/browser/workspace-trust-preferences.ts +77 -76
- package/src/browser/workspace-trust-service.ts +154 -152
- package/src/browser/workspace-uri-contribution.spec.ts +191 -191
- package/src/browser/workspace-uri-contribution.ts +97 -97
- package/src/browser/workspace-user-working-directory-provider.ts +49 -49
- package/src/browser/workspace-utils.ts +45 -45
- package/src/browser/workspace-variable-contribution.ts +222 -222
- package/src/browser/workspace-window-title-updater.ts +45 -45
- package/src/browser-only/browser-only-workspace-server.ts +69 -69
- package/src/browser-only/workspace-frontend-only-module.ts +28 -28
- package/src/common/index.ts +19 -19
- package/src/common/test/mock-workspace-server.ts +29 -29
- package/src/common/untitled-workspace-service.ts +50 -50
- package/src/common/workspace-file-service.ts +72 -72
- package/src/common/workspace-protocol.ts +47 -47
- package/src/node/default-workspace-server.spec.ts +100 -100
- package/src/node/default-workspace-server.ts +244 -244
- package/src/node/index.ts +18 -18
- package/src/node/workspace-backend-module.ts +38 -38
package/README.md
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
<div align='center'>
|
|
2
|
-
|
|
3
|
-
<br />
|
|
4
|
-
|
|
5
|
-
<img src='https://raw.githubusercontent.com/eclipse-theia/theia/master/logo/theia.svg?sanitize=true' alt='theia-ext-logo' width='100px' />
|
|
6
|
-
|
|
7
|
-
<h2>ECLIPSE THEIA - WORKSPACE EXTENSION</h2>
|
|
8
|
-
|
|
9
|
-
<hr />
|
|
10
|
-
|
|
11
|
-
</div>
|
|
12
|
-
|
|
13
|
-
## Description
|
|
14
|
-
|
|
15
|
-
The `@theia/workspace` extension provides functionality and services to handle workspaces (projects) within the application.
|
|
16
|
-
|
|
17
|
-
## Additional Information
|
|
18
|
-
|
|
19
|
-
- [API documentation for `@theia/workspace`](https://eclipse-theia.github.io/theia/docs/next/modules/workspace.html)
|
|
20
|
-
- [Theia - GitHub](https://github.com/eclipse-theia/theia)
|
|
21
|
-
- [Theia - Website](https://theia-ide.org/)
|
|
22
|
-
|
|
23
|
-
## License
|
|
24
|
-
|
|
25
|
-
- [Eclipse Public License 2.0](http://www.eclipse.org/legal/epl-2.0/)
|
|
26
|
-
- [一 (Secondary) GNU General Public License, version 2 with the GNU Classpath Exception](https://projects.eclipse.org/license/secondary-gpl-2.0-cp)
|
|
27
|
-
|
|
28
|
-
## Trademark
|
|
29
|
-
"Theia" is a trademark of the Eclipse Foundation
|
|
30
|
-
https://www.eclipse.org/theia
|
|
1
|
+
<div align='center'>
|
|
2
|
+
|
|
3
|
+
<br />
|
|
4
|
+
|
|
5
|
+
<img src='https://raw.githubusercontent.com/eclipse-theia/theia/master/logo/theia.svg?sanitize=true' alt='theia-ext-logo' width='100px' />
|
|
6
|
+
|
|
7
|
+
<h2>ECLIPSE THEIA - WORKSPACE EXTENSION</h2>
|
|
8
|
+
|
|
9
|
+
<hr />
|
|
10
|
+
|
|
11
|
+
</div>
|
|
12
|
+
|
|
13
|
+
## Description
|
|
14
|
+
|
|
15
|
+
The `@theia/workspace` extension provides functionality and services to handle workspaces (projects) within the application.
|
|
16
|
+
|
|
17
|
+
## Additional Information
|
|
18
|
+
|
|
19
|
+
- [API documentation for `@theia/workspace`](https://eclipse-theia.github.io/theia/docs/next/modules/workspace.html)
|
|
20
|
+
- [Theia - GitHub](https://github.com/eclipse-theia/theia)
|
|
21
|
+
- [Theia - Website](https://theia-ide.org/)
|
|
22
|
+
|
|
23
|
+
## License
|
|
24
|
+
|
|
25
|
+
- [Eclipse Public License 2.0](http://www.eclipse.org/legal/epl-2.0/)
|
|
26
|
+
- [一 (Secondary) GNU General Public License, version 2 with the GNU Classpath Exception](https://projects.eclipse.org/license/secondary-gpl-2.0-cp)
|
|
27
|
+
|
|
28
|
+
## Trademark
|
|
29
|
+
"Theia" is a trademark of the Eclipse Foundation
|
|
30
|
+
https://www.eclipse.org/theia
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-trust-preferences.d.ts","sourceRoot":"","sources":["../../src/browser/workspace-trust-preferences.ts"],"names":[],"mappings":"AAgBA,OAAO,EAC4C,eAAe,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"workspace-trust-preferences.d.ts","sourceRoot":"","sources":["../../src/browser/workspace-trust-preferences.ts"],"names":[],"mappings":"AAgBA,OAAO,EAC4C,eAAe,EAAE,gBAAgB,EAAmB,iBAAiB,EACvH,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE1D,eAAO,MAAM,uBAAuB,qCAAqC,CAAC;AAC1E,eAAO,MAAM,8BAA8B,2CAA2C,CAAC;AACvF,eAAO,MAAM,4BAA4B,yCAAyC,CAAC;AAEnF,oBAAY,oBAAoB;IAC5B,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,KAAK,UAAU;CAClB;AAED,eAAO,MAAM,8BAA8B,EAAE,gBAoB5C,CAAC;AAEF,MAAM,WAAW,2BAA2B;IACxC,CAAC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IACnC,CAAC,8BAA8B,CAAC,EAAE,oBAAoB,CAAC;IACvD,CAAC,4BAA4B,CAAC,EAAE,OAAO,CAAC;CAC3C;AAED,eAAO,MAAM,oCAAoC,eAAiD,CAAC;AACnG,eAAO,MAAM,yBAAyB,eAAsC,CAAC;AAC7E,MAAM,MAAM,yBAAyB,GAAG,eAAe,CAAC,2BAA2B,CAAC,CAAC;AAErF,wBAAgB,+BAA+B,CAAC,WAAW,EAAE,iBAAiB,EAAE,MAAM,GAAE,gBAAiD,GAAG,yBAAyB,CAEpK;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,UAAU,CAAC,IAAI,GAAG,IAAI,CAQzE"}
|
|
@@ -29,6 +29,7 @@ var WorkspaceTrustPrompt;
|
|
|
29
29
|
})(WorkspaceTrustPrompt || (exports.WorkspaceTrustPrompt = WorkspaceTrustPrompt = {}));
|
|
30
30
|
exports.workspaceTrustPreferenceSchema = {
|
|
31
31
|
type: 'object',
|
|
32
|
+
scope: preferences_1.PreferenceScope.User,
|
|
32
33
|
properties: {
|
|
33
34
|
[exports.WORKSPACE_TRUST_ENABLED]: {
|
|
34
35
|
description: nls_1.nls.localize('theia/workspace/trustEnabled', 'Controls whether or not workspace trust is enabled. If disabled, all workspaces are trusted.'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-trust-preferences.js","sourceRoot":"","sources":["../../src/browser/workspace-trust-preferences.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAC3E,mEAAm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OAAO,IAAA,mCAAqB,EAAC,WAAW,EAAE,MAAM,CAAC,CAAC;AACtD,CAAC;AAFD,0EAEC;AAED,SAAgB,6BAA6B,CAAC,IAAqB;IAC/D,IAAI,CAAC,iCAAyB,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE;QACjD,MAAM,WAAW,GAAG,GAAG,CAAC,SAAS,CAAC,GAAG,CAAoB,+BAAiB,CAAC,CAAC;QAC5E,MAAM,YAAY,GAAG,GAAG,CAAC,SAAS,CAAC,GAAG,CAAyB,4CAAoC,CAAC,CAAC;QACrG,OAAO,+BAA+B,CAAC,WAAW,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC7E,CAAC,CAAC,CAAC,gBAAgB,EAAE,CAAC;IACtB,IAAI,CAAC,4CAAoC,CAAC,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,sCAA8B,EAAE,CAAC,CAAC;IACvG,IAAI,CAAC,oCAAsB,CAAC,CAAC,SAAS,CAAC,4CAAoC,CAAC,CAAC;AACjF,CAAC;AARD,sEAQC"}
|
|
1
|
+
{"version":3,"file":"workspace-trust-preferences.js","sourceRoot":"","sources":["../../src/browser/workspace-trust-preferences.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAEhF,qEAE6C;AAC7C,oDAAiD;AAGpC,QAAA,uBAAuB,GAAG,kCAAkC,CAAC;AAC7D,QAAA,8BAA8B,GAAG,wCAAwC,CAAC;AAC1E,QAAA,4BAA4B,GAAG,sCAAsC,CAAC;AAEnF,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC5B,yCAAiB,CAAA;IACjB,qCAAa,CAAA;IACb,uCAAe,CAAA;AACnB,CA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AC,WAAW,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC7E,CAAC,CAAC,CAAC,gBAAgB,EAAE,CAAC;IACtB,IAAI,CAAC,4CAAoC,CAAC,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,sCAA8B,EAAE,CAAC,CAAC;IACvG,IAAI,CAAC,oCAAsB,CAAC,CAAC,SAAS,CAAC,4CAAoC,CAAC,CAAC;AACjF,CAAC;AARD,sEAQC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-trust-service.d.ts","sourceRoot":"","sources":["../../src/browser/workspace-trust-service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAyB,gBAAgB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAClG,OAAO,
|
|
1
|
+
{"version":3,"file":"workspace-trust-service.d.ts","sourceRoot":"","sources":["../../src/browser/workspace-trust-service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAyB,gBAAgB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAClG,OAAO,EAAmB,iBAAiB,EAAE,MAAM,wDAAwD,CAAC;AAC5G,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAExE,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAE/D,OAAO,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAC;AAC9E,OAAO,EACH,yBAAyB,EAC5B,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAIhF,qBACa,qBAAqB;IAE9B,SAAS,CAAC,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IAGtD,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,iBAAiB,CAAC;IAGlD,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,cAAc,CAAC;IAG3C,SAAS,CAAC,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;IAGlD,SAAS,CAAC,QAAQ,CAAC,kBAAkB,EAAE,yBAAyB,CAAC;IAGjE,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC;IAGhD,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAExD,SAAS,CAAC,cAAc,oBAA2B;IAGnD,SAAS,CAAC,IAAI,IAAI,IAAI;cAIN,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAMvC,iBAAiB,IAAI,OAAO,CAAC,OAAO,CAAC;cAIrB,qBAAqB,CAAC,UAAU,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAW1E,SAAS,CAAC,wBAAwB,IAAI,OAAO;cAI7B,uBAAuB,IAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC;cAiBvD,kBAAkB,IAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC;cAMlD,mBAAmB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;cAMlD,sBAAsB,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC;cAiB/D,cAAc,IAAI,OAAO,CAAC,OAAO,CAAC;IAU5C,qBAAqB,IAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC;CAU9D"}
|
|
@@ -81,15 +81,17 @@ let WorkspaceTrustService = class WorkspaceTrustService {
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
async handlePreferenceChange(change) {
|
|
84
|
-
if (change.
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
this.
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
84
|
+
if (change.scope === preference_service_1.PreferenceScope.User) {
|
|
85
|
+
if (change.preferenceName === workspace_trust_preferences_1.WORKSPACE_TRUST_STARTUP_PROMPT && change.newValue !== workspace_trust_preferences_1.WorkspaceTrustPrompt.ONCE) {
|
|
86
|
+
this.storage.setData(STORAGE_TRUSTED, undefined);
|
|
87
|
+
}
|
|
88
|
+
if (change.preferenceName === workspace_trust_preferences_1.WORKSPACE_TRUST_ENABLED && this.isWorkspaceTrustResolved() && await this.confirmRestart()) {
|
|
89
|
+
this.windowService.setSafeToShutDown();
|
|
90
|
+
this.windowService.reload();
|
|
91
|
+
}
|
|
92
|
+
if (change.preferenceName === workspace_trust_preferences_1.WORKSPACE_TRUST_ENABLED || change.preferenceName === workspace_trust_preferences_1.WORKSPACE_TRUST_EMPTY_WINDOW) {
|
|
93
|
+
this.resolveWorkspaceTrust();
|
|
94
|
+
}
|
|
93
95
|
}
|
|
94
96
|
}
|
|
95
97
|
async confirmRestart() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-trust-service.js","sourceRoot":"","sources":["../../src/browser/workspace-trust-service.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,qDAAkG;AAClG,+
|
|
1
|
+
{"version":3,"file":"workspace-trust-service.js","sourceRoot":"","sources":["../../src/browser/workspace-trust-service.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,qDAAkG;AAClG,+FAA4G;AAC5G,4EAAwE;AACxE,oDAAiD;AACjD,sEAA+D;AAC/D,4DAAiF;AACjF,kFAA8E;AA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,CAAC;sCACY,oCAAgB;+DAAC;AAGnC;IADlB,IAAA,kBAAM,EAAC,sCAAiB,CAAC;;0DACwB;AAG/B;IADlB,IAAA,kBAAM,EAAC,wBAAc,CAAC;;sDACoB;AAGxB;IADlB,IAAA,kBAAM,EAAC,gCAAc,CAAC;sCACY,gCAAc;6DAAC;AAG/B;IADlB,IAAA,kBAAM,EAAC,uDAAyB,CAAC;;iEAC+B;AAG9C;IADlB,IAAA,kBAAM,EAAC,8BAAa,CAAC;;4DAC0B;AAG7B;IADlB,IAAA,kBAAM,EAAC,uCAAiB,CAAC;;gEAC8B;AAK9C;IADT,IAAA,yBAAa,GAAE;;;;iDAGf;gCA3BQ,qBAAqB;IADjC,IAAA,sBAAU,GAAE;GACA,qBAAqB,CAwHjC"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/workspace",
|
|
3
|
-
"version": "1.53.0-next.
|
|
3
|
+
"version": "1.53.0-next.64+23b351d26",
|
|
4
4
|
"description": "Theia - Workspace Extension",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@theia/core": "1.53.0-next.
|
|
7
|
-
"@theia/filesystem": "1.53.0-next.
|
|
8
|
-
"@theia/variable-resolver": "1.53.0-next.
|
|
6
|
+
"@theia/core": "1.53.0-next.64+23b351d26",
|
|
7
|
+
"@theia/filesystem": "1.53.0-next.64+23b351d26",
|
|
8
|
+
"@theia/variable-resolver": "1.53.0-next.64+23b351d26",
|
|
9
9
|
"jsonc-parser": "^2.2.0",
|
|
10
10
|
"tslib": "^2.6.2",
|
|
11
11
|
"valid-filename": "^2.0.1"
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"nyc": {
|
|
53
53
|
"extends": "../../configs/nyc.json"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "23b351d26346a2b5d6aca3ee81fba59c056132f7"
|
|
56
56
|
}
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
// *****************************************************************************
|
|
2
|
-
// Copyright (C) 2023 STMicroelectronics and others.
|
|
3
|
-
//
|
|
4
|
-
// This program and the accompanying materials are made available under the
|
|
5
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
//
|
|
8
|
-
// This Source Code may also be made available under the following Secondary
|
|
9
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
-
// with the GNU Classpath Exception which is available at
|
|
12
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
-
//
|
|
14
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
|
-
// *****************************************************************************
|
|
16
|
-
|
|
17
|
-
import { CancellationToken, URI } from '@theia/core/lib/common';
|
|
18
|
-
import { injectable } from '@theia/core/shared/inversify';
|
|
19
|
-
import { Disposable } from '@theia/core/shared/vscode-languageserver-protocol';
|
|
20
|
-
|
|
21
|
-
export interface CanonicalUriProvider extends Disposable {
|
|
22
|
-
provideCanonicalUri(uri: URI, targetScheme: string, token: CancellationToken): Promise<URI | undefined>;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@injectable()
|
|
26
|
-
export class CanonicalUriService {
|
|
27
|
-
private providers = new Map<string, CanonicalUriProvider>();
|
|
28
|
-
|
|
29
|
-
registerCanonicalUriProvider(scheme: string, provider: CanonicalUriProvider): Disposable {
|
|
30
|
-
if (this.providers.has(scheme)) {
|
|
31
|
-
throw new Error(`Canonical URI provider for scheme: '${scheme}' already exists`);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
this.providers.set(scheme, provider);
|
|
35
|
-
return Disposable.create(() => { this.removeCanonicalUriProvider(scheme); });
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
private removeCanonicalUriProvider(scheme: string): void {
|
|
39
|
-
const provider = this.providers.get(scheme);
|
|
40
|
-
if (!provider) {
|
|
41
|
-
throw new Error(`No Canonical URI provider for scheme: '${scheme}' exists`);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
this.providers.delete(scheme);
|
|
45
|
-
provider.dispose();
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
async provideCanonicalUri(uri: URI, targetScheme: string, token: CancellationToken = CancellationToken.None): Promise<URI | undefined> {
|
|
49
|
-
const provider = this.providers.get(uri.scheme);
|
|
50
|
-
if (!provider) {
|
|
51
|
-
console.warn(`No Canonical URI provider for scheme: '${uri.scheme}' exists`);
|
|
52
|
-
return undefined;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
return provider.provideCanonicalUri(uri, targetScheme, token);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2023 STMicroelectronics and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
|
+
|
|
17
|
+
import { CancellationToken, URI } from '@theia/core/lib/common';
|
|
18
|
+
import { injectable } from '@theia/core/shared/inversify';
|
|
19
|
+
import { Disposable } from '@theia/core/shared/vscode-languageserver-protocol';
|
|
20
|
+
|
|
21
|
+
export interface CanonicalUriProvider extends Disposable {
|
|
22
|
+
provideCanonicalUri(uri: URI, targetScheme: string, token: CancellationToken): Promise<URI | undefined>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@injectable()
|
|
26
|
+
export class CanonicalUriService {
|
|
27
|
+
private providers = new Map<string, CanonicalUriProvider>();
|
|
28
|
+
|
|
29
|
+
registerCanonicalUriProvider(scheme: string, provider: CanonicalUriProvider): Disposable {
|
|
30
|
+
if (this.providers.has(scheme)) {
|
|
31
|
+
throw new Error(`Canonical URI provider for scheme: '${scheme}' already exists`);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
this.providers.set(scheme, provider);
|
|
35
|
+
return Disposable.create(() => { this.removeCanonicalUriProvider(scheme); });
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
private removeCanonicalUriProvider(scheme: string): void {
|
|
39
|
+
const provider = this.providers.get(scheme);
|
|
40
|
+
if (!provider) {
|
|
41
|
+
throw new Error(`No Canonical URI provider for scheme: '${scheme}' exists`);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
this.providers.delete(scheme);
|
|
45
|
+
provider.dispose();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
async provideCanonicalUri(uri: URI, targetScheme: string, token: CancellationToken = CancellationToken.None): Promise<URI | undefined> {
|
|
49
|
+
const provider = this.providers.get(uri.scheme);
|
|
50
|
+
if (!provider) {
|
|
51
|
+
console.warn(`No Canonical URI provider for scheme: '${uri.scheme}' exists`);
|
|
52
|
+
return undefined;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
return provider.provideCanonicalUri(uri, targetScheme, token);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
// *****************************************************************************
|
|
2
|
-
// Copyright (C) 2017 TypeFox and others.
|
|
3
|
-
//
|
|
4
|
-
// This program and the accompanying materials are made available under the
|
|
5
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
//
|
|
8
|
-
// This Source Code may also be made available under the following Secondary
|
|
9
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
-
// with the GNU Classpath Exception which is available at
|
|
12
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
-
//
|
|
14
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
|
-
// *****************************************************************************
|
|
16
|
-
|
|
17
|
-
import { inject, injectable } from '@theia/core/shared/inversify';
|
|
18
|
-
import URI from '@theia/core/lib/common/uri';
|
|
19
|
-
import { DiffUris } from '@theia/core/lib/browser/diff-uris';
|
|
20
|
-
import { open, OpenerService, OpenerOptions } from '@theia/core/lib/browser';
|
|
21
|
-
import { MessageService } from '@theia/core/lib/common/message-service';
|
|
22
|
-
import { FileService } from '@theia/filesystem/lib/browser/file-service';
|
|
23
|
-
|
|
24
|
-
@injectable()
|
|
25
|
-
export class DiffService {
|
|
26
|
-
|
|
27
|
-
@inject(FileService) protected readonly fileService: FileService;
|
|
28
|
-
@inject(OpenerService) protected readonly openerService: OpenerService;
|
|
29
|
-
@inject(MessageService) protected readonly messageService: MessageService;
|
|
30
|
-
|
|
31
|
-
public async openDiffEditor(left: URI, right: URI, label?: string, options?: OpenerOptions): Promise<void> {
|
|
32
|
-
if (left.scheme === 'file' && right.scheme === 'file') {
|
|
33
|
-
const [resolvedLeft, resolvedRight] = await this.fileService.resolveAll([{ resource: left }, { resource: right }]);
|
|
34
|
-
if (resolvedLeft.success && resolvedRight.success) {
|
|
35
|
-
const leftStat = resolvedLeft.stat;
|
|
36
|
-
const rightStat = resolvedRight.stat;
|
|
37
|
-
if (leftStat && rightStat) {
|
|
38
|
-
if (!leftStat.isDirectory && !rightStat.isDirectory) {
|
|
39
|
-
const uri = DiffUris.encode(left, right, label);
|
|
40
|
-
await open(this.openerService, uri, options);
|
|
41
|
-
} else {
|
|
42
|
-
const details = (() => {
|
|
43
|
-
if (leftStat.isDirectory && rightStat.isDirectory) {
|
|
44
|
-
return 'Both resource were a directory.';
|
|
45
|
-
} else {
|
|
46
|
-
if (leftStat.isDirectory) {
|
|
47
|
-
return `'${left.path.base}' was a directory.`;
|
|
48
|
-
} else {
|
|
49
|
-
return `'${right.path.base}' was a directory.`;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
this.messageService.warn(`Directories cannot be compared. ${details()}`);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
} else {
|
|
58
|
-
const uri = DiffUris.encode(left, right, label);
|
|
59
|
-
await open(this.openerService, uri, options);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2017 TypeFox and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
|
+
|
|
17
|
+
import { inject, injectable } from '@theia/core/shared/inversify';
|
|
18
|
+
import URI from '@theia/core/lib/common/uri';
|
|
19
|
+
import { DiffUris } from '@theia/core/lib/browser/diff-uris';
|
|
20
|
+
import { open, OpenerService, OpenerOptions } from '@theia/core/lib/browser';
|
|
21
|
+
import { MessageService } from '@theia/core/lib/common/message-service';
|
|
22
|
+
import { FileService } from '@theia/filesystem/lib/browser/file-service';
|
|
23
|
+
|
|
24
|
+
@injectable()
|
|
25
|
+
export class DiffService {
|
|
26
|
+
|
|
27
|
+
@inject(FileService) protected readonly fileService: FileService;
|
|
28
|
+
@inject(OpenerService) protected readonly openerService: OpenerService;
|
|
29
|
+
@inject(MessageService) protected readonly messageService: MessageService;
|
|
30
|
+
|
|
31
|
+
public async openDiffEditor(left: URI, right: URI, label?: string, options?: OpenerOptions): Promise<void> {
|
|
32
|
+
if (left.scheme === 'file' && right.scheme === 'file') {
|
|
33
|
+
const [resolvedLeft, resolvedRight] = await this.fileService.resolveAll([{ resource: left }, { resource: right }]);
|
|
34
|
+
if (resolvedLeft.success && resolvedRight.success) {
|
|
35
|
+
const leftStat = resolvedLeft.stat;
|
|
36
|
+
const rightStat = resolvedRight.stat;
|
|
37
|
+
if (leftStat && rightStat) {
|
|
38
|
+
if (!leftStat.isDirectory && !rightStat.isDirectory) {
|
|
39
|
+
const uri = DiffUris.encode(left, right, label);
|
|
40
|
+
await open(this.openerService, uri, options);
|
|
41
|
+
} else {
|
|
42
|
+
const details = (() => {
|
|
43
|
+
if (leftStat.isDirectory && rightStat.isDirectory) {
|
|
44
|
+
return 'Both resource were a directory.';
|
|
45
|
+
} else {
|
|
46
|
+
if (leftStat.isDirectory) {
|
|
47
|
+
return `'${left.path.base}' was a directory.`;
|
|
48
|
+
} else {
|
|
49
|
+
return `'${right.path.base}' was a directory.`;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
this.messageService.warn(`Directories cannot be compared. ${details()}`);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
} else {
|
|
58
|
+
const uri = DiffUris.encode(left, right, label);
|
|
59
|
+
await open(this.openerService, uri, options);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
package/src/browser/index.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
// *****************************************************************************
|
|
2
|
-
// Copyright (C) 2017 TypeFox and others.
|
|
3
|
-
//
|
|
4
|
-
// This program and the accompanying materials are made available under the
|
|
5
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
//
|
|
8
|
-
// This Source Code may also be made available under the following Secondary
|
|
9
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
-
// with the GNU Classpath Exception which is available at
|
|
12
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
-
//
|
|
14
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
|
-
// *****************************************************************************
|
|
16
|
-
|
|
17
|
-
export * from './workspace-commands';
|
|
18
|
-
export * from './workspace-service';
|
|
19
|
-
export * from './canonical-uri-service';
|
|
20
|
-
export * from './workspace-frontend-contribution';
|
|
21
|
-
export * from './workspace-frontend-module';
|
|
22
|
-
export * from './workspace-preferences';
|
|
23
|
-
export * from './workspace-trust-service';
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2017 TypeFox and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
|
+
|
|
17
|
+
export * from './workspace-commands';
|
|
18
|
+
export * from './workspace-service';
|
|
19
|
+
export * from './canonical-uri-service';
|
|
20
|
+
export * from './workspace-frontend-contribution';
|
|
21
|
+
export * from './workspace-frontend-module';
|
|
22
|
+
export * from './workspace-preferences';
|
|
23
|
+
export * from './workspace-trust-service';
|