Skip to content

Commit 3406329

Browse files
authored
Clarify edit session command names (microsoft#152801)
1 parent 080f9ce commit 3406329

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/vs/workbench/contrib/sessionSync/browser/sessionSync.contribution.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ import { IEnvironmentService } from 'vs/platform/environment/common/environment'
3232

3333
registerSingleton(ISessionSyncWorkbenchService, SessionSyncWorkbenchService);
3434

35-
const applyLatestCommand = {
36-
id: 'workbench.experimental.sessionSync.actions.applyLatest',
37-
title: localize('apply latest', "{0}: Apply Latest Edit Session", EDIT_SESSION_SYNC_TITLE),
35+
const resumeLatestCommand = {
36+
id: 'workbench.experimental.sessionSync.actions.resumeLatest',
37+
title: localize('resume latest', "{0}: Resume Latest Edit Session", EDIT_SESSION_SYNC_TITLE),
3838
};
39-
const storeLatestCommand = {
40-
id: 'workbench.experimental.sessionSync.actions.storeLatest',
41-
title: localize('store latest', "{0}: Store Latest Edit Session", EDIT_SESSION_SYNC_TITLE),
39+
const storeCurrentCommand = {
40+
id: 'workbench.experimental.sessionSync.actions.storeCurrent',
41+
title: localize('store current', "{0}: Store Current Edit Session", EDIT_SESSION_SYNC_TITLE),
4242
};
4343
const continueEditSessionCommand = {
4444
id: '_workbench.experimental.sessionSync.actions.continueEditSession',
@@ -129,8 +129,8 @@ export class SessionSyncContribution extends Disposable implements IWorkbenchCon
129129
this._register(registerAction2(class ApplyLatestEditSessionAction extends Action2 {
130130
constructor() {
131131
super({
132-
id: applyLatestCommand.id,
133-
title: applyLatestCommand.title,
132+
id: resumeLatestCommand.id,
133+
title: resumeLatestCommand.title,
134134
menu: {
135135
id: MenuId.CommandPalette,
136136
}
@@ -151,8 +151,8 @@ export class SessionSyncContribution extends Disposable implements IWorkbenchCon
151151
this._register(registerAction2(class StoreLatestEditSessionAction extends Action2 {
152152
constructor() {
153153
super({
154-
id: storeLatestCommand.id,
155-
title: storeLatestCommand.title,
154+
id: storeCurrentCommand.id,
155+
title: storeCurrentCommand.title,
156156
menu: {
157157
id: MenuId.CommandPalette,
158158
}

0 commit comments

Comments
 (0)