@codingame/monaco-vscode-user-data-profile-service-override 17.2.0 → 18.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 (17) hide show
  1. package/package.json +15 -14
  2. package/vscode/src/vs/platform/userDataProfile/browser/userDataProfile.js +1 -1
  3. package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfile.js +24 -24
  4. package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfileActions.js +5 -5
  5. package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfilesEditor.d.ts +1 -1
  6. package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfilesEditor.js +91 -91
  7. package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfilesEditorModel.d.ts +3 -2
  8. package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfilesEditorModel.js +53 -42
  9. package/vscode/src/vs/workbench/services/userDataProfile/browser/extensionsResource.js +6 -6
  10. package/vscode/src/vs/workbench/services/userDataProfile/browser/globalStateResource.js +1 -1
  11. package/vscode/src/vs/workbench/services/userDataProfile/browser/keybindingsResource.js +1 -1
  12. package/vscode/src/vs/workbench/services/userDataProfile/browser/settingsResource.js +1 -1
  13. package/vscode/src/vs/workbench/services/userDataProfile/browser/snippetsResource.js +2 -2
  14. package/vscode/src/vs/workbench/services/userDataProfile/browser/tasksResource.js +1 -1
  15. package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileImportExportService.js +41 -41
  16. package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileManagement.js +8 -8
  17. package/vscode/src/vs/workbench/services/userDataSync/browser/userDataSyncInit.js +1 -1
@@ -43,7 +43,7 @@ let UserDataProfileManagementService = class UserDataProfileManagementService ex
43
43
  const profileToUse = this.getProfileToUseForCurrentWorkspace();
44
44
  this.switchProfile(profileToUse);
45
45
  this.changeCurrentProfile(profileToUse, ( localize(
46
- 12844,
46
+ 13128,
47
47
  "The current profile has been removed. Please reload to switch back to default profile"
48
48
  )));
49
49
  return;
@@ -54,13 +54,13 @@ let UserDataProfileManagementService = class UserDataProfileManagementService ex
54
54
  if (profileToUse?.id !== updatedCurrentProfile.id) {
55
55
  this.switchProfile(profileToUse);
56
56
  this.changeCurrentProfile(profileToUse, ( localize(
57
- 12845,
57
+ 13129,
58
58
  "The current workspace has been removed from the current profile. Please reload to switch back to the updated profile"
59
59
  )));
60
60
  }
61
61
  else {
62
62
  this.changeCurrentProfile(updatedCurrentProfile, ( localize(
63
- 12846,
63
+ 13130,
64
64
  "The current profile has been updated. Please reload to switch back to the updated profile"
65
65
  )));
66
66
  }
@@ -120,7 +120,7 @@ let UserDataProfileManagementService = class UserDataProfileManagementService ex
120
120
  throw ( new Error(`Profile ${profile.name} does not exist`));
121
121
  }
122
122
  if (profile.isDefault) {
123
- throw ( new Error(( localize(12847, "Cannot rename the default profile"))));
123
+ throw ( new Error(( localize(13131, "Cannot rename the default profile"))));
124
124
  }
125
125
  const updatedProfile = await this.userDataProfilesService.updateProfile(profile, updateOptions);
126
126
  return updatedProfile;
@@ -130,7 +130,7 @@ let UserDataProfileManagementService = class UserDataProfileManagementService ex
130
130
  throw ( new Error(`Profile ${profile.name} does not exist`));
131
131
  }
132
132
  if (profile.isDefault) {
133
- throw ( new Error(( localize(12848, "Cannot delete the default profile"))));
133
+ throw ( new Error(( localize(13132, "Cannot delete the default profile"))));
134
134
  }
135
135
  await this.userDataProfilesService.removeProfile(profile);
136
136
  }
@@ -173,7 +173,7 @@ let UserDataProfileManagementService = class UserDataProfileManagementService ex
173
173
  const shouldRestartExtensionHosts = this.userDataProfileService.currentProfile.id !== profile.id || !equals(this.userDataProfileService.currentProfile.useDefaultFlags, profile.useDefaultFlags);
174
174
  if (shouldRestartExtensionHosts) {
175
175
  if (!isRemoteWindow) {
176
- if (!(await this.extensionService.stopExtensionHosts(( localize(12849, "Switching to a profile"))))) {
176
+ if (!(await this.extensionService.stopExtensionHosts(( localize(13133, "Switching to a profile"))))) {
177
177
  if (( this.userDataProfilesService.profiles.some(p => p.id === this.userDataProfileService.currentProfile.id))) {
178
178
  await this.userDataProfilesService.setProfileForWorkspace(toWorkspaceIdentifier(this.workspaceContextService.getWorkspace()), this.userDataProfileService.currentProfile);
179
179
  }
@@ -185,8 +185,8 @@ let UserDataProfileManagementService = class UserDataProfileManagementService ex
185
185
  if (shouldRestartExtensionHosts) {
186
186
  if (isRemoteWindow) {
187
187
  const { confirmed } = await this.dialogService.confirm({
188
- message: reloadMessage ?? ( localize(12850, "Switching a profile requires reloading VS Code.")),
189
- primaryButton: ( localize(12851, "&&Reload")),
188
+ message: reloadMessage ?? ( localize(13134, "Switching a profile requires reloading VS Code.")),
189
+ primaryButton: ( localize(13135, "&&Reload")),
190
190
  });
191
191
  if (confirmed) {
192
192
  await this.hostService.reload();
@@ -9,7 +9,7 @@ import { SettingsInitializer } from '@codingame/monaco-vscode-a022e9a8-b522-5ea2
9
9
  import { SnippetsInitializer } from '@codingame/monaco-vscode-a022e9a8-b522-5ea2-97c7-f3dda2b0b597-common/vscode/vs/platform/userDataSync/common/snippetsSync';
10
10
  import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
11
11
  import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
12
- import { UserDataSyncStoreClient } from '@codingame/monaco-vscode-a2719803-af40-5ae9-a29f-8a2231c33056-common/vscode/vs/platform/userDataSync/common/userDataSyncStoreService';
12
+ import { UserDataSyncStoreClient } from '@codingame/monaco-vscode-249dc928-1da3-51c1-82d0-45e0ba9d08a1-common/vscode/vs/platform/userDataSync/common/userDataSyncStoreService';
13
13
  import { IProductService } from '@codingame/monaco-vscode-api/vscode/vs/platform/product/common/productService.service';
14
14
  import { IRequestService } from '@codingame/monaco-vscode-api/vscode/vs/platform/request/common/request.service';
15
15
  import { SyncResource } from '@codingame/monaco-vscode-api/vscode/vs/platform/userDataSync/common/userDataSync';