@codingame/monaco-vscode-user-data-profile-service-override 12.0.1 → 13.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +1 -1
- package/index.js +20 -20
- package/package.json +14 -21
- package/vscode/src/vs/base/browser/ui/radio/radio.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/radio/radio.d.ts +4 -4
- package/vscode/src/vs/base/browser/ui/radio/radio.js +6 -6
- package/vscode/src/vs/platform/userDataProfile/browser/userDataProfile.d.ts +6 -6
- package/vscode/src/vs/platform/userDataProfile/browser/userDataProfile.js +8 -8
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfileStorageService.d.ts +10 -10
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfileStorageService.js +7 -7
- package/vscode/src/vs/workbench/contrib/userDataProfile/browser/media/userDataProfilesEditor.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfile.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfile.d.ts +16 -16
- package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfile.js +50 -50
- package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfileActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfilesEditor.d.ts +16 -16
- package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfilesEditor.js +141 -141
- package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfilesEditorModel.d.ts +28 -28
- package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfilesEditorModel.js +64 -64
- package/vscode/src/vs/workbench/contrib/userDataProfile/common/userDataProfile.d.ts +3 -3
- package/vscode/src/vs/workbench/services/userData/browser/userDataInit.d.ts +2 -2
- package/vscode/src/vs/workbench/services/userData/browser/userDataInit.js +9 -9
- package/vscode/src/vs/workbench/services/userDataProfile/browser/extensionsResource.d.ts +11 -11
- package/vscode/src/vs/workbench/services/userDataProfile/browser/extensionsResource.js +22 -22
- package/vscode/src/vs/workbench/services/userDataProfile/browser/globalStateResource.d.ts +9 -9
- package/vscode/src/vs/workbench/services/userDataProfile/browser/globalStateResource.js +11 -11
- package/vscode/src/vs/workbench/services/userDataProfile/browser/keybindingsResource.d.ts +8 -8
- package/vscode/src/vs/workbench/services/userDataProfile/browser/keybindingsResource.js +13 -13
- package/vscode/src/vs/workbench/services/userDataProfile/browser/media/userDataProfileView.css.js +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/browser/settingsResource.d.ts +8 -8
- package/vscode/src/vs/workbench/services/userDataProfile/browser/settingsResource.js +15 -15
- package/vscode/src/vs/workbench/services/userDataProfile/browser/snippetsResource.d.ts +8 -8
- package/vscode/src/vs/workbench/services/userDataProfile/browser/snippetsResource.js +13 -13
- package/vscode/src/vs/workbench/services/userDataProfile/browser/tasksResource.d.ts +7 -7
- package/vscode/src/vs/workbench/services/userDataProfile/browser/tasksResource.js +12 -12
- package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileImportExportService.d.ts +18 -18
- package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileImportExportService.js +70 -70
- package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileInit.d.ts +8 -8
- package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileInit.js +15 -15
- package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileManagement.d.ts +16 -16
- package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileManagement.js +31 -31
- package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileStorageService.d.ts +7 -7
- package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileStorageService.js +9 -9
- package/vscode/src/vs/workbench/services/userDataSync/browser/userDataSyncInit.d.ts +11 -11
- package/vscode/src/vs/workbench/services/userDataSync/browser/userDataSyncInit.js +26 -26
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSyncUtil.d.ts +6 -6
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSyncUtil.js +7 -7
package/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { IEditorOverrideServices } from "vscode/vscode/vs/editor/standalone/browser/standaloneServices";
|
|
1
|
+
import type { IEditorOverrideServices } from "@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneServices";
|
|
2
2
|
export default function getServiceOverride(): IEditorOverrideServices;
|
package/index.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
4
|
-
import { IUserDataSyncStoreManagementService, IUserDataSyncUtilService } from 'vscode/vscode/vs/platform/userDataSync/common/userDataSync.service';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
|
|
4
|
+
import { IUserDataSyncStoreManagementService, IUserDataSyncUtilService } from '@codingame/monaco-vscode-api/vscode/vs/platform/userDataSync/common/userDataSync.service';
|
|
5
5
|
import { BrowserUserDataProfilesService } from './vscode/src/vs/platform/userDataProfile/browser/userDataProfile.js';
|
|
6
|
-
import { IUserDataProfilesService } from 'vscode/vscode/vs/platform/userDataProfile/common/userDataProfile.service';
|
|
6
|
+
import { IUserDataProfilesService } from '@codingame/monaco-vscode-api/vscode/vs/platform/userDataProfile/common/userDataProfile.service';
|
|
7
7
|
import { UserDataInitializationService } from './vscode/src/vs/workbench/services/userData/browser/userDataInit.js';
|
|
8
|
-
import { IUserDataInitializationService } from 'vscode/vscode/vs/workbench/services/userData/browser/userDataInit.service';
|
|
8
|
+
import { IUserDataInitializationService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/userData/browser/userDataInit.service';
|
|
9
9
|
import { UserDataSyncInitializer } from './vscode/src/vs/workbench/services/userDataSync/browser/userDataSyncInit.js';
|
|
10
10
|
import { UserDataProfileInitializer } from './vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileInit.js';
|
|
11
|
-
import { IBrowserWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/browser/environmentService.service';
|
|
12
|
-
import { ISecretStorageService } from 'vscode/vscode/vs/platform/secrets/common/secrets.service';
|
|
13
|
-
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
|
|
14
|
-
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage.service';
|
|
15
|
-
import { IProductService } from 'vscode/vscode/vs/platform/product/common/productService.service';
|
|
16
|
-
import { IRequestService } from 'vscode/vscode/vs/platform/request/common/request.service';
|
|
17
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
18
|
-
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
19
|
-
import { IUserDataProfileService, IUserDataProfileImportExportService, IUserDataProfileManagementService } from 'vscode/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service';
|
|
20
|
-
import { mark } from 'vscode/vscode/vs/base/common/performance';
|
|
21
|
-
import { timeout } from 'vscode/vscode/vs/base/common/async';
|
|
11
|
+
import { IBrowserWorkbenchEnvironmentService } from '@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common/vscode/vs/workbench/services/environment/browser/environmentService.service';
|
|
12
|
+
import { ISecretStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/secrets/common/secrets.service';
|
|
13
|
+
import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
|
|
14
|
+
import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
|
|
15
|
+
import { IProductService } from '@codingame/monaco-vscode-api/vscode/vs/platform/product/common/productService.service';
|
|
16
|
+
import { IRequestService } from '@codingame/monaco-vscode-api/vscode/vs/platform/request/common/request.service';
|
|
17
|
+
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
18
|
+
import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
19
|
+
import { IUserDataProfileService, IUserDataProfileImportExportService, IUserDataProfileManagementService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service';
|
|
20
|
+
import { mark } from '@codingame/monaco-vscode-api/vscode/vs/base/common/performance';
|
|
21
|
+
import { timeout } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
22
22
|
import { IWorkbenchConfigurationService } from '@codingame/monaco-vscode-422642f2-7e3a-5c1c-9e1e-1d3ef1817346-common/vscode/vs/workbench/services/configuration/common/configuration.service';
|
|
23
23
|
import { UserDataProfileImportExportService } from './vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileImportExportService.js';
|
|
24
24
|
import { UserDataProfileManagementService } from './vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileManagement.js';
|
|
25
|
-
import { IUserDataProfileStorageService } from 'vscode/vscode/vs/platform/userDataProfile/common/userDataProfileStorageService.service';
|
|
25
|
+
import { IUserDataProfileStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/userDataProfile/common/userDataProfileStorageService.service';
|
|
26
26
|
import { UserDataProfileStorageService } from './vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileStorageService.js';
|
|
27
|
-
import { UserDataProfileService } from 'vscode/vscode/vs/workbench/services/userDataProfile/common/userDataProfileService';
|
|
27
|
+
import { UserDataProfileService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/common/userDataProfileService';
|
|
28
28
|
import { UserDataSyncUtilService } from './vscode/src/vs/workbench/services/userDataSync/common/userDataSyncUtil.js';
|
|
29
|
-
import { registerServiceInitializePostParticipant } from 'vscode/lifecycle';
|
|
30
|
-
import { getWorkspaceIdentifier } from 'vscode/workbench';
|
|
29
|
+
import { registerServiceInitializePostParticipant } from '@codingame/monaco-vscode-api/lifecycle';
|
|
30
|
+
import { getWorkspaceIdentifier } from '@codingame/monaco-vscode-api/workbench';
|
|
31
31
|
import './vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfile.contribution.js';
|
|
32
32
|
|
|
33
33
|
function isWorkspaceService(configurationService) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-user-data-profile-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - user-data-profile service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,26 +15,19 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-2f06fe84-148e-5e6b-a7ca-c7989c5f128a-common": "
|
|
19
|
-
"@codingame/monaco-vscode-3607c442-ae7a-594b-b840-038378c24fef-common": "
|
|
20
|
-
"@codingame/monaco-vscode-
|
|
21
|
-
"@codingame/monaco-vscode-
|
|
22
|
-
"@codingame/monaco-vscode-
|
|
23
|
-
"@codingame/monaco-vscode-
|
|
24
|
-
"@codingame/monaco-vscode-
|
|
25
|
-
"@codingame/monaco-vscode-
|
|
26
|
-
"@codingame/monaco-vscode-
|
|
27
|
-
"@codingame/monaco-vscode-
|
|
28
|
-
"@codingame/monaco-vscode-
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
"peerDependencies": {
|
|
32
|
-
"@codingame/monaco-vscode-56402b83-4a60-5b15-86f9-71fe99c32744-common": "12.0.1"
|
|
33
|
-
},
|
|
34
|
-
"peerDependenciesMeta": {
|
|
35
|
-
"@codingame/monaco-vscode-56402b83-4a60-5b15-86f9-71fe99c32744-common": {
|
|
36
|
-
"optional": true
|
|
37
|
-
}
|
|
18
|
+
"@codingame/monaco-vscode-2f06fe84-148e-5e6b-a7ca-c7989c5f128a-common": "13.1.0",
|
|
19
|
+
"@codingame/monaco-vscode-3607c442-ae7a-594b-b840-038378c24fef-common": "13.1.0",
|
|
20
|
+
"@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common": "13.1.0",
|
|
21
|
+
"@codingame/monaco-vscode-422642f2-7e3a-5c1c-9e1e-1d3ef1817346-common": "13.1.0",
|
|
22
|
+
"@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common": "13.1.0",
|
|
23
|
+
"@codingame/monaco-vscode-a022e9a8-b522-5ea2-97c7-f3dda2b0b597-common": "13.1.0",
|
|
24
|
+
"@codingame/monaco-vscode-a2719803-af40-5ae9-a29f-8a2231c33056-common": "13.1.0",
|
|
25
|
+
"@codingame/monaco-vscode-api": "13.1.0",
|
|
26
|
+
"@codingame/monaco-vscode-d8236b3b-b91a-522d-89f4-94d70a546f6a-common": "13.1.0",
|
|
27
|
+
"@codingame/monaco-vscode-e7080bda-ce3e-5243-9a35-98cd9634dbda-common": "13.1.0",
|
|
28
|
+
"@codingame/monaco-vscode-e72c94ca-257a-5b75-8b68-5a5fa3c18255-common": "13.1.0",
|
|
29
|
+
"@codingame/monaco-vscode-f405f7ba-995b-5117-bc17-5bc7f77d92e9-common": "13.1.0",
|
|
30
|
+
"@codingame/monaco-vscode-f48982c4-9e82-55e2-b800-20e6d1e6096f-common": "13.1.0"
|
|
38
31
|
},
|
|
39
32
|
"main": "index.js",
|
|
40
33
|
"module": "index.js",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import n from 'vscode/external/rollup-plugin-styles/dist/runtime/inject-css';
|
|
1
|
+
import n from '@codingame/monaco-vscode-api/external/rollup-plugin-styles/dist/runtime/inject-css';
|
|
2
2
|
|
|
3
3
|
var css = ".monaco-custom-radio{display:flex}.monaco-custom-radio>.monaco-button{border-radius:0;font-size:.9em;line-height:1em;padding-left:.5em;padding-right:.5em}.monaco-custom-radio>.monaco-button:first-child{border-bottom-left-radius:3px;border-top-left-radius:3px}.monaco-custom-radio>.monaco-button:last-child{border-bottom-right-radius:3px;border-top-right-radius:3px}.monaco-custom-radio>.monaco-button:not(.active):not(:last-child){border-right:none}.monaco-custom-radio>.monaco-button.previous-active{border-left:none}.monaco-custom-radio>.monaco-button{background-color:var(--vscode-radio-inactiveBackground);border-color:var(--vscode-radio-inactiveBorder,transparent);color:var(--vscode-radio-inactiveForeground)}.monaco-custom-radio>.monaco-button.active,.monaco-custom-radio>.monaco-button.active:hover{background-color:var(--vscode-radio-activeBackground);border-color:var(--vscode-radio-activeBorder,transparent);color:var(--vscode-radio-activeForeground)}.hc-black .monaco-custom-radio>.monaco-button.active,.hc-light .monaco-custom-radio>.monaco-button.active{border-color:var(--vscode-radio-activeBorder,transparent)}.hc-black .monaco-custom-radio>.monaco-button:not(.active),.hc-light .monaco-custom-radio>.monaco-button:not(.active){border-color:var(--vscode-radio-inactiveBorder,transparent)}.hc-black .monaco-custom-radio>.monaco-button:not(.active):hover,.hc-light .monaco-custom-radio>.monaco-button:not(.active):hover{outline:1px dashed var(--vscode-toolbar-hoverOutline);outline-offset:-1px}.monaco-custom-radio>.monaco-button:hover:not(.active){background-color:var(--vscode-radio-inactiveHoverBackground)}";
|
|
4
4
|
n(css,{});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Widget } from "vscode/vscode/vs/base/browser/ui/widget";
|
|
2
|
-
import { ThemeIcon } from "vscode/vscode/vs/base/common/themables";
|
|
3
|
-
import { IHoverDelegate } from "vscode/vscode/vs/base/browser/ui/hover/hoverDelegate";
|
|
1
|
+
import { Widget } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/widget";
|
|
2
|
+
import { ThemeIcon } from "@codingame/monaco-vscode-api/vscode/vs/base/common/themables";
|
|
3
|
+
import { IHoverDelegate } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/hover/hoverDelegate";
|
|
4
4
|
export interface IRadioStyles {
|
|
5
5
|
readonly activeForeground?: string;
|
|
6
6
|
readonly activeBackground?: string;
|
|
@@ -23,7 +23,7 @@ export interface IRadioOptions {
|
|
|
23
23
|
}
|
|
24
24
|
export declare class Radio extends Widget {
|
|
25
25
|
private readonly _onDidSelect;
|
|
26
|
-
readonly onDidSelect: import("vscode/vscode/vs/base/common/event").Event<number>;
|
|
26
|
+
readonly onDidSelect: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event<number>;
|
|
27
27
|
readonly domNode: HTMLElement;
|
|
28
28
|
private readonly hoverDelegate;
|
|
29
29
|
private items;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import { Widget } from 'vscode/vscode/vs/base/browser/ui/widget';
|
|
3
|
-
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
2
|
+
import { Widget } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/widget';
|
|
3
|
+
import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
4
4
|
import './radio.css.js';
|
|
5
|
-
import { $ } from 'vscode/vscode/vs/base/browser/dom';
|
|
6
|
-
import { Button } from 'vscode/vscode/vs/base/browser/ui/button/button';
|
|
7
|
-
import { DisposableMap, DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
8
|
-
import { createInstantHoverDelegate } from 'vscode/vscode/vs/base/browser/ui/hover/hoverDelegateFactory';
|
|
5
|
+
import { $ } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
6
|
+
import { Button } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/button/button';
|
|
7
|
+
import { DisposableMap, DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
8
|
+
import { createInstantHoverDelegate } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/hover/hoverDelegateFactory';
|
|
9
9
|
|
|
10
10
|
class Radio extends Widget {
|
|
11
11
|
constructor(opts) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { IEnvironmentService } from "vscode/vscode/vs/platform/environment/common/environment.service";
|
|
2
|
-
import { IFileService } from "vscode/vscode/vs/platform/files/common/files.service";
|
|
3
|
-
import { ILogService } from "vscode/vscode/vs/platform/log/common/log.service";
|
|
4
|
-
import { IUriIdentityService } from "vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
|
|
5
|
-
import { IUserDataProfile, StoredProfileAssociations, StoredUserDataProfile, UserDataProfilesService } from "vscode/vscode/vs/platform/userDataProfile/common/userDataProfile";
|
|
6
|
-
import { IUserDataProfilesService } from "vscode/vscode/vs/platform/userDataProfile/common/userDataProfile.service";
|
|
1
|
+
import { IEnvironmentService } from "@codingame/monaco-vscode-api/vscode/vs/platform/environment/common/environment.service";
|
|
2
|
+
import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
|
|
3
|
+
import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
|
|
4
|
+
import { IUriIdentityService } from "@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
|
|
5
|
+
import { IUserDataProfile, StoredProfileAssociations, StoredUserDataProfile, UserDataProfilesService } from "@codingame/monaco-vscode-api/vscode/vs/platform/userDataProfile/common/userDataProfile";
|
|
6
|
+
import { IUserDataProfilesService } from "@codingame/monaco-vscode-api/vscode/vs/platform/userDataProfile/common/userDataProfile.service";
|
|
7
7
|
export declare class BrowserUserDataProfilesService extends UserDataProfilesService implements IUserDataProfilesService {
|
|
8
8
|
private readonly changesBroadcastChannel;
|
|
9
9
|
constructor(environmentService: IEnvironmentService, fileService: IFileService, uriIdentityService: IUriIdentityService, logService: ILogService);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { BroadcastDataChannel } from '@codingame/monaco-vscode-
|
|
4
|
-
import { revive } from 'vscode/vscode/vs/base/common/marshalling';
|
|
5
|
-
import { IEnvironmentService } from 'vscode/vscode/vs/platform/environment/common/environment.service';
|
|
6
|
-
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
|
|
7
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
8
|
-
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
9
|
-
import { UserDataProfilesService, reviveProfile } from 'vscode/vscode/vs/platform/userDataProfile/common/userDataProfile';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { BroadcastDataChannel } from '@codingame/monaco-vscode-e7080bda-ce3e-5243-9a35-98cd9634dbda-common/vscode/vs/base/browser/broadcast';
|
|
4
|
+
import { revive } from '@codingame/monaco-vscode-api/vscode/vs/base/common/marshalling';
|
|
5
|
+
import { IEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/platform/environment/common/environment.service';
|
|
6
|
+
import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
|
|
7
|
+
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
8
|
+
import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
9
|
+
import { UserDataProfilesService, reviveProfile } from '@codingame/monaco-vscode-api/vscode/vs/platform/userDataProfile/common/userDataProfile';
|
|
10
10
|
|
|
11
11
|
let BrowserUserDataProfilesService = class BrowserUserDataProfilesService extends UserDataProfilesService {
|
|
12
12
|
constructor(environmentService, fileService, uriIdentityService, logService) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
2
|
-
import { IStorageDatabase } from "vscode/vscode/vs/base/parts/storage/common/storage";
|
|
3
|
-
import { IStorageValueChangeEvent, StorageTarget } from "vscode/vscode/vs/platform/storage/common/storage";
|
|
4
|
-
import { IStorageService } from "vscode/vscode/vs/platform/storage/common/storage.service";
|
|
5
|
-
import { Event } from "vscode/vscode/vs/base/common/event";
|
|
6
|
-
import { IRemoteService } from "vscode/vscode/vs/platform/ipc/common/services";
|
|
7
|
-
import { ILogService } from "vscode/vscode/vs/platform/log/common/log.service";
|
|
8
|
-
import { IUserDataProfile } from "vscode/vscode/vs/platform/userDataProfile/common/userDataProfile";
|
|
9
|
-
import { IUserDataProfilesService } from "vscode/vscode/vs/platform/userDataProfile/common/userDataProfile.service";
|
|
10
|
-
import { IUserDataProfileStorageService } from "vscode/vscode/vs/platform/userDataProfile/common/userDataProfileStorageService.service";
|
|
1
|
+
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
2
|
+
import { IStorageDatabase } from "@codingame/monaco-vscode-api/vscode/vs/base/parts/storage/common/storage";
|
|
3
|
+
import { IStorageValueChangeEvent, StorageTarget } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage";
|
|
4
|
+
import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
|
|
5
|
+
import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
|
|
6
|
+
import { IRemoteService } from "@codingame/monaco-vscode-api/vscode/vs/platform/ipc/common/services";
|
|
7
|
+
import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
|
|
8
|
+
import { IUserDataProfile } from "@codingame/monaco-vscode-api/vscode/vs/platform/userDataProfile/common/userDataProfile";
|
|
9
|
+
import { IUserDataProfilesService } from "@codingame/monaco-vscode-api/vscode/vs/platform/userDataProfile/common/userDataProfile.service";
|
|
10
|
+
import { IUserDataProfileStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/userDataProfile/common/userDataProfileStorageService.service";
|
|
11
11
|
export interface IProfileStorageValueChanges {
|
|
12
12
|
readonly profile: IUserDataProfile;
|
|
13
13
|
readonly changes: IStorageValueChangeEvent[];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { Disposable, DisposableMap, toDisposable, isDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
|
-
import { Storage } from 'vscode/vscode/vs/base/parts/storage/common/storage';
|
|
5
|
-
import { StorageScope, StorageTarget, AbstractStorageService } from 'vscode/vscode/vs/platform/storage/common/storage';
|
|
6
|
-
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage.service';
|
|
7
|
-
import 'vscode/vscode/vs/base/common/event';
|
|
8
|
-
import 'vscode/vscode/vs/platform/userDataProfile/common/userDataProfile';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { Disposable, DisposableMap, toDisposable, isDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
4
|
+
import { Storage } from '@codingame/monaco-vscode-api/vscode/vs/base/parts/storage/common/storage';
|
|
5
|
+
import { StorageScope, StorageTarget, AbstractStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage';
|
|
6
|
+
import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
|
|
7
|
+
import '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
8
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/userDataProfile/common/userDataProfile';
|
|
9
9
|
|
|
10
10
|
let AbstractUserDataProfileStorageService = class AbstractUserDataProfileStorageService extends Disposable {
|
|
11
11
|
constructor(persistStorages, storageService) {
|
package/vscode/src/vs/workbench/contrib/userDataProfile/browser/media/userDataProfilesEditor.css.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import n from 'vscode/external/rollup-plugin-styles/dist/runtime/inject-css';
|
|
1
|
+
import n from '@codingame/monaco-vscode-api/external/rollup-plugin-styles/dist/runtime/inject-css';
|
|
2
2
|
|
|
3
3
|
var css = ".profiles-editor{height:100%;margin:20px auto 0;max-width:1200px;overflow:hidden}.profiles-editor .contents-view,.profiles-editor .sidebar-view{height:100%}.profiles-editor>.monaco-split-view2.separator-border.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before,.profiles-editor>.monaco-split-view2>.sash-container{top:55px}.profiles-editor .contents-container{height:100%}.profiles-editor .sidebar-container{height:100%;padding-left:20px}.profiles-editor .sidebar-container .new-profile-button{align-items:center;display:flex;height:40px;padding:0 20px 0 18px}.profiles-editor .sidebar-container .new-profile-button>.monaco-button-dropdown{flex-grow:1}.profiles-editor .monaco-button-dropdown>.monaco-dropdown-button{align-items:center;display:flex;padding:0 4px}.profiles-editor .monaco-list-row .profile-tree-item-actions-container{align-items:center;display:none}.profiles-editor .monaco-list-row.focused .profile-tree-item-actions-container,.profiles-editor .monaco-list-row.selected .profile-tree-item-actions-container,.profiles-editor .monaco-list-row:hover .profile-tree-item-actions-container{display:flex}.profiles-editor .sidebar-container .profiles-list{margin-top:15px}.profiles-editor .sidebar-container .profiles-list .profile-list-item{align-items:center;display:flex;padding-left:20px}.profiles-editor .sidebar-container .profiles-list .profile-list-item>*{margin-right:5px}.profiles-editor .sidebar-container .profiles-list .profile-list-item>.profile-list-item-label{overflow:hidden;text-overflow:ellipsis}.profiles-editor .sidebar-container .profiles-list .profile-list-item>.profile-list-item-label.new-profile{font-style:italic}.profiles-editor .sidebar-container .profiles-list .profile-list-item>.profile-list-item-description{align-items:center;display:flex;font-size:.9em;margin-left:2px;opacity:.7}.profiles-editor .sidebar-container .profiles-list .profile-list-item .profile-tree-item-actions-container{flex:1;justify-content:flex-end;margin-right:10px}.profiles-editor .hide{display:none!important}.profiles-editor .contents-container .profile-header{align-items:center;display:flex;height:40px;margin-left:27px}.profiles-editor .contents-container .profile-header .profile-title-container{font-size:26px;font-weight:600}.profiles-editor .contents-container .profile-title-container .monaco-inputbox{flex:1;margin-right:10px}.profiles-editor .contents-container .profile-header .profile-actions-container .actions-container .action-label{padding:6px}.profiles-editor .contents-container .profile-body{margin:15px 0 0 1px}.profiles-editor .contents-container .profile-body .profile-row-container{padding:12px 0}.profiles-editor .contents-container .profile-body .profile-row-container.no-padding-bottom{padding-bottom:0}.profiles-editor .contents-container .profile-body .profile-row-container .profile-label-element{font-weight:600;padding-bottom:5px}.profiles-editor .contents-container .profile-body .profile-row-container .profile-description-element{color:var(--vscode-foreground);opacity:.9}.profiles-editor .contents-container .profile-body .profile-row-container .profile-description-element p,.profiles-editor .contents-container .profile-body .profile-row-container .profile-description-element ul{margin:0}.profiles-editor .contents-container .profile-body .profile-row-container .profile-description-element ul{padding-inline-start:28px}.profiles-editor .contents-container .profile-body .profile-row-container .profile-description-element ul li{padding-left:2px}.profiles-editor .contents-container .profile-body .profile-row-container .monaco-inputbox{width:400px}.profiles-editor .contents-container .profile-body .profile-row-container .profile-icon-container{align-items:center;display:flex;line-height:22px}.profiles-editor .contents-container .profile-body .profile-row-container .profile-icon-container.disabled .codicon{cursor:default}.profiles-editor .contents-container .profile-body .profile-row-container .profile-icon-container .codicon{border-radius:5px;cursor:pointer;margin-right:4px;padding:2px}.profiles-editor .contents-container .profile-body .profile-row-container .profile-icon-container:not(.disabled) .codicon:hover{background-color:var(--vscode-toolbar-hoverBackground);outline:1px dashed var(--vscode-toolbar-hoverOutline)}.profiles-editor .contents-container .profile-body .profile-row-container .profile-icon-container .profile-description-element{margin-top:-1px}.profiles-editor .contents-container .profile-select-container{align-items:center;display:flex;justify-content:center;overflow:hidden}.profiles-editor .contents-container .profile-select-container>.monaco-select-box{border-radius:2px;cursor:pointer;line-height:18px;padding:0 23px 0 8px}.profiles-editor .contents-container .profile-copy-from-container .profile-select-container{margin-top:5px;width:250px}.profiles-editor .contents-container .profile-use-as-default-container,.profiles-editor .contents-container .profile-use-for-current-container{align-items:center;display:flex;line-height:22px}.profiles-editor .contents-container .profile-body .profile-row-container .profile-use-as-default-container .profile-description-element,.profiles-editor .contents-container .profile-body .profile-row-container .profile-use-for-current-container .profile-description-element{margin-top:-1px}.profiles-editor .contents-container .profile-use-as-default-container .profile-use-as-default-label,.profiles-editor .contents-container .profile-use-for-current-container .profile-use-as-default-label{margin-left:2px}.profiles-editor .contents-container .profile-contents-container{margin:0 0 10px 20px}.profiles-editor .contents-container .profile-content-tree-header{align-items:center;border-bottom:1px solid transparent;display:grid;font-weight:700;grid-template-columns:30px repeat(2,1fr) 80px;height:30px;line-height:22px;margin:5px 0 2px}.profiles-editor .contents-container .profile-content-tree-header,.profiles-editor .profile-associations-table .monaco-table-th{background-color:var(--vscode-keybindingTable-headerBackground)}.profiles-editor .contents-container .profile-content-tree-header>.options-header{align-items:center;display:flex}.profiles-editor .contents-container .profile-content-tree-header>.options-header .codicon{cursor:pointer;padding-left:2px}.profiles-editor .contents-container .profile-content-tree-header.default-profile{grid-template-columns:30px repeat(1,1fr) 80px}.profiles-editor .contents-container .profile-content-tree-header.default-profile>.options-header{display:none}.profiles-editor .contents-container .profile-tree-item-container{align-items:center;display:grid;grid-template-columns:repeat(2,1fr) 80px}.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-content-tree,.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-content-tree-header{margin-right:1px}.profiles-editor .contents-container .profile-tree-item-container.default-profile,.profiles-editor .contents-container .profile-tree-item-container.profile-resource-child-container{grid-template-columns:repeat(1,1fr) 80px}.profiles-editor .contents-container .profile-tree-item-container .profile-resource-type-description{font-size:.9em;margin-left:10px;opacity:.7}.profiles-editor .contents-container .profile-tree-item-container .profile-resource-options-container{height:fit-content;width:fit-content}.profiles-editor .contents-container .profile-tree-item-container .monaco-custom-radio .monaco-button{outline-offset:-1px!important}.profiles-editor .contents-container .profile-tree-item-container .profile-resource-actions-container{display:none;justify-self:end;padding-right:10px}.profiles-editor .contents-container .profile-content-tree .monaco-list-row.focused .profile-resource-actions-container,.profiles-editor .contents-container .profile-content-tree .monaco-list-row.selected .profile-resource-actions-container,.profiles-editor .contents-container .profile-content-tree .monaco-list-row:hover .profile-resource-actions-container{display:flex}.profiles-editor .contents-container .profile-body .profile-row-container.profile-button-container{align-items:center;display:flex;margin-left:30px;margin-top:10px}.profiles-editor .contents-container .profile-body .profile-row-container.profile-button-container .monaco-button{margin-right:10px;padding:4px 10px;width:inherit}.profiles-editor .profile-associations-table{margin-top:5px}.profiles-editor .profile-associations-table .monaco-table-td,.profiles-editor .profile-associations-table .monaco-table-th{padding:0 5px}.profiles-editor .profile-associations-table .monaco-table-td{align-items:center;display:flex;overflow:hidden}.profiles-editor .profile-associations-table .monaco-list-row .monaco-table-tr .monaco-table-td .profile-workspaces-actions-container{display:none;justify-content:flex-end;padding-right:5px}.profiles-editor .profile-associations-table .monaco-list-row.focused .monaco-table-tr .monaco-table-td .profile-workspaces-actions-container,.profiles-editor .profile-associations-table .monaco-list-row.selected .monaco-table-tr .monaco-table-td .profile-workspaces-actions-container,.profiles-editor .profile-associations-table .monaco-list-row:hover .monaco-table-tr .monaco-table-td .profile-workspaces-actions-container{display:flex}.profiles-editor .profile-associations-table .monaco-table-tr .monaco-table-td .host,.profiles-editor .profile-associations-table .monaco-table-tr .monaco-table-td .path{width:100%}.profiles-editor .profile-associations-table .monaco-table-tr .monaco-table-td .host .host-label,.profiles-editor .profile-associations-table .monaco-table-tr .monaco-table-td .path .path-label{overflow:hidden;text-overflow:ellipsis}.profiles-editor .profile-associations-table .monaco-table-tr .monaco-table-td .current-workspace .host-label,.profiles-editor .profile-associations-table .monaco-table-tr .monaco-table-td .current-workspace .path-label{font-style:italic;font-weight:700}.profiles-editor .contents-container .profile-body .profile-row-container .profile-workspaces-button-container{display:flex;margin:8px 4px}.profiles-editor .contents-container .profile-body .profile-row-container .profile-workspaces-button-container .monaco-button{padding:2px 14px;width:inherit}.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row.focused{background-color:var(--vscode-settings-focusedRowBackground)!important}.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-associations-table .monaco-list-row[data-parity=odd] .monaco-table-tr{background-color:transparent!important}.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row:not(.focused):hover{background-color:var(--vscode-settings-rowHoverBackground)!important}.profiles-editor .contents-container .profile-body .profile-tree .monaco-list:focus .monaco-list-row.focused{outline:1px solid var(--vscode-settings-focusedRowBorder)!important}.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row,.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-associations-table .monaco-list-row,.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-content-tree .monaco-list-row{cursor:default}.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-associations-table .monaco-list-row.focused,.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-associations-table .monaco-list-row.selected:focus,.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-associations-table .monaco-list-row.selected:not(:focus),.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-content-tree .monaco-list-row.focused,.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-content-tree .monaco-list-row.selected:focus,.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-content-tree .monaco-list-row.selected:not(:focus){background-color:inherit!important;color:inherit!important}.monaco-workbench:not(.hc-black):not(.hc-light) .profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-associations-table .monaco-list-row:hover:not(.selected),.monaco-workbench:not(.hc-black):not(.hc-light) .profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-content-tree .monaco-list-row:hover:not(.selected){background-color:var(--vscode-list-hoverBackground)!important}.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-associations-table .monaco-list-row.selected:focus,.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-content-tree .monaco-list-row.selected:focus{background-color:var(--vscode-list-activeSelectionBackground)!important;color:var(--vscode-list-activeSelectionForeground)!important}.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-associations-table .monaco-list-row.selected:not(:focus),.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-content-tree .monaco-list-row.selected:not(:focus){background-color:var(--vscode-list-inactiveSelectionBackground)!important;color:var(--vscode-list-inactiveSelectionForeground)!important}.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-content-tree .monaco-list-row .monaco-tl-twistie.collapsible{cursor:pointer}.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .codicon,.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-content-tree .monaco-list-row .codicon{color:inherit!important}.monaco-workbench:not(.reduce-motion) .profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row:hover .profile-associations-table .monaco-table>.monaco-split-view2,.monaco-workbench:not(.reduce-motion) .profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row:hover .profile-content-tree-header{border-color:var(--vscode-tree-tableColumnsBorder)!important}";
|
|
4
4
|
n(css,{});
|
package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfile.contribution.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { registerWorkbenchContribution2, WorkbenchPhase } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
2
|
+
import { registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
3
3
|
import { UserDataProfilesWorkbenchContribution } from './userDataProfile.js';
|
|
4
4
|
import './userDataProfileActions.js';
|
|
5
5
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
2
|
-
import { MenuId } from "vscode/vscode/vs/platform/actions/common/actions";
|
|
3
|
-
import { IContextKeyService } from "vscode/vscode/vs/platform/contextkey/common/contextkey.service";
|
|
4
|
-
import { IUserDataProfilesService } from "vscode/vscode/vs/platform/userDataProfile/common/userDataProfile.service";
|
|
5
|
-
import { IWorkbenchContribution } from "vscode/vscode/vs/workbench/common/contributions";
|
|
6
|
-
import { ILifecycleService } from "vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle.service";
|
|
7
|
-
import { IUserDataProfileManagementService } from "vscode/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service";
|
|
8
|
-
import { IUserDataProfileService } from "vscode/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service";
|
|
9
|
-
import { URI } from "vscode/vscode/vs/base/common/uri";
|
|
10
|
-
import { ITelemetryService } from "vscode/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
11
|
-
import { IWorkspaceContextService } from "vscode/vscode/vs/platform/workspace/common/workspace.service";
|
|
12
|
-
import { IWorkspaceTagsService } from "vscode/vscode/vs/workbench/contrib/tags/common/workspaceTags.service";
|
|
13
|
-
import { IEditorGroupsService } from "vscode/vscode/vs/workbench/services/editor/common/editorGroupsService.service";
|
|
14
|
-
import { IInstantiationService } from "vscode/vscode/vs/platform/instantiation/common/instantiation";
|
|
15
|
-
import { IURLService } from "vscode/vscode/vs/platform/url/common/url.service";
|
|
16
|
-
import { IBrowserWorkbenchEnvironmentService } from "vscode/vscode/vs/workbench/services/environment/browser/environmentService.service";
|
|
1
|
+
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
2
|
+
import { MenuId } from "@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions";
|
|
3
|
+
import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service";
|
|
4
|
+
import { IUserDataProfilesService } from "@codingame/monaco-vscode-api/vscode/vs/platform/userDataProfile/common/userDataProfile.service";
|
|
5
|
+
import { IWorkbenchContribution } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions";
|
|
6
|
+
import { ILifecycleService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle.service";
|
|
7
|
+
import { IUserDataProfileManagementService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service";
|
|
8
|
+
import { IUserDataProfileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service";
|
|
9
|
+
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
10
|
+
import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
11
|
+
import { IWorkspaceContextService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service";
|
|
12
|
+
import { IWorkspaceTagsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/tags/common/workspaceTags.service";
|
|
13
|
+
import { IEditorGroupsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service";
|
|
14
|
+
import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
15
|
+
import { IURLService } from "@codingame/monaco-vscode-api/vscode/vs/platform/url/common/url.service";
|
|
16
|
+
import { IBrowserWorkbenchEnvironmentService } from "@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common/vscode/vs/workbench/services/environment/browser/environmentService.service";
|
|
17
17
|
export declare const OpenProfileMenu: MenuId;
|
|
18
18
|
export declare class UserDataProfilesWorkbenchContribution extends Disposable implements IWorkbenchContribution {
|
|
19
19
|
private readonly userDataProfileService;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { Disposable, MutableDisposable, DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
|
-
import { isWeb } from 'vscode/vscode/vs/base/common/platform';
|
|
5
|
-
import { localize, localize2 } from 'vscode/vscode/vs/nls';
|
|
6
|
-
import { MenuId, MenuRegistry, registerAction2, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
7
|
-
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
8
|
-
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
9
|
-
import { IUserDataProfilesService } from 'vscode/vscode/vs/platform/userDataProfile/common/userDataProfile.service';
|
|
10
|
-
import { LifecyclePhase } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
11
|
-
import { ILifecycleService } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle.service';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { Disposable, MutableDisposable, DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
4
|
+
import { isWeb } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
|
|
5
|
+
import { localize, localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
6
|
+
import { MenuId, MenuRegistry, registerAction2, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
7
|
+
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
8
|
+
import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
9
|
+
import { IUserDataProfilesService } from '@codingame/monaco-vscode-api/vscode/vs/platform/userDataProfile/common/userDataProfile.service';
|
|
10
|
+
import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
11
|
+
import { ILifecycleService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle.service';
|
|
12
12
|
import { CURRENT_PROFILE_CONTEXT, IS_CURRENT_PROFILE_TRANSIENT_CONTEXT, HAS_PROFILES_CONTEXT, isProfileURL, PROFILES_CATEGORY, PROFILES_TITLE } from '@codingame/monaco-vscode-e72c94ca-257a-5b75-8b68-5a5fa3c18255-common/vscode/vs/workbench/services/userDataProfile/common/userDataProfile';
|
|
13
|
-
import { IUserDataProfileService, IUserDataProfileManagementService } from 'vscode/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service';
|
|
14
|
-
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput.service';
|
|
15
|
-
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification.service';
|
|
16
|
-
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
17
|
-
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
18
|
-
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace.service';
|
|
19
|
-
import { IWorkspaceTagsService } from 'vscode/vscode/vs/workbench/contrib/tags/common/workspaceTags.service';
|
|
20
|
-
import { Categories } from 'vscode/vscode/vs/platform/action/common/actionCommonCategories';
|
|
21
|
-
import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener.service';
|
|
22
|
-
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
13
|
+
import { IUserDataProfileService, IUserDataProfileManagementService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service';
|
|
14
|
+
import { IQuickInputService } from '@codingame/monaco-vscode-api/vscode/vs/platform/quickinput/common/quickInput.service';
|
|
15
|
+
import { INotificationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service';
|
|
16
|
+
import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
17
|
+
import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
18
|
+
import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
|
|
19
|
+
import { IWorkspaceTagsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/tags/common/workspaceTags.service';
|
|
20
|
+
import { Categories } from '@codingame/monaco-vscode-api/vscode/vs/platform/action/common/actionCommonCategories';
|
|
21
|
+
import { IOpenerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service';
|
|
22
|
+
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
23
23
|
import { EditorPaneDescriptor } from '@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common/vscode/vs/workbench/browser/editor';
|
|
24
|
-
import { EditorExtensions } from 'vscode/vscode/vs/workbench/common/editor';
|
|
24
|
+
import { EditorExtensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
25
25
|
import { UserDataProfilesEditorInput, UserDataProfilesEditor, UserDataProfilesEditorInputSerializer } from './userDataProfilesEditor.js';
|
|
26
|
-
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
27
|
-
import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
|
|
28
|
-
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
29
|
-
import { IHostService } from 'vscode/vscode/vs/workbench/services/host/browser/host.service';
|
|
30
|
-
import { IURLService } from 'vscode/vscode/vs/platform/url/common/url.service';
|
|
31
|
-
import { IBrowserWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/browser/environmentService.service';
|
|
26
|
+
import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
|
|
27
|
+
import { IEditorGroupsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
|
|
28
|
+
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
29
|
+
import { IHostService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/host/browser/host.service';
|
|
30
|
+
import { IURLService } from '@codingame/monaco-vscode-api/vscode/vs/platform/url/common/url.service';
|
|
31
|
+
import { IBrowserWorkbenchEnvironmentService } from '@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common/vscode/vs/workbench/services/environment/browser/environmentService.service';
|
|
32
32
|
|
|
33
33
|
const OpenProfileMenu = ( new MenuId('OpenProfile'));
|
|
34
34
|
const ProfilesMenu = ( new MenuId('Profiles'));
|
|
@@ -84,7 +84,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
|
|
|
84
84
|
return editor;
|
|
85
85
|
}
|
|
86
86
|
registerEditor() {
|
|
87
|
-
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(UserDataProfilesEditor, UserDataProfilesEditor.ID, ( localize(
|
|
87
|
+
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(UserDataProfilesEditor, UserDataProfilesEditor.ID, ( localize(10495, "Profiles Editor"))), [
|
|
88
88
|
( new SyncDescriptor(UserDataProfilesEditorInput))
|
|
89
89
|
]);
|
|
90
90
|
( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(UserDataProfilesEditorInput.ID, UserDataProfilesEditorInputSerializer);
|
|
@@ -105,7 +105,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
|
|
|
105
105
|
}
|
|
106
106
|
registerProfileSubMenu() {
|
|
107
107
|
const getProfilesTitle = () => {
|
|
108
|
-
return localize(
|
|
108
|
+
return localize(10496, "Profile ({0})", this.userDataProfileService.currentProfile.name);
|
|
109
109
|
};
|
|
110
110
|
MenuRegistry.appendMenuItem(MenuId.GlobalActivity, {
|
|
111
111
|
get title() {
|
|
@@ -128,7 +128,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
|
|
|
128
128
|
}
|
|
129
129
|
registerOpenProfileSubMenu() {
|
|
130
130
|
MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
131
|
-
title: ( localize(
|
|
131
|
+
title: ( localize(10497, "New Window with Profile")),
|
|
132
132
|
submenu: OpenProfileMenu,
|
|
133
133
|
group: '1_new',
|
|
134
134
|
order: 4,
|
|
@@ -151,7 +151,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
|
|
|
151
151
|
id: `workbench.profiles.actions.profileEntry.${profile.id}`,
|
|
152
152
|
title: profile.name,
|
|
153
153
|
metadata: {
|
|
154
|
-
description: ( localize2(
|
|
154
|
+
description: ( localize2(10498, "Switch to {0} profile", profile.name)),
|
|
155
155
|
},
|
|
156
156
|
toggled: ( ContextKeyExpr.equals(CURRENT_PROFILE_CONTEXT.key, profile.id)),
|
|
157
157
|
menu: [
|
|
@@ -174,7 +174,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
|
|
|
174
174
|
constructor() {
|
|
175
175
|
super({
|
|
176
176
|
id: `workbench.profiles.actions.newWindowWithProfile`,
|
|
177
|
-
title: ( localize2(
|
|
177
|
+
title: ( localize2(10499, "New Window with Profile...")),
|
|
178
178
|
category: PROFILES_CATEGORY,
|
|
179
179
|
precondition: HAS_PROFILES_CONTEXT,
|
|
180
180
|
f1: true,
|
|
@@ -188,8 +188,8 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
|
|
|
188
188
|
label: profile.name,
|
|
189
189
|
profile
|
|
190
190
|
}))), {
|
|
191
|
-
title: ( localize(
|
|
192
|
-
placeHolder: ( localize(
|
|
191
|
+
title: ( localize(10500, "New Window with Profile")),
|
|
192
|
+
placeHolder: ( localize(10501, "Select Profile")),
|
|
193
193
|
canPickMany: false
|
|
194
194
|
});
|
|
195
195
|
if (pick) {
|
|
@@ -205,9 +205,9 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
|
|
|
205
205
|
constructor() {
|
|
206
206
|
super({
|
|
207
207
|
id,
|
|
208
|
-
title: ( localize2(
|
|
208
|
+
title: ( localize2(10502, "{0}", profile.name)),
|
|
209
209
|
metadata: {
|
|
210
|
-
description: ( localize2(
|
|
210
|
+
description: ( localize2(10503, "Open New Window with {0} Profile", profile.name)),
|
|
211
211
|
},
|
|
212
212
|
menu: {
|
|
213
213
|
id: OpenProfileMenu,
|
|
@@ -225,7 +225,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
|
|
|
225
225
|
command: {
|
|
226
226
|
id,
|
|
227
227
|
category: PROFILES_CATEGORY,
|
|
228
|
-
title: ( localize2(
|
|
228
|
+
title: ( localize2(10504, "Open {0} Profile", profile.name)),
|
|
229
229
|
precondition: HAS_PROFILES_CONTEXT
|
|
230
230
|
},
|
|
231
231
|
}));
|
|
@@ -237,7 +237,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
|
|
|
237
237
|
constructor() {
|
|
238
238
|
super({
|
|
239
239
|
id: `workbench.profiles.actions.switchProfile`,
|
|
240
|
-
title: ( localize2(
|
|
240
|
+
title: ( localize2(10505, 'Switch Profile...')),
|
|
241
241
|
category: PROFILES_CATEGORY,
|
|
242
242
|
f1: true,
|
|
243
243
|
});
|
|
@@ -253,7 +253,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
|
|
|
253
253
|
});
|
|
254
254
|
}
|
|
255
255
|
const result = await quickInputService.pick(items.sort((a, b) => a.profile.name.localeCompare(b.profile.name)), {
|
|
256
|
-
placeHolder: ( localize(
|
|
256
|
+
placeHolder: ( localize(10506, "Select Profile"))
|
|
257
257
|
});
|
|
258
258
|
if (result) {
|
|
259
259
|
await that.userDataProfileManagementService.switchProfile(result.profile);
|
|
@@ -268,8 +268,8 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
|
|
|
268
268
|
super({
|
|
269
269
|
id: `workbench.profiles.actions.manageProfiles`,
|
|
270
270
|
title: {
|
|
271
|
-
...( localize2(
|
|
272
|
-
mnemonicTitle: ( localize(
|
|
271
|
+
...( localize2(10507, "Profiles")),
|
|
272
|
+
mnemonicTitle: ( localize(10508, "&&Profiles")),
|
|
273
273
|
},
|
|
274
274
|
menu: [
|
|
275
275
|
{
|
|
@@ -302,7 +302,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
|
|
|
302
302
|
command: {
|
|
303
303
|
id: 'workbench.profiles.actions.manageProfiles',
|
|
304
304
|
category: Categories.Preferences,
|
|
305
|
-
title: ( localize2(
|
|
305
|
+
title: ( localize2(10509, "Open Profiles (UI)")),
|
|
306
306
|
},
|
|
307
307
|
}));
|
|
308
308
|
return disposables;
|
|
@@ -315,7 +315,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
|
|
|
315
315
|
constructor() {
|
|
316
316
|
super({
|
|
317
317
|
id,
|
|
318
|
-
title: ( localize2(
|
|
318
|
+
title: ( localize2(10510, "Export Profile...")),
|
|
319
319
|
category: PROFILES_CATEGORY,
|
|
320
320
|
f1: true,
|
|
321
321
|
});
|
|
@@ -329,7 +329,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
|
|
|
329
329
|
command: {
|
|
330
330
|
id,
|
|
331
331
|
title: ( localize2(
|
|
332
|
-
|
|
332
|
+
10511,
|
|
333
333
|
"Export Profile ({0})...",
|
|
334
334
|
that.userDataProfileService.currentProfile.name
|
|
335
335
|
)),
|
|
@@ -343,7 +343,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
|
|
|
343
343
|
constructor() {
|
|
344
344
|
super({
|
|
345
345
|
id: 'workbench.profiles.actions.createFromCurrentProfile',
|
|
346
|
-
title: ( localize2(
|
|
346
|
+
title: ( localize2(10512, "Save Current Profile As...")),
|
|
347
347
|
category: PROFILES_CATEGORY,
|
|
348
348
|
f1: true,
|
|
349
349
|
});
|
|
@@ -360,7 +360,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
|
|
|
360
360
|
constructor() {
|
|
361
361
|
super({
|
|
362
362
|
id: 'workbench.profiles.actions.createProfile',
|
|
363
|
-
title: ( localize2(
|
|
363
|
+
title: ( localize2(10513, "New Profile...")),
|
|
364
364
|
category: PROFILES_CATEGORY,
|
|
365
365
|
f1: true,
|
|
366
366
|
menu: [
|
|
@@ -383,7 +383,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
|
|
|
383
383
|
constructor() {
|
|
384
384
|
super({
|
|
385
385
|
id: 'workbench.profiles.actions.deleteProfile',
|
|
386
|
-
title: ( localize2(
|
|
386
|
+
title: ( localize2(10514, "Delete Profile...")),
|
|
387
387
|
category: PROFILES_CATEGORY,
|
|
388
388
|
f1: true,
|
|
389
389
|
precondition: HAS_PROFILES_CONTEXT,
|
|
@@ -399,11 +399,11 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
|
|
|
399
399
|
if (profiles.length) {
|
|
400
400
|
const picks = await quickInputService.pick(( profiles.map(profile => ({
|
|
401
401
|
label: profile.name,
|
|
402
|
-
description: profile.id === userDataProfileService.currentProfile.id ? ( localize(
|
|
402
|
+
description: profile.id === userDataProfileService.currentProfile.id ? ( localize(10515, "Current")) : undefined,
|
|
403
403
|
profile
|
|
404
404
|
}))), {
|
|
405
|
-
title: ( localize(
|
|
406
|
-
placeHolder: ( localize(
|
|
405
|
+
title: ( localize(10516, "Delete Profile...")),
|
|
406
|
+
placeHolder: ( localize(10517, "Select Profiles to Delete")),
|
|
407
407
|
canPickMany: true
|
|
408
408
|
});
|
|
409
409
|
if (picks) {
|