@codingame/monaco-vscode-user-data-profile-service-override 37.3.3 → 37.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-user-data-profile-service-override",
3
- "version": "37.3.3",
3
+ "version": "37.3.5",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - user-data-profile service-override",
6
6
  "keywords": [],
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "37.3.3"
18
+ "@codingame/monaco-vscode-api": "37.3.5"
19
19
  },
20
20
  "main": "index.js",
21
21
  "module": "index.js",
@@ -110,7 +110,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
110
110
  }
111
111
  registerEditor() {
112
112
  ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(
113
- EditorPaneDescriptor.create(UserDataProfilesEditor, UserDataProfilesEditor.ID, ( localize(20622, "Profiles Editor"))),
113
+ EditorPaneDescriptor.create(UserDataProfilesEditor, UserDataProfilesEditor.ID, ( localize(20741, "Profiles Editor"))),
114
114
  [( new SyncDescriptor(UserDataProfilesEditorInput))]
115
115
  );
116
116
  ( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(UserDataProfilesEditorInput.ID, UserDataProfilesEditorInputSerializer);
@@ -128,7 +128,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
128
128
  if (uriIdentityService.extUri.extname(resource) === `.${PROFILE_EXTENSION}`) {
129
129
  const template = await userDataProfileImportExportService.resolveProfileTemplate(resource);
130
130
  if (!template) {
131
- notificationService.warn(( localize(20623, "The dropped profile is invalid.")));
131
+ notificationService.warn(( localize(20742, "The dropped profile is invalid.")));
132
132
  editorService.openEditor(textEditorService.createTextEditor({
133
133
  resource
134
134
  }));
@@ -166,7 +166,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
166
166
  }
167
167
  registerProfileSubMenu() {
168
168
  const getProfilesTitle = () => {
169
- return localize(20624, "Profile ({0})", this.userDataProfileService.currentProfile.name);
169
+ return localize(20743, "Profile ({0})", this.userDataProfileService.currentProfile.name);
170
170
  };
171
171
  MenuRegistry.appendMenuItem(MenuId.GlobalActivity, {
172
172
  get title() {
@@ -189,7 +189,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
189
189
  }
190
190
  registerOpenProfileSubMenu() {
191
191
  MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
192
- title: ( localize(20625, "New Window with Profile")),
192
+ title: ( localize(20744, "New Window with Profile")),
193
193
  submenu: OpenProfileMenu,
194
194
  group: "1_new",
195
195
  order: 4
@@ -212,7 +212,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
212
212
  id: `workbench.profiles.actions.profileEntry.${profile.id}`,
213
213
  title: profile.name,
214
214
  metadata: {
215
- description: ( localize2(20626, "Switch to {0} profile", profile.name))
215
+ description: ( localize2(20745, "Switch to {0} profile", profile.name))
216
216
  },
217
217
  toggled: ( ContextKeyExpr.equals(CURRENT_PROFILE_CONTEXT.key, profile.id)),
218
218
  menu: [{
@@ -233,7 +233,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
233
233
  constructor() {
234
234
  super({
235
235
  id: `workbench.profiles.actions.newWindowWithProfile`,
236
- title: ( localize2(20627, "New Window with Profile...")),
236
+ title: ( localize2(20746, "New Window with Profile...")),
237
237
  category: PROFILES_CATEGORY,
238
238
  precondition: HAS_PROFILES_CONTEXT,
239
239
  f1: true
@@ -249,8 +249,8 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
249
249
  profile
250
250
  })),
251
251
  {
252
- title: ( localize(20628, "New Window with Profile")),
253
- placeHolder: ( localize(20629, "Select Profile")),
252
+ title: ( localize(20747, "New Window with Profile")),
253
+ placeHolder: ( localize(20748, "Select Profile")),
254
254
  canPickMany: false
255
255
  }
256
256
  );
@@ -271,9 +271,9 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
271
271
  constructor() {
272
272
  super({
273
273
  id,
274
- title: ( localize2(20630, "{0}", profile.name)),
274
+ title: ( localize2(20749, "{0}", profile.name)),
275
275
  metadata: {
276
- description: ( localize2(20631, "Open New Window with {0} Profile", profile.name))
276
+ description: ( localize2(20750, "Open New Window with {0} Profile", profile.name))
277
277
  },
278
278
  menu: {
279
279
  id: OpenProfileMenu,
@@ -294,7 +294,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
294
294
  command: {
295
295
  id,
296
296
  category: PROFILES_CATEGORY,
297
- title: ( localize2(20632, "Open {0} Profile", profile.name)),
297
+ title: ( localize2(20751, "Open {0} Profile", profile.name)),
298
298
  precondition
299
299
  }
300
300
  }));
@@ -306,7 +306,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
306
306
  constructor() {
307
307
  super({
308
308
  id: `workbench.profiles.actions.switchProfile`,
309
- title: ( localize2(20633, "Switch Profile...")),
309
+ title: ( localize2(20752, "Switch Profile...")),
310
310
  category: PROFILES_CATEGORY,
311
311
  f1: true
312
312
  });
@@ -325,7 +325,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
325
325
  });
326
326
  }
327
327
  const result = await quickInputService.pick(items.sort((a, b) => a.profile.name.localeCompare(b.profile.name)), {
328
- placeHolder: ( localize(20634, "Select Profile"))
328
+ placeHolder: ( localize(20753, "Select Profile"))
329
329
  });
330
330
  if (result) {
331
331
  await that.userDataProfileManagementService.switchProfile(result.profile);
@@ -340,8 +340,8 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
340
340
  super({
341
341
  id: `workbench.profiles.actions.manageProfiles`,
342
342
  title: {
343
- ...( localize2(20635, "Profiles")),
344
- mnemonicTitle: ( localize(20636, "&&Profiles"))
343
+ ...( localize2(20754, "Profiles")),
344
+ mnemonicTitle: ( localize(20755, "&&Profiles"))
345
345
  },
346
346
  menu: [{
347
347
  id: MenuId.GlobalActivity,
@@ -370,7 +370,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
370
370
  command: {
371
371
  id: "workbench.profiles.actions.manageProfiles",
372
372
  category: Categories.Preferences,
373
- title: ( localize2(20637, "Open Profiles (UI)"))
373
+ title: ( localize2(20756, "Open Profiles (UI)"))
374
374
  }
375
375
  }));
376
376
  return disposables;
@@ -383,7 +383,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
383
383
  constructor() {
384
384
  super({
385
385
  id,
386
- title: ( localize2(20638, "Export Profile...")),
386
+ title: ( localize2(20757, "Export Profile...")),
387
387
  category: PROFILES_CATEGORY,
388
388
  f1: true
389
389
  });
@@ -397,7 +397,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
397
397
  command: {
398
398
  id,
399
399
  title: ( localize2(
400
- 20639,
400
+ 20758,
401
401
  "Export Profile ({0})...",
402
402
  that.userDataProfileService.currentProfile.name
403
403
  ))
@@ -411,7 +411,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
411
411
  constructor() {
412
412
  super({
413
413
  id: "workbench.profiles.actions.createFromCurrentProfile",
414
- title: ( localize2(20640, "Save Current Profile As...")),
414
+ title: ( localize2(20759, "Save Current Profile As...")),
415
415
  category: PROFILES_CATEGORY,
416
416
  f1: true
417
417
  });
@@ -428,7 +428,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
428
428
  constructor() {
429
429
  super({
430
430
  id: "workbench.profiles.actions.createProfile",
431
- title: ( localize2(20641, "New Profile...")),
431
+ title: ( localize2(20760, "New Profile...")),
432
432
  category: PROFILES_CATEGORY,
433
433
  f1: true,
434
434
  menu: [{
@@ -449,7 +449,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
449
449
  constructor() {
450
450
  super({
451
451
  id: "workbench.profiles.actions.deleteProfile",
452
- title: ( localize2(20642, "Delete Profile...")),
452
+ title: ( localize2(20761, "Delete Profile...")),
453
453
  category: PROFILES_CATEGORY,
454
454
  f1: true,
455
455
  precondition: HAS_PROFILES_CONTEXT
@@ -465,11 +465,11 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
465
465
  if (profiles.length) {
466
466
  const picks = await quickInputService.pick(profiles.map(profile => ({
467
467
  label: profile.name,
468
- description: profile.id === userDataProfileService.currentProfile.id ? ( localize(20643, "Current")) : undefined,
468
+ description: profile.id === userDataProfileService.currentProfile.id ? ( localize(20762, "Current")) : undefined,
469
469
  profile
470
470
  })), {
471
- title: ( localize(20644, "Delete Profile...")),
472
- placeHolder: ( localize(20645, "Select Profiles to Delete")),
471
+ title: ( localize(20763, "Delete Profile...")),
472
+ placeHolder: ( localize(20764, "Select Profiles to Delete")),
473
473
  canPickMany: true
474
474
  });
475
475
  if (picks) {
@@ -11,7 +11,7 @@ class CreateTransientProfileAction extends Action2 {
11
11
  this.ID = "workbench.profiles.actions.createTemporaryProfile";
12
12
  }
13
13
  static {
14
- this.TITLE = ( localize2(20646, "New Window with Temporary Profile"));
14
+ this.TITLE = ( localize2(20765, "New Window with Temporary Profile"));
15
15
  }
16
16
  constructor() {
17
17
  super({
@@ -32,7 +32,7 @@ registerAction2(class CleanupProfilesAction extends Action2 {
32
32
  constructor() {
33
33
  super({
34
34
  id: "workbench.profiles.actions.cleanupProfiles",
35
- title: ( localize2(20647, "Cleanup Profiles")),
35
+ title: ( localize2(20766, "Cleanup Profiles")),
36
36
  category: Categories.Developer,
37
37
  f1: true
38
38
  });
@@ -45,7 +45,7 @@ registerAction2(class ResetWorkspacesAction extends Action2 {
45
45
  constructor() {
46
46
  super({
47
47
  id: "workbench.profiles.actions.resetWorkspaces",
48
- title: ( localize2(20648, "Reset Workspace Profiles Associations")),
48
+ title: ( localize2(20767, "Reset Workspace Profiles Associations")),
49
49
  category: Categories.Developer,
50
50
  f1: true
51
51
  });