@codingame/monaco-vscode-user-data-profile-service-override 12.0.1 → 13.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/index.d.ts +1 -1
  2. package/index.js +20 -20
  3. package/package.json +14 -21
  4. package/vscode/src/vs/base/browser/ui/radio/radio.css.js +1 -1
  5. package/vscode/src/vs/base/browser/ui/radio/radio.d.ts +4 -4
  6. package/vscode/src/vs/base/browser/ui/radio/radio.js +6 -6
  7. package/vscode/src/vs/platform/userDataProfile/browser/userDataProfile.d.ts +6 -6
  8. package/vscode/src/vs/platform/userDataProfile/browser/userDataProfile.js +8 -8
  9. package/vscode/src/vs/platform/userDataProfile/common/userDataProfileStorageService.d.ts +10 -10
  10. package/vscode/src/vs/platform/userDataProfile/common/userDataProfileStorageService.js +7 -7
  11. package/vscode/src/vs/workbench/contrib/userDataProfile/browser/media/userDataProfilesEditor.css.js +1 -1
  12. package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfile.contribution.js +1 -1
  13. package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfile.d.ts +16 -16
  14. package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfile.js +50 -50
  15. package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfileActions.js +8 -8
  16. package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfilesEditor.d.ts +16 -16
  17. package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfilesEditor.js +141 -141
  18. package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfilesEditorModel.d.ts +28 -28
  19. package/vscode/src/vs/workbench/contrib/userDataProfile/browser/userDataProfilesEditorModel.js +64 -64
  20. package/vscode/src/vs/workbench/contrib/userDataProfile/common/userDataProfile.d.ts +3 -3
  21. package/vscode/src/vs/workbench/services/userData/browser/userDataInit.d.ts +2 -2
  22. package/vscode/src/vs/workbench/services/userData/browser/userDataInit.js +9 -9
  23. package/vscode/src/vs/workbench/services/userDataProfile/browser/extensionsResource.d.ts +11 -11
  24. package/vscode/src/vs/workbench/services/userDataProfile/browser/extensionsResource.js +22 -22
  25. package/vscode/src/vs/workbench/services/userDataProfile/browser/globalStateResource.d.ts +9 -9
  26. package/vscode/src/vs/workbench/services/userDataProfile/browser/globalStateResource.js +11 -11
  27. package/vscode/src/vs/workbench/services/userDataProfile/browser/keybindingsResource.d.ts +8 -8
  28. package/vscode/src/vs/workbench/services/userDataProfile/browser/keybindingsResource.js +13 -13
  29. package/vscode/src/vs/workbench/services/userDataProfile/browser/media/userDataProfileView.css.js +1 -1
  30. package/vscode/src/vs/workbench/services/userDataProfile/browser/settingsResource.d.ts +8 -8
  31. package/vscode/src/vs/workbench/services/userDataProfile/browser/settingsResource.js +15 -15
  32. package/vscode/src/vs/workbench/services/userDataProfile/browser/snippetsResource.d.ts +8 -8
  33. package/vscode/src/vs/workbench/services/userDataProfile/browser/snippetsResource.js +13 -13
  34. package/vscode/src/vs/workbench/services/userDataProfile/browser/tasksResource.d.ts +7 -7
  35. package/vscode/src/vs/workbench/services/userDataProfile/browser/tasksResource.js +12 -12
  36. package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileImportExportService.d.ts +18 -18
  37. package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileImportExportService.js +70 -70
  38. package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileInit.d.ts +8 -8
  39. package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileInit.js +15 -15
  40. package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileManagement.d.ts +16 -16
  41. package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileManagement.js +31 -31
  42. package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileStorageService.d.ts +7 -7
  43. package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileStorageService.js +9 -9
  44. package/vscode/src/vs/workbench/services/userDataSync/browser/userDataSyncInit.d.ts +11 -11
  45. package/vscode/src/vs/workbench/services/userDataSync/browser/userDataSyncInit.js +26 -26
  46. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSyncUtil.d.ts +6 -6
  47. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSyncUtil.js +7 -7
@@ -1,19 +1,19 @@
1
1
 
2
- import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
2
+ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
3
  import './media/userDataProfileView.css.js';
4
- import { localize } from 'vscode/vscode/vs/nls';
5
- import 'vscode/vscode/vs/platform/instantiation/common/extensions';
6
- import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
7
- import { Emitter } from 'vscode/vscode/vs/base/common/event';
4
+ import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
5
+ import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
6
+ import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
7
+ import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
8
8
  import { PROFILES_CATEGORY, PROFILE_URL_AUTHORITY, toUserDataProfileUri, isProfileURL, PROFILE_URL_AUTHORITY_PREFIX, PROFILE_FILTER, PROFILE_EXTENSION } from '@codingame/monaco-vscode-e72c94ca-257a-5b75-8b68-5a5fa3c18255-common/vscode/vs/workbench/services/userDataProfile/common/userDataProfile';
9
- import { IUserDataProfileService, IUserDataProfileManagementService } from 'vscode/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service';
10
- import { Disposable, toDisposable, DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
11
- import { IDialogService, IFileDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs.service';
12
- import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
13
- import { ITextFileService } from 'vscode/vscode/vs/workbench/services/textfile/common/textfiles.service';
14
- import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
15
- import { URI } from 'vscode/vscode/vs/base/common/uri';
16
- import { IUserDataProfilesService } from 'vscode/vscode/vs/platform/userDataProfile/common/userDataProfile.service';
9
+ import { IUserDataProfileService, IUserDataProfileManagementService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service';
10
+ import { Disposable, toDisposable, DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
11
+ import { IDialogService, IFileDialogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service';
12
+ import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
13
+ import { ITextFileService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/textfile/common/textfiles.service';
14
+ import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
15
+ import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
16
+ import { IUserDataProfilesService } from '@codingame/monaco-vscode-api/vscode/vs/platform/userDataProfile/common/userDataProfile.service';
17
17
  import { SettingsResource, SettingsResourceTreeItem } from './settingsResource.js';
18
18
  import { KeybindingsResource, KeybindingsResourceTreeItem } from './keybindingsResource.js';
19
19
  import { SnippetsResource, SnippetsResourceTreeItem } from './snippetsResource.js';
@@ -21,23 +21,23 @@ import { TasksResource, TasksResourceTreeItem } from './tasksResource.js';
21
21
  import { ExtensionsResource, ExtensionsResourceTreeItem, ExtensionsResourceExportTreeItem } from './extensionsResource.js';
22
22
  import { GlobalStateResource, GlobalStateResourceTreeItem, GlobalStateResourceExportTreeItem } from './globalStateResource.js';
23
23
  import { InMemoryFileSystemProvider } from '@codingame/monaco-vscode-2f06fe84-148e-5e6b-a7ca-c7989c5f128a-common/vscode/vs/platform/files/common/inMemoryFilesystemProvider';
24
- import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener.service';
25
- import { ProgressLocation } from 'vscode/vscode/vs/platform/progress/common/progress';
26
- import { IProgressService } from 'vscode/vscode/vs/platform/progress/common/progress.service';
27
- import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions.service';
28
- import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput.service';
29
- import { VSBuffer } from 'vscode/vscode/vs/base/common/buffer';
30
- import { joinPath } from 'vscode/vscode/vs/base/common/resources';
31
- import { escapeRegExpCharacters } from 'vscode/vscode/vs/base/common/strings';
32
- import { Schemas } from 'vscode/vscode/vs/base/common/network';
33
- import { CancellationToken } from 'vscode/vscode/vs/base/common/cancellation';
34
- import Severity from 'vscode/vscode/vs/base/common/severity';
35
- import { IClipboardService } from 'vscode/vscode/vs/platform/clipboard/common/clipboardService.service';
36
- import { asText } from 'vscode/vscode/vs/platform/request/common/request';
37
- import { IRequestService } from 'vscode/vscode/vs/platform/request/common/request.service';
38
- import { IProductService } from 'vscode/vscode/vs/platform/product/common/productService.service';
39
- import { isUndefined } from 'vscode/vscode/vs/base/common/types';
40
- import { createCancelablePromise } from 'vscode/vscode/vs/base/common/async';
24
+ import { IOpenerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service';
25
+ import { ProgressLocation } from '@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress';
26
+ import { IProgressService } from '@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress.service';
27
+ import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service';
28
+ import { IQuickInputService } from '@codingame/monaco-vscode-api/vscode/vs/platform/quickinput/common/quickInput.service';
29
+ import { VSBuffer } from '@codingame/monaco-vscode-api/vscode/vs/base/common/buffer';
30
+ import { joinPath } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
31
+ import { escapeRegExpCharacters } from '@codingame/monaco-vscode-api/vscode/vs/base/common/strings';
32
+ import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
33
+ import { CancellationToken } from '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
34
+ import Severity from '@codingame/monaco-vscode-api/vscode/vs/base/common/severity';
35
+ import { IClipboardService } from '@codingame/monaco-vscode-api/vscode/vs/platform/clipboard/common/clipboardService.service';
36
+ import { asText } from '@codingame/monaco-vscode-api/vscode/vs/platform/request/common/request';
37
+ import { IRequestService } from '@codingame/monaco-vscode-api/vscode/vs/platform/request/common/request.service';
38
+ import { IProductService } from '@codingame/monaco-vscode-api/vscode/vs/platform/product/common/productService.service';
39
+ import { isUndefined } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
40
+ import { createCancelablePromise } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
41
41
 
42
42
  function isUserDataProfileTemplate(thing) {
43
43
  const candidate = thing;
@@ -88,7 +88,7 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
88
88
  sticky: true,
89
89
  cancellable: true,
90
90
  }, async (progress) => {
91
- const reportProgress = (message) => progress.report({ message: ( localize(11983, "Create Profile: {0}", message)) });
91
+ const reportProgress = (message) => progress.report({ message: ( localize(12001, "Create Profile: {0}", message)) });
92
92
  creationPromise = createCancelablePromise(async (token) => {
93
93
  const userDataProfilesExportState = disposables.add(this.instantiationService.createInstance(UserDataProfileExportState, from, { ...options?.resourceTypeFlags, extensions: false }));
94
94
  const profileTemplate = await userDataProfilesExportState.getProfileTemplate(options.name ?? from.name, options?.icon);
@@ -104,7 +104,7 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
104
104
  try {
105
105
  await creationPromise;
106
106
  if (profile && (options?.resourceTypeFlags?.extensions ?? true)) {
107
- reportProgress(( localize(11984, "Installing Extensions...")));
107
+ reportProgress(( localize(12002, "Installing Extensions...")));
108
108
  await this.instantiationService.createInstance(ExtensionsResource).copy(from, profile, false);
109
109
  }
110
110
  }
@@ -128,7 +128,7 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
128
128
  sticky: true,
129
129
  cancellable: true,
130
130
  }, async (progress) => {
131
- const reportProgress = (message) => progress.report({ message: ( localize(11983, "Create Profile: {0}", message)) });
131
+ const reportProgress = (message) => progress.report({ message: ( localize(12001, "Create Profile: {0}", message)) });
132
132
  creationPromise = createCancelablePromise(async (token) => {
133
133
  profile = await this.getProfileToImport({ ...profileTemplate, name: options.name ?? profileTemplate.name }, !!options.transient, options);
134
134
  if (!profile) {
@@ -153,42 +153,42 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
153
153
  }
154
154
  async applyProfileTemplate(profileTemplate, profile, options, reportProgress, token) {
155
155
  if (profileTemplate.settings && (options.resourceTypeFlags?.settings ?? true) && !profile.useDefaultFlags?.settings) {
156
- reportProgress(( localize(11985, "Creating Settings...")));
156
+ reportProgress(( localize(12003, "Creating Settings...")));
157
157
  await this.instantiationService.createInstance(SettingsResource).apply(profileTemplate.settings, profile);
158
158
  }
159
159
  if (token.isCancellationRequested) {
160
160
  return;
161
161
  }
162
162
  if (profileTemplate.keybindings && (options.resourceTypeFlags?.keybindings ?? true) && !profile.useDefaultFlags?.keybindings) {
163
- reportProgress(( localize(11986, "Creating Keyboard Shortcuts...")));
163
+ reportProgress(( localize(12004, "Creating Keyboard Shortcuts...")));
164
164
  await this.instantiationService.createInstance(KeybindingsResource).apply(profileTemplate.keybindings, profile);
165
165
  }
166
166
  if (token.isCancellationRequested) {
167
167
  return;
168
168
  }
169
169
  if (profileTemplate.tasks && (options.resourceTypeFlags?.tasks ?? true) && !profile.useDefaultFlags?.tasks) {
170
- reportProgress(( localize(11987, "Creating Tasks...")));
170
+ reportProgress(( localize(12005, "Creating Tasks...")));
171
171
  await this.instantiationService.createInstance(TasksResource).apply(profileTemplate.tasks, profile);
172
172
  }
173
173
  if (token.isCancellationRequested) {
174
174
  return;
175
175
  }
176
176
  if (profileTemplate.snippets && (options.resourceTypeFlags?.snippets ?? true) && !profile.useDefaultFlags?.snippets) {
177
- reportProgress(( localize(11988, "Creating Snippets...")));
177
+ reportProgress(( localize(12006, "Creating Snippets...")));
178
178
  await this.instantiationService.createInstance(SnippetsResource).apply(profileTemplate.snippets, profile);
179
179
  }
180
180
  if (token.isCancellationRequested) {
181
181
  return;
182
182
  }
183
183
  if (profileTemplate.globalState && !profile.useDefaultFlags?.globalState) {
184
- reportProgress(( localize(11989, "Applying UI State...")));
184
+ reportProgress(( localize(12007, "Applying UI State...")));
185
185
  await this.instantiationService.createInstance(GlobalStateResource).apply(profileTemplate.globalState, profile);
186
186
  }
187
187
  if (token.isCancellationRequested) {
188
188
  return;
189
189
  }
190
190
  if (profileTemplate.extensions && (options.resourceTypeFlags?.extensions ?? true) && !profile.useDefaultFlags?.extensions) {
191
- reportProgress(( localize(11984, "Installing Extensions...")));
191
+ reportProgress(( localize(12002, "Installing Extensions...")));
192
192
  await this.instantiationService.createInstance(ExtensionsResource).apply(profileTemplate.extensions, profile, reportProgress, token);
193
193
  }
194
194
  }
@@ -205,18 +205,18 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
205
205
  async createTroubleshootProfile() {
206
206
  const userDataProfilesExportState = this.instantiationService.createInstance(UserDataProfileExportState, this.userDataProfileService.currentProfile, undefined);
207
207
  try {
208
- const profileTemplate = await userDataProfilesExportState.getProfileTemplate(( localize(11990, "Troubleshoot Issue")), undefined);
208
+ const profileTemplate = await userDataProfilesExportState.getProfileTemplate(( localize(12008, "Troubleshoot Issue")), undefined);
209
209
  await this.progressService.withProgress({
210
210
  location: ProgressLocation.Notification,
211
211
  delay: 1000,
212
212
  sticky: true,
213
213
  }, async (progress) => {
214
- const reportProgress = (message) => progress.report({ message: ( localize(11991, "Setting up Troubleshoot Profile: {0}", message)) });
214
+ const reportProgress = (message) => progress.report({ message: ( localize(12009, "Setting up Troubleshoot Profile: {0}", message)) });
215
215
  const profile = await this.doCreateProfile(profileTemplate, true, false, { useDefaultFlags: this.userDataProfileService.currentProfile.useDefaultFlags }, reportProgress);
216
216
  if (profile) {
217
- reportProgress(( localize(11992, "Applying Extensions...")));
217
+ reportProgress(( localize(12010, "Applying Extensions...")));
218
218
  await this.instantiationService.createInstance(ExtensionsResource).copy(this.userDataProfileService.currentProfile, profile, true);
219
- reportProgress(( localize(11993, "Switching Profile...")));
219
+ reportProgress(( localize(12011, "Switching Profile...")));
220
220
  await this.userDataProfileManagementService.switchProfile(profile);
221
221
  }
222
222
  });
@@ -234,7 +234,7 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
234
234
  try {
235
235
  await this.progressService.withProgress({
236
236
  location,
237
- title: ( localize(11994, "{0}: Exporting...", PROFILES_CATEGORY.value)),
237
+ title: ( localize(12012, "{0}: Exporting...", PROFILES_CATEGORY.value)),
238
238
  }, async (progress) => {
239
239
  const id = await this.pickProfileContentHandler(profile.name);
240
240
  if (!id) {
@@ -248,17 +248,17 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
248
248
  if (!saveResult) {
249
249
  return;
250
250
  }
251
- const message = ( localize(11995, "Profile '{0}' was exported successfully.", profile.name));
251
+ const message = ( localize(12013, "Profile '{0}' was exported successfully.", profile.name));
252
252
  if (profileContentHandler.extensionId) {
253
253
  const buttons = [];
254
254
  const link = this.productService.webUrl ? `${this.productService.webUrl}/${PROFILE_URL_AUTHORITY}/${id}/${saveResult.id}` : ( toUserDataProfileUri(`/${id}/${saveResult.id}`, this.productService).toString());
255
255
  buttons.push({
256
- label: ( localize(11996, "&&Copy Link")),
256
+ label: ( localize(12014, "&&Copy Link")),
257
257
  run: () => this.clipboardService.writeText(link)
258
258
  });
259
259
  if (this.productService.webUrl) {
260
260
  buttons.push({
261
- label: ( localize(11997, "&&Open Link")),
261
+ label: ( localize(12015, "&&Open Link")),
262
262
  run: async () => {
263
263
  await this.openerService.open(link);
264
264
  }
@@ -266,7 +266,7 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
266
266
  }
267
267
  else {
268
268
  buttons.push({
269
- label: ( localize(11998, "&&Open in {0}", profileContentHandler.name)),
269
+ label: ( localize(12016, "&&Open in {0}", profileContentHandler.name)),
270
270
  run: async () => {
271
271
  await this.openerService.open(( saveResult.link.toString()));
272
272
  }
@@ -276,7 +276,7 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
276
276
  type: Severity.Info,
277
277
  message,
278
278
  buttons,
279
- cancelButton: ( localize(11999, "Close"))
279
+ cancelButton: ( localize(12017, "Close"))
280
280
  });
281
281
  }
282
282
  else {
@@ -298,10 +298,10 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
298
298
  profileTemplate = JSON.parse(profileContent);
299
299
  }
300
300
  catch (error) {
301
- throw ( new Error(( localize(12000, "This profile is not valid."))));
301
+ throw ( new Error(( localize(12018, "This profile is not valid."))));
302
302
  }
303
303
  if (!isUserDataProfileTemplate(profileTemplate)) {
304
- throw ( new Error(( localize(12000, "This profile is not valid."))));
304
+ throw ( new Error(( localize(12018, "This profile is not valid."))));
305
305
  }
306
306
  if (options?.name) {
307
307
  profileTemplate.name = options.name;
@@ -335,27 +335,27 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
335
335
  return undefined;
336
336
  }
337
337
  if (profileTemplate.settings && !profile.useDefaultFlags?.settings) {
338
- progress(( localize(12001, "Applying Settings...")));
338
+ progress(( localize(12019, "Applying Settings...")));
339
339
  await this.instantiationService.createInstance(SettingsResource).apply(profileTemplate.settings, profile);
340
340
  }
341
341
  if (profileTemplate.keybindings && !profile.useDefaultFlags?.keybindings) {
342
- progress(( localize(12002, "Applying Keyboard Shortcuts...")));
342
+ progress(( localize(12020, "Applying Keyboard Shortcuts...")));
343
343
  await this.instantiationService.createInstance(KeybindingsResource).apply(profileTemplate.keybindings, profile);
344
344
  }
345
345
  if (profileTemplate.tasks && !profile.useDefaultFlags?.tasks) {
346
- progress(( localize(12003, "Applying Tasks...")));
346
+ progress(( localize(12021, "Applying Tasks...")));
347
347
  await this.instantiationService.createInstance(TasksResource).apply(profileTemplate.tasks, profile);
348
348
  }
349
349
  if (profileTemplate.snippets && !profile.useDefaultFlags?.snippets) {
350
- progress(( localize(12004, "Applying Snippets...")));
350
+ progress(( localize(12022, "Applying Snippets...")));
351
351
  await this.instantiationService.createInstance(SnippetsResource).apply(profileTemplate.snippets, profile);
352
352
  }
353
353
  if (profileTemplate.globalState && !profile.useDefaultFlags?.globalState) {
354
- progress(( localize(12005, "Applying State...")));
354
+ progress(( localize(12023, "Applying State...")));
355
355
  await this.instantiationService.createInstance(GlobalStateResource).apply(profileTemplate.globalState, profile);
356
356
  }
357
357
  if (profileTemplate.extensions && extensions && !profile.useDefaultFlags?.extensions) {
358
- progress(( localize(11992, "Applying Extensions...")));
358
+ progress(( localize(12010, "Applying Extensions...")));
359
359
  await this.instantiationService.createInstance(ExtensionsResource).apply(profileTemplate.extensions, profile);
360
360
  }
361
361
  return profile;
@@ -406,7 +406,7 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
406
406
  options.push({ id, label: profileContentHandler.name, description: profileContentHandler.description });
407
407
  }
408
408
  const result = await this.quickInputService.pick(options.reverse(), {
409
- title: ( localize(12006, "Export '{0}' profile as...", name)),
409
+ title: ( localize(12024, "Export '{0}' profile as...", name)),
410
410
  hideInput: true
411
411
  });
412
412
  return result?.id;
@@ -421,11 +421,11 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
421
421
  const { confirmed } = await this.dialogService.confirm({
422
422
  type: Severity.Info,
423
423
  message: ( localize(
424
- 12007,
424
+ 12025,
425
425
  "Profile with name '{0}' already exists. Do you want to replace its contents?",
426
426
  profileName
427
427
  )),
428
- primaryButton: ( localize(12008, "&&Replace"))
428
+ primaryButton: ( localize(12026, "&&Replace"))
429
429
  });
430
430
  if (!confirmed) {
431
431
  return undefined;
@@ -469,12 +469,12 @@ let FileUserDataProfileContentHandler = class FileUserDataProfileContentHandler
469
469
  this.fileService = fileService;
470
470
  this.productService = productService;
471
471
  this.textFileService = textFileService;
472
- this.name = ( localize(12009, "Local"));
473
- this.description = ( localize(12010, "file"));
472
+ this.name = ( localize(12027, "Local"));
473
+ this.description = ( localize(12028, "file"));
474
474
  }
475
475
  async saveProfile(name, content, token) {
476
476
  const link = await this.fileDialogService.showSaveDialog({
477
- title: ( localize(12011, "Save Profile")),
477
+ title: ( localize(12029, "Save Profile")),
478
478
  filters: PROFILE_FILTER,
479
479
  defaultUri: this.uriIdentityService.extUri.joinPath(await this.fileDialogService.defaultFilePath(), `${name}.${PROFILE_EXTENSION}`),
480
480
  });
@@ -499,7 +499,7 @@ let FileUserDataProfileContentHandler = class FileUserDataProfileContentHandler
499
499
  canSelectFiles: true,
500
500
  canSelectMany: false,
501
501
  filters: PROFILE_FILTER,
502
- title: ( localize(12012, "Select Profile")),
502
+ title: ( localize(12030, "Select Profile")),
503
503
  });
504
504
  return profileLocation ? profileLocation[0] : null;
505
505
  }
@@ -546,13 +546,13 @@ let UserDataProfileImportExportState = class UserDataProfileImportExportState ex
546
546
  for (const root of this.roots) {
547
547
  root.checkbox = {
548
548
  isChecked: !root.isFromDefaultProfile(),
549
- tooltip: ( localize(12013, "Select {0}", root.label.label)),
549
+ tooltip: ( localize(12031, "Select {0}", root.label.label)),
550
550
  accessibilityInformation: {
551
- label: ( localize(12013, "Select {0}", root.label.label)),
551
+ label: ( localize(12031, "Select {0}", root.label.label)),
552
552
  }
553
553
  };
554
554
  if (root.isFromDefaultProfile()) {
555
- root.description = ( localize(12014, "From Default Profile"));
555
+ root.description = ( localize(12032, "From Default Profile"));
556
556
  }
557
557
  }
558
558
  return this.roots;
@@ -710,11 +710,11 @@ let UserDataProfileExportState = class UserDataProfileExportState extends UserDa
710
710
  let name = this.profile.name;
711
711
  if (this.profile.isDefault) {
712
712
  name = await this.quickInputService.input({
713
- placeHolder: ( localize(12015, "Name the profile")),
714
- title: ( localize(12016, "Export Profile")),
713
+ placeHolder: ( localize(12033, "Name the profile")),
714
+ title: ( localize(12034, "Export Profile")),
715
715
  async validateInput(input) {
716
716
  if (!input.trim()) {
717
- return localize(12017, "Profile name must be provided.");
717
+ return localize(12035, "Profile name must be provided.");
718
718
  }
719
719
  return undefined;
720
720
  },
@@ -1,12 +1,12 @@
1
- import { IStorageService } from "vscode/vscode/vs/platform/storage/common/storage.service";
2
- import { IFileService } from "vscode/vscode/vs/platform/files/common/files.service";
3
- import { IInstantiationService } from "vscode/vscode/vs/platform/instantiation/common/instantiation";
4
- import { ILogService } from "vscode/vscode/vs/platform/log/common/log.service";
5
- import { IUriIdentityService } from "vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
1
+ import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
2
+ import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
3
+ import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
4
+ import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
5
+ import { IUriIdentityService } from "@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
6
6
  import { IUserDataInitializer } from "../../userData/browser/userDataInit.js";
7
- import { IUserDataProfileService } from "vscode/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service";
8
- import { IBrowserWorkbenchEnvironmentService } from "vscode/vscode/vs/workbench/services/environment/browser/environmentService.service";
9
- import { IRequestService } from "vscode/vscode/vs/platform/request/common/request.service";
7
+ import { IUserDataProfileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service";
8
+ import { IBrowserWorkbenchEnvironmentService } from "@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common/vscode/vs/workbench/services/environment/browser/environmentService.service";
9
+ import { IRequestService } from "@codingame/monaco-vscode-api/vscode/vs/platform/request/common/request.service";
10
10
  export declare class UserDataProfileInitializer implements IUserDataInitializer {
11
11
  private readonly environmentService;
12
12
  private readonly fileService;
@@ -1,25 +1,25 @@
1
1
 
2
- import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
3
- import { StorageScope } from 'vscode/vscode/vs/platform/storage/common/storage';
4
- import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage.service';
5
- import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
6
- import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
7
- import { Barrier, Promises } from 'vscode/vscode/vs/base/common/async';
8
- import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
9
- import { IUserDataProfileService } from 'vscode/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service';
2
+ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
+ import { StorageScope } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage';
4
+ import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
5
+ import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
6
+ import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
7
+ import { Barrier, Promises } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
8
+ import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
9
+ import { IUserDataProfileService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service';
10
10
  import { SettingsResourceInitializer } from './settingsResource.js';
11
11
  import { GlobalStateResourceInitializer } from './globalStateResource.js';
12
12
  import { KeybindingsResourceInitializer } from './keybindingsResource.js';
13
13
  import { TasksResourceInitializer } from './tasksResource.js';
14
14
  import { SnippetsResourceInitializer } from './snippetsResource.js';
15
15
  import { ExtensionsResourceInitializer } from './extensionsResource.js';
16
- import { IBrowserWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/browser/environmentService.service';
17
- import { isString } from 'vscode/vscode/vs/base/common/types';
18
- import { asJson } from 'vscode/vscode/vs/platform/request/common/request';
19
- import { IRequestService } from 'vscode/vscode/vs/platform/request/common/request.service';
20
- import { CancellationToken } from 'vscode/vscode/vs/base/common/cancellation';
21
- import { URI } from 'vscode/vscode/vs/base/common/uri';
22
- import { ProfileResourceType } from 'vscode/vscode/vs/platform/userDataProfile/common/userDataProfile';
16
+ import { IBrowserWorkbenchEnvironmentService } from '@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common/vscode/vs/workbench/services/environment/browser/environmentService.service';
17
+ import { isString } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
18
+ import { asJson } from '@codingame/monaco-vscode-api/vscode/vs/platform/request/common/request';
19
+ import { IRequestService } from '@codingame/monaco-vscode-api/vscode/vs/platform/request/common/request.service';
20
+ import { CancellationToken } from '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
21
+ import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
22
+ import { ProfileResourceType } from '@codingame/monaco-vscode-api/vscode/vs/platform/userDataProfile/common/userDataProfile';
23
23
 
24
24
  let UserDataProfileInitializer = class UserDataProfileInitializer {
25
25
  constructor(environmentService, fileService, userDataProfileService, storageService, logService, uriIdentityService, requestService) {
@@ -1,20 +1,20 @@
1
- import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
2
- import { IConfigurationService } from "vscode/vscode/vs/platform/configuration/common/configuration.service";
3
- import { IDialogService } from "vscode/vscode/vs/platform/dialogs/common/dialogs.service";
4
- import { ILogService } from "vscode/vscode/vs/platform/log/common/log.service";
5
- import { IProductService } from "vscode/vscode/vs/platform/product/common/productService.service";
6
- import { IRequestService } from "vscode/vscode/vs/platform/request/common/request.service";
7
- import { ITelemetryService } from "vscode/vscode/vs/platform/telemetry/common/telemetry.service";
8
- import { IUriIdentityService } from "vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
9
- import { IUserDataProfile, IUserDataProfileOptions, IUserDataProfileUpdateOptions } from "vscode/vscode/vs/platform/userDataProfile/common/userDataProfile";
10
- import { IUserDataProfilesService } from "vscode/vscode/vs/platform/userDataProfile/common/userDataProfile.service";
11
- import { IWorkspaceContextService } from "vscode/vscode/vs/platform/workspace/common/workspace.service";
12
- import { IWorkbenchEnvironmentService } from "vscode/vscode/vs/workbench/services/environment/common/environmentService.service";
13
- import { IExtensionService } from "vscode/vscode/vs/workbench/services/extensions/common/extensions.service";
14
- import { IHostService } from "vscode/vscode/vs/workbench/services/host/browser/host.service";
1
+ import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
2
+ import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
3
+ import { IDialogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service";
4
+ import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
5
+ import { IProductService } from "@codingame/monaco-vscode-api/vscode/vs/platform/product/common/productService.service";
6
+ import { IRequestService } from "@codingame/monaco-vscode-api/vscode/vs/platform/request/common/request.service";
7
+ import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
8
+ import { IUriIdentityService } from "@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
9
+ import { IUserDataProfile, IUserDataProfileOptions, IUserDataProfileUpdateOptions } from "@codingame/monaco-vscode-api/vscode/vs/platform/userDataProfile/common/userDataProfile";
10
+ import { IUserDataProfilesService } from "@codingame/monaco-vscode-api/vscode/vs/platform/userDataProfile/common/userDataProfile.service";
11
+ import { IWorkspaceContextService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service";
12
+ import { IWorkbenchEnvironmentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service";
13
+ import { IExtensionService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service";
14
+ import { IHostService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/host/browser/host.service";
15
15
  import { IProfileTemplateInfo } from "@codingame/monaco-vscode-e72c94ca-257a-5b75-8b68-5a5fa3c18255-common/vscode/vs/workbench/services/userDataProfile/common/userDataProfile";
16
- import { IUserDataProfileManagementService } from "vscode/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service";
17
- import { IUserDataProfileService } from "vscode/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service";
16
+ import { IUserDataProfileManagementService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service";
17
+ import { IUserDataProfileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service";
18
18
  export type ProfileManagementActionExecutedClassification = {
19
19
  owner: "sandy081";
20
20
  comment: "Logged when profile management action is excuted";
@@ -1,27 +1,27 @@
1
1
 
2
- import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
3
- import { CancellationToken } from 'vscode/vscode/vs/base/common/cancellation';
4
- import { CancellationError } from 'vscode/vscode/vs/base/common/errors';
5
- import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
6
- import { equals } from 'vscode/vscode/vs/base/common/objects';
7
- import { localize } from 'vscode/vscode/vs/nls';
8
- import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
9
- import { IDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs.service';
10
- import 'vscode/vscode/vs/platform/instantiation/common/extensions';
11
- import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
12
- import { IProductService } from 'vscode/vscode/vs/platform/product/common/productService.service';
13
- import { asJson } from 'vscode/vscode/vs/platform/request/common/request';
14
- import { IRequestService } from 'vscode/vscode/vs/platform/request/common/request.service';
15
- import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry.service';
16
- import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
17
- import { IUserDataProfilesService } from 'vscode/vscode/vs/platform/userDataProfile/common/userDataProfile.service';
18
- import { toWorkspaceIdentifier, isEmptyWorkspaceIdentifier } from 'vscode/vscode/vs/platform/workspace/common/workspace';
19
- import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace.service';
20
- import { CONFIG_NEW_WINDOW_PROFILE } from 'vscode/vscode/vs/workbench/common/configuration';
21
- import { IWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/common/environmentService.service';
22
- import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions.service';
23
- import { IHostService } from 'vscode/vscode/vs/workbench/services/host/browser/host.service';
24
- import { IUserDataProfileService } from 'vscode/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service';
2
+ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
+ import { CancellationToken } from '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
4
+ import { CancellationError } from '@codingame/monaco-vscode-api/vscode/vs/base/common/errors';
5
+ import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
6
+ import { equals } from '@codingame/monaco-vscode-api/vscode/vs/base/common/objects';
7
+ import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
8
+ import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
9
+ import { IDialogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service';
10
+ import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
11
+ import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
12
+ import { IProductService } from '@codingame/monaco-vscode-api/vscode/vs/platform/product/common/productService.service';
13
+ import { asJson } from '@codingame/monaco-vscode-api/vscode/vs/platform/request/common/request';
14
+ import { IRequestService } from '@codingame/monaco-vscode-api/vscode/vs/platform/request/common/request.service';
15
+ import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service';
16
+ import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
17
+ import { IUserDataProfilesService } from '@codingame/monaco-vscode-api/vscode/vs/platform/userDataProfile/common/userDataProfile.service';
18
+ import { toWorkspaceIdentifier, isEmptyWorkspaceIdentifier } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace';
19
+ import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
20
+ import { CONFIG_NEW_WINDOW_PROFILE } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/configuration';
21
+ import { IWorkbenchEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service';
22
+ import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service';
23
+ import { IHostService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/host/browser/host.service';
24
+ import { IUserDataProfileService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service';
25
25
 
26
26
  let UserDataProfileManagementService = class UserDataProfileManagementService extends Disposable {
27
27
  constructor(userDataProfilesService, userDataProfileService, hostService, dialogService, workspaceContextService, extensionService, environmentService, telemetryService, productService, requestService, configurationService, uriIdentityService, logService) {
@@ -45,7 +45,7 @@ let UserDataProfileManagementService = class UserDataProfileManagementService ex
45
45
  const profileToUse = this.getProfileToUseForCurrentWorkspace();
46
46
  this.switchProfile(profileToUse);
47
47
  this.changeCurrentProfile(profileToUse, ( localize(
48
- 12018,
48
+ 12036,
49
49
  "The current profile has been removed. Please reload to switch back to default profile"
50
50
  )));
51
51
  return;
@@ -56,13 +56,13 @@ let UserDataProfileManagementService = class UserDataProfileManagementService ex
56
56
  if (profileToUse?.id !== updatedCurrentProfile.id) {
57
57
  this.switchProfile(profileToUse);
58
58
  this.changeCurrentProfile(profileToUse, ( localize(
59
- 12019,
59
+ 12037,
60
60
  "The current workspace has been removed from the current profile. Please reload to switch back to the updated profile"
61
61
  )));
62
62
  }
63
63
  else {
64
64
  this.changeCurrentProfile(updatedCurrentProfile, ( localize(
65
- 12020,
65
+ 12038,
66
66
  "The current profile has been updated. Please reload to switch back to the updated profile"
67
67
  )));
68
68
  }
@@ -124,7 +124,7 @@ let UserDataProfileManagementService = class UserDataProfileManagementService ex
124
124
  throw ( new Error(`Profile ${profile.name} does not exist`));
125
125
  }
126
126
  if (profile.isDefault) {
127
- throw ( new Error(( localize(12021, "Cannot rename the default profile"))));
127
+ throw ( new Error(( localize(12039, "Cannot rename the default profile"))));
128
128
  }
129
129
  const updatedProfile = await this.userDataProfilesService.updateProfile(profile, updateOptions);
130
130
  this.telemetryService.publicLog2('profileManagementActionExecuted', { id: 'updateProfile' });
@@ -135,7 +135,7 @@ let UserDataProfileManagementService = class UserDataProfileManagementService ex
135
135
  throw ( new Error(`Profile ${profile.name} does not exist`));
136
136
  }
137
137
  if (profile.isDefault) {
138
- throw ( new Error(( localize(12022, "Cannot delete the default profile"))));
138
+ throw ( new Error(( localize(12040, "Cannot delete the default profile"))));
139
139
  }
140
140
  await this.userDataProfilesService.removeProfile(profile);
141
141
  this.telemetryService.publicLog2('profileManagementActionExecuted', { id: 'removeProfile' });
@@ -180,7 +180,7 @@ let UserDataProfileManagementService = class UserDataProfileManagementService ex
180
180
  const shouldRestartExtensionHosts = this.userDataProfileService.currentProfile.id !== profile.id || !equals(this.userDataProfileService.currentProfile.useDefaultFlags, profile.useDefaultFlags);
181
181
  if (shouldRestartExtensionHosts) {
182
182
  if (!isRemoteWindow) {
183
- if (!(await this.extensionService.stopExtensionHosts(( localize(12023, "Switching to a profile."))))) {
183
+ if (!(await this.extensionService.stopExtensionHosts(( localize(12041, "Switching to a profile."))))) {
184
184
  if (( this.userDataProfilesService.profiles.some(p => p.id === this.userDataProfileService.currentProfile.id))) {
185
185
  await this.userDataProfilesService.setProfileForWorkspace(toWorkspaceIdentifier(this.workspaceContextService.getWorkspace()), this.userDataProfileService.currentProfile);
186
186
  }
@@ -192,8 +192,8 @@ let UserDataProfileManagementService = class UserDataProfileManagementService ex
192
192
  if (shouldRestartExtensionHosts) {
193
193
  if (isRemoteWindow) {
194
194
  const { confirmed } = await this.dialogService.confirm({
195
- message: reloadMessage ?? ( localize(12024, "Switching a profile requires reloading VS Code.")),
196
- primaryButton: ( localize(12025, "&&Reload")),
195
+ message: reloadMessage ?? ( localize(12042, "Switching a profile requires reloading VS Code.")),
196
+ primaryButton: ( localize(12043, "&&Reload")),
197
197
  });
198
198
  if (confirmed) {
199
199
  await this.hostService.reload();
@@ -1,11 +1,11 @@
1
- import { Event } from "vscode/vscode/vs/base/common/event";
2
- import { IStorageDatabase } from "vscode/vscode/vs/base/parts/storage/common/storage";
3
- import { ILogService } from "vscode/vscode/vs/platform/log/common/log.service";
1
+ import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
2
+ import { IStorageDatabase } from "@codingame/monaco-vscode-api/vscode/vs/base/parts/storage/common/storage";
3
+ import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
4
4
  import { AbstractUserDataProfileStorageService, IProfileStorageChanges } from "../../../../platform/userDataProfile/common/userDataProfileStorageService.js";
5
- import { IUserDataProfileStorageService } from "vscode/vscode/vs/platform/userDataProfile/common/userDataProfileStorageService.service";
6
- import { IStorageService } from "vscode/vscode/vs/platform/storage/common/storage.service";
7
- import { IUserDataProfile } from "vscode/vscode/vs/platform/userDataProfile/common/userDataProfile";
8
- import { IUserDataProfileService } from "vscode/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service";
5
+ import { IUserDataProfileStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/userDataProfile/common/userDataProfileStorageService.service";
6
+ import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
7
+ import { IUserDataProfile } from "@codingame/monaco-vscode-api/vscode/vs/platform/userDataProfile/common/userDataProfile";
8
+ import { IUserDataProfileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service";
9
9
  export declare class UserDataProfileStorageService extends AbstractUserDataProfileStorageService implements IUserDataProfileStorageService {
10
10
  private readonly userDataProfileService;
11
11
  private readonly logService;