@codingame/monaco-vscode-user-data-profile-service-override 32.0.0 → 32.0.2

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": "32.0.0",
3
+ "version": "32.0.2",
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": "32.0.0"
18
+ "@codingame/monaco-vscode-api": "32.0.2"
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(15387, "Profiles Editor"))),
113
+ EditorPaneDescriptor.create(UserDataProfilesEditor, UserDataProfilesEditor.ID, ( localize(15412, "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(15388, "The dropped profile is invalid.")));
131
+ notificationService.warn(( localize(15413, "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(15389, "Profile ({0})", this.userDataProfileService.currentProfile.name);
169
+ return localize(15414, "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(15390, "New Window with Profile")),
192
+ title: ( localize(15415, "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(15391, "Switch to {0} profile", profile.name))
215
+ description: ( localize2(15416, "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(15392, "New Window with Profile...")),
236
+ title: ( localize2(15417, "New Window with Profile...")),
237
237
  category: PROFILES_CATEGORY,
238
238
  precondition: HAS_PROFILES_CONTEXT,
239
239
  f1: true
@@ -247,8 +247,8 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
247
247
  label: profile.name,
248
248
  profile
249
249
  }))), {
250
- title: ( localize(15393, "New Window with Profile")),
251
- placeHolder: ( localize(15394, "Select Profile")),
250
+ title: ( localize(15418, "New Window with Profile")),
251
+ placeHolder: ( localize(15419, "Select Profile")),
252
252
  canPickMany: false
253
253
  });
254
254
  if (pick) {
@@ -268,9 +268,9 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
268
268
  constructor() {
269
269
  super({
270
270
  id,
271
- title: ( localize2(15395, "{0}", profile.name)),
271
+ title: ( localize2(15420, "{0}", profile.name)),
272
272
  metadata: {
273
- description: ( localize2(15396, "Open New Window with {0} Profile", profile.name))
273
+ description: ( localize2(15421, "Open New Window with {0} Profile", profile.name))
274
274
  },
275
275
  menu: {
276
276
  id: OpenProfileMenu,
@@ -291,7 +291,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
291
291
  command: {
292
292
  id,
293
293
  category: PROFILES_CATEGORY,
294
- title: ( localize2(15397, "Open {0} Profile", profile.name)),
294
+ title: ( localize2(15422, "Open {0} Profile", profile.name)),
295
295
  precondition
296
296
  }
297
297
  }));
@@ -303,7 +303,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
303
303
  constructor() {
304
304
  super({
305
305
  id: `workbench.profiles.actions.switchProfile`,
306
- title: ( localize2(15398, "Switch Profile...")),
306
+ title: ( localize2(15423, "Switch Profile...")),
307
307
  category: PROFILES_CATEGORY,
308
308
  f1: true
309
309
  });
@@ -322,7 +322,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
322
322
  });
323
323
  }
324
324
  const result = await quickInputService.pick(items.sort((a, b) => a.profile.name.localeCompare(b.profile.name)), {
325
- placeHolder: ( localize(15399, "Select Profile"))
325
+ placeHolder: ( localize(15424, "Select Profile"))
326
326
  });
327
327
  if (result) {
328
328
  await that.userDataProfileManagementService.switchProfile(result.profile);
@@ -337,8 +337,8 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
337
337
  super({
338
338
  id: `workbench.profiles.actions.manageProfiles`,
339
339
  title: {
340
- ...( localize2(15400, "Profiles")),
341
- mnemonicTitle: ( localize(15401, "&&Profiles"))
340
+ ...( localize2(15425, "Profiles")),
341
+ mnemonicTitle: ( localize(15426, "&&Profiles"))
342
342
  },
343
343
  menu: [{
344
344
  id: MenuId.GlobalActivity,
@@ -367,7 +367,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
367
367
  command: {
368
368
  id: "workbench.profiles.actions.manageProfiles",
369
369
  category: Categories.Preferences,
370
- title: ( localize2(15402, "Open Profiles (UI)"))
370
+ title: ( localize2(15427, "Open Profiles (UI)"))
371
371
  }
372
372
  }));
373
373
  return disposables;
@@ -380,7 +380,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
380
380
  constructor() {
381
381
  super({
382
382
  id,
383
- title: ( localize2(15403, "Export Profile...")),
383
+ title: ( localize2(15428, "Export Profile...")),
384
384
  category: PROFILES_CATEGORY,
385
385
  f1: true
386
386
  });
@@ -394,7 +394,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
394
394
  command: {
395
395
  id,
396
396
  title: ( localize2(
397
- 15404,
397
+ 15429,
398
398
  "Export Profile ({0})...",
399
399
  that.userDataProfileService.currentProfile.name
400
400
  ))
@@ -408,7 +408,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
408
408
  constructor() {
409
409
  super({
410
410
  id: "workbench.profiles.actions.createFromCurrentProfile",
411
- title: ( localize2(15405, "Save Current Profile As...")),
411
+ title: ( localize2(15430, "Save Current Profile As...")),
412
412
  category: PROFILES_CATEGORY,
413
413
  f1: true
414
414
  });
@@ -425,7 +425,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
425
425
  constructor() {
426
426
  super({
427
427
  id: "workbench.profiles.actions.createProfile",
428
- title: ( localize2(15406, "New Profile...")),
428
+ title: ( localize2(15431, "New Profile...")),
429
429
  category: PROFILES_CATEGORY,
430
430
  f1: true,
431
431
  menu: [{
@@ -446,7 +446,7 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
446
446
  constructor() {
447
447
  super({
448
448
  id: "workbench.profiles.actions.deleteProfile",
449
- title: ( localize2(15407, "Delete Profile...")),
449
+ title: ( localize2(15432, "Delete Profile...")),
450
450
  category: PROFILES_CATEGORY,
451
451
  f1: true,
452
452
  precondition: HAS_PROFILES_CONTEXT
@@ -462,11 +462,11 @@ let UserDataProfilesWorkbenchContribution = class UserDataProfilesWorkbenchContr
462
462
  if (profiles.length) {
463
463
  const picks = await quickInputService.pick(( profiles.map(profile => ({
464
464
  label: profile.name,
465
- description: profile.id === userDataProfileService.currentProfile.id ? ( localize(15408, "Current")) : undefined,
465
+ description: profile.id === userDataProfileService.currentProfile.id ? ( localize(15433, "Current")) : undefined,
466
466
  profile
467
467
  }))), {
468
- title: ( localize(15409, "Delete Profile...")),
469
- placeHolder: ( localize(15410, "Select Profiles to Delete")),
468
+ title: ( localize(15434, "Delete Profile...")),
469
+ placeHolder: ( localize(15435, "Select Profiles to Delete")),
470
470
  canPickMany: true
471
471
  });
472
472
  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(15411, "New Window with Temporary Profile"));
14
+ this.TITLE = ( localize2(15436, "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(15412, "Cleanup Profiles")),
35
+ title: ( localize2(15437, "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(15413, "Reset Workspace Profiles Associations")),
48
+ title: ( localize2(15438, "Reset Workspace Profiles Associations")),
49
49
  category: Categories.Developer,
50
50
  f1: true
51
51
  });