@codingame/monaco-vscode-edit-sessions-service-override 26.2.2 → 27.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-edit-sessions-service-override",
3
- "version": "26.2.2",
3
+ "version": "27.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - edit-sessions service-override",
6
6
  "keywords": [],
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "26.2.2"
18
+ "@codingame/monaco-vscode-api": "27.0.0"
19
19
  },
20
20
  "main": "index.js",
21
21
  "module": "index.js",
@@ -80,24 +80,24 @@ import Severity from '@codingame/monaco-vscode-api/vscode/vs/base/common/severit
80
80
  var EditSessionsContribution_1;
81
81
  const continueWorkingOnCommand = {
82
82
  id: "_workbench.editSessions.actions.continueEditSession",
83
- title: ( localize2(7682, "Continue Working On...")),
83
+ title: ( localize2(8318, "Continue Working On...")),
84
84
  precondition: ( WorkspaceFolderCountContext.notEqualsTo("0")),
85
85
  f1: true
86
86
  };
87
87
  const openLocalFolderCommand = {
88
88
  id: "_workbench.editSessions.actions.continueEditSession.openLocalFolder",
89
- title: ( localize2(7683, "Open In Local Folder")),
89
+ title: ( localize2(8319, "Open In Local Folder")),
90
90
  category: EDIT_SESSION_SYNC_CATEGORY,
91
91
  precondition: ( ContextKeyExpr.and(( IsWebContext.toNegated()), VirtualWorkspaceContext))
92
92
  };
93
93
  const showOutputChannelCommand = {
94
94
  id: "workbench.editSessions.actions.showOutputChannel",
95
- title: ( localize2(7684, "Show Log")),
95
+ title: ( localize2(8320, "Show Log")),
96
96
  category: EDIT_SESSION_SYNC_CATEGORY
97
97
  };
98
98
  const installAdditionalContinueOnOptionsCommand = {
99
99
  id: "workbench.action.continueOn.extensions",
100
- title: ( localize(7685, "Install additional development environment options"))
100
+ title: ( localize(8321, "Install additional development environment options"))
101
101
  };
102
102
  registerAction2(class extends Action2 {
103
103
  constructor() {
@@ -110,7 +110,7 @@ registerAction2(class extends Action2 {
110
110
  return accessor.get(IExtensionsWorkbenchService).openSearch("@tag:continueOn");
111
111
  }
112
112
  });
113
- const resumeProgressOptionsTitle = `[${( localize(7686, "Resuming working changes..."))}](command:${showOutputChannelCommand.id})`;
113
+ const resumeProgressOptionsTitle = `[${( localize(8322, "Resuming working changes..."))}](command:${showOutputChannelCommand.id})`;
114
114
  const resumeProgressOptions = {
115
115
  location: ProgressLocation.Window,
116
116
  type: "syncing"
@@ -217,14 +217,14 @@ let EditSessionsContribution = class EditSessionsContribution extends Disposable
217
217
  this._register(
218
218
  this.fileService.registerProvider(EditSessionsFileSystemProvider.SCHEMA, ( new EditSessionsFileSystemProvider(this.editSessionsStorageService)))
219
219
  );
220
- this.lifecycleService.onWillShutdown(e => {
220
+ this._register(this.lifecycleService.onWillShutdown(e => {
221
221
  if (e.reason !== ShutdownReason.RELOAD && this.editSessionsStorageService.isSignedIn && this.configurationService.getValue("workbench.experimental.cloudChanges.autoStore") === "onShutdown" && !isWeb) {
222
222
  e.join(this.autoStoreEditSession(), {
223
223
  id: "autoStoreWorkingChanges",
224
- label: ( localize(7687, "Storing current working changes..."))
224
+ label: ( localize(8323, "Storing current working changes..."))
225
225
  });
226
226
  }
227
- });
227
+ }));
228
228
  this._register(
229
229
  this.editSessionsStorageService.onDidSignIn(() => this.updateAccountsMenuBadge())
230
230
  );
@@ -311,7 +311,7 @@ let EditSessionsContribution = class EditSessionsContribution extends Disposable
311
311
  if (this.editSessionsStorageService.isSignedIn) {
312
312
  return this.accountsMenuBadgeDisposable.clear();
313
313
  }
314
- const badge = ( new NumberBadge(1, () => ( localize(7688, "Check for pending cloud changes"))));
314
+ const badge = ( new NumberBadge(1, () => ( localize(8324, "Check for pending cloud changes"))));
315
315
  this.accountsMenuBadgeDisposable.value = this.activityService.showAccountsActivity({
316
316
  badge
317
317
  });
@@ -321,7 +321,7 @@ let EditSessionsContribution = class EditSessionsContribution extends Disposable
321
321
  await this.progressService.withProgress({
322
322
  location: ProgressLocation.Window,
323
323
  type: "syncing",
324
- title: ( localize(7689, "Storing working changes..."))
324
+ title: ( localize(8325, "Storing working changes..."))
325
325
  }, async () => this.storeEditSession(false, cancellationTokenSource.token), () => {
326
326
  cancellationTokenSource.cancel();
327
327
  cancellationTokenSource.dispose();
@@ -366,7 +366,7 @@ let EditSessionsContribution = class EditSessionsContribution extends Disposable
366
366
  constructor() {
367
367
  super({
368
368
  id: "workbench.editSessions.actions.showEditSessions",
369
- title: ( localize2(7690, "Show Cloud Changes")),
369
+ title: ( localize2(8326, "Show Cloud Changes")),
370
370
  category: EDIT_SESSION_SYNC_CATEGORY,
371
371
  f1: true
372
372
  });
@@ -405,7 +405,7 @@ let EditSessionsContribution = class EditSessionsContribution extends Disposable
405
405
  location: ProgressLocation.Notification,
406
406
  cancellable: true,
407
407
  type: "syncing",
408
- title: ( localize(7691, "Storing your working changes..."))
408
+ title: ( localize(8327, "Storing your working changes..."))
409
409
  }, async () => {
410
410
  const ref = await that.storeEditSession(false, cancellationTokenSource.token);
411
411
  if (ref !== undefined) {
@@ -465,7 +465,7 @@ let EditSessionsContribution = class EditSessionsContribution extends Disposable
465
465
  constructor() {
466
466
  super({
467
467
  id: "workbench.editSessions.actions.resumeLatest",
468
- title: ( localize2(7692, "Resume Latest Changes from Cloud")),
468
+ title: ( localize2(8328, "Resume Latest Changes from Cloud")),
469
469
  category: EDIT_SESSION_SYNC_CATEGORY,
470
470
  f1: true
471
471
  });
@@ -481,7 +481,7 @@ let EditSessionsContribution = class EditSessionsContribution extends Disposable
481
481
  constructor() {
482
482
  super({
483
483
  id: "workbench.editSessions.actions.resumeFromSerializedPayload",
484
- title: ( localize2(7693, "Resume Changes from Serialized Data")),
484
+ title: ( localize2(8329, "Resume Changes from Serialized Data")),
485
485
  category: "Developer",
486
486
  f1: true
487
487
  });
@@ -509,7 +509,7 @@ let EditSessionsContribution = class EditSessionsContribution extends Disposable
509
509
  constructor() {
510
510
  super({
511
511
  id: "workbench.editSessions.actions.storeCurrent",
512
- title: ( localize2(7694, "Store Working Changes in Cloud")),
512
+ title: ( localize2(8330, "Store Working Changes in Cloud")),
513
513
  category: EDIT_SESSION_SYNC_CATEGORY,
514
514
  f1: true
515
515
  });
@@ -518,7 +518,7 @@ let EditSessionsContribution = class EditSessionsContribution extends Disposable
518
518
  const cancellationTokenSource = ( new CancellationTokenSource());
519
519
  await that.progressService.withProgress({
520
520
  location: ProgressLocation.Notification,
521
- title: ( localize(7695, "Storing working changes..."))
521
+ title: ( localize(8331, "Storing working changes..."))
522
522
  }, async () => {
523
523
  that.telemetryService.publicLog2("editSessions.store");
524
524
  await that.storeEditSession(true, cancellationTokenSource.token);
@@ -550,7 +550,7 @@ let EditSessionsContribution = class EditSessionsContribution extends Disposable
550
550
  this.telemetryService.publicLog2("editSessions.resume");
551
551
  performance.mark("code/willResumeEditSessionFromIdentifier");
552
552
  progress?.report({
553
- message: ( localize(7696, "Checking for pending cloud changes..."))
553
+ message: ( localize(8332, "Checking for pending cloud changes..."))
554
554
  });
555
555
  const data = serializedData ? {
556
556
  content: serializedData,
@@ -558,9 +558,9 @@ let EditSessionsContribution = class EditSessionsContribution extends Disposable
558
558
  } : await this.editSessionsStorageService.read("editSessions", ref);
559
559
  if (!data) {
560
560
  if (ref === undefined && !silent) {
561
- this.notificationService.info(( localize(7697, "There are no changes to resume from the cloud.")));
561
+ this.notificationService.info(( localize(8333, "There are no changes to resume from the cloud.")));
562
562
  } else if (ref !== undefined) {
563
- this.notificationService.warn(( localize(7698, "Could not resume changes from the cloud for ID {0}.", ref)));
563
+ this.notificationService.warn(( localize(8334, "Could not resume changes from the cloud for ID {0}.", ref)));
564
564
  }
565
565
  this.logService.info(
566
566
  ref !== undefined ? `Aborting resuming changes from cloud as no edit session content is available to be applied from ref ${ref}.` : `Aborting resuming edit session as no edit session content is available to be applied`
@@ -574,7 +574,7 @@ let EditSessionsContribution = class EditSessionsContribution extends Disposable
574
574
  ref = data.ref;
575
575
  if (editSession.version > EditSessionSchemaVersion) {
576
576
  this.notificationService.error(( localize(
577
- 7699,
577
+ 8335,
578
578
  "Please upgrade to a newer version of {0} to resume your working changes from the cloud.",
579
579
  this.productService.nameLong
580
580
  )));
@@ -598,11 +598,11 @@ let EditSessionsContribution = class EditSessionsContribution extends Disposable
598
598
  } = await this.dialogService.confirm({
599
599
  type: Severity.Warning,
600
600
  message: conflictingChanges.length > 1 ? ( localize(
601
- 7700,
601
+ 8336,
602
602
  "Resuming your working changes from the cloud will overwrite the following {0} files. Do you want to proceed?",
603
603
  conflictingChanges.length
604
604
  )) : ( localize(
605
- 7701,
605
+ 8337,
606
606
  "Resuming your working changes from the cloud will overwrite {0}. Do you want to proceed?",
607
607
  basename(conflictingChanges[0].uri)
608
608
  )),
@@ -635,7 +635,7 @@ let EditSessionsContribution = class EditSessionsContribution extends Disposable
635
635
  });
636
636
  } catch (ex) {
637
637
  this.logService.error("Failed to resume edit session, reason: ", ( ex.toString()));
638
- this.notificationService.error(( localize(7702, "Failed to resume your working changes from the cloud.")));
638
+ this.notificationService.error(( localize(8338, "Failed to resume your working changes from the cloud.")));
639
639
  }
640
640
  performance.mark("code/didResumeEditSessionFromIdentifier");
641
641
  }
@@ -669,10 +669,10 @@ let EditSessionsContribution = class EditSessionsContribution extends Disposable
669
669
  } else if (match === EditSessionIdentityMatch.Partial && this.configurationService.getValue("workbench.experimental.cloudChanges.partialMatches.enabled") === true) {
670
670
  if (!applyPartialMatch) {
671
671
  this.notificationService.prompt(Severity.Info, ( localize(
672
- 7703,
672
+ 8339,
673
673
  "You have pending working changes in the cloud for this workspace. Would you like to resume them?"
674
674
  )), [{
675
- label: ( localize(7704, "Resume")),
675
+ label: ( localize(8340, "Resume")),
676
676
  run: () => this.resumeEditSession(ref, false, undefined, true)
677
677
  }]);
678
678
  } else {
@@ -793,7 +793,7 @@ let EditSessionsContribution = class EditSessionsContribution extends Disposable
793
793
  const contents = encodeBase64((await this.fileService.readFile(uri)).value);
794
794
  editSessionSize += contents.length;
795
795
  if (editSessionSize > this.editSessionsStorageService.SIZE_LIMIT) {
796
- this.notificationService.error(( localize(7705, "Your working changes exceed the size limit and cannot be stored.")));
796
+ this.notificationService.error(( localize(8341, "Your working changes exceed the size limit and cannot be stored.")));
797
797
  return undefined;
798
798
  }
799
799
  workingChanges.push({
@@ -829,7 +829,7 @@ let EditSessionsContribution = class EditSessionsContribution extends Disposable
829
829
  );
830
830
  if (fromStoreCommand) {
831
831
  this.notificationService.info(( localize(
832
- 7706,
832
+ 8342,
833
833
  "Skipped storing working changes in the cloud as there are no edits to store."
834
834
  )));
835
835
  }
@@ -853,13 +853,13 @@ let EditSessionsContribution = class EditSessionsContribution extends Disposable
853
853
  this.telemetryService.publicLog2("editSessions.upload.failed", {
854
854
  reason: "TooLarge"
855
855
  });
856
- this.notificationService.error(( localize(7705, "Your working changes exceed the size limit and cannot be stored.")));
856
+ this.notificationService.error(( localize(8341, "Your working changes exceed the size limit and cannot be stored.")));
857
857
  break;
858
858
  default:
859
859
  this.telemetryService.publicLog2("editSessions.upload.failed", {
860
860
  reason: "unknown"
861
861
  });
862
- this.notificationService.error(( localize(7707, "Your working changes cannot be stored.")));
862
+ this.notificationService.error(( localize(8343, "Your working changes cannot be stored.")));
863
863
  break;
864
864
  }
865
865
  }
@@ -893,14 +893,14 @@ let EditSessionsContribution = class EditSessionsContribution extends Disposable
893
893
  if (this.hasEditSession()) {
894
894
  const disposables = ( new DisposableStore());
895
895
  const quickpick = disposables.add(this.quickInputService.createQuickPick());
896
- quickpick.placeholder = ( localize(7708, "Select whether to bring your working changes with you"));
896
+ quickpick.placeholder = ( localize(8344, "Select whether to bring your working changes with you"));
897
897
  quickpick.ok = false;
898
898
  quickpick.ignoreFocusOut = true;
899
899
  const withCloudChanges = {
900
- label: ( localize(7709, "Yes, continue with my working changes"))
900
+ label: ( localize(8345, "Yes, continue with my working changes"))
901
901
  };
902
902
  const withoutCloudChanges = {
903
- label: ( localize(7710, "No, continue without my working changes"))
903
+ label: ( localize(8346, "No, continue without my working changes"))
904
904
  };
905
905
  quickpick.items = [withCloudChanges, withoutCloudChanges];
906
906
  const continueWithCloudChanges = await ( new Promise((resolve, reject) => {
@@ -1010,7 +1010,7 @@ let EditSessionsContribution = class EditSessionsContribution extends Disposable
1010
1010
  }
1011
1011
  async run(accessor) {
1012
1012
  const selection = await that.fileDialogService.showOpenDialog({
1013
- title: ( localize(7711, "Select a local folder to continue working in")),
1013
+ title: ( localize(8347, "Select a local folder to continue working in")),
1014
1014
  canSelectFolders: true,
1015
1015
  canSelectMany: false,
1016
1016
  canSelectFiles: false,
@@ -1024,7 +1024,7 @@ let EditSessionsContribution = class EditSessionsContribution extends Disposable
1024
1024
  }
1025
1025
  }));
1026
1026
  if (getVirtualWorkspaceLocation(this.contextService.getWorkspace()) !== undefined && isNative) {
1027
- this.generateStandaloneOptionCommand(openLocalFolderCommand.id, ( localize(7712, "Continue Working in Existing Local Folder")), undefined, openLocalFolderCommand.precondition, undefined);
1027
+ this.generateStandaloneOptionCommand(openLocalFolderCommand.id, ( localize(8348, "Continue Working in Existing Local Folder")), undefined, openLocalFolderCommand.precondition, undefined);
1028
1028
  }
1029
1029
  }
1030
1030
  async pickContinueEditSessionDestination() {
@@ -1034,14 +1034,14 @@ let EditSessionsContribution = class EditSessionsContribution extends Disposable
1034
1034
  }));
1035
1035
  const workspaceContext = this.contextService.getWorkbenchState() === WorkbenchState.FOLDER ? this.contextService.getWorkspace().folders[0].name : ( this.contextService.getWorkspace().folders.map(folder => folder.name)).join(", ");
1036
1036
  quickPick.placeholder = ( localize(
1037
- 7713,
1037
+ 8349,
1038
1038
  "Select a development environment to continue working on {0} in",
1039
1039
  `'${workspaceContext}'`
1040
1040
  ));
1041
1041
  quickPick.items = this.createPickItems();
1042
- this.extensionService.onDidChangeExtensions(() => {
1042
+ disposables.add(this.extensionService.onDidChangeExtensions(() => {
1043
1043
  quickPick.items = this.createPickItems();
1044
- });
1044
+ }));
1045
1045
  const command = await ( new Promise((resolve, reject) => {
1046
1046
  disposables.add(quickPick.onDidHide(() => {
1047
1047
  disposables.dispose();
@@ -1113,7 +1113,7 @@ let EditSessionsContribution = class EditSessionsContribution extends Disposable
1113
1113
  option => option.when === undefined || this.contextKeyService.contextMatchesRules(option.when)
1114
1114
  );
1115
1115
  if (getVirtualWorkspaceLocation(this.contextService.getWorkspace()) !== undefined && isNative) {
1116
- items.push(( new ContinueEditSessionItem("$(folder) " + ( localize(7714, "Open in Local Folder")), openLocalFolderCommand.id, ( localize(7715, "Built-in")))));
1116
+ items.push(( new ContinueEditSessionItem("$(folder) " + ( localize(8350, "Open in Local Folder")), openLocalFolderCommand.id, ( localize(8351, "Built-in")))));
1117
1117
  }
1118
1118
  const sortedItems = items.sort((item1, item2) => item1.label.localeCompare(item2.label));
1119
1119
  return sortedItems.concat({
@@ -1136,7 +1136,7 @@ class ContinueEditSessionItem {
1136
1136
  if (documentation !== undefined) {
1137
1137
  this.buttons = [{
1138
1138
  iconClass: infoButtonClass,
1139
- tooltip: ( localize(7716, "Learn More"))
1139
+ tooltip: ( localize(8352, "Learn More"))
1140
1140
  }];
1141
1141
  }
1142
1142
  }
@@ -1145,7 +1145,7 @@ const continueEditSessionExtPoint = ExtensionsRegistry.registerExtensionPoint({
1145
1145
  extensionPoint: "continueEditSession",
1146
1146
  jsonSchema: {
1147
1147
  description: ( localize(
1148
- 7717,
1148
+ 8353,
1149
1149
  "Contributes options for continuing the current edit session in a different environment"
1150
1150
  )),
1151
1151
  type: "array",
@@ -1154,35 +1154,35 @@ const continueEditSessionExtPoint = ExtensionsRegistry.registerExtensionPoint({
1154
1154
  properties: {
1155
1155
  command: {
1156
1156
  description: ( localize(
1157
- 7718,
1157
+ 8354,
1158
1158
  "Identifier of the command to execute. The command must be declared in the 'commands'-section and return a URI representing a different environment where the current edit session can be continued."
1159
1159
  )),
1160
1160
  type: "string"
1161
1161
  },
1162
1162
  group: {
1163
- description: ( localize(7719, "Group into which this item belongs.")),
1163
+ description: ( localize(8355, "Group into which this item belongs.")),
1164
1164
  type: "string"
1165
1165
  },
1166
1166
  qualifiedName: {
1167
1167
  description: ( localize(
1168
- 7720,
1168
+ 8356,
1169
1169
  "A fully qualified name for this item which is used for display in menus."
1170
1170
  )),
1171
1171
  type: "string"
1172
1172
  },
1173
1173
  description: {
1174
1174
  description: ( localize(
1175
- 7721,
1175
+ 8357,
1176
1176
  "The url, or a command that returns the url, to the option's documentation page."
1177
1177
  )),
1178
1178
  type: "string"
1179
1179
  },
1180
1180
  remoteGroup: {
1181
- description: ( localize(7722, "Group into which this item belongs in the remote indicator.")),
1181
+ description: ( localize(8358, "Group into which this item belongs in the remote indicator.")),
1182
1182
  type: "string"
1183
1183
  },
1184
1184
  when: {
1185
- description: ( localize(7723, "Condition which must be true to show this item.")),
1185
+ description: ( localize(8359, "Condition which must be true to show this item.")),
1186
1186
  type: "string"
1187
1187
  }
1188
1188
  },
@@ -1198,45 +1198,45 @@ workbenchRegistry.registerWorkbenchContribution(EditSessionsContribution, Lifecy
1198
1198
  "workbench.experimental.cloudChanges.autoStore": {
1199
1199
  enum: ["onShutdown", "off"],
1200
1200
  enumDescriptions: [( localize(
1201
- 7724,
1201
+ 8360,
1202
1202
  "Automatically store current working changes in the cloud on window close."
1203
- )), ( localize(7725, "Never attempt to automatically store working changes in the cloud."))],
1203
+ )), ( localize(8361, "Never attempt to automatically store working changes in the cloud."))],
1204
1204
  "type": "string",
1205
1205
  "tags": ["experimental", "usesOnlineServices"],
1206
1206
  "default": "off",
1207
1207
  "markdownDescription": ( localize(
1208
- 7726,
1208
+ 8362,
1209
1209
  "Controls whether to automatically store available working changes in the cloud for the current workspace. This setting has no effect in the web."
1210
1210
  ))
1211
1211
  },
1212
1212
  "workbench.cloudChanges.autoResume": {
1213
1213
  enum: ["onReload", "off"],
1214
1214
  enumDescriptions: [( localize(
1215
- 7727,
1215
+ 8363,
1216
1216
  "Automatically resume available working changes from the cloud on window reload."
1217
- )), ( localize(7728, "Never attempt to resume working changes from the cloud."))],
1217
+ )), ( localize(8364, "Never attempt to resume working changes from the cloud."))],
1218
1218
  "type": "string",
1219
1219
  "tags": ["usesOnlineServices"],
1220
1220
  "default": "onReload",
1221
1221
  "markdownDescription": ( localize(
1222
- 7729,
1222
+ 8365,
1223
1223
  "Controls whether to automatically resume available working changes stored in the cloud for the current workspace."
1224
1224
  ))
1225
1225
  },
1226
1226
  "workbench.cloudChanges.continueOn": {
1227
1227
  enum: ["prompt", "off"],
1228
1228
  enumDescriptions: [( localize(
1229
- 7730,
1229
+ 8366,
1230
1230
  "Prompt the user to sign in to store working changes in the cloud with Continue Working On."
1231
1231
  )), ( localize(
1232
- 7731,
1232
+ 8367,
1233
1233
  "Do not store working changes in the cloud with Continue Working On unless the user has already turned on Cloud Changes."
1234
1234
  ))],
1235
1235
  type: "string",
1236
1236
  tags: ["usesOnlineServices"],
1237
1237
  default: "prompt",
1238
1238
  markdownDescription: ( localize(
1239
- 7732,
1239
+ 8368,
1240
1240
  "Controls whether to prompt the user to store working changes in the cloud when using Continue Working On."
1241
1241
  ))
1242
1242
  },
@@ -1245,7 +1245,7 @@ workbenchRegistry.registerWorkbenchContribution(EditSessionsContribution, Lifecy
1245
1245
  "tags": ["experimental", "usesOnlineServices"],
1246
1246
  "default": false,
1247
1247
  "markdownDescription": ( localize(
1248
- 7733,
1248
+ 8369,
1249
1249
  "Controls whether to surface cloud changes which partially match the current session."
1250
1250
  ))
1251
1251
  }
@@ -75,8 +75,8 @@ let EditSessionsWorkbenchService = class EditSessionsWorkbenchService extends Di
75
75
  this.secretStorageService = secretStorageService;
76
76
  this.SIZE_LIMIT = Math.floor(1024 * 1024 * 1.9);
77
77
  this.initialized = false;
78
- this._didSignIn = ( new Emitter());
79
- this._didSignOut = ( new Emitter());
78
+ this._didSignIn = this._register(( new Emitter()));
79
+ this._didSignOut = this._register(( new Emitter()));
80
80
  this._lastWrittenResources = ( new Map());
81
81
  this._lastReadResources = ( new Map());
82
82
  this.serverConfiguration = this.productService["editSessions.store"];
@@ -282,7 +282,7 @@ let EditSessionsWorkbenchService = class EditSessionsWorkbenchService extends Di
282
282
  useSeparators: true
283
283
  }));
284
284
  quickpick.ok = false;
285
- quickpick.placeholder = reason === "read" ? ( localize(7734, "Select an account to restore your working changes from the cloud")) : ( localize(7735, "Select an account to store your working changes in the cloud"));
285
+ quickpick.placeholder = reason === "read" ? ( localize(8370, "Select an account to restore your working changes from the cloud")) : ( localize(8371, "Select an account to store your working changes in the cloud"));
286
286
  quickpick.ignoreFocusOut = true;
287
287
  quickpick.items = await this.createQuickpickItems();
288
288
  return ( new Promise((resolve, reject) => {
@@ -306,20 +306,20 @@ let EditSessionsWorkbenchService = class EditSessionsWorkbenchService extends Di
306
306
  const options = [];
307
307
  options.push({
308
308
  type: "separator",
309
- label: ( localize(7736, "Signed In"))
309
+ label: ( localize(8372, "Signed In"))
310
310
  });
311
311
  const sessions = await this.getAllSessions();
312
312
  options.push(...sessions);
313
313
  options.push({
314
314
  type: "separator",
315
- label: ( localize(7737, "Others"))
315
+ label: ( localize(8373, "Others"))
316
316
  });
317
317
  for (const authenticationProvider of (await this.getAuthenticationProviders())) {
318
318
  const signedInForProvider = ( sessions.some(account => account.session.providerId === authenticationProvider.id));
319
319
  if (!signedInForProvider || this.authenticationService.getProvider(authenticationProvider.id).supportsMultipleAccounts) {
320
320
  const providerName = this.authenticationService.getProvider(authenticationProvider.id).label;
321
321
  options.push({
322
- label: ( localize(7738, "Sign in with {0}", providerName)),
322
+ label: ( localize(8374, "Sign in with {0}", providerName)),
323
323
  provider: authenticationProvider
324
324
  });
325
325
  }
@@ -433,7 +433,7 @@ let EditSessionsWorkbenchService = class EditSessionsWorkbenchService extends Di
433
433
  constructor() {
434
434
  super({
435
435
  id,
436
- title: ( localize(7739, "Turn on Cloud Changes...")),
436
+ title: ( localize(8375, "Turn on Cloud Changes...")),
437
437
  category: EDIT_SESSION_SYNC_CATEGORY,
438
438
  precondition: when,
439
439
  menu: [{
@@ -454,7 +454,7 @@ let EditSessionsWorkbenchService = class EditSessionsWorkbenchService extends Di
454
454
  group: "2_editSessions",
455
455
  command: {
456
456
  id,
457
- title: ( localize(7740, "Turn on Cloud Changes... (1)"))
457
+ title: ( localize(8376, "Turn on Cloud Changes... (1)"))
458
458
  },
459
459
  when: ( ContextKeyExpr.and(( ContextKeyExpr.equals(EDIT_SESSIONS_PENDING_KEY, true)), ( ContextKeyExpr.equals(EDIT_SESSIONS_SIGNED_IN_KEY, false))))
460
460
  })));
@@ -466,7 +466,7 @@ let EditSessionsWorkbenchService = class EditSessionsWorkbenchService extends Di
466
466
  constructor() {
467
467
  super({
468
468
  id: "workbench.editSessions.actions.resetAuth",
469
- title: ( localize(7741, "Turn off Cloud Changes...")),
469
+ title: ( localize(8377, "Turn off Cloud Changes...")),
470
470
  category: EDIT_SESSION_SYNC_CATEGORY,
471
471
  precondition: ( ContextKeyExpr.equals(EDIT_SESSIONS_SIGNED_IN_KEY, true)),
472
472
  menu: [{
@@ -480,9 +480,9 @@ let EditSessionsWorkbenchService = class EditSessionsWorkbenchService extends Di
480
480
  }
481
481
  async run() {
482
482
  const result = await that.dialogService.confirm({
483
- message: ( localize(7742, "Do you want to disable storing working changes in the cloud?")),
483
+ message: ( localize(8378, "Do you want to disable storing working changes in the cloud?")),
484
484
  checkbox: {
485
- label: ( localize(7743, "Delete all stored data from the cloud."))
485
+ label: ( localize(8379, "Delete all stored data from the cloud."))
486
486
  }
487
487
  });
488
488
  if (result.confirmed) {
@@ -53,9 +53,9 @@ let EditSessionsDataViews = class EditSessionsDataViews extends Disposable {
53
53
  }], container);
54
54
  viewsRegistry.registerViewWelcomeContent(viewId, {
55
55
  content: ( localize(
56
- 7744,
56
+ 8380,
57
57
  "You have no stored changes in the cloud to display.\n{0}",
58
- `[${( localize(7745, "Store Working Changes"))}](${createCommandUri("workbench.editSessions.actions.store")})`
58
+ `[${( localize(8381, "Store Working Changes"))}](${createCommandUri("workbench.editSessions.actions.store")})`
59
59
  )),
60
60
  when: ( ContextKeyExpr.equals(EDIT_SESSIONS_COUNT_KEY, 0)),
61
61
  order: 1
@@ -64,7 +64,7 @@ let EditSessionsDataViews = class EditSessionsDataViews extends Disposable {
64
64
  constructor() {
65
65
  super({
66
66
  id: "workbench.editSessions.actions.resume",
67
- title: ( localize(7746, "Resume Working Changes")),
67
+ title: ( localize(8382, "Resume Working Changes")),
68
68
  icon: Codicon.desktopDownload,
69
69
  menu: {
70
70
  id: MenuId.ViewItemContext,
@@ -84,7 +84,7 @@ let EditSessionsDataViews = class EditSessionsDataViews extends Disposable {
84
84
  constructor() {
85
85
  super({
86
86
  id: "workbench.editSessions.actions.store",
87
- title: ( localize(7747, "Store Working Changes")),
87
+ title: ( localize(8383, "Store Working Changes")),
88
88
  icon: Codicon.cloudUpload
89
89
  });
90
90
  }
@@ -98,7 +98,7 @@ let EditSessionsDataViews = class EditSessionsDataViews extends Disposable {
98
98
  constructor() {
99
99
  super({
100
100
  id: "workbench.editSessions.actions.delete",
101
- title: ( localize(7748, "Delete Working Changes")),
101
+ title: ( localize(8384, "Delete Working Changes")),
102
102
  icon: Codicon.trash,
103
103
  menu: {
104
104
  id: MenuId.ViewItemContext,
@@ -113,11 +113,11 @@ let EditSessionsDataViews = class EditSessionsDataViews extends Disposable {
113
113
  const editSessionStorageService = accessor.get(IEditSessionsStorageService);
114
114
  const result = await dialogService.confirm({
115
115
  message: ( localize(
116
- 7749,
116
+ 8385,
117
117
  "Are you sure you want to permanently delete your working changes with ref {0}?",
118
118
  editSessionId
119
119
  )),
120
- detail: ( localize(7750, " You cannot undo this action.")),
120
+ detail: ( localize(8386, " You cannot undo this action.")),
121
121
  type: "warning",
122
122
  title: EDIT_SESSIONS_TITLE.value
123
123
  });
@@ -131,7 +131,7 @@ let EditSessionsDataViews = class EditSessionsDataViews extends Disposable {
131
131
  constructor() {
132
132
  super({
133
133
  id: "workbench.editSessions.actions.deleteAll",
134
- title: ( localize(7751, "Delete All Working Changes from Cloud")),
134
+ title: ( localize(8387, "Delete All Working Changes from Cloud")),
135
135
  icon: Codicon.trash,
136
136
  menu: {
137
137
  id: MenuId.ViewTitle,
@@ -144,10 +144,10 @@ let EditSessionsDataViews = class EditSessionsDataViews extends Disposable {
144
144
  const editSessionStorageService = accessor.get(IEditSessionsStorageService);
145
145
  const result = await dialogService.confirm({
146
146
  message: ( localize(
147
- 7752,
147
+ 8388,
148
148
  "Are you sure you want to permanently delete all stored changes from the cloud?"
149
149
  )),
150
- detail: ( localize(7753, " You cannot undo this action.")),
150
+ detail: ( localize(8389, " You cannot undo this action.")),
151
151
  type: "warning",
152
152
  title: EDIT_SESSIONS_TITLE.value
153
153
  });
@@ -273,11 +273,11 @@ let EditSessionDataViewDataProvider = class EditSessionDataViewDataProvider {
273
273
  themeIcon: Codicon.file,
274
274
  command: {
275
275
  id: "vscode.diff",
276
- title: ( localize(7754, "Compare Changes")),
276
+ title: ( localize(8390, "Compare Changes")),
277
277
  arguments: [
278
278
  localCopy,
279
279
  cloudChangeUri,
280
- `${basename(change.relativeFilePath)} (${( localize(7755, "Local Copy"))} \u2194 ${( localize(7756, "Cloud Changes"))})`,
280
+ `${basename(change.relativeFilePath)} (${( localize(8391, "Local Copy"))} \u2194 ${( localize(8392, "Cloud Changes"))})`,
281
281
  undefined
282
282
  ]
283
283
  }
@@ -294,7 +294,7 @@ let EditSessionDataViewDataProvider = class EditSessionDataViewDataProvider {
294
294
  themeIcon: Codicon.file,
295
295
  command: {
296
296
  id: API_OPEN_EDITOR_COMMAND_ID,
297
- title: ( localize(7757, "Open File")),
297
+ title: ( localize(8393, "Open File")),
298
298
  arguments: [cloudChangeUri, undefined, undefined]
299
299
  }
300
300
  };
@@ -6,7 +6,7 @@ import { RawContextKey } from '@codingame/monaco-vscode-api/vscode/vs/platform/c
6
6
  import { registerIcon } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/iconRegistry';
7
7
  import { StringSHA1 } from '@codingame/monaco-vscode-api/vscode/vs/base/common/hash';
8
8
 
9
- const EDIT_SESSION_SYNC_CATEGORY = ( localize2(7758, "Cloud Changes"));
9
+ const EDIT_SESSION_SYNC_CATEGORY = ( localize2(8394, "Cloud Changes"));
10
10
  var ChangeType;
11
11
  (function(ChangeType) {
12
12
  ChangeType[ChangeType["Addition"] = 1] = "Addition";
@@ -23,8 +23,8 @@ const EDIT_SESSIONS_PENDING_KEY = "editSessionsPending";
23
23
  const EDIT_SESSIONS_PENDING = ( new RawContextKey(EDIT_SESSIONS_PENDING_KEY, false));
24
24
  const EDIT_SESSIONS_CONTAINER_ID = "workbench.view.editSessions";
25
25
  const EDIT_SESSIONS_DATA_VIEW_ID = "workbench.views.editSessions.data";
26
- const EDIT_SESSIONS_TITLE = ( localize2(7758, "Cloud Changes"));
27
- const EDIT_SESSIONS_VIEW_ICON = registerIcon("edit-sessions-view-icon", Codicon.cloudDownload, ( localize(7759, "View icon of the cloud changes view.")));
26
+ const EDIT_SESSIONS_TITLE = ( localize2(8394, "Cloud Changes"));
27
+ const EDIT_SESSIONS_VIEW_ICON = registerIcon("edit-sessions-view-icon", Codicon.cloudDownload, ( localize(8395, "View icon of the cloud changes view.")));
28
28
  const EDIT_SESSIONS_SHOW_VIEW = ( new RawContextKey("editSessionsShowView", false));
29
29
  const EDIT_SESSIONS_SCHEME = "vscode-edit-sessions";
30
30
  function decodeEditSessionFileContent(version, content) {
@@ -14,7 +14,7 @@ let EditSessionsLogService = class EditSessionsLogService extends AbstractLogger
14
14
  this.logger = this._register(
15
15
  loggerService.createLogger(joinPath(environmentService.logsHome, `${editSessionsLogId}.log`), {
16
16
  id: editSessionsLogId,
17
- name: ( localize(7760, "Cloud Changes")),
17
+ name: ( localize(8396, "Cloud Changes")),
18
18
  group: windowLogGroup
19
19
  })
20
20
  );