@codingame/monaco-vscode-user-data-profile-service-override 23.3.0 → 24.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.js +2 -2
- package/package.json +2 -14
- package/vscode/src/vs/platform/userDataProfile/browser/userDataProfile.js +1 -1
- package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfile.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfile.js +26 -26
- package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfileActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfilesEditor.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfilesEditor.js +86 -87
- package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfilesEditorModel.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfilesEditorModel.js +29 -29
- package/vscode/src/vs/workbench/services/userData/browser/userDataInit.d.ts +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/browser/extensionsResource.d.ts +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/browser/extensionsResource.js +6 -6
- package/vscode/src/vs/workbench/services/userDataProfile/browser/globalStateResource.d.ts +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/browser/globalStateResource.js +2 -2
- package/vscode/src/vs/workbench/services/userDataProfile/browser/keybindingsResource.d.ts +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/browser/keybindingsResource.js +2 -2
- package/vscode/src/vs/workbench/services/userDataProfile/browser/mcpProfileResource.d.ts +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/browser/mcpProfileResource.js +2 -2
- package/vscode/src/vs/workbench/services/userDataProfile/browser/settingsResource.d.ts +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/browser/settingsResource.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/browser/snippetsResource.d.ts +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/browser/snippetsResource.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/browser/tasksResource.d.ts +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/browser/tasksResource.js +2 -2
- package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileImportExportService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileImportExportService.js +42 -42
- package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileInit.d.ts +2 -2
- package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileInit.js +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileManagement.d.ts +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileManagement.js +8 -8
- package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileStorageService.js +1 -1
- package/vscode/src/vs/workbench/services/userDataSync/browser/userDataSyncInit.d.ts +2 -2
- package/vscode/src/vs/workbench/services/userDataSync/browser/userDataSyncInit.js +9 -9
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSyncUtil.d.ts +1 -1
|
@@ -14,9 +14,9 @@ import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platfo
|
|
|
14
14
|
import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
|
|
15
15
|
import { ProfileResourceType } from '@codingame/monaco-vscode-api/vscode/vs/platform/userDataProfile/common/userDataProfile';
|
|
16
16
|
import { IUserDataProfilesService } from '@codingame/monaco-vscode-api/vscode/vs/platform/userDataProfile/common/userDataProfile.service';
|
|
17
|
-
import { EditorPane } from '@codingame/monaco-vscode-
|
|
17
|
+
import { EditorPane } from '@codingame/monaco-vscode-api/vscode/vs/workbench/browser/parts/editor/editorPane';
|
|
18
18
|
import { EditorInput } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor/editorInput';
|
|
19
|
-
import { PROFILE_FILTER, defaultUserDataProfileIcon } from '@codingame/monaco-vscode-
|
|
19
|
+
import { PROFILE_FILTER, defaultUserDataProfileIcon } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/common/userDataProfile';
|
|
20
20
|
import { IUserDataProfileService, IUserDataProfileManagementService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service';
|
|
21
21
|
import { SplitView, Sizing } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/splitview/splitview';
|
|
22
22
|
import { ButtonWithDropdown, Button, ButtonBar } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/button/button';
|
|
@@ -38,20 +38,20 @@ import { CachedListVirtualDelegate } from '@codingame/monaco-vscode-api/vscode/v
|
|
|
38
38
|
import { DisposableStore, Disposable, MutableDisposable, toDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
39
39
|
import { InputBox, MessageType } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/inputbox/inputBox';
|
|
40
40
|
import { Checkbox } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/toggle/toggle';
|
|
41
|
-
import { DEFAULT_ICON, ICONS } from '@codingame/monaco-vscode-
|
|
42
|
-
import { WorkbenchIconSelectBox } from '@codingame/monaco-vscode-
|
|
41
|
+
import { DEFAULT_ICON, ICONS } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/common/userDataProfileIcons';
|
|
42
|
+
import { WorkbenchIconSelectBox } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/browser/iconSelectBox';
|
|
43
43
|
import { StandardKeyboardEvent } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/keyboardEvent';
|
|
44
44
|
import { KeyCode } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
|
|
45
45
|
import { WorkbenchHoverDelegate } from '@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover';
|
|
46
46
|
import { IHoverService } from '@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service';
|
|
47
47
|
import { HoverPosition } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/hover/hoverWidget';
|
|
48
|
-
import { SelectBox } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/selectBox/selectBox';
|
|
48
|
+
import { SelectBox, SeparatorSelectOption } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/selectBox/selectBox';
|
|
49
49
|
import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
50
50
|
import { IEditorProgressService } from '@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress.service';
|
|
51
51
|
import { isUndefined, isString } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
|
|
52
52
|
import { basename } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
53
53
|
import { RenderIndentGuides } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/tree/abstractTree';
|
|
54
|
-
import { ResourceLabels, DEFAULT_LABELS_CONTAINER } from '@codingame/monaco-vscode-
|
|
54
|
+
import { ResourceLabels, DEFAULT_LABELS_CONTAINER } from '@codingame/monaco-vscode-api/vscode/vs/workbench/browser/labels';
|
|
55
55
|
import { IFileDialogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service';
|
|
56
56
|
import { IQuickInputService } from '@codingame/monaco-vscode-api/vscode/vs/platform/quickinput/common/quickInput.service';
|
|
57
57
|
import { UserDataProfileElement, AbstractUserDataProfileElement, NewProfileElement, isProfileResourceTypeElement, isProfileResourceChildElement, UserDataProfilesEditorModel } from './userDataProfilesEditorModel.js';
|
|
@@ -60,7 +60,7 @@ import { createInstantHoverDelegate, getDefaultHoverDelegate } from '@codingame/
|
|
|
60
60
|
import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
|
|
61
61
|
import { Radio } from '../../../../base/browser/ui/radio/radio.js';
|
|
62
62
|
import { MarkdownString } from '@codingame/monaco-vscode-api/vscode/vs/base/common/htmlContent';
|
|
63
|
-
import { settingsTextInputBorder } from '@codingame/monaco-vscode-
|
|
63
|
+
import { settingsTextInputBorder } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry';
|
|
64
64
|
import { renderMarkdown } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/markdownRenderer';
|
|
65
65
|
import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
66
66
|
import { ILabelService } from '@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service';
|
|
@@ -75,9 +75,9 @@ import { Orientation } from '@codingame/monaco-vscode-api/vscode/vs/base/browser
|
|
|
75
75
|
|
|
76
76
|
var UserDataProfilesEditor_1, ExistingProfileResourceTreeRenderer_1, NewProfileResourceTreeRenderer_1, ProfileResourceChildTreeItemRenderer_1, WorkspaceUriHostColumnRenderer_1, WorkspaceUriPathColumnRenderer_1, WorkspaceUriActionsColumnRenderer_1, UserDataProfilesEditorInput_1;
|
|
77
77
|
registerCss(userDataProfilesEditor);
|
|
78
|
-
const editIcon = registerIcon('profiles-editor-edit-folder', Codicon.edit, ( localize(
|
|
79
|
-
const removeIcon = registerIcon('profiles-editor-remove-folder', Codicon.close, ( localize(
|
|
80
|
-
const profilesSashBorder = registerColor('profiles.sashBorder', PANEL_BORDER, ( localize(
|
|
78
|
+
const editIcon = registerIcon('profiles-editor-edit-folder', Codicon.edit, ( localize(12898, 'Icon for the edit folder icon in the profiles editor.')));
|
|
79
|
+
const removeIcon = registerIcon('profiles-editor-remove-folder', Codicon.close, ( localize(12899, 'Icon for the remove folder icon in the profiles editor.')));
|
|
80
|
+
const profilesSashBorder = registerColor('profiles.sashBorder', PANEL_BORDER, ( localize(12900, "The color of the Profiles editor splitview sash border.")));
|
|
81
81
|
const listStyles = getListStyles({
|
|
82
82
|
listActiveSelectionBackground: editorBackground,
|
|
83
83
|
listActiveSelectionForeground: foreground,
|
|
@@ -173,7 +173,7 @@ let UserDataProfilesEditor = class UserDataProfilesEditor extends EditorPane {
|
|
|
173
173
|
return profileElement?.name ?? '';
|
|
174
174
|
},
|
|
175
175
|
getWidgetAriaLabel() {
|
|
176
|
-
return localize(
|
|
176
|
+
return localize(12901, "Profiles");
|
|
177
177
|
}
|
|
178
178
|
},
|
|
179
179
|
openOnSingleClick: true,
|
|
@@ -194,12 +194,12 @@ let UserDataProfilesEditor = class UserDataProfilesEditor extends EditorPane {
|
|
|
194
194
|
getActions: () => {
|
|
195
195
|
const actions = [];
|
|
196
196
|
if (this.templates.length) {
|
|
197
|
-
actions.push(( new SubmenuAction('from.template', ( localize(
|
|
197
|
+
actions.push(( new SubmenuAction('from.template', ( localize(12902, "From Template")), this.getCreateFromTemplateActions())));
|
|
198
198
|
actions.push(( new Separator()));
|
|
199
199
|
}
|
|
200
200
|
actions.push(toAction({
|
|
201
201
|
id: 'importProfile',
|
|
202
|
-
label: ( localize(
|
|
202
|
+
label: ( localize(12903, "Import Profile...")),
|
|
203
203
|
run: () => this.importProfile()
|
|
204
204
|
}));
|
|
205
205
|
return actions;
|
|
@@ -210,7 +210,7 @@ let UserDataProfilesEditor = class UserDataProfilesEditor extends EditorPane {
|
|
|
210
210
|
supportIcons: true,
|
|
211
211
|
...defaultButtonStyles
|
|
212
212
|
})));
|
|
213
|
-
button.label = ( localize(
|
|
213
|
+
button.label = ( localize(12904, "New Profile"));
|
|
214
214
|
this._register(button.onDidClick(e => this.createNewProfile()));
|
|
215
215
|
}
|
|
216
216
|
getCreateFromTemplateActions() {
|
|
@@ -255,17 +255,17 @@ let UserDataProfilesEditor = class UserDataProfilesEditor extends EditorPane {
|
|
|
255
255
|
const actions = [];
|
|
256
256
|
actions.push(toAction({
|
|
257
257
|
id: 'newProfile',
|
|
258
|
-
label: ( localize(
|
|
258
|
+
label: ( localize(12904, "New Profile")),
|
|
259
259
|
run: () => this.createNewProfile()
|
|
260
260
|
}));
|
|
261
261
|
const templateActions = this.getCreateFromTemplateActions();
|
|
262
262
|
if (templateActions.length) {
|
|
263
|
-
actions.push(( new SubmenuAction('from.template', ( localize(
|
|
263
|
+
actions.push(( new SubmenuAction('from.template', ( localize(12905, "New Profile From Template")), templateActions)));
|
|
264
264
|
}
|
|
265
265
|
actions.push(( new Separator()));
|
|
266
266
|
actions.push(toAction({
|
|
267
267
|
id: 'importProfile',
|
|
268
|
-
label: ( localize(
|
|
268
|
+
label: ( localize(12903, "Import Profile...")),
|
|
269
269
|
run: () => this.importProfile()
|
|
270
270
|
}));
|
|
271
271
|
return actions;
|
|
@@ -276,13 +276,13 @@ let UserDataProfilesEditor = class UserDataProfilesEditor extends EditorPane {
|
|
|
276
276
|
const updateQuickPickItems = (value) => {
|
|
277
277
|
const quickPickItems = [];
|
|
278
278
|
if (value) {
|
|
279
|
-
quickPickItems.push({ label: quickPick.value, description: ( localize(
|
|
279
|
+
quickPickItems.push({ label: quickPick.value, description: ( localize(12906, "Import from URL")) });
|
|
280
280
|
}
|
|
281
|
-
quickPickItems.push({ label: ( localize(
|
|
281
|
+
quickPickItems.push({ label: ( localize(12907, "Select File...")) });
|
|
282
282
|
quickPick.items = quickPickItems;
|
|
283
283
|
};
|
|
284
|
-
quickPick.title = ( localize(
|
|
285
|
-
quickPick.placeholder = ( localize(
|
|
284
|
+
quickPick.title = ( localize(12908, "Import from Profile Template..."));
|
|
285
|
+
quickPick.placeholder = ( localize(12909, "Provide Profile Template URL"));
|
|
286
286
|
quickPick.ignoreFocusOut = true;
|
|
287
287
|
disposables.add(quickPick.onDidChangeValue(updateQuickPickItems));
|
|
288
288
|
updateQuickPickItems();
|
|
@@ -317,7 +317,7 @@ let UserDataProfilesEditor = class UserDataProfilesEditor extends EditorPane {
|
|
|
317
317
|
canSelectFiles: true,
|
|
318
318
|
canSelectMany: false,
|
|
319
319
|
filters: PROFILE_FILTER,
|
|
320
|
-
title: ( localize(
|
|
320
|
+
title: ( localize(12910, "Select Profile Template File")),
|
|
321
321
|
});
|
|
322
322
|
if (!profileLocation) {
|
|
323
323
|
return null;
|
|
@@ -394,7 +394,7 @@ let ProfileElementRenderer = class ProfileElementRenderer {
|
|
|
394
394
|
const label = append(container, $('.profile-list-item-label'));
|
|
395
395
|
const dirty = append(container, $(`span${ThemeIcon.asCSSSelector(Codicon.circleFilled)}`));
|
|
396
396
|
const description = append(container, $('.profile-list-item-description'));
|
|
397
|
-
append(description, $(`span${ThemeIcon.asCSSSelector(Codicon.check)}`), $('span', undefined, ( localize(
|
|
397
|
+
append(description, $(`span${ThemeIcon.asCSSSelector(Codicon.check)}`), $('span', undefined, ( localize(12911, "Active"))));
|
|
398
398
|
const actionsContainer = append(container, $('.profile-tree-item-actions-container'));
|
|
399
399
|
const actionBar = disposables.add(this.instantiationService.createInstance(WorkbenchToolBar, actionsContainer, {
|
|
400
400
|
hoverDelegate: disposables.add(createInstantHoverDelegate()),
|
|
@@ -734,17 +734,17 @@ class AbstractProfileResourceTreeRenderer extends Disposable {
|
|
|
734
734
|
getResourceTypeTitle(resourceType) {
|
|
735
735
|
switch (resourceType) {
|
|
736
736
|
case ProfileResourceType.Settings:
|
|
737
|
-
return localize(
|
|
737
|
+
return localize(12912, "Settings");
|
|
738
738
|
case ProfileResourceType.Keybindings:
|
|
739
|
-
return localize(
|
|
739
|
+
return localize(12913, "Keyboard Shortcuts");
|
|
740
740
|
case ProfileResourceType.Snippets:
|
|
741
|
-
return localize(
|
|
741
|
+
return localize(12914, "Snippets");
|
|
742
742
|
case ProfileResourceType.Tasks:
|
|
743
|
-
return localize(
|
|
743
|
+
return localize(12915, "Tasks");
|
|
744
744
|
case ProfileResourceType.Mcp:
|
|
745
|
-
return localize(
|
|
745
|
+
return localize(12916, "MCP Servers");
|
|
746
746
|
case ProfileResourceType.Extensions:
|
|
747
|
-
return localize(
|
|
747
|
+
return localize(12917, "Extensions");
|
|
748
748
|
}
|
|
749
749
|
return '';
|
|
750
750
|
}
|
|
@@ -773,18 +773,18 @@ let ProfileNameRenderer = class ProfileNameRenderer extends ProfilePropertyRende
|
|
|
773
773
|
const elementDisposables = disposables.add(( new DisposableStore()));
|
|
774
774
|
let profileElement;
|
|
775
775
|
const nameContainer = append(parent, $('.profile-row-container'));
|
|
776
|
-
append(nameContainer, $('.profile-label-element', undefined, ( localize(
|
|
776
|
+
append(nameContainer, $('.profile-label-element', undefined, ( localize(12918, "Name"))));
|
|
777
777
|
const nameInput = disposables.add(( new InputBox(nameContainer, this.contextViewService, {
|
|
778
778
|
inputBoxStyles: getInputBoxStyle({
|
|
779
779
|
inputBorder: settingsTextInputBorder
|
|
780
780
|
}),
|
|
781
|
-
ariaLabel: ( localize(
|
|
782
|
-
placeholder: ( localize(
|
|
781
|
+
ariaLabel: ( localize(12919, "Profile Name")),
|
|
782
|
+
placeholder: ( localize(12919, "Profile Name")),
|
|
783
783
|
validationOptions: {
|
|
784
784
|
validation: (value) => {
|
|
785
785
|
if (!value) {
|
|
786
786
|
return {
|
|
787
|
-
content: ( localize(
|
|
787
|
+
content: ( localize(12920, "Profile name is required and must be a non-empty value.")),
|
|
788
788
|
type: MessageType.WARNING
|
|
789
789
|
};
|
|
790
790
|
}
|
|
@@ -798,7 +798,7 @@ let ProfileNameRenderer = class ProfileNameRenderer extends ProfilePropertyRende
|
|
|
798
798
|
value = value.trim();
|
|
799
799
|
if (initialName !== value && ( this.userDataProfilesService.profiles.some(p => !p.isTransient && p.name === value))) {
|
|
800
800
|
return {
|
|
801
|
-
content: ( localize(
|
|
801
|
+
content: ( localize(12921, "Profile with name {0} already exists.", value)),
|
|
802
802
|
type: MessageType.WARNING
|
|
803
803
|
};
|
|
804
804
|
}
|
|
@@ -828,10 +828,10 @@ let ProfileNameRenderer = class ProfileNameRenderer extends ProfilePropertyRende
|
|
|
828
828
|
nameInput.enable();
|
|
829
829
|
}
|
|
830
830
|
if (isDefaultProfile) {
|
|
831
|
-
nameInput.setTooltip(( localize(
|
|
831
|
+
nameInput.setTooltip(( localize(12922, "Name cannot be changed for the default profile")));
|
|
832
832
|
}
|
|
833
833
|
else {
|
|
834
|
-
nameInput.setTooltip(( localize(
|
|
834
|
+
nameInput.setTooltip(( localize(12919, "Profile Name")));
|
|
835
835
|
}
|
|
836
836
|
};
|
|
837
837
|
return {
|
|
@@ -869,9 +869,9 @@ let ProfileIconRenderer = class ProfileIconRenderer extends ProfilePropertyRende
|
|
|
869
869
|
const elementDisposables = disposables.add(( new DisposableStore()));
|
|
870
870
|
let profileElement;
|
|
871
871
|
const iconContainer = append(parent, $('.profile-row-container'));
|
|
872
|
-
append(iconContainer, $('.profile-label-element', undefined, ( localize(
|
|
872
|
+
append(iconContainer, $('.profile-label-element', undefined, ( localize(12923, "Icon"))));
|
|
873
873
|
const iconValueContainer = append(iconContainer, $('.profile-icon-container'));
|
|
874
|
-
const iconElement = append(iconValueContainer, $(`${ThemeIcon.asCSSSelector(DEFAULT_ICON)}`, { 'tabindex': '0', 'role': 'button', 'aria-label': ( localize(
|
|
874
|
+
const iconElement = append(iconValueContainer, $(`${ThemeIcon.asCSSSelector(DEFAULT_ICON)}`, { 'tabindex': '0', 'role': 'button', 'aria-label': ( localize(12924, "Profile Icon")) }));
|
|
875
875
|
const iconHover = disposables.add(this.hoverService.setupManagedHover(this.hoverDelegate, iconElement, ''));
|
|
876
876
|
const iconSelectBox = disposables.add(this.instantiationService.createInstance(WorkbenchIconSelectBox, { icons: ICONS, inputBoxStyles: defaultInputBoxStyles }));
|
|
877
877
|
let hoverWidget;
|
|
@@ -930,14 +930,14 @@ let ProfileIconRenderer = class ProfileIconRenderer extends ProfilePropertyRende
|
|
|
930
930
|
profileElement.root.icon = selectedIcon.id;
|
|
931
931
|
}
|
|
932
932
|
}));
|
|
933
|
-
append(iconValueContainer, $('.profile-description-element', undefined, ( localize(
|
|
933
|
+
append(iconValueContainer, $('.profile-description-element', undefined, ( localize(12925, "Profile icon to be shown in the activity bar"))));
|
|
934
934
|
const renderIcon = (profileElement) => {
|
|
935
935
|
if (profileElement?.root instanceof UserDataProfileElement && profileElement.root.profile.isDefault) {
|
|
936
936
|
iconValueContainer.classList.add('disabled');
|
|
937
|
-
iconHover.update(( localize(
|
|
937
|
+
iconHover.update(( localize(12926, "Icon cannot be changed for the default profile")));
|
|
938
938
|
}
|
|
939
939
|
else {
|
|
940
|
-
iconHover.update(( localize(
|
|
940
|
+
iconHover.update(( localize(12927, "Click to change icon")));
|
|
941
941
|
iconValueContainer.classList.remove('disabled');
|
|
942
942
|
}
|
|
943
943
|
if (profileElement.root.icon) {
|
|
@@ -977,9 +977,9 @@ let UseForCurrentWindowPropertyRenderer = class UseForCurrentWindowPropertyRende
|
|
|
977
977
|
const elementDisposables = disposables.add(( new DisposableStore()));
|
|
978
978
|
let profileElement;
|
|
979
979
|
const useForCurrentWindowContainer = append(parent, $('.profile-row-container'));
|
|
980
|
-
append(useForCurrentWindowContainer, $('.profile-label-element', undefined, ( localize(
|
|
980
|
+
append(useForCurrentWindowContainer, $('.profile-label-element', undefined, ( localize(12928, "Use for Current Window"))));
|
|
981
981
|
const useForCurrentWindowValueContainer = append(useForCurrentWindowContainer, $('.profile-use-for-current-container'));
|
|
982
|
-
const useForCurrentWindowTitle = ( localize(
|
|
982
|
+
const useForCurrentWindowTitle = ( localize(12929, "Use this profile for the current window"));
|
|
983
983
|
const useForCurrentWindowCheckbox = disposables.add(( new Checkbox(useForCurrentWindowTitle, false, defaultCheckboxStyles)));
|
|
984
984
|
append(useForCurrentWindowValueContainer, useForCurrentWindowCheckbox.domNode);
|
|
985
985
|
const useForCurrentWindowLabel = append(useForCurrentWindowValueContainer, $('.profile-description-element', undefined, useForCurrentWindowTitle));
|
|
@@ -1029,9 +1029,9 @@ class UseAsDefaultProfileRenderer extends ProfilePropertyRenderer {
|
|
|
1029
1029
|
const elementDisposables = disposables.add(( new DisposableStore()));
|
|
1030
1030
|
let profileElement;
|
|
1031
1031
|
const useAsDefaultProfileContainer = append(parent, $('.profile-row-container'));
|
|
1032
|
-
append(useAsDefaultProfileContainer, $('.profile-label-element', undefined, ( localize(
|
|
1032
|
+
append(useAsDefaultProfileContainer, $('.profile-label-element', undefined, ( localize(12930, "Use for New Windows"))));
|
|
1033
1033
|
const useAsDefaultProfileValueContainer = append(useAsDefaultProfileContainer, $('.profile-use-as-default-container'));
|
|
1034
|
-
const useAsDefaultProfileTitle = ( localize(
|
|
1034
|
+
const useAsDefaultProfileTitle = ( localize(12931, "Use this profile as the default for new windows"));
|
|
1035
1035
|
const useAsDefaultProfileCheckbox = disposables.add(( new Checkbox(useAsDefaultProfileTitle, false, defaultCheckboxStyles)));
|
|
1036
1036
|
append(useAsDefaultProfileValueContainer, useAsDefaultProfileCheckbox.domNode);
|
|
1037
1037
|
const useAsDefaultProfileLabel = append(useAsDefaultProfileValueContainer, $('.profile-description-element', undefined, useAsDefaultProfileTitle));
|
|
@@ -1078,11 +1078,11 @@ let CopyFromProfileRenderer = class CopyFromProfileRenderer extends ProfilePrope
|
|
|
1078
1078
|
const elementDisposables = disposables.add(( new DisposableStore()));
|
|
1079
1079
|
let profileElement;
|
|
1080
1080
|
const copyFromContainer = append(parent, $('.profile-row-container.profile-copy-from-container'));
|
|
1081
|
-
append(copyFromContainer, $('.profile-label-element', undefined, ( localize(
|
|
1082
|
-
append(copyFromContainer, $('.profile-description-element', undefined, ( localize(
|
|
1081
|
+
append(copyFromContainer, $('.profile-label-element', undefined, ( localize(12932, "Copy from"))));
|
|
1082
|
+
append(copyFromContainer, $('.profile-description-element', undefined, ( localize(12933, "Select the profile source from which you want to copy contents"))));
|
|
1083
1083
|
const copyFromSelectBox = disposables.add(this.instantiationService.createInstance(SelectBox, [], 0, this.contextViewService, defaultSelectBoxStyles, {
|
|
1084
1084
|
useCustomDrawn: true,
|
|
1085
|
-
ariaLabel: ( localize(
|
|
1085
|
+
ariaLabel: ( localize(12934, "Copy profile from")),
|
|
1086
1086
|
}));
|
|
1087
1087
|
copyFromSelectBox.render(append(copyFromContainer, $('.profile-select-container')));
|
|
1088
1088
|
const render = (profileElement, copyFromOptions) => {
|
|
@@ -1124,21 +1124,20 @@ let CopyFromProfileRenderer = class CopyFromProfileRenderer extends ProfilePrope
|
|
|
1124
1124
|
this.templates = templates;
|
|
1125
1125
|
}
|
|
1126
1126
|
getCopyFromOptions(profileElement) {
|
|
1127
|
-
const separator = { text: '\u2500\u2500\u2500\u2500\u2500\u2500', isDisabled: true };
|
|
1128
1127
|
const copyFromOptions = [];
|
|
1129
|
-
copyFromOptions.push({ text: ( localize(
|
|
1128
|
+
copyFromOptions.push({ text: ( localize(12935, "None")) });
|
|
1130
1129
|
for (const [copyFromTemplate, name] of profileElement.copyFromTemplates) {
|
|
1131
1130
|
if (!( this.templates.some(template => this.uriIdentityService.extUri.isEqual(( URI.parse(template.url)), copyFromTemplate)))) {
|
|
1132
1131
|
copyFromOptions.push({ text: `${name} (${basename(copyFromTemplate)})`, id: ( copyFromTemplate.toString()), source: copyFromTemplate });
|
|
1133
1132
|
}
|
|
1134
1133
|
}
|
|
1135
1134
|
if (this.templates.length) {
|
|
1136
|
-
copyFromOptions.push({ ...
|
|
1135
|
+
copyFromOptions.push({ ...SeparatorSelectOption, decoratorRight: ( localize(12936, "Profile Templates")) });
|
|
1137
1136
|
for (const template of this.templates) {
|
|
1138
1137
|
copyFromOptions.push({ text: template.name, id: template.url, source: ( URI.parse(template.url)) });
|
|
1139
1138
|
}
|
|
1140
1139
|
}
|
|
1141
|
-
copyFromOptions.push({ ...
|
|
1140
|
+
copyFromOptions.push({ ...SeparatorSelectOption, decoratorRight: ( localize(12937, "Existing Profiles")) });
|
|
1142
1141
|
for (const profile of this.userDataProfilesService.profiles) {
|
|
1143
1142
|
if (!profile.isTransient) {
|
|
1144
1143
|
copyFromOptions.push({ text: profile.name, id: profile.id, source: profile });
|
|
@@ -1170,11 +1169,11 @@ let ContentsProfileRenderer = class ContentsProfileRenderer extends ProfilePrope
|
|
|
1170
1169
|
const elementDisposables = disposables.add(( new DisposableStore()));
|
|
1171
1170
|
let profileElement;
|
|
1172
1171
|
const configureRowContainer = append(parent, $('.profile-row-container'));
|
|
1173
|
-
append(configureRowContainer, $('.profile-label-element', undefined, ( localize(
|
|
1172
|
+
append(configureRowContainer, $('.profile-label-element', undefined, ( localize(12938, "Contents"))));
|
|
1174
1173
|
const contentsDescriptionElement = append(configureRowContainer, $('.profile-description-element'));
|
|
1175
1174
|
const contentsTreeHeader = append(configureRowContainer, $('.profile-content-tree-header'));
|
|
1176
|
-
const optionsLabel = $('.options-header', undefined, $('span', undefined, ( localize(
|
|
1177
|
-
append(contentsTreeHeader, $(''), $('', undefined, ( localize(
|
|
1175
|
+
const optionsLabel = $('.options-header', undefined, $('span', undefined, ( localize(12939, "Source"))));
|
|
1176
|
+
append(contentsTreeHeader, $(''), $('', undefined, ( localize(12938, "Contents"))), optionsLabel, $(''));
|
|
1178
1177
|
const delegate = ( new ProfileContentTreeElementDelegate());
|
|
1179
1178
|
const profilesContentTree = this.profilesContentTree = disposables.add(this.instantiationService.createInstance((WorkbenchAsyncDataTree), 'ProfileEditor-ContentsTree', append(configureRowContainer, $('.profile-content-tree.file-icon-themable-tree.show-file-icons')), delegate, [
|
|
1180
1179
|
this.instantiationService.createInstance(ExistingProfileResourceTreeRenderer),
|
|
@@ -1246,27 +1245,27 @@ let ContentsProfileRenderer = class ContentsProfileRenderer extends ProfilePrope
|
|
|
1246
1245
|
clearNode(contentsDescriptionElement);
|
|
1247
1246
|
const markdown = ( new MarkdownString());
|
|
1248
1247
|
if (element.root instanceof UserDataProfileElement && element.root.profile.isDefault) {
|
|
1249
|
-
markdown.appendMarkdown(( localize(
|
|
1248
|
+
markdown.appendMarkdown(( localize(12940, "Browse contents of this profile\n")));
|
|
1250
1249
|
}
|
|
1251
1250
|
else {
|
|
1252
|
-
markdown.appendMarkdown(( localize(
|
|
1251
|
+
markdown.appendMarkdown(( localize(12941, "Configure source of contents for this profile\n")));
|
|
1253
1252
|
if (element.root instanceof NewProfileElement) {
|
|
1254
1253
|
const copyFromName = element.root.getCopyFromName();
|
|
1255
1254
|
const optionName = copyFromName === this.userDataProfilesService.defaultProfile.name
|
|
1256
|
-
? ( localize(
|
|
1255
|
+
? ( localize(12942, "{0} (Copy)", copyFromName))
|
|
1257
1256
|
: copyFromName;
|
|
1258
1257
|
if (optionName) {
|
|
1259
1258
|
markdown
|
|
1260
1259
|
.appendMarkdown(( localize(
|
|
1261
|
-
|
|
1260
|
+
12943,
|
|
1262
1261
|
"- *{0}:* Copy contents from the {1} profile\n",
|
|
1263
1262
|
optionName,
|
|
1264
1263
|
copyFromName
|
|
1265
1264
|
)));
|
|
1266
1265
|
}
|
|
1267
1266
|
markdown
|
|
1268
|
-
.appendMarkdown(( localize(
|
|
1269
|
-
.appendMarkdown(( localize(
|
|
1267
|
+
.appendMarkdown(( localize(12944, "- *Default:* Use contents from the Default profile\n")))
|
|
1268
|
+
.appendMarkdown(( localize(12945, "- *None:* Create empty contents\n")));
|
|
1270
1269
|
}
|
|
1271
1270
|
}
|
|
1272
1271
|
append(contentsDescriptionElement, elementDisposables.add(renderMarkdown(markdown)).element);
|
|
@@ -1327,7 +1326,7 @@ let ProfileWorkspacesRenderer = class ProfileWorkspacesRenderer extends ProfileP
|
|
|
1327
1326
|
const elementDisposables = disposables.add(( new DisposableStore()));
|
|
1328
1327
|
let profileElement;
|
|
1329
1328
|
const profileWorkspacesRowContainer = append(parent, $('.profile-row-container'));
|
|
1330
|
-
append(profileWorkspacesRowContainer, $('.profile-label-element', undefined, ( localize(
|
|
1329
|
+
append(profileWorkspacesRowContainer, $('.profile-label-element', undefined, ( localize(12946, "Folders & Workspaces"))));
|
|
1331
1330
|
const profileWorkspacesDescriptionElement = append(profileWorkspacesRowContainer, $('.profile-description-element'));
|
|
1332
1331
|
const workspacesTableContainer = append(profileWorkspacesRowContainer, $('.profile-associations-table'));
|
|
1333
1332
|
const table = this.workspacesTable = disposables.add(this.instantiationService.createInstance((WorkbenchTable), 'ProfileEditor-AssociationsTable', workspacesTableContainer, new class {
|
|
@@ -1346,14 +1345,14 @@ let ProfileWorkspacesRenderer = class ProfileWorkspacesRenderer extends ProfileP
|
|
|
1346
1345
|
project(row) { return row; },
|
|
1347
1346
|
},
|
|
1348
1347
|
{
|
|
1349
|
-
label: ( localize(
|
|
1348
|
+
label: ( localize(12947, "Host")),
|
|
1350
1349
|
tooltip: '',
|
|
1351
1350
|
weight: 2,
|
|
1352
1351
|
templateId: WorkspaceUriHostColumnRenderer.TEMPLATE_ID,
|
|
1353
1352
|
project(row) { return row; },
|
|
1354
1353
|
},
|
|
1355
1354
|
{
|
|
1356
|
-
label: ( localize(
|
|
1355
|
+
label: ( localize(12948, "Path")),
|
|
1357
1356
|
tooltip: '',
|
|
1358
1357
|
weight: 7,
|
|
1359
1358
|
templateId: WorkspaceUriPathColumnRenderer.TEMPLATE_ID,
|
|
@@ -1382,16 +1381,16 @@ let ProfileWorkspacesRenderer = class ProfileWorkspacesRenderer extends ProfileP
|
|
|
1382
1381
|
getAriaLabel: (item) => {
|
|
1383
1382
|
const hostLabel = getHostLabel(this.labelService, item.workspace);
|
|
1384
1383
|
if (hostLabel === undefined || hostLabel.length === 0) {
|
|
1385
|
-
return localize(
|
|
1384
|
+
return localize(12949, "{0}, trusted", this.labelService.getUriLabel(item.workspace));
|
|
1386
1385
|
}
|
|
1387
1386
|
return localize(
|
|
1388
|
-
|
|
1387
|
+
12950,
|
|
1389
1388
|
"{0} on {1}, trusted",
|
|
1390
1389
|
this.labelService.getUriLabel(item.workspace),
|
|
1391
1390
|
hostLabel
|
|
1392
1391
|
);
|
|
1393
1392
|
},
|
|
1394
|
-
getWidgetAriaLabel: () => ( localize(
|
|
1393
|
+
getWidgetAriaLabel: () => ( localize(12951, "Trusted Folders & Workspaces"))
|
|
1395
1394
|
},
|
|
1396
1395
|
identityProvider: {
|
|
1397
1396
|
getId(element) {
|
|
@@ -1408,15 +1407,15 @@ let ProfileWorkspacesRenderer = class ProfileWorkspacesRenderer extends ProfileP
|
|
|
1408
1407
|
})));
|
|
1409
1408
|
const addButtonBarElement = append(profileWorkspacesRowContainer, $('.profile-workspaces-button-container'));
|
|
1410
1409
|
const buttonBar = disposables.add(( new ButtonBar(addButtonBarElement)));
|
|
1411
|
-
const addButton = this._register(buttonBar.addButton({ title: ( localize(
|
|
1412
|
-
addButton.label = ( localize(
|
|
1410
|
+
const addButton = this._register(buttonBar.addButton({ title: ( localize(12952, "Add Folder")), ...defaultButtonStyles }));
|
|
1411
|
+
addButton.label = ( localize(12952, "Add Folder"));
|
|
1413
1412
|
disposables.add(addButton.onDidClick(async () => {
|
|
1414
1413
|
const uris = await this.fileDialogService.showOpenDialog({
|
|
1415
1414
|
canSelectFiles: false,
|
|
1416
1415
|
canSelectFolders: true,
|
|
1417
1416
|
canSelectMany: true,
|
|
1418
|
-
openLabel: ( localize(
|
|
1419
|
-
title: ( localize(
|
|
1417
|
+
openLabel: ( localize(12953, "Add Folder")),
|
|
1418
|
+
title: ( localize(12954, "Select Folders To Add"))
|
|
1420
1419
|
});
|
|
1421
1420
|
if (uris) {
|
|
1422
1421
|
if (profileElement?.root instanceof UserDataProfileElement) {
|
|
@@ -1431,7 +1430,7 @@ let ProfileWorkspacesRenderer = class ProfileWorkspacesRenderer extends ProfileP
|
|
|
1431
1430
|
}));
|
|
1432
1431
|
const updateTable = () => {
|
|
1433
1432
|
if (profileElement?.root instanceof UserDataProfileElement && profileElement.root.workspaces?.length) {
|
|
1434
|
-
profileWorkspacesDescriptionElement.textContent = ( localize(
|
|
1433
|
+
profileWorkspacesDescriptionElement.textContent = ( localize(12955, "Following folders and workspaces are using this profile"));
|
|
1435
1434
|
workspacesTableContainer.classList.remove('hide');
|
|
1436
1435
|
table.splice(0, table.length, ( profileElement.root.workspaces
|
|
1437
1436
|
.map(workspace => ({ workspace, profileElement: profileElement.root })))
|
|
@@ -1439,7 +1438,7 @@ let ProfileWorkspacesRenderer = class ProfileWorkspacesRenderer extends ProfileP
|
|
|
1439
1438
|
this.layout();
|
|
1440
1439
|
}
|
|
1441
1440
|
else {
|
|
1442
|
-
profileWorkspacesDescriptionElement.textContent = ( localize(
|
|
1441
|
+
profileWorkspacesDescriptionElement.textContent = ( localize(12956, "No folders or workspaces are using this profile"));
|
|
1443
1442
|
workspacesTableContainer.classList.add('hide');
|
|
1444
1443
|
}
|
|
1445
1444
|
};
|
|
@@ -1513,13 +1512,13 @@ let ExistingProfileResourceTreeRenderer = class ExistingProfileResourceTreeRende
|
|
|
1513
1512
|
}
|
|
1514
1513
|
const updateRadioItems = () => {
|
|
1515
1514
|
templateData.radio.setItems([{
|
|
1516
|
-
text: ( localize(
|
|
1517
|
-
tooltip: ( localize(
|
|
1515
|
+
text: ( localize(12957, "Default")),
|
|
1516
|
+
tooltip: ( localize(12958, "Use {0} from the Default profile", resourceTypeTitle)),
|
|
1518
1517
|
isActive: root.getFlag(element.resourceType)
|
|
1519
1518
|
},
|
|
1520
1519
|
{
|
|
1521
1520
|
text: root.name,
|
|
1522
|
-
tooltip: ( localize(
|
|
1521
|
+
tooltip: ( localize(12959, "Use {0} from the {1} profile", resourceTypeTitle, root.name)),
|
|
1523
1522
|
isActive: !root.getFlag(element.resourceType)
|
|
1524
1523
|
}]);
|
|
1525
1524
|
};
|
|
@@ -1587,22 +1586,22 @@ let NewProfileResourceTreeRenderer = class NewProfileResourceTreeRenderer extend
|
|
|
1587
1586
|
templateData.label.textContent = resourceTypeTitle;
|
|
1588
1587
|
const renderRadioItems = () => {
|
|
1589
1588
|
const options = [{
|
|
1590
|
-
text: ( localize(
|
|
1591
|
-
tooltip: ( localize(
|
|
1589
|
+
text: ( localize(12957, "Default")),
|
|
1590
|
+
tooltip: ( localize(12958, "Use {0} from the Default profile", resourceTypeTitle)),
|
|
1592
1591
|
},
|
|
1593
1592
|
{
|
|
1594
|
-
text: ( localize(
|
|
1595
|
-
tooltip: ( localize(
|
|
1593
|
+
text: ( localize(12960, "None")),
|
|
1594
|
+
tooltip: ( localize(12961, "Create empty {0}", resourceTypeTitle))
|
|
1596
1595
|
}];
|
|
1597
1596
|
const copyFromName = root.getCopyFromName();
|
|
1598
1597
|
const name = copyFromName === this.userDataProfilesService.defaultProfile.name
|
|
1599
|
-
? ( localize(
|
|
1598
|
+
? ( localize(12942, "{0} (Copy)", copyFromName))
|
|
1600
1599
|
: copyFromName;
|
|
1601
1600
|
if (root.copyFrom && name) {
|
|
1602
1601
|
templateData.radio.setItems([
|
|
1603
1602
|
{
|
|
1604
1603
|
text: name,
|
|
1605
|
-
tooltip: name ? ( localize(
|
|
1604
|
+
tooltip: name ? ( localize(12962, "Copy {0} from the {1} profile", resourceTypeTitle, name)) : ( localize(12963, "Copy")),
|
|
1606
1605
|
},
|
|
1607
1606
|
...options
|
|
1608
1607
|
]);
|
|
@@ -1823,7 +1822,7 @@ let ChangeProfileAction = class ChangeProfileAction {
|
|
|
1823
1822
|
this.label = 'Change Profile';
|
|
1824
1823
|
this.class = ThemeIcon.asClassName(editIcon);
|
|
1825
1824
|
this.enabled = true;
|
|
1826
|
-
this.tooltip = ( localize(
|
|
1825
|
+
this.tooltip = ( localize(12964, "Change Profile"));
|
|
1827
1826
|
this.checked = false;
|
|
1828
1827
|
}
|
|
1829
1828
|
run() { }
|
|
@@ -1897,7 +1896,7 @@ let WorkspaceUriActionsColumnRenderer = class WorkspaceUriActionsColumnRenderer
|
|
|
1897
1896
|
class: ThemeIcon.asClassName(Codicon.window),
|
|
1898
1897
|
enabled: !this.uriIdentityService.extUri.isEqual(item.workspace, item.profileElement.getCurrentWorkspace()),
|
|
1899
1898
|
id: 'openWorkspace',
|
|
1900
|
-
tooltip: ( localize(
|
|
1899
|
+
tooltip: ( localize(12965, "Open in New Window")),
|
|
1901
1900
|
run: () => item.profileElement.openWorkspace(item.workspace)
|
|
1902
1901
|
};
|
|
1903
1902
|
}
|
|
@@ -1907,7 +1906,7 @@ let WorkspaceUriActionsColumnRenderer = class WorkspaceUriActionsColumnRenderer
|
|
|
1907
1906
|
class: ThemeIcon.asClassName(removeIcon),
|
|
1908
1907
|
enabled: this.userDataProfileManagementService.getDefaultProfileToUse().id !== item.profileElement.profile.id,
|
|
1909
1908
|
id: 'deleteTrustedUri',
|
|
1910
|
-
tooltip: ( localize(
|
|
1909
|
+
tooltip: ( localize(12966, "Delete Path")),
|
|
1911
1910
|
run: () => item.profileElement.updateWorkspaces([], [item.workspace])
|
|
1912
1911
|
};
|
|
1913
1912
|
}
|
|
@@ -1922,7 +1921,7 @@ WorkspaceUriActionsColumnRenderer = WorkspaceUriActionsColumnRenderer_1 = ( __de
|
|
|
1922
1921
|
( __param(3, IUriIdentityService))
|
|
1923
1922
|
], WorkspaceUriActionsColumnRenderer));
|
|
1924
1923
|
function getHostLabel(labelService, workspaceUri) {
|
|
1925
|
-
return workspaceUri.authority ? labelService.getHostLabel(workspaceUri.scheme, workspaceUri.authority) : ( localize(
|
|
1924
|
+
return workspaceUri.authority ? labelService.getHostLabel(workspaceUri.scheme, workspaceUri.authority) : ( localize(12967, "Local"));
|
|
1926
1925
|
}
|
|
1927
1926
|
let UserDataProfilesEditorInput = class UserDataProfilesEditorInput extends EditorInput {
|
|
1928
1927
|
static { UserDataProfilesEditorInput_1 = this; }
|
|
@@ -1943,7 +1942,7 @@ let UserDataProfilesEditorInput = class UserDataProfilesEditorInput extends Edit
|
|
|
1943
1942
|
this._register(this.model.onDidChange(e => this.dirty = ( this.model.profiles.some(profile => profile instanceof NewProfileElement))));
|
|
1944
1943
|
}
|
|
1945
1944
|
get typeId() { return UserDataProfilesEditorInput_1.ID; }
|
|
1946
|
-
getName() { return localize(
|
|
1945
|
+
getName() { return localize(12968, "Profiles"); }
|
|
1947
1946
|
getIcon() { return defaultUserDataProfileIcon; }
|
|
1948
1947
|
async resolve() {
|
|
1949
1948
|
await this.model.resolve();
|
package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfilesEditorModel.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/pl
|
|
|
5
5
|
import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
6
6
|
import { IUserDataProfile, ProfileResourceType, ProfileResourceTypeFlags, UseDefaultProfileFlags } from "@codingame/monaco-vscode-api/vscode/vs/platform/userDataProfile/common/userDataProfile";
|
|
7
7
|
import { IUserDataProfilesService } from "@codingame/monaco-vscode-api/vscode/vs/platform/userDataProfile/common/userDataProfile.service";
|
|
8
|
-
import { IProfileResourceChildTreeItem, IProfileTemplateInfo, IUserDataProfileTemplate } from "@codingame/monaco-vscode-
|
|
8
|
+
import { IProfileResourceChildTreeItem, IProfileTemplateInfo, IUserDataProfileTemplate } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/common/userDataProfile";
|
|
9
9
|
import { IUserDataProfileImportExportService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service";
|
|
10
10
|
import { IUserDataProfileManagementService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service";
|
|
11
11
|
import { IUserDataProfileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service";
|