@codingame/monaco-vscode-user-data-profile-service-override 15.0.2 → 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.
Files changed (22) hide show
  1. package/package.json +19 -15
  2. package/vscode/src/vs/base/browser/ui/radio/radio.css +51 -0
  3. package/vscode/src/vs/base/browser/ui/radio/radio.js +1 -1
  4. package/vscode/src/vs/platform/userDataProfile/browser/userDataProfile.js +1 -1
  5. package/vscode/src/vs/workbench/contrib/userDataProfile/browser/media/userDataProfilesEditor.css +349 -0
  6. package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfile.js +23 -23
  7. package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfileActions.js +3 -3
  8. package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfilesEditor.js +98 -88
  9. package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfilesEditorModel.js +45 -35
  10. package/vscode/src/vs/workbench/services/userDataProfile/browser/extensionsResource.js +5 -5
  11. package/vscode/src/vs/workbench/services/userDataProfile/browser/globalStateResource.js +1 -1
  12. package/vscode/src/vs/workbench/services/userDataProfile/browser/keybindingsResource.js +1 -1
  13. package/vscode/src/vs/workbench/services/userDataProfile/browser/media/userDataProfileView.css +103 -0
  14. package/vscode/src/vs/workbench/services/userDataProfile/browser/settingsResource.js +1 -1
  15. package/vscode/src/vs/workbench/services/userDataProfile/browser/snippetsResource.js +2 -2
  16. package/vscode/src/vs/workbench/services/userDataProfile/browser/tasksResource.js +1 -1
  17. package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileImportExportService.js +42 -42
  18. package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileManagement.js +8 -8
  19. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSyncUtil.d.ts +1 -1
  20. package/vscode/src/vs/base/browser/ui/radio/radio.css.js +0 -6
  21. package/vscode/src/vs/workbench/contrib/userDataProfile/browser/media/userDataProfilesEditor.css.js +0 -6
  22. package/vscode/src/vs/workbench/services/userDataProfile/browser/media/userDataProfileView.css.js +0 -6
@@ -1,6 +1,6 @@
1
1
 
2
2
  import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
- import { Action, Separator } from '@codingame/monaco-vscode-api/vscode/vs/base/common/actions';
3
+ import { toAction, Action, Separator } from '@codingame/monaco-vscode-api/vscode/vs/base/common/actions';
4
4
  import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
5
5
  import { ThemeIcon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/themables';
6
6
  import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
@@ -22,7 +22,7 @@ import { TasksResourceTreeItem, TasksResource } from '../../../services/userData
22
22
  import { SnippetsResourceTreeItem, SnippetsResource } from '../../../services/userDataProfile/browser/snippetsResource.js';
23
23
  import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
24
24
  import { IDialogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service';
25
- import { InMemoryFileSystemProvider } from '@codingame/monaco-vscode-2f06fe84-148e-5e6b-a7ca-c7989c5f128a-common/vscode/vs/platform/files/common/inMemoryFilesystemProvider';
25
+ import { InMemoryFileSystemProvider } from '@codingame/monaco-vscode-ae8a8ca1-f243-508b-9c37-c88ebbd295fa-common/vscode/vs/platform/files/common/inMemoryFilesystemProvider';
26
26
  import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
27
27
  import { generateUuid } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uuid';
28
28
  import { RunOnceScheduler, createCancelablePromise } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
@@ -167,15 +167,15 @@ let AbstractUserDataProfileElement = class AbstractUserDataProfileElement extend
167
167
  }
168
168
  validate() {
169
169
  if (!this.name) {
170
- this.message = ( localize(10909, "Profile name is required and must be a non-empty value."));
170
+ this.message = ( localize(11231, "Profile name is required and must be a non-empty value."));
171
171
  return;
172
172
  }
173
173
  if (this.shouldValidateName() && this.name !== this.getInitialName() && ( this.userDataProfilesService.profiles.some(p => p.name === this.name))) {
174
- this.message = ( localize(10910, "Profile with name {0} already exists.", this.name));
174
+ this.message = ( localize(11232, "Profile with name {0} already exists.", this.name));
175
175
  return;
176
176
  }
177
177
  if (this.flags && this.flags.settings && this.flags.keybindings && this.flags.tasks && this.flags.snippets && this.flags.extensions) {
178
- this.message = ( localize(10911, "The profile should contain at least one configuration."));
178
+ this.message = ( localize(11233, "The profile should contain at least one configuration."));
179
179
  return;
180
180
  }
181
181
  this.message = undefined;
@@ -198,7 +198,12 @@ let AbstractUserDataProfileElement = class AbstractUserDataProfileElement extend
198
198
  checkbox: undefined,
199
199
  resourceType: r,
200
200
  openAction: children.length
201
- ? ( new Action('_open', ( localize(10912, "Open to the Side")), ThemeIcon.asClassName(Codicon.goToFile), true, () => children[0]?.openAction?.run()))
201
+ ? toAction({
202
+ id: '_open',
203
+ label: ( localize(11234, "Open to the Side")),
204
+ class: ThemeIcon.asClassName(Codicon.goToFile),
205
+ run: () => children[0]?.openAction?.run()
206
+ })
202
207
  : undefined
203
208
  };
204
209
  })));
@@ -238,14 +243,19 @@ let AbstractUserDataProfileElement = class AbstractUserDataProfileElement extend
238
243
  description: isString(child.description) ? child.description : undefined,
239
244
  resource: URI.revive(child.resourceUri),
240
245
  icon: child.themeIcon,
241
- openAction: ( new Action('_openChild', ( localize(10912, "Open to the Side")), ThemeIcon.asClassName(Codicon.goToFile), true, async () => {
242
- if (child.parent.type === ProfileResourceType.Extensions) {
243
- await this.commandService.executeCommand('extension.open', child.handle, undefined, true, undefined, true);
244
- }
245
- else if (child.resourceUri) {
246
- await this.commandService.executeCommand(API_OPEN_EDITOR_COMMAND_ID, child.resourceUri, [SIDE_GROUP], undefined);
246
+ openAction: toAction({
247
+ id: '_openChild',
248
+ label: ( localize(11234, "Open to the Side")),
249
+ class: ThemeIcon.asClassName(Codicon.goToFile),
250
+ run: async () => {
251
+ if (child.parent.type === ProfileResourceType.Extensions) {
252
+ await this.commandService.executeCommand('extension.open', child.handle, undefined, true, undefined, true);
253
+ }
254
+ else if (child.resourceUri) {
255
+ await this.commandService.executeCommand(API_OPEN_EDITOR_COMMAND_ID, child.resourceUri, [SIDE_GROUP], undefined);
256
+ }
247
257
  }
248
- })),
258
+ }),
249
259
  actions: {
250
260
  primary: primaryActions,
251
261
  contextMenu: contextMenuActions,
@@ -400,7 +410,7 @@ let UserDataProfileElement = class UserDataProfileElement extends AbstractUserDa
400
410
  const children = await this.instantiationService.createInstance(ExtensionsResourceExportTreeItem, this.profile).getChildren();
401
411
  return (children.map(child => this.toUserDataProfileResourceChildElement(child, undefined, [{
402
412
  id: 'applyToAllProfiles',
403
- label: ( localize(10913, "Apply Extension to all Profiles")),
413
+ label: ( localize(11235, "Apply Extension to all Profiles")),
404
414
  checked: child.applicationScoped,
405
415
  enabled: true,
406
416
  class: '',
@@ -531,7 +541,7 @@ let NewProfileElement = class NewProfileElement extends AbstractUserDataProfileE
531
541
  }
532
542
  if (isUserDataProfile(this.copyFrom)) {
533
543
  if (this.defaultName === this.name) {
534
- this.name = this.defaultName = ( localize(10914, "{0} (Copy)", this.copyFrom.name));
544
+ this.name = this.defaultName = ( localize(11236, "{0} (Copy)", this.copyFrom.name));
535
545
  }
536
546
  if (this.defaultIcon === this.icon) {
537
547
  this.icon = this.defaultIcon = this.copyFrom.icon;
@@ -545,7 +555,7 @@ let NewProfileElement = class NewProfileElement extends AbstractUserDataProfileE
545
555
  return;
546
556
  }
547
557
  if (this.defaultName === this.name) {
548
- this.name = this.defaultName = ( localize(10915, "Untitled"));
558
+ this.name = this.defaultName = ( localize(11237, "Untitled"));
549
559
  }
550
560
  if (this.defaultIcon === this.icon) {
551
561
  this.icon = this.defaultIcon = undefined;
@@ -777,11 +787,11 @@ let UserDataProfilesEditorModel = class UserDataProfilesEditorModel extends Edit
777
787
  }
778
788
  createProfileElement(profile) {
779
789
  const disposables = ( new DisposableStore());
780
- const activateAction = disposables.add(( new Action('userDataProfile.activate', ( localize(10916, "Use this Profile for Current Window")), ThemeIcon.asClassName(Codicon.check), true, () => this.userDataProfileManagementService.switchProfile(profileElement.profile))));
781
- const copyFromProfileAction = disposables.add(( new Action('userDataProfile.copyFromProfile', ( localize(10917, "Duplicate...")), ThemeIcon.asClassName(Codicon.copy), true, () => this.createNewProfile(profileElement.profile))));
782
- const exportAction = disposables.add(( new Action('userDataProfile.export', ( localize(10918, "Export...")), ThemeIcon.asClassName(Codicon.export), true, () => this.userDataProfileImportExportService.exportProfile(profile))));
783
- const deleteAction = disposables.add(( new Action('userDataProfile.delete', ( localize(10919, "Delete")), ThemeIcon.asClassName(Codicon.trash), true, () => this.removeProfile(profileElement.profile))));
784
- const newWindowAction = disposables.add(( new Action('userDataProfile.newWindow', ( localize(10920, "Open New Window with this Profile")), ThemeIcon.asClassName(Codicon.emptyWindow), true, () => this.openWindow(profileElement.profile))));
790
+ const activateAction = disposables.add(( new Action('userDataProfile.activate', ( localize(11238, "Use this Profile for Current Window")), ThemeIcon.asClassName(Codicon.check), true, () => this.userDataProfileManagementService.switchProfile(profileElement.profile))));
791
+ const copyFromProfileAction = disposables.add(( new Action('userDataProfile.copyFromProfile', ( localize(11239, "Duplicate...")), ThemeIcon.asClassName(Codicon.copy), true, () => this.createNewProfile(profileElement.profile))));
792
+ const exportAction = disposables.add(( new Action('userDataProfile.export', ( localize(11240, "Export...")), ThemeIcon.asClassName(Codicon.export), true, () => this.userDataProfileImportExportService.exportProfile(profile))));
793
+ const deleteAction = disposables.add(( new Action('userDataProfile.delete', ( localize(11241, "Delete")), ThemeIcon.asClassName(Codicon.trash), true, () => this.removeProfile(profileElement.profile))));
794
+ const newWindowAction = disposables.add(( new Action('userDataProfile.newWindow', ( localize(11242, "Open New Window with this Profile")), ThemeIcon.asClassName(Codicon.emptyWindow), true, () => this.openWindow(profileElement.profile))));
785
795
  const primaryActions = [];
786
796
  primaryActions.push(activateAction);
787
797
  primaryActions.push(newWindowAction);
@@ -802,11 +812,11 @@ let UserDataProfilesEditorModel = class UserDataProfilesEditorModel extends Edit
802
812
  const result = await this.dialogService.confirm({
803
813
  type: 'info',
804
814
  message: ( localize(
805
- 10921,
815
+ 11243,
806
816
  "A new profile is already being created. Do you want to discard it and create a new one?"
807
817
  )),
808
- primaryButton: ( localize(10922, "Discard & Create")),
809
- cancelButton: ( localize(10923, "Cancel"))
818
+ primaryButton: ( localize(11244, "Discard & Create")),
819
+ cancelButton: ( localize(11245, "Cancel"))
810
820
  });
811
821
  if (!result.confirmed) {
812
822
  return;
@@ -828,24 +838,24 @@ let UserDataProfilesEditorModel = class UserDataProfilesEditorModel extends Edit
828
838
  disposables.add(toDisposable(() => cancellationTokenSource.dispose(true)));
829
839
  const primaryActions = [];
830
840
  const secondaryActions = [];
831
- const createAction = disposables.add(( new Action('userDataProfile.create', ( localize(10924, "Create")), undefined, true, () => this.saveNewProfile(false, cancellationTokenSource.token))));
841
+ const createAction = disposables.add(( new Action('userDataProfile.create', ( localize(11246, "Create")), undefined, true, () => this.saveNewProfile(false, cancellationTokenSource.token))));
832
842
  primaryActions.push(createAction);
833
843
  if (isWeb && copyFrom instanceof URI && isProfileURL(copyFrom)) {
834
- primaryActions.push(( new Action('userDataProfile.createInDesktop', ( localize(10925, "Create in {0}", this.productService.nameLong)), undefined, true, () => this.openerService.open(copyFrom, { openExternal: true }))));
844
+ primaryActions.push(disposables.add(( new Action('userDataProfile.createInDesktop', ( localize(11247, "Create in {0}", this.productService.nameLong)), undefined, true, () => this.openerService.open(copyFrom, { openExternal: true })))));
835
845
  }
836
- const cancelAction = disposables.add(( new Action('userDataProfile.cancel', ( localize(10923, "Cancel")), ThemeIcon.asClassName(Codicon.trash), true, () => this.discardNewProfile())));
846
+ const cancelAction = disposables.add(( new Action('userDataProfile.cancel', ( localize(11245, "Cancel")), ThemeIcon.asClassName(Codicon.trash), true, () => this.discardNewProfile())));
837
847
  secondaryActions.push(cancelAction);
838
- const previewProfileAction = disposables.add(( new Action('userDataProfile.preview', ( localize(10926, "Preview")), ThemeIcon.asClassName(Codicon.openPreview), true, () => this.previewNewProfile(cancellationTokenSource.token))));
848
+ const previewProfileAction = disposables.add(( new Action('userDataProfile.preview', ( localize(11248, "Preview")), ThemeIcon.asClassName(Codicon.openPreview), true, () => this.previewNewProfile(cancellationTokenSource.token))));
839
849
  secondaryActions.push(previewProfileAction);
840
- const exportAction = disposables.add(( new Action('userDataProfile.export', ( localize(10918, "Export...")), ThemeIcon.asClassName(Codicon.export), isUserDataProfile(copyFrom), () => this.exportNewProfile(cancellationTokenSource.token))));
841
- this.newProfileElement = disposables.add(this.instantiationService.createInstance(NewProfileElement, copyFrom ? '' : ( localize(10915, "Untitled")), copyFrom, [primaryActions, secondaryActions], [[cancelAction], [exportAction]]));
850
+ const exportAction = disposables.add(( new Action('userDataProfile.export', ( localize(11240, "Export...")), ThemeIcon.asClassName(Codicon.export), isUserDataProfile(copyFrom), () => this.exportNewProfile(cancellationTokenSource.token))));
851
+ this.newProfileElement = disposables.add(this.instantiationService.createInstance(NewProfileElement, copyFrom ? '' : ( localize(11237, "Untitled")), copyFrom, [primaryActions, secondaryActions], [[cancelAction], [exportAction]]));
842
852
  const updateCreateActionLabel = () => {
843
853
  if (createAction.enabled) {
844
854
  if (this.newProfileElement?.copyFrom && ( this.userDataProfilesService.profiles.some(p => !p.isTransient && p.name === this.newProfileElement?.name))) {
845
- createAction.label = ( localize(10927, "Replace"));
855
+ createAction.label = ( localize(11249, "Replace"));
846
856
  }
847
857
  else {
848
- createAction.label = ( localize(10924, "Create"));
858
+ createAction.label = ( localize(11246, "Create"));
849
859
  }
850
860
  }
851
861
  };
@@ -1000,9 +1010,9 @@ let UserDataProfilesEditorModel = class UserDataProfilesEditorModel extends Edit
1000
1010
  async removeProfile(profile) {
1001
1011
  const result = await this.dialogService.confirm({
1002
1012
  type: 'info',
1003
- message: ( localize(10928, "Are you sure you want to delete the profile '{0}'?", profile.name)),
1004
- primaryButton: ( localize(10919, "Delete")),
1005
- cancelButton: ( localize(10923, "Cancel"))
1013
+ message: ( localize(11250, "Are you sure you want to delete the profile '{0}'?", profile.name)),
1014
+ primaryButton: ( localize(11241, "Delete")),
1015
+ cancelButton: ( localize(11245, "Cancel"))
1006
1016
  });
1007
1017
  if (result.confirmed) {
1008
1018
  await this.userDataProfileManagementService.removeProfile(profile);
@@ -173,7 +173,7 @@ let ExtensionsResource = class ExtensionsResource {
173
173
  return;
174
174
  }
175
175
  progress?.(( localize(
176
- 12335,
176
+ 12670,
177
177
  "Installing extension {0}...",
178
178
  installExtensionInfo.extension.displayName ?? installExtensionInfo.extension.identifier.id
179
179
  )));
@@ -266,7 +266,7 @@ class ExtensionsResourceTreeItem {
266
266
  constructor() {
267
267
  this.type = ProfileResourceType.Extensions;
268
268
  this.handle = ProfileResourceType.Extensions;
269
- this.label = { label: ( localize(12336, "Extensions")) };
269
+ this.label = { label: ( localize(12671, "Extensions")) };
270
270
  this.collapsibleState = TreeItemCollapsibleState.Expanded;
271
271
  this.contextValue = ProfileResourceType.Extensions;
272
272
  this.excludedExtensions = ( new Set());
@@ -279,7 +279,7 @@ class ExtensionsResourceTreeItem {
279
279
  handle: e.identifier.id.toLowerCase(),
280
280
  parent: this,
281
281
  label: { label: e.displayName || e.identifier.id },
282
- description: e.applicationScoped ? ( localize(12337, "All Profiles")) : undefined,
282
+ description: e.applicationScoped ? ( localize(12672, "All Profiles")) : undefined,
283
283
  collapsibleState: TreeItemCollapsibleState.None,
284
284
  checkbox: that.checkbox ? {
285
285
  get isChecked() { return !( that.excludedExtensions.has(e.identifier.id.toLowerCase())); },
@@ -291,9 +291,9 @@ class ExtensionsResourceTreeItem {
291
291
  that.excludedExtensions.add(e.identifier.id.toLowerCase());
292
292
  }
293
293
  },
294
- tooltip: ( localize(12338, "Select {0} Extension", e.displayName || e.identifier.id)),
294
+ tooltip: ( localize(12673, "Select {0} Extension", e.displayName || e.identifier.id)),
295
295
  accessibilityInformation: {
296
- label: ( localize(12338, "Select {0} Extension", e.displayName || e.identifier.id)),
296
+ label: ( localize(12673, "Select {0} Extension", e.displayName || e.identifier.id)),
297
297
  }
298
298
  } : undefined,
299
299
  themeIcon: Codicon.extensions,
@@ -86,7 +86,7 @@ class GlobalStateResourceTreeItem {
86
86
  this.uriIdentityService = uriIdentityService;
87
87
  this.type = ProfileResourceType.GlobalState;
88
88
  this.handle = ProfileResourceType.GlobalState;
89
- this.label = { label: ( localize(12339, "UI State")) };
89
+ this.label = { label: ( localize(12674, "UI State")) };
90
90
  this.collapsibleState = TreeItemCollapsibleState.Collapsed;
91
91
  }
92
92
  async getChildren() {
@@ -80,7 +80,7 @@ let KeybindingsResourceTreeItem = class KeybindingsResourceTreeItem {
80
80
  this.instantiationService = instantiationService;
81
81
  this.type = ProfileResourceType.Keybindings;
82
82
  this.handle = ProfileResourceType.Keybindings;
83
- this.label = { label: ( localize(12340, "Keyboard Shortcuts")) };
83
+ this.label = { label: ( localize(12675, "Keyboard Shortcuts")) };
84
84
  this.collapsibleState = TreeItemCollapsibleState.Expanded;
85
85
  }
86
86
  isFromDefaultProfile() {
@@ -0,0 +1,103 @@
1
+ .profile-view-tree-container .customview-tree .monaco-list .monaco-list-row .custom-view-tree-node-item .actions {
2
+ display: inherit;
3
+ }
4
+ .monaco-workbench .pane > .pane-body > .profile-view-message-container {
5
+ display: flex;
6
+ padding: 13px 20px 0px 20px;
7
+ box-sizing: border-box;
8
+ }
9
+ .monaco-workbench .pane > .pane-body > .profile-view-message-container p {
10
+ margin-block-start: 0em;
11
+ margin-block-end: 0em;
12
+ }
13
+ .monaco-workbench .pane > .pane-body > .profile-view-message-container a {
14
+ color: var(--vscode-textLink-foreground)
15
+ }
16
+ .monaco-workbench .pane > .pane-body > .profile-view-message-container a:hover {
17
+ text-decoration: underline;
18
+ color: var(--vscode-textLink-activeForeground)
19
+ }
20
+ .monaco-workbench .pane > .pane-body > .profile-view-message-container a:active {
21
+ color: var(--vscode-textLink-activeForeground)
22
+ }
23
+ .monaco-workbench .pane > .pane-body > .profile-view-message-container.hide {
24
+ display: none;
25
+ }
26
+ .monaco-workbench .pane > .pane-body > .profile-view-buttons-container {
27
+ display: flex;
28
+ flex-direction: column;
29
+ padding: 13px 20px;
30
+ box-sizing: border-box;
31
+ }
32
+ .monaco-workbench .pane > .pane-body > .profile-view-buttons-container > .monaco-button,
33
+ .monaco-workbench .pane > .pane-body > .profile-view-buttons-container > .monaco-button-dropdown {
34
+ margin-block-start: 13px;
35
+ margin-inline-start: 0px;
36
+ margin-inline-end: 0px;
37
+ max-width: 260px;
38
+ margin-left: auto;
39
+ margin-right: auto;
40
+ }
41
+ .monaco-workbench .pane > .pane-body > .profile-view-buttons-container > .monaco-button-dropdown {
42
+ width: 100%;
43
+ }
44
+ .monaco-workbench .pane > .pane-body > .profile-view-buttons-container > .monaco-button-dropdown > .monaco-dropdown-button {
45
+ display: flex;
46
+ align-items: center;
47
+ padding: 0 4px;
48
+ }
49
+ .profile-edit-widget {
50
+ padding: 4px 6px 0px 11px;
51
+ }
52
+ .profile-edit-widget > .profile-icon-container {
53
+ display: flex;
54
+ margin-bottom: 8px;
55
+ }
56
+ .profile-edit-widget > .profile-icon-container > .profile-icon {
57
+ cursor: pointer;
58
+ padding: 3px;
59
+ border-radius: 5px;
60
+ }
61
+ .profile-edit-widget > .profile-icon-container > .profile-icon.codicon{
62
+ font-size: 18px;
63
+ }
64
+ .profile-edit-widget > .profile-icon-container > .profile-icon:hover {
65
+ outline: 1px dashed var(--vscode-toolbar-hoverOutline);
66
+ outline-offset: -1px;
67
+ background-color: var(--vscode-toolbar-hoverBackground);
68
+ }
69
+ .profile-edit-widget > .profile-type-container {
70
+ display: flex;
71
+ align-items: center;
72
+ justify-content: space-between;
73
+ margin-bottom: 8px;
74
+ }
75
+ .profile-edit-widget > .profile-icon-container > .profile-icon-label,
76
+ .profile-edit-widget > .profile-type-container > .profile-type-create-label {
77
+ width: 90px;
78
+ display: inline-flex;
79
+ align-items: center;
80
+ }
81
+ .profile-edit-widget > .profile-icon-container:only-child > .profile-icon-label {
82
+ width: 45px;
83
+ }
84
+ .profile-edit-widget > .profile-icon-container > .profile-icon-id {
85
+ display: inline-flex;
86
+ align-items: center;
87
+ margin-left: 5px;
88
+ opacity: .8;
89
+ font-size: 0.9em;
90
+ }
91
+ .profile-edit-widget > .profile-type-container > .profile-type-select-container {
92
+ overflow: hidden;
93
+ flex: 1;
94
+ display: flex;
95
+ align-items: center;
96
+ justify-content: center;
97
+ }
98
+ .profile-edit-widget > .profile-type-container > .profile-type-select-container > .monaco-select-box {
99
+ cursor: pointer;
100
+ line-height: 17px;
101
+ padding: 2px 23px 2px 8px;
102
+ border-radius: 2px;
103
+ }
@@ -101,7 +101,7 @@ let SettingsResourceTreeItem = class SettingsResourceTreeItem {
101
101
  this.instantiationService = instantiationService;
102
102
  this.type = ProfileResourceType.Settings;
103
103
  this.handle = ProfileResourceType.Settings;
104
- this.label = { label: ( localize(12341, "Settings")) };
104
+ this.label = { label: ( localize(12676, "Settings")) };
105
105
  this.collapsibleState = TreeItemCollapsibleState.Expanded;
106
106
  }
107
107
  async getChildren() {
@@ -94,7 +94,7 @@ let SnippetsResourceTreeItem = class SnippetsResourceTreeItem {
94
94
  this.uriIdentityService = uriIdentityService;
95
95
  this.type = ProfileResourceType.Snippets;
96
96
  this.handle = ( this.profile.snippetsHome.toString());
97
- this.label = { label: ( localize(12342, "Snippets")) };
97
+ this.label = { label: ( localize(12677, "Snippets")) };
98
98
  this.collapsibleState = TreeItemCollapsibleState.Collapsed;
99
99
  this.excludedSnippets = ( new ResourceSet());
100
100
  }
@@ -121,7 +121,7 @@ let SnippetsResourceTreeItem = class SnippetsResourceTreeItem {
121
121
  },
122
122
  accessibilityInformation: {
123
123
  label: ( localize(
124
- 12343,
124
+ 12678,
125
125
  "Select Snippet {0}",
126
126
  this.uriIdentityService.extUri.basename(resource)
127
127
  )),
@@ -79,7 +79,7 @@ let TasksResourceTreeItem = class TasksResourceTreeItem {
79
79
  this.instantiationService = instantiationService;
80
80
  this.type = ProfileResourceType.Tasks;
81
81
  this.handle = ProfileResourceType.Tasks;
82
- this.label = { label: ( localize(12344, "Tasks")) };
82
+ this.label = { label: ( localize(12679, "Tasks")) };
83
83
  this.collapsibleState = TreeItemCollapsibleState.Expanded;
84
84
  }
85
85
  async getChildren() {