@codingame/monaco-vscode-user-data-profile-service-override 21.6.0 → 22.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.
@@ -168,15 +168,15 @@ let AbstractUserDataProfileElement = class AbstractUserDataProfileElement extend
168
168
  }
169
169
  validate() {
170
170
  if (!this.name) {
171
- this.message = ( localize(12378, "Profile name is required and must be a non-empty value."));
171
+ this.message = ( localize(12495, "Profile name is required and must be a non-empty value."));
172
172
  return;
173
173
  }
174
174
  if (this.shouldValidateName() && this.name !== this.getInitialName() && ( this.userDataProfilesService.profiles.some(p => p.name === this.name))) {
175
- this.message = ( localize(12379, "Profile with name {0} already exists.", this.name));
175
+ this.message = ( localize(12496, "Profile with name {0} already exists.", this.name));
176
176
  return;
177
177
  }
178
178
  if (this.flags && this.flags.settings && this.flags.keybindings && this.flags.tasks && this.flags.snippets && this.flags.extensions) {
179
- this.message = ( localize(12380, "The profile should contain at least one configuration."));
179
+ this.message = ( localize(12497, "The profile should contain at least one configuration."));
180
180
  return;
181
181
  }
182
182
  this.message = undefined;
@@ -203,7 +203,7 @@ let AbstractUserDataProfileElement = class AbstractUserDataProfileElement extend
203
203
  openAction: children.length
204
204
  ? toAction({
205
205
  id: '_open',
206
- label: ( localize(12381, "Open to the Side")),
206
+ label: ( localize(12498, "Open to the Side")),
207
207
  class: ThemeIcon.asClassName(Codicon.goToFile),
208
208
  run: () => children[0]?.openAction?.run()
209
209
  })
@@ -251,7 +251,7 @@ let AbstractUserDataProfileElement = class AbstractUserDataProfileElement extend
251
251
  icon: child.themeIcon,
252
252
  openAction: toAction({
253
253
  id: '_openChild',
254
- label: ( localize(12381, "Open to the Side")),
254
+ label: ( localize(12498, "Open to the Side")),
255
255
  class: ThemeIcon.asClassName(Codicon.goToFile),
256
256
  run: async () => {
257
257
  if (child.parent.type === ProfileResourceType.Extensions) {
@@ -416,7 +416,7 @@ let UserDataProfileElement = class UserDataProfileElement extends AbstractUserDa
416
416
  const children = await this.instantiationService.createInstance(ExtensionsResourceExportTreeItem, this.profile).getChildren();
417
417
  return (children.map(child => this.toUserDataProfileResourceChildElement(child, undefined, [{
418
418
  id: 'applyToAllProfiles',
419
- label: ( localize(12382, "Apply Extension to all Profiles")),
419
+ label: ( localize(12499, "Apply Extension to all Profiles")),
420
420
  checked: child.applicationScoped,
421
421
  enabled: true,
422
422
  class: '',
@@ -549,7 +549,7 @@ let NewProfileElement = class NewProfileElement extends AbstractUserDataProfileE
549
549
  }
550
550
  if (isUserDataProfile(this.copyFrom)) {
551
551
  if (this.defaultName === this.name) {
552
- this.name = this.defaultName = ( localize(12383, "{0} (Copy)", this.copyFrom.name));
552
+ this.name = this.defaultName = ( localize(12500, "{0} (Copy)", this.copyFrom.name));
553
553
  }
554
554
  if (this.defaultIcon === this.icon) {
555
555
  this.icon = this.defaultIcon = this.copyFrom.icon;
@@ -582,7 +582,7 @@ let NewProfileElement = class NewProfileElement extends AbstractUserDataProfileE
582
582
  }
583
583
  }
584
584
  getNewProfileName() {
585
- const name = ( localize(12384, "Untitled"));
585
+ const name = ( localize(12501, "Untitled"));
586
586
  const nameRegEx = ( new RegExp(`${name}\\s(\\d+)`));
587
587
  let nameIndex = 0;
588
588
  for (const profile of this.userDataProfilesService.profiles) {
@@ -814,11 +814,11 @@ let UserDataProfilesEditorModel = class UserDataProfilesEditorModel extends Edit
814
814
  }
815
815
  createProfileElement(profile) {
816
816
  const disposables = ( new DisposableStore());
817
- const activateAction = disposables.add(( new Action('userDataProfile.activate', ( localize(12385, "Use this Profile for Current Window")), ThemeIcon.asClassName(Codicon.check), true, () => this.userDataProfileManagementService.switchProfile(profileElement.profile))));
818
- const copyFromProfileAction = disposables.add(( new Action('userDataProfile.copyFromProfile', ( localize(12386, "Duplicate...")), ThemeIcon.asClassName(Codicon.copy), true, () => this.createNewProfile(profileElement.profile))));
819
- const exportAction = disposables.add(( new Action('userDataProfile.export', ( localize(12387, "Export...")), ThemeIcon.asClassName(Codicon.export), true, () => this.userDataProfileImportExportService.exportProfile(profile))));
820
- const deleteAction = disposables.add(( new Action('userDataProfile.delete', ( localize(12388, "Delete")), ThemeIcon.asClassName(Codicon.trash), true, () => this.removeProfile(profileElement.profile))));
821
- const newWindowAction = disposables.add(( new Action('userDataProfile.newWindow', ( localize(12389, "Open New Window with this Profile")), ThemeIcon.asClassName(Codicon.emptyWindow), true, () => this.openWindow(profileElement.profile))));
817
+ const activateAction = disposables.add(( new Action('userDataProfile.activate', ( localize(12502, "Use this Profile for Current Window")), ThemeIcon.asClassName(Codicon.check), true, () => this.userDataProfileManagementService.switchProfile(profileElement.profile))));
818
+ const copyFromProfileAction = disposables.add(( new Action('userDataProfile.copyFromProfile', ( localize(12503, "Duplicate...")), ThemeIcon.asClassName(Codicon.copy), true, () => this.createNewProfile(profileElement.profile))));
819
+ const exportAction = disposables.add(( new Action('userDataProfile.export', ( localize(12504, "Export...")), ThemeIcon.asClassName(Codicon.export), true, () => this.userDataProfileImportExportService.exportProfile(profile))));
820
+ const deleteAction = disposables.add(( new Action('userDataProfile.delete', ( localize(12505, "Delete")), ThemeIcon.asClassName(Codicon.trash), true, () => this.removeProfile(profileElement.profile))));
821
+ const newWindowAction = disposables.add(( new Action('userDataProfile.newWindow', ( localize(12506, "Open New Window with this Profile")), ThemeIcon.asClassName(Codicon.emptyWindow), true, () => this.openWindow(profileElement.profile))));
822
822
  const primaryActions = [];
823
823
  primaryActions.push(activateAction);
824
824
  primaryActions.push(newWindowAction);
@@ -839,11 +839,11 @@ let UserDataProfilesEditorModel = class UserDataProfilesEditorModel extends Edit
839
839
  const result = await this.dialogService.confirm({
840
840
  type: 'info',
841
841
  message: ( localize(
842
- 12390,
842
+ 12507,
843
843
  "A new profile is already being created. Do you want to discard it and create a new one?"
844
844
  )),
845
- primaryButton: ( localize(12391, "Discard & Create")),
846
- cancelButton: ( localize(12392, "Cancel"))
845
+ primaryButton: ( localize(12508, "Discard & Create")),
846
+ cancelButton: ( localize(12509, "Cancel"))
847
847
  });
848
848
  if (!result.confirmed) {
849
849
  return;
@@ -865,24 +865,24 @@ let UserDataProfilesEditorModel = class UserDataProfilesEditorModel extends Edit
865
865
  disposables.add(toDisposable(() => cancellationTokenSource.dispose(true)));
866
866
  const primaryActions = [];
867
867
  const secondaryActions = [];
868
- const createAction = disposables.add(( new Action('userDataProfile.create', ( localize(12393, "Create")), undefined, true, () => this.saveNewProfile(false, cancellationTokenSource.token))));
868
+ const createAction = disposables.add(( new Action('userDataProfile.create', ( localize(12510, "Create")), undefined, true, () => this.saveNewProfile(false, cancellationTokenSource.token))));
869
869
  primaryActions.push(createAction);
870
870
  if (isWeb && copyFrom instanceof URI && isProfileURL(copyFrom)) {
871
- primaryActions.push(disposables.add(( new Action('userDataProfile.createInDesktop', ( localize(12394, "Create in {0}", this.productService.nameLong)), undefined, true, () => this.openerService.open(copyFrom, { openExternal: true })))));
871
+ primaryActions.push(disposables.add(( new Action('userDataProfile.createInDesktop', ( localize(12511, "Create in {0}", this.productService.nameLong)), undefined, true, () => this.openerService.open(copyFrom, { openExternal: true })))));
872
872
  }
873
- const cancelAction = disposables.add(( new Action('userDataProfile.cancel', ( localize(12392, "Cancel")), ThemeIcon.asClassName(Codicon.trash), true, () => this.discardNewProfile())));
873
+ const cancelAction = disposables.add(( new Action('userDataProfile.cancel', ( localize(12509, "Cancel")), ThemeIcon.asClassName(Codicon.trash), true, () => this.discardNewProfile())));
874
874
  secondaryActions.push(cancelAction);
875
- const previewProfileAction = disposables.add(( new Action('userDataProfile.preview', ( localize(12395, "Preview")), ThemeIcon.asClassName(Codicon.openPreview), true, () => this.previewNewProfile(cancellationTokenSource.token))));
875
+ const previewProfileAction = disposables.add(( new Action('userDataProfile.preview', ( localize(12512, "Preview")), ThemeIcon.asClassName(Codicon.openPreview), true, () => this.previewNewProfile(cancellationTokenSource.token))));
876
876
  secondaryActions.push(previewProfileAction);
877
- const exportAction = disposables.add(( new Action('userDataProfile.export', ( localize(12387, "Export...")), ThemeIcon.asClassName(Codicon.export), isUserDataProfile(copyFrom), () => this.exportNewProfile(cancellationTokenSource.token))));
877
+ const exportAction = disposables.add(( new Action('userDataProfile.export', ( localize(12504, "Export...")), ThemeIcon.asClassName(Codicon.export), isUserDataProfile(copyFrom), () => this.exportNewProfile(cancellationTokenSource.token))));
878
878
  this.newProfileElement = disposables.add(this.instantiationService.createInstance(NewProfileElement, copyFrom, [primaryActions, secondaryActions], [[cancelAction], [exportAction]]));
879
879
  const updateCreateActionLabel = () => {
880
880
  if (createAction.enabled) {
881
881
  if (this.newProfileElement?.copyFrom && ( this.userDataProfilesService.profiles.some(p => !p.isTransient && p.name === this.newProfileElement?.name))) {
882
- createAction.label = ( localize(12396, "Replace"));
882
+ createAction.label = ( localize(12513, "Replace"));
883
883
  }
884
884
  else {
885
- createAction.label = ( localize(12393, "Create"));
885
+ createAction.label = ( localize(12510, "Create"));
886
886
  }
887
887
  }
888
888
  };
@@ -1037,9 +1037,9 @@ let UserDataProfilesEditorModel = class UserDataProfilesEditorModel extends Edit
1037
1037
  async removeProfile(profile) {
1038
1038
  const result = await this.dialogService.confirm({
1039
1039
  type: 'info',
1040
- message: ( localize(12397, "Are you sure you want to delete the profile '{0}'?", profile.name)),
1041
- primaryButton: ( localize(12388, "Delete")),
1042
- cancelButton: ( localize(12392, "Cancel"))
1040
+ message: ( localize(12514, "Are you sure you want to delete the profile '{0}'?", profile.name)),
1041
+ primaryButton: ( localize(12505, "Delete")),
1042
+ cancelButton: ( localize(12509, "Cancel"))
1043
1043
  });
1044
1044
  if (result.confirmed) {
1045
1045
  await this.userDataProfileManagementService.removeProfile(profile);
@@ -173,7 +173,7 @@ let ExtensionsResource = class ExtensionsResource {
173
173
  return;
174
174
  }
175
175
  progress?.(( localize(
176
- 13842,
176
+ 13973,
177
177
  "Installing extension {0}...",
178
178
  installExtensionInfo.extension.displayName ?? installExtensionInfo.extension.identifier.id
179
179
  )));
@@ -266,7 +266,7 @@ class ExtensionsResourceTreeItem {
266
266
  constructor() {
267
267
  this.type = ProfileResourceType.Extensions;
268
268
  this.handle = ProfileResourceType.Extensions;
269
- this.label = { label: ( localize(13843, "Extensions")) };
269
+ this.label = { label: ( localize(13974, "Extensions")) };
270
270
  this.collapsibleState = TreeItemCollapsibleState.Expanded;
271
271
  this.contextValue = ProfileResourceType.Extensions;
272
272
  this.excludedExtensions = ( new Set());
@@ -279,7 +279,7 @@ class ExtensionsResourceTreeItem {
279
279
  handle: e.identifier.id.toLowerCase(),
280
280
  parent: this,
281
281
  label: { label: e.displayName || e.identifier.id },
282
- description: e.applicationScoped ? ( localize(13844, "All Profiles")) : undefined,
282
+ description: e.applicationScoped ? ( localize(13975, "All Profiles")) : undefined,
283
283
  collapsibleState: TreeItemCollapsibleState.None,
284
284
  checkbox: that.checkbox ? {
285
285
  get isChecked() { return !( that.excludedExtensions.has(e.identifier.id.toLowerCase())); },
@@ -291,9 +291,9 @@ class ExtensionsResourceTreeItem {
291
291
  that.excludedExtensions.add(e.identifier.id.toLowerCase());
292
292
  }
293
293
  },
294
- tooltip: ( localize(13845, "Select {0} Extension", e.displayName || e.identifier.id)),
294
+ tooltip: ( localize(13976, "Select {0} Extension", e.displayName || e.identifier.id)),
295
295
  accessibilityInformation: {
296
- label: ( localize(13845, "Select {0} Extension", e.displayName || e.identifier.id)),
296
+ label: ( localize(13976, "Select {0} Extension", e.displayName || e.identifier.id)),
297
297
  }
298
298
  } : undefined,
299
299
  themeIcon: Codicon.extensions,
@@ -86,7 +86,7 @@ class GlobalStateResourceTreeItem {
86
86
  this.uriIdentityService = uriIdentityService;
87
87
  this.type = ProfileResourceType.GlobalState;
88
88
  this.handle = ProfileResourceType.GlobalState;
89
- this.label = { label: ( localize(13846, "UI State")) };
89
+ this.label = { label: ( localize(13977, "UI State")) };
90
90
  this.collapsibleState = TreeItemCollapsibleState.Collapsed;
91
91
  }
92
92
  async getChildren() {
@@ -80,7 +80,7 @@ let KeybindingsResourceTreeItem = class KeybindingsResourceTreeItem {
80
80
  this.instantiationService = instantiationService;
81
81
  this.type = ProfileResourceType.Keybindings;
82
82
  this.handle = ProfileResourceType.Keybindings;
83
- this.label = { label: ( localize(13847, "Keyboard Shortcuts")) };
83
+ this.label = { label: ( localize(13978, "Keyboard Shortcuts")) };
84
84
  this.collapsibleState = TreeItemCollapsibleState.Expanded;
85
85
  }
86
86
  isFromDefaultProfile() {
@@ -79,7 +79,7 @@ let McpResourceTreeItem = class McpResourceTreeItem {
79
79
  this.instantiationService = instantiationService;
80
80
  this.type = ProfileResourceType.Mcp;
81
81
  this.handle = ProfileResourceType.Mcp;
82
- this.label = { label: ( localize(13848, "MCP Servers")) };
82
+ this.label = { label: ( localize(13979, "MCP Servers")) };
83
83
  this.collapsibleState = TreeItemCollapsibleState.Expanded;
84
84
  }
85
85
  async getChildren() {
@@ -101,7 +101,7 @@ let SettingsResourceTreeItem = class SettingsResourceTreeItem {
101
101
  this.instantiationService = instantiationService;
102
102
  this.type = ProfileResourceType.Settings;
103
103
  this.handle = ProfileResourceType.Settings;
104
- this.label = { label: ( localize(13849, "Settings")) };
104
+ this.label = { label: ( localize(13980, "Settings")) };
105
105
  this.collapsibleState = TreeItemCollapsibleState.Expanded;
106
106
  }
107
107
  async getChildren() {
@@ -93,7 +93,7 @@ let SnippetsResourceTreeItem = class SnippetsResourceTreeItem {
93
93
  this.instantiationService = instantiationService;
94
94
  this.uriIdentityService = uriIdentityService;
95
95
  this.type = ProfileResourceType.Snippets;
96
- this.label = { label: ( localize(13850, "Snippets")) };
96
+ this.label = { label: ( localize(13981, "Snippets")) };
97
97
  this.collapsibleState = TreeItemCollapsibleState.Collapsed;
98
98
  this.excludedSnippets = ( new ResourceSet());
99
99
  this.handle = ( this.profile.snippetsHome.toString());
@@ -121,7 +121,7 @@ let SnippetsResourceTreeItem = class SnippetsResourceTreeItem {
121
121
  },
122
122
  accessibilityInformation: {
123
123
  label: ( localize(
124
- 13851,
124
+ 13982,
125
125
  "Select Snippet {0}",
126
126
  this.uriIdentityService.extUri.basename(resource)
127
127
  )),
@@ -79,7 +79,7 @@ let TasksResourceTreeItem = class TasksResourceTreeItem {
79
79
  this.instantiationService = instantiationService;
80
80
  this.type = ProfileResourceType.Tasks;
81
81
  this.handle = ProfileResourceType.Tasks;
82
- this.label = { label: ( localize(13852, "Tasks")) };
82
+ this.label = { label: ( localize(13983, "Tasks")) };
83
83
  this.collapsibleState = TreeItemCollapsibleState.Expanded;
84
84
  }
85
85
  async getChildren() {
@@ -90,7 +90,7 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
90
90
  sticky: true,
91
91
  cancellable: true,
92
92
  }, async (progress) => {
93
- const reportProgress = (message) => progress.report({ message: ( localize(13853, "Create Profile: {0}", message)) });
93
+ const reportProgress = (message) => progress.report({ message: ( localize(13984, "Create Profile: {0}", message)) });
94
94
  creationPromise = createCancelablePromise(async (token) => {
95
95
  const userDataProfilesExportState = disposables.add(this.instantiationService.createInstance(UserDataProfileExportState, from, { ...options?.resourceTypeFlags, extensions: false }));
96
96
  const profileTemplate = await userDataProfilesExportState.getProfileTemplate(options.name ?? from.name, options?.icon);
@@ -106,7 +106,7 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
106
106
  try {
107
107
  await creationPromise;
108
108
  if (profile && (options?.resourceTypeFlags?.extensions ?? true)) {
109
- reportProgress(( localize(13854, "Installing Extensions...")));
109
+ reportProgress(( localize(13985, "Installing Extensions...")));
110
110
  await this.instantiationService.createInstance(ExtensionsResource).copy(from, profile, false);
111
111
  }
112
112
  }
@@ -130,7 +130,7 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
130
130
  sticky: true,
131
131
  cancellable: true,
132
132
  }, async (progress) => {
133
- const reportProgress = (message) => progress.report({ message: ( localize(13853, "Create Profile: {0}", message)) });
133
+ const reportProgress = (message) => progress.report({ message: ( localize(13984, "Create Profile: {0}", message)) });
134
134
  creationPromise = createCancelablePromise(async (token) => {
135
135
  profile = await this.getProfileToImport({ ...profileTemplate, name: options.name ?? profileTemplate.name }, !!options.transient, options);
136
136
  if (!profile) {
@@ -155,42 +155,42 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
155
155
  }
156
156
  async applyProfileTemplate(profileTemplate, profile, options, reportProgress, token) {
157
157
  if (profileTemplate.settings && (options.resourceTypeFlags?.settings ?? true) && !profile.useDefaultFlags?.settings) {
158
- reportProgress(( localize(13855, "Creating Settings...")));
158
+ reportProgress(( localize(13986, "Creating Settings...")));
159
159
  await this.instantiationService.createInstance(SettingsResource).apply(profileTemplate.settings, profile);
160
160
  }
161
161
  if (token.isCancellationRequested) {
162
162
  return;
163
163
  }
164
164
  if (profileTemplate.keybindings && (options.resourceTypeFlags?.keybindings ?? true) && !profile.useDefaultFlags?.keybindings) {
165
- reportProgress(( localize(13856, "Creating Keyboard Shortcuts...")));
165
+ reportProgress(( localize(13987, "Creating Keyboard Shortcuts...")));
166
166
  await this.instantiationService.createInstance(KeybindingsResource).apply(profileTemplate.keybindings, profile);
167
167
  }
168
168
  if (token.isCancellationRequested) {
169
169
  return;
170
170
  }
171
171
  if (profileTemplate.tasks && (options.resourceTypeFlags?.tasks ?? true) && !profile.useDefaultFlags?.tasks) {
172
- reportProgress(( localize(13857, "Creating Tasks...")));
172
+ reportProgress(( localize(13988, "Creating Tasks...")));
173
173
  await this.instantiationService.createInstance(TasksResource).apply(profileTemplate.tasks, profile);
174
174
  }
175
175
  if (token.isCancellationRequested) {
176
176
  return;
177
177
  }
178
178
  if (profileTemplate.snippets && (options.resourceTypeFlags?.snippets ?? true) && !profile.useDefaultFlags?.snippets) {
179
- reportProgress(( localize(13858, "Creating Snippets...")));
179
+ reportProgress(( localize(13989, "Creating Snippets...")));
180
180
  await this.instantiationService.createInstance(SnippetsResource).apply(profileTemplate.snippets, profile);
181
181
  }
182
182
  if (token.isCancellationRequested) {
183
183
  return;
184
184
  }
185
185
  if (profileTemplate.globalState && !profile.useDefaultFlags?.globalState) {
186
- reportProgress(( localize(13859, "Applying UI State...")));
186
+ reportProgress(( localize(13990, "Applying UI State...")));
187
187
  await this.instantiationService.createInstance(GlobalStateResource).apply(profileTemplate.globalState, profile);
188
188
  }
189
189
  if (token.isCancellationRequested) {
190
190
  return;
191
191
  }
192
192
  if (profileTemplate.extensions && (options.resourceTypeFlags?.extensions ?? true) && !profile.useDefaultFlags?.extensions) {
193
- reportProgress(( localize(13854, "Installing Extensions...")));
193
+ reportProgress(( localize(13985, "Installing Extensions...")));
194
194
  await this.instantiationService.createInstance(ExtensionsResource).apply(profileTemplate.extensions, profile, reportProgress, token);
195
195
  }
196
196
  }
@@ -207,18 +207,18 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
207
207
  async createTroubleshootProfile() {
208
208
  const userDataProfilesExportState = this.instantiationService.createInstance(UserDataProfileExportState, this.userDataProfileService.currentProfile, undefined);
209
209
  try {
210
- const profileTemplate = await userDataProfilesExportState.getProfileTemplate(( localize(13860, "Troubleshoot Issue")), undefined);
210
+ const profileTemplate = await userDataProfilesExportState.getProfileTemplate(( localize(13991, "Troubleshoot Issue")), undefined);
211
211
  await this.progressService.withProgress({
212
212
  location: ProgressLocation.Notification,
213
213
  delay: 1000,
214
214
  sticky: true,
215
215
  }, async (progress) => {
216
- const reportProgress = (message) => progress.report({ message: ( localize(13861, "Setting up Troubleshoot Profile: {0}", message)) });
216
+ const reportProgress = (message) => progress.report({ message: ( localize(13992, "Setting up Troubleshoot Profile: {0}", message)) });
217
217
  const profile = await this.doCreateProfile(profileTemplate, true, false, { useDefaultFlags: this.userDataProfileService.currentProfile.useDefaultFlags }, reportProgress);
218
218
  if (profile) {
219
- reportProgress(( localize(13862, "Applying Extensions...")));
219
+ reportProgress(( localize(13993, "Applying Extensions...")));
220
220
  await this.instantiationService.createInstance(ExtensionsResource).copy(this.userDataProfileService.currentProfile, profile, true);
221
- reportProgress(( localize(13863, "Switching Profile...")));
221
+ reportProgress(( localize(13994, "Switching Profile...")));
222
222
  await this.userDataProfileManagementService.switchProfile(profile);
223
223
  }
224
224
  });
@@ -236,7 +236,7 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
236
236
  try {
237
237
  await this.progressService.withProgress({
238
238
  location,
239
- title: ( localize(13864, "{0}: Exporting...", PROFILES_CATEGORY.value)),
239
+ title: ( localize(13995, "{0}: Exporting...", PROFILES_CATEGORY.value)),
240
240
  }, async (progress) => {
241
241
  const id = await this.pickProfileContentHandler(profile.name);
242
242
  if (!id) {
@@ -250,17 +250,17 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
250
250
  if (!saveResult) {
251
251
  return;
252
252
  }
253
- const message = ( localize(13865, "Profile '{0}' was exported successfully.", profile.name));
253
+ const message = ( localize(13996, "Profile '{0}' was exported successfully.", profile.name));
254
254
  if (profileContentHandler.extensionId) {
255
255
  const buttons = [];
256
256
  const link = this.productService.webUrl ? `${this.productService.webUrl}/${PROFILE_URL_AUTHORITY}/${id}/${saveResult.id}` : ( toUserDataProfileUri(`/${id}/${saveResult.id}`, this.productService).toString());
257
257
  buttons.push({
258
- label: ( localize(13866, "&&Copy Link")),
258
+ label: ( localize(13997, "&&Copy Link")),
259
259
  run: () => this.clipboardService.writeText(link)
260
260
  });
261
261
  if (this.productService.webUrl) {
262
262
  buttons.push({
263
- label: ( localize(13867, "&&Open Link")),
263
+ label: ( localize(13998, "&&Open Link")),
264
264
  run: async () => {
265
265
  await this.openerService.open(link);
266
266
  }
@@ -268,7 +268,7 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
268
268
  }
269
269
  else {
270
270
  buttons.push({
271
- label: ( localize(13868, "&&Open in {0}", profileContentHandler.name)),
271
+ label: ( localize(13999, "&&Open in {0}", profileContentHandler.name)),
272
272
  run: async () => {
273
273
  await this.openerService.open(( saveResult.link.toString()));
274
274
  }
@@ -278,7 +278,7 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
278
278
  type: Severity.Info,
279
279
  message,
280
280
  buttons,
281
- cancelButton: ( localize(13869, "Close"))
281
+ cancelButton: ( localize(14000, "Close"))
282
282
  });
283
283
  }
284
284
  else {
@@ -300,10 +300,10 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
300
300
  profileTemplate = JSON.parse(profileContent);
301
301
  }
302
302
  catch (error) {
303
- throw ( new Error(( localize(13870, "This profile is not valid."))));
303
+ throw ( new Error(( localize(14001, "This profile is not valid."))));
304
304
  }
305
305
  if (!isUserDataProfileTemplate(profileTemplate)) {
306
- throw ( new Error(( localize(13870, "This profile is not valid."))));
306
+ throw ( new Error(( localize(14001, "This profile is not valid."))));
307
307
  }
308
308
  if (options?.name) {
309
309
  profileTemplate.name = options.name;
@@ -337,27 +337,27 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
337
337
  return undefined;
338
338
  }
339
339
  if (profileTemplate.settings && !profile.useDefaultFlags?.settings) {
340
- progress(( localize(13871, "Applying Settings...")));
340
+ progress(( localize(14002, "Applying Settings...")));
341
341
  await this.instantiationService.createInstance(SettingsResource).apply(profileTemplate.settings, profile);
342
342
  }
343
343
  if (profileTemplate.keybindings && !profile.useDefaultFlags?.keybindings) {
344
- progress(( localize(13872, "Applying Keyboard Shortcuts...")));
344
+ progress(( localize(14003, "Applying Keyboard Shortcuts...")));
345
345
  await this.instantiationService.createInstance(KeybindingsResource).apply(profileTemplate.keybindings, profile);
346
346
  }
347
347
  if (profileTemplate.tasks && !profile.useDefaultFlags?.tasks) {
348
- progress(( localize(13873, "Applying Tasks...")));
348
+ progress(( localize(14004, "Applying Tasks...")));
349
349
  await this.instantiationService.createInstance(TasksResource).apply(profileTemplate.tasks, profile);
350
350
  }
351
351
  if (profileTemplate.snippets && !profile.useDefaultFlags?.snippets) {
352
- progress(( localize(13874, "Applying Snippets...")));
352
+ progress(( localize(14005, "Applying Snippets...")));
353
353
  await this.instantiationService.createInstance(SnippetsResource).apply(profileTemplate.snippets, profile);
354
354
  }
355
355
  if (profileTemplate.globalState && !profile.useDefaultFlags?.globalState) {
356
- progress(( localize(13875, "Applying State...")));
356
+ progress(( localize(14006, "Applying State...")));
357
357
  await this.instantiationService.createInstance(GlobalStateResource).apply(profileTemplate.globalState, profile);
358
358
  }
359
359
  if (profileTemplate.extensions && extensions && !profile.useDefaultFlags?.extensions) {
360
- progress(( localize(13862, "Applying Extensions...")));
360
+ progress(( localize(13993, "Applying Extensions...")));
361
361
  await this.instantiationService.createInstance(ExtensionsResource).apply(profileTemplate.extensions, profile);
362
362
  }
363
363
  return profile;
@@ -408,7 +408,7 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
408
408
  options.push({ id, label: profileContentHandler.name, description: profileContentHandler.description });
409
409
  }
410
410
  const result = await this.quickInputService.pick(options.reverse(), {
411
- title: ( localize(13876, "Export '{0}' profile as...", name)),
411
+ title: ( localize(14007, "Export '{0}' profile as...", name)),
412
412
  hideInput: true
413
413
  });
414
414
  return result?.id;
@@ -423,11 +423,11 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
423
423
  const { confirmed } = await this.dialogService.confirm({
424
424
  type: Severity.Info,
425
425
  message: ( localize(
426
- 13877,
426
+ 14008,
427
427
  "Profile with name '{0}' already exists. Do you want to replace its contents?",
428
428
  profileName
429
429
  )),
430
- primaryButton: ( localize(13878, "&&Replace"))
430
+ primaryButton: ( localize(14009, "&&Replace"))
431
431
  });
432
432
  if (!confirmed) {
433
433
  return undefined;
@@ -471,12 +471,12 @@ let FileUserDataProfileContentHandler = class FileUserDataProfileContentHandler
471
471
  this.fileService = fileService;
472
472
  this.productService = productService;
473
473
  this.textFileService = textFileService;
474
- this.name = ( localize(13879, "Local"));
475
- this.description = ( localize(13880, "file"));
474
+ this.name = ( localize(14010, "Local"));
475
+ this.description = ( localize(14011, "file"));
476
476
  }
477
477
  async saveProfile(name, content, token) {
478
478
  const link = await this.fileDialogService.showSaveDialog({
479
- title: ( localize(13881, "Save Profile")),
479
+ title: ( localize(14012, "Save Profile")),
480
480
  filters: PROFILE_FILTER,
481
481
  defaultUri: this.uriIdentityService.extUri.joinPath(await this.fileDialogService.defaultFilePath(), `${name}.${PROFILE_EXTENSION}`),
482
482
  });
@@ -501,7 +501,7 @@ let FileUserDataProfileContentHandler = class FileUserDataProfileContentHandler
501
501
  canSelectFiles: true,
502
502
  canSelectMany: false,
503
503
  filters: PROFILE_FILTER,
504
- title: ( localize(13882, "Select Profile")),
504
+ title: ( localize(14013, "Select Profile")),
505
505
  });
506
506
  return profileLocation ? profileLocation[0] : null;
507
507
  }
@@ -548,13 +548,13 @@ let UserDataProfileImportExportState = class UserDataProfileImportExportState ex
548
548
  for (const root of this.roots) {
549
549
  root.checkbox = {
550
550
  isChecked: !root.isFromDefaultProfile(),
551
- tooltip: ( localize(13883, "Select {0}", root.label.label)),
551
+ tooltip: ( localize(14014, "Select {0}", root.label.label)),
552
552
  accessibilityInformation: {
553
- label: ( localize(13883, "Select {0}", root.label.label)),
553
+ label: ( localize(14014, "Select {0}", root.label.label)),
554
554
  }
555
555
  };
556
556
  if (root.isFromDefaultProfile()) {
557
- root.description = ( localize(13884, "From Default Profile"));
557
+ root.description = ( localize(14015, "From Default Profile"));
558
558
  }
559
559
  }
560
560
  return this.roots;
@@ -714,11 +714,11 @@ let UserDataProfileExportState = class UserDataProfileExportState extends UserDa
714
714
  let name = this.profile.name;
715
715
  if (this.profile.isDefault) {
716
716
  name = await this.quickInputService.input({
717
- placeHolder: ( localize(13885, "Name the profile")),
718
- title: ( localize(13886, "Export Profile")),
717
+ placeHolder: ( localize(14016, "Name the profile")),
718
+ title: ( localize(14017, "Export Profile")),
719
719
  async validateInput(input) {
720
720
  if (!input.trim()) {
721
- return localize(13887, "Profile name must be provided.");
721
+ return localize(14018, "Profile name must be provided.");
722
722
  }
723
723
  return undefined;
724
724
  },
@@ -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
- 13888,
46
+ 14019,
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
- 13889,
57
+ 14020,
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
- 13890,
63
+ 14021,
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(13891, "Cannot rename the default profile"))));
123
+ throw ( new Error(( localize(14022, "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(13892, "Cannot delete the default profile"))));
133
+ throw ( new Error(( localize(14023, "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(13893, "Switching to a profile"))))) {
176
+ if (!(await this.extensionService.stopExtensionHosts(( localize(14024, "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(13894, "Switching a profile requires reloading VS Code.")),
189
- primaryButton: ( localize(13895, "&&Reload")),
188
+ message: reloadMessage ?? ( localize(14025, "Switching a profile requires reloading VS Code.")),
189
+ primaryButton: ( localize(14026, "&&Reload")),
190
190
  });
191
191
  if (confirmed) {
192
192
  await this.hostService.reload();