@codingame/monaco-vscode-user-data-profile-service-override 15.0.3 → 16.0.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/package.json +19 -15
- package/vscode/src/vs/base/browser/ui/radio/radio.css +51 -0
- package/vscode/src/vs/base/browser/ui/radio/radio.js +1 -1
- package/vscode/src/vs/platform/userDataProfile/browser/userDataProfile.js +1 -1
- package/vscode/src/vs/workbench/contrib/userDataProfile/browser/media/userDataProfilesEditor.css +349 -0
- package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfile.js +23 -23
- package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfileActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfilesEditor.js +98 -88
- package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfilesEditorModel.js +45 -35
- package/vscode/src/vs/workbench/services/userDataProfile/browser/extensionsResource.js +5 -5
- package/vscode/src/vs/workbench/services/userDataProfile/browser/globalStateResource.js +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/browser/keybindingsResource.js +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/browser/media/userDataProfileView.css +103 -0
- package/vscode/src/vs/workbench/services/userDataProfile/browser/settingsResource.js +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/browser/snippetsResource.js +2 -2
- package/vscode/src/vs/workbench/services/userDataProfile/browser/tasksResource.js +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileImportExportService.js +42 -42
- package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileManagement.js +8 -8
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSyncUtil.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/radio/radio.css.js +0 -6
- package/vscode/src/vs/workbench/contrib/userDataProfile/browser/media/userDataProfilesEditor.css.js +0 -6
- package/vscode/src/vs/workbench/services/userDataProfile/browser/media/userDataProfileView.css.js +0 -6
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": "16.0.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,20 +15,21 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-12c5f9eb-72d3-57ca-babd-5bef7aa9de3b-common": "
|
|
19
|
-
"@codingame/monaco-vscode-2f06fe84-148e-5e6b-a7ca-c7989c5f128a-common": "
|
|
20
|
-
"@codingame/monaco-vscode-3607c442-ae7a-594b-b840-038378c24fef-common": "
|
|
21
|
-
"@codingame/monaco-vscode-38f25ab8-ea30-5ba9-8a08-ae3308c297c0-common": "
|
|
22
|
-
"@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common": "
|
|
23
|
-
"@codingame/monaco-vscode-422642f2-7e3a-5c1c-9e1e-1d3ef1817346-common": "
|
|
24
|
-
"@codingame/monaco-vscode-
|
|
25
|
-
"@codingame/monaco-vscode-
|
|
26
|
-
"@codingame/monaco-vscode-
|
|
27
|
-
"@codingame/monaco-vscode-aff8bc9b-c6f8-578f-9c8a-f70d14f9c13c-common": "
|
|
28
|
-
"@codingame/monaco-vscode-api": "
|
|
29
|
-
"@codingame/monaco-vscode-
|
|
30
|
-
"@codingame/monaco-vscode-
|
|
31
|
-
"@codingame/monaco-vscode-
|
|
18
|
+
"@codingame/monaco-vscode-12c5f9eb-72d3-57ca-babd-5bef7aa9de3b-common": "16.0.0",
|
|
19
|
+
"@codingame/monaco-vscode-2f06fe84-148e-5e6b-a7ca-c7989c5f128a-common": "16.0.0",
|
|
20
|
+
"@codingame/monaco-vscode-3607c442-ae7a-594b-b840-038378c24fef-common": "16.0.0",
|
|
21
|
+
"@codingame/monaco-vscode-38f25ab8-ea30-5ba9-8a08-ae3308c297c0-common": "16.0.0",
|
|
22
|
+
"@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common": "16.0.0",
|
|
23
|
+
"@codingame/monaco-vscode-422642f2-7e3a-5c1c-9e1e-1d3ef1817346-common": "16.0.0",
|
|
24
|
+
"@codingame/monaco-vscode-a022e9a8-b522-5ea2-97c7-f3dda2b0b597-common": "16.0.0",
|
|
25
|
+
"@codingame/monaco-vscode-a2719803-af40-5ae9-a29f-8a2231c33056-common": "16.0.0",
|
|
26
|
+
"@codingame/monaco-vscode-ae8a8ca1-f243-508b-9c37-c88ebbd295fa-common": "16.0.0",
|
|
27
|
+
"@codingame/monaco-vscode-aff8bc9b-c6f8-578f-9c8a-f70d14f9c13c-common": "16.0.0",
|
|
28
|
+
"@codingame/monaco-vscode-api": "16.0.0",
|
|
29
|
+
"@codingame/monaco-vscode-b1110435-a331-5549-ab1e-aa3d763c3a1f-common": "16.0.0",
|
|
30
|
+
"@codingame/monaco-vscode-d8236b3b-b91a-522d-89f4-94d70a546f6a-common": "16.0.0",
|
|
31
|
+
"@codingame/monaco-vscode-e72c94ca-257a-5b75-8b68-5a5fa3c18255-common": "16.0.0",
|
|
32
|
+
"@codingame/monaco-vscode-f405f7ba-995b-5117-bc17-5bc7f77d92e9-common": "16.0.0"
|
|
32
33
|
},
|
|
33
34
|
"main": "index.js",
|
|
34
35
|
"module": "index.js",
|
|
@@ -37,6 +38,9 @@
|
|
|
37
38
|
".": {
|
|
38
39
|
"default": "./index.js"
|
|
39
40
|
},
|
|
41
|
+
"./vscode/*.css": {
|
|
42
|
+
"default": "./vscode/src/*.css"
|
|
43
|
+
},
|
|
40
44
|
"./vscode/*": {
|
|
41
45
|
"types": "./vscode/src/*.d.ts",
|
|
42
46
|
"default": "./vscode/src/*.js"
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
.monaco-custom-radio {
|
|
2
|
+
display: flex;
|
|
3
|
+
}
|
|
4
|
+
.monaco-custom-radio > .monaco-button {
|
|
5
|
+
border-radius: 0;
|
|
6
|
+
font-size: 0.9em;
|
|
7
|
+
line-height: 1em;
|
|
8
|
+
padding-left: 0.5em;
|
|
9
|
+
padding-right: 0.5em;
|
|
10
|
+
}
|
|
11
|
+
.monaco-custom-radio > .monaco-button:first-child {
|
|
12
|
+
border-top-left-radius: 3px;
|
|
13
|
+
border-bottom-left-radius: 3px;
|
|
14
|
+
}
|
|
15
|
+
.monaco-custom-radio > .monaco-button:last-child {
|
|
16
|
+
border-top-right-radius: 3px;
|
|
17
|
+
border-bottom-right-radius: 3px;
|
|
18
|
+
}
|
|
19
|
+
.monaco-custom-radio > .monaco-button:not(.active):not(:last-child) {
|
|
20
|
+
border-right: none;
|
|
21
|
+
}
|
|
22
|
+
.monaco-custom-radio > .monaco-button.previous-active {
|
|
23
|
+
border-left: none;
|
|
24
|
+
}
|
|
25
|
+
.monaco-custom-radio > .monaco-button {
|
|
26
|
+
color: var(--vscode-radio-inactiveForeground);
|
|
27
|
+
background-color: var(--vscode-radio-inactiveBackground);
|
|
28
|
+
border-color: var(--vscode-radio-inactiveBorder, transparent);
|
|
29
|
+
}
|
|
30
|
+
.monaco-custom-radio > .monaco-button.active:hover,
|
|
31
|
+
.monaco-custom-radio > .monaco-button.active {
|
|
32
|
+
color: var(--vscode-radio-activeForeground);
|
|
33
|
+
background-color: var(--vscode-radio-activeBackground);
|
|
34
|
+
border-color: var(--vscode-radio-activeBorder, transparent);
|
|
35
|
+
}
|
|
36
|
+
.hc-black .monaco-custom-radio > .monaco-button.active,
|
|
37
|
+
.hc-light .monaco-custom-radio > .monaco-button.active {
|
|
38
|
+
border-color: var(--vscode-radio-activeBorder, transparent);
|
|
39
|
+
}
|
|
40
|
+
.hc-black .monaco-custom-radio > .monaco-button:not(.active),
|
|
41
|
+
.hc-light .monaco-custom-radio > .monaco-button:not(.active) {
|
|
42
|
+
border-color: var(--vscode-radio-inactiveBorder, transparent);
|
|
43
|
+
}
|
|
44
|
+
.hc-black .monaco-custom-radio > .monaco-button:not(.active):hover,
|
|
45
|
+
.hc-light .monaco-custom-radio > .monaco-button:not(.active):hover {
|
|
46
|
+
outline: 1px dashed var(--vscode-toolbar-hoverOutline);
|
|
47
|
+
outline-offset: -1px
|
|
48
|
+
}
|
|
49
|
+
.monaco-custom-radio > .monaco-button:hover:not(.active) {
|
|
50
|
+
background-color: var(--vscode-radio-inactiveHoverBackground);
|
|
51
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { Widget } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/widget';
|
|
3
3
|
import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
4
|
-
import './radio.css
|
|
4
|
+
import './radio.css';
|
|
5
5
|
import { $ } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
6
6
|
import { Button } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/button/button';
|
|
7
7
|
import { DisposableMap, DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
-
import { BroadcastDataChannel } from '@codingame/monaco-vscode-
|
|
3
|
+
import { BroadcastDataChannel } from '@codingame/monaco-vscode-b1110435-a331-5549-ab1e-aa3d763c3a1f-common/vscode/vs/base/browser/broadcast';
|
|
4
4
|
import { revive } from '@codingame/monaco-vscode-api/vscode/vs/base/common/marshalling';
|
|
5
5
|
import { IEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/platform/environment/common/environment.service';
|
|
6
6
|
import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
|
package/vscode/src/vs/workbench/contrib/userDataProfile/browser/media/userDataProfilesEditor.css
ADDED
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
.profiles-editor {
|
|
2
|
+
height: 100%;
|
|
3
|
+
overflow: hidden;
|
|
4
|
+
max-width: 1200px;
|
|
5
|
+
margin: 20px auto 0px auto;
|
|
6
|
+
}
|
|
7
|
+
.profiles-editor .sidebar-view,
|
|
8
|
+
.profiles-editor .contents-view {
|
|
9
|
+
height: 100%;
|
|
10
|
+
}
|
|
11
|
+
.profiles-editor > .monaco-split-view2 > .sash-container,
|
|
12
|
+
.profiles-editor > .monaco-split-view2.separator-border.horizontal > .monaco-scrollable-element > .split-view-container > .split-view-view:not(:first-child)::before {
|
|
13
|
+
top: 55px;
|
|
14
|
+
}
|
|
15
|
+
.profiles-editor .contents-container {
|
|
16
|
+
height: 100%;
|
|
17
|
+
}
|
|
18
|
+
.profiles-editor .sidebar-container {
|
|
19
|
+
padding-left: 20px;
|
|
20
|
+
height: 100%;
|
|
21
|
+
}
|
|
22
|
+
.profiles-editor .sidebar-container .new-profile-button {
|
|
23
|
+
padding: 0px 20px 0px 18px;
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
height: 40px;
|
|
27
|
+
}
|
|
28
|
+
.profiles-editor .sidebar-container .new-profile-button > .monaco-button-dropdown {
|
|
29
|
+
flex-grow: 1;
|
|
30
|
+
}
|
|
31
|
+
.profiles-editor .monaco-button-dropdown > .monaco-dropdown-button {
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
padding: 0 4px;
|
|
35
|
+
}
|
|
36
|
+
.profiles-editor .monaco-list-row .profile-tree-item-actions-container {
|
|
37
|
+
display: none;
|
|
38
|
+
align-items: center;
|
|
39
|
+
}
|
|
40
|
+
.profiles-editor .monaco-list-row.focused .profile-tree-item-actions-container,
|
|
41
|
+
.profiles-editor .monaco-list-row.selected .profile-tree-item-actions-container,
|
|
42
|
+
.profiles-editor .monaco-list-row:hover .profile-tree-item-actions-container {
|
|
43
|
+
display: flex;
|
|
44
|
+
}
|
|
45
|
+
.profiles-editor .sidebar-container .profiles-list {
|
|
46
|
+
margin-top: 15px;
|
|
47
|
+
}
|
|
48
|
+
.profiles-editor .sidebar-container .profiles-list .profile-list-item {
|
|
49
|
+
padding-left: 20px;
|
|
50
|
+
display: flex;
|
|
51
|
+
align-items: center;
|
|
52
|
+
}
|
|
53
|
+
.profiles-editor .sidebar-container .profiles-list .profile-list-item > * {
|
|
54
|
+
margin-right: 5px;
|
|
55
|
+
}
|
|
56
|
+
.profiles-editor .sidebar-container .profiles-list .profile-list-item > .profile-list-item-label {
|
|
57
|
+
overflow: hidden;
|
|
58
|
+
text-overflow: ellipsis;
|
|
59
|
+
}
|
|
60
|
+
.profiles-editor .sidebar-container .profiles-list .profile-list-item > .profile-list-item-label.new-profile {
|
|
61
|
+
font-style: italic;
|
|
62
|
+
}
|
|
63
|
+
.profiles-editor .sidebar-container .profiles-list .profile-list-item > .profile-list-item-description {
|
|
64
|
+
margin-left: 2px;
|
|
65
|
+
display: flex;
|
|
66
|
+
align-items: center;
|
|
67
|
+
font-size: 0.9em;
|
|
68
|
+
opacity: 0.7;
|
|
69
|
+
}
|
|
70
|
+
.profiles-editor .sidebar-container .profiles-list .profile-list-item .profile-tree-item-actions-container {
|
|
71
|
+
flex: 1;
|
|
72
|
+
justify-content: flex-end;
|
|
73
|
+
margin-right: 10px;
|
|
74
|
+
}
|
|
75
|
+
.profiles-editor .hide {
|
|
76
|
+
display: none !important;
|
|
77
|
+
}
|
|
78
|
+
.profiles-editor .contents-container .profile-header {
|
|
79
|
+
margin-left: 27px;
|
|
80
|
+
display: flex;
|
|
81
|
+
height: 40px;
|
|
82
|
+
align-items: center;
|
|
83
|
+
}
|
|
84
|
+
.profiles-editor .contents-container .profile-header .profile-title-container {
|
|
85
|
+
font-size: 26px;
|
|
86
|
+
font-weight: 600;
|
|
87
|
+
}
|
|
88
|
+
.profiles-editor .contents-container .profile-title-container .monaco-inputbox {
|
|
89
|
+
margin-right: 10px;
|
|
90
|
+
flex: 1;
|
|
91
|
+
}
|
|
92
|
+
.profiles-editor .contents-container .profile-header .profile-actions-container .actions-container .action-label {
|
|
93
|
+
padding: 6px;
|
|
94
|
+
}
|
|
95
|
+
.profiles-editor .contents-container .profile-body {
|
|
96
|
+
margin: 15px 0px 0px 1px
|
|
97
|
+
}
|
|
98
|
+
.profiles-editor .contents-container .profile-body .profile-row-container {
|
|
99
|
+
padding: 12px 0px;
|
|
100
|
+
}
|
|
101
|
+
.profiles-editor .contents-container .profile-body .profile-row-container.no-padding-bottom {
|
|
102
|
+
padding-bottom: 0px;
|
|
103
|
+
}
|
|
104
|
+
.profiles-editor .contents-container .profile-body .profile-row-container .profile-label-element {
|
|
105
|
+
font-weight: 600;
|
|
106
|
+
padding-bottom: 5px;
|
|
107
|
+
}
|
|
108
|
+
.profiles-editor .contents-container .profile-body .profile-row-container .profile-description-element {
|
|
109
|
+
color: var(--vscode-foreground);
|
|
110
|
+
opacity: 0.9;
|
|
111
|
+
}
|
|
112
|
+
.profiles-editor .contents-container .profile-body .profile-row-container .profile-description-element ul,
|
|
113
|
+
.profiles-editor .contents-container .profile-body .profile-row-container .profile-description-element p {
|
|
114
|
+
margin: 0px;
|
|
115
|
+
}
|
|
116
|
+
.profiles-editor .contents-container .profile-body .profile-row-container .profile-description-element ul {
|
|
117
|
+
padding-inline-start: 28px;
|
|
118
|
+
}
|
|
119
|
+
.profiles-editor .contents-container .profile-body .profile-row-container .profile-description-element ul li {
|
|
120
|
+
padding-left: 2px;
|
|
121
|
+
}
|
|
122
|
+
.profiles-editor .contents-container .profile-body .profile-row-container .monaco-inputbox {
|
|
123
|
+
width: 400px;
|
|
124
|
+
}
|
|
125
|
+
.profiles-editor .contents-container .profile-body .profile-row-container .profile-icon-container {
|
|
126
|
+
line-height: 22px;
|
|
127
|
+
display: flex;
|
|
128
|
+
align-items: center;
|
|
129
|
+
}
|
|
130
|
+
.profiles-editor .contents-container .profile-body .profile-row-container .profile-icon-container.disabled .codicon {
|
|
131
|
+
cursor: default;
|
|
132
|
+
}
|
|
133
|
+
.profiles-editor .contents-container .profile-body .profile-row-container .profile-icon-container .codicon {
|
|
134
|
+
cursor: pointer;
|
|
135
|
+
margin-right: 4px;
|
|
136
|
+
padding: 2px;
|
|
137
|
+
border-radius: 5px;
|
|
138
|
+
}
|
|
139
|
+
.profiles-editor .contents-container .profile-body .profile-row-container .profile-icon-container:not(.disabled) .codicon:hover {
|
|
140
|
+
background-color: var(--vscode-toolbar-hoverBackground);
|
|
141
|
+
outline: 1px dashed var(--vscode-toolbar-hoverOutline);
|
|
142
|
+
}
|
|
143
|
+
.profiles-editor .contents-container .profile-body .profile-row-container .profile-icon-container .profile-description-element {
|
|
144
|
+
margin-top: -1px;
|
|
145
|
+
}
|
|
146
|
+
.profiles-editor .contents-container .profile-select-container {
|
|
147
|
+
overflow: hidden;
|
|
148
|
+
display: flex;
|
|
149
|
+
align-items: center;
|
|
150
|
+
justify-content: center;
|
|
151
|
+
}
|
|
152
|
+
.profiles-editor .contents-container .profile-select-container > .monaco-select-box {
|
|
153
|
+
cursor: pointer;
|
|
154
|
+
line-height: 18px;
|
|
155
|
+
padding: 0px 23px 0px 8px;
|
|
156
|
+
border-radius: 2px;
|
|
157
|
+
}
|
|
158
|
+
.profiles-editor .contents-container .profile-copy-from-container .profile-select-container {
|
|
159
|
+
margin-top: 5px;
|
|
160
|
+
width: 250px;
|
|
161
|
+
}
|
|
162
|
+
.profiles-editor .contents-container .profile-use-as-default-container,
|
|
163
|
+
.profiles-editor .contents-container .profile-use-for-current-container {
|
|
164
|
+
display: flex;
|
|
165
|
+
align-items: center;
|
|
166
|
+
line-height: 22px;
|
|
167
|
+
}
|
|
168
|
+
.profiles-editor .contents-container .profile-body .profile-row-container .profile-use-as-default-container .profile-description-element,
|
|
169
|
+
.profiles-editor .contents-container .profile-body .profile-row-container .profile-use-for-current-container .profile-description-element {
|
|
170
|
+
margin-top: -1px;
|
|
171
|
+
}
|
|
172
|
+
.profiles-editor .contents-container .profile-use-as-default-container .profile-use-as-default-label,
|
|
173
|
+
.profiles-editor .contents-container .profile-use-for-current-container .profile-use-as-default-label {
|
|
174
|
+
margin-left: 2px;
|
|
175
|
+
}
|
|
176
|
+
.profiles-editor .contents-container .profile-contents-container {
|
|
177
|
+
margin: 0px 0px 10px 20px;
|
|
178
|
+
}
|
|
179
|
+
.profiles-editor .contents-container .profile-content-tree-header {
|
|
180
|
+
display: grid;
|
|
181
|
+
grid-template-columns: 30px repeat(2, 1fr) 80px;
|
|
182
|
+
line-height: 22px;
|
|
183
|
+
height: 30px;
|
|
184
|
+
align-items: center;
|
|
185
|
+
margin: 5px 0px 2px 0px;
|
|
186
|
+
font-weight: bold;
|
|
187
|
+
border-bottom: 1px solid transparent;
|
|
188
|
+
}
|
|
189
|
+
.profiles-editor .profile-associations-table .monaco-table-th,
|
|
190
|
+
.profiles-editor .contents-container .profile-content-tree-header {
|
|
191
|
+
background-color: var(--vscode-keybindingTable-headerBackground);
|
|
192
|
+
}
|
|
193
|
+
.profiles-editor .contents-container .profile-content-tree-header > .options-header {
|
|
194
|
+
display: flex;
|
|
195
|
+
align-items: center;
|
|
196
|
+
}
|
|
197
|
+
.profiles-editor .contents-container .profile-content-tree-header > .options-header .codicon {
|
|
198
|
+
cursor: pointer;
|
|
199
|
+
padding-left: 2px;
|
|
200
|
+
}
|
|
201
|
+
.profiles-editor .contents-container .profile-content-tree-header.default-profile {
|
|
202
|
+
grid-template-columns: 30px repeat(1, 1fr) 80px;
|
|
203
|
+
}
|
|
204
|
+
.profiles-editor .contents-container .profile-content-tree-header.default-profile > .options-header {
|
|
205
|
+
display: none;
|
|
206
|
+
}
|
|
207
|
+
.profiles-editor .contents-container .profile-tree-item-container {
|
|
208
|
+
display: grid;
|
|
209
|
+
align-items: center;
|
|
210
|
+
grid-template-columns: repeat(2, 1fr) 80px;
|
|
211
|
+
}
|
|
212
|
+
.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-content-tree-header,
|
|
213
|
+
.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-content-tree {
|
|
214
|
+
margin-right: 1px;
|
|
215
|
+
}
|
|
216
|
+
.profiles-editor .contents-container .profile-tree-item-container.default-profile,
|
|
217
|
+
.profiles-editor .contents-container .profile-tree-item-container.profile-resource-child-container {
|
|
218
|
+
grid-template-columns: repeat(1, 1fr) 80px;
|
|
219
|
+
}
|
|
220
|
+
.profiles-editor .contents-container .profile-tree-item-container .profile-resource-type-description {
|
|
221
|
+
margin-left: 10px;
|
|
222
|
+
font-size: 0.9em;
|
|
223
|
+
opacity: 0.7;
|
|
224
|
+
}
|
|
225
|
+
.profiles-editor .contents-container .profile-tree-item-container .profile-resource-options-container {
|
|
226
|
+
height: fit-content;
|
|
227
|
+
width: fit-content;
|
|
228
|
+
}
|
|
229
|
+
.profiles-editor .contents-container .profile-tree-item-container .monaco-custom-radio .monaco-button {
|
|
230
|
+
outline-offset: -1px !important;
|
|
231
|
+
}
|
|
232
|
+
.profiles-editor .contents-container .profile-tree-item-container .profile-resource-actions-container {
|
|
233
|
+
display: none;
|
|
234
|
+
justify-self: end;
|
|
235
|
+
padding-right: 10px;
|
|
236
|
+
}
|
|
237
|
+
.profiles-editor .contents-container .profile-content-tree .monaco-list-row.selected .profile-resource-actions-container,
|
|
238
|
+
.profiles-editor .contents-container .profile-content-tree .monaco-list-row.focused .profile-resource-actions-container,
|
|
239
|
+
.profiles-editor .contents-container .profile-content-tree .monaco-list-row:hover .profile-resource-actions-container {
|
|
240
|
+
display: flex;
|
|
241
|
+
}
|
|
242
|
+
.profiles-editor .contents-container .profile-body .profile-row-container.profile-button-container {
|
|
243
|
+
margin-top: 10px;
|
|
244
|
+
margin-left: 30px;
|
|
245
|
+
display: flex;
|
|
246
|
+
align-items: center;
|
|
247
|
+
}
|
|
248
|
+
.profiles-editor .contents-container .profile-body .profile-row-container.profile-button-container .monaco-button {
|
|
249
|
+
margin-right: 10px;
|
|
250
|
+
width: inherit;
|
|
251
|
+
padding: 4px 10px;
|
|
252
|
+
}
|
|
253
|
+
.profiles-editor .profile-associations-table {
|
|
254
|
+
margin-top: 5px;
|
|
255
|
+
}
|
|
256
|
+
.profiles-editor .profile-associations-table .monaco-table-th,
|
|
257
|
+
.profiles-editor .profile-associations-table .monaco-table-td {
|
|
258
|
+
padding: 0px 5px;
|
|
259
|
+
}
|
|
260
|
+
.profiles-editor .profile-associations-table .monaco-table-td {
|
|
261
|
+
display: flex;
|
|
262
|
+
align-items: center;
|
|
263
|
+
overflow: hidden;
|
|
264
|
+
}
|
|
265
|
+
.profiles-editor .profile-associations-table .monaco-list-row .monaco-table-tr .monaco-table-td .profile-workspaces-actions-container {
|
|
266
|
+
display: none;
|
|
267
|
+
justify-content: flex-end;
|
|
268
|
+
padding-right: 5px;
|
|
269
|
+
}
|
|
270
|
+
.profiles-editor .profile-associations-table .monaco-list-row.selected .monaco-table-tr .monaco-table-td .profile-workspaces-actions-container,
|
|
271
|
+
.profiles-editor .profile-associations-table .monaco-list-row.focused .monaco-table-tr .monaco-table-td .profile-workspaces-actions-container,
|
|
272
|
+
.profiles-editor .profile-associations-table .monaco-list-row:hover .monaco-table-tr .monaco-table-td .profile-workspaces-actions-container {
|
|
273
|
+
display: flex;
|
|
274
|
+
}
|
|
275
|
+
.profiles-editor .profile-associations-table .monaco-table-tr .monaco-table-td .host,
|
|
276
|
+
.profiles-editor .profile-associations-table .monaco-table-tr .monaco-table-td .path {
|
|
277
|
+
width: 100%;
|
|
278
|
+
}
|
|
279
|
+
.profiles-editor .profile-associations-table .monaco-table-tr .monaco-table-td .host .host-label,
|
|
280
|
+
.profiles-editor .profile-associations-table .monaco-table-tr .monaco-table-td .path .path-label {
|
|
281
|
+
overflow: hidden;
|
|
282
|
+
text-overflow: ellipsis;
|
|
283
|
+
}
|
|
284
|
+
.profiles-editor .profile-associations-table .monaco-table-tr .monaco-table-td .current-workspace .path-label,
|
|
285
|
+
.profiles-editor .profile-associations-table .monaco-table-tr .monaco-table-td .current-workspace .host-label {
|
|
286
|
+
font-weight: bold;
|
|
287
|
+
font-style: italic;
|
|
288
|
+
}
|
|
289
|
+
.profiles-editor .contents-container .profile-body .profile-row-container .profile-workspaces-button-container {
|
|
290
|
+
display: flex;
|
|
291
|
+
margin: 8px 4px;
|
|
292
|
+
}
|
|
293
|
+
.profiles-editor .contents-container .profile-body .profile-row-container .profile-workspaces-button-container .monaco-button {
|
|
294
|
+
width: inherit;
|
|
295
|
+
padding: 2px 14px;
|
|
296
|
+
}
|
|
297
|
+
.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row.focused {
|
|
298
|
+
background-color: var(--vscode-settings-focusedRowBackground) !important;
|
|
299
|
+
}
|
|
300
|
+
.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-associations-table .monaco-list-row[data-parity=odd] .monaco-table-tr {
|
|
301
|
+
background-color: transparent !important;
|
|
302
|
+
}
|
|
303
|
+
.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row:not(.focused):hover {
|
|
304
|
+
background-color: var(--vscode-settings-rowHoverBackground) !important;
|
|
305
|
+
}
|
|
306
|
+
.profiles-editor .contents-container .profile-body .profile-tree .monaco-list:focus .monaco-list-row.focused {
|
|
307
|
+
outline: 1px solid var(--vscode-settings-focusedRowBorder) !important;
|
|
308
|
+
}
|
|
309
|
+
.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row {
|
|
310
|
+
cursor: default;
|
|
311
|
+
}
|
|
312
|
+
.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-associations-table .monaco-list-row,
|
|
313
|
+
.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-content-tree .monaco-list-row {
|
|
314
|
+
cursor: default;
|
|
315
|
+
}
|
|
316
|
+
.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-associations-table .monaco-list-row.focused,
|
|
317
|
+
.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-associations-table .monaco-list-row.selected:not(:focus),
|
|
318
|
+
.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-associations-table .monaco-list-row.selected:focus,
|
|
319
|
+
.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-content-tree .monaco-list-row.focused,
|
|
320
|
+
.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-content-tree .monaco-list-row.selected:not(:focus),
|
|
321
|
+
.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-content-tree .monaco-list-row.selected:focus {
|
|
322
|
+
background-color: inherit !important;
|
|
323
|
+
color: inherit !important;
|
|
324
|
+
}
|
|
325
|
+
.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),
|
|
326
|
+
.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) {
|
|
327
|
+
background-color: var(--vscode-list-hoverBackground) !important;
|
|
328
|
+
}
|
|
329
|
+
.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-associations-table .monaco-list-row.selected:focus,
|
|
330
|
+
.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-content-tree .monaco-list-row.selected:focus {
|
|
331
|
+
background-color: var(--vscode-list-activeSelectionBackground) !important;
|
|
332
|
+
color: var(--vscode-list-activeSelectionForeground) !important;
|
|
333
|
+
}
|
|
334
|
+
.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-associations-table .monaco-list-row.selected:not(:focus),
|
|
335
|
+
.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-content-tree .monaco-list-row.selected:not(:focus) {
|
|
336
|
+
background-color: var(--vscode-list-inactiveSelectionBackground) !important;
|
|
337
|
+
color: var(--vscode-list-inactiveSelectionForeground) !important;
|
|
338
|
+
}
|
|
339
|
+
.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-content-tree .monaco-list-row .monaco-tl-twistie.collapsible {
|
|
340
|
+
cursor: pointer;
|
|
341
|
+
}
|
|
342
|
+
.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .codicon,
|
|
343
|
+
.profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row .profile-content-tree .monaco-list-row .codicon {
|
|
344
|
+
color: inherit !important;
|
|
345
|
+
}
|
|
346
|
+
.monaco-workbench:not(.reduce-motion) .profiles-editor .contents-container .profile-body .profile-tree .monaco-list-row:hover .profile-content-tree-header,
|
|
347
|
+
.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 {
|
|
348
|
+
border-color: var(--vscode-tree-tableColumnsBorder) !important;
|
|
349
|
+
}
|
|
@@ -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(11135, "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(11136, "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(11137, "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(11138, "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(11139, "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(11140, "New Window with Profile")),
|
|
192
|
+
placeHolder: ( localize(11141, "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(11142, "{0}", profile.name)),
|
|
209
209
|
metadata: {
|
|
210
|
-
description: ( localize2(
|
|
210
|
+
description: ( localize2(11143, "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(11144, "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(11145, '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(11146, "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(11147, "Profiles")),
|
|
272
|
+
mnemonicTitle: ( localize(11148, "&&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(11149, "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(11150, "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
|
+
11151,
|
|
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(11152, "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(11153, "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(11154, "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(11155, "Current")) : undefined,
|
|
403
403
|
profile
|
|
404
404
|
}))), {
|
|
405
|
-
title: ( localize(
|
|
406
|
-
placeHolder: ( localize(
|
|
405
|
+
title: ( localize(11156, "Delete Profile...")),
|
|
406
|
+
placeHolder: ( localize(11157, "Select Profiles to Delete")),
|
|
407
407
|
canPickMany: true
|
|
408
408
|
});
|
|
409
409
|
if (picks) {
|