Skip to content

Commit aead22e

Browse files
committed
1 parent 24ff830 commit aead22e

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/vs/platform/userDataSync/common/userDataSync.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export function registerConfiguration(): IDisposable {
4848
properties: {
4949
'sync.keybindingsPerPlatform': {
5050
type: 'boolean',
51-
description: localize('sync.keybindingsPerPlatform', "Synchronize keybindings per platform."),
51+
description: localize('sync.keybindingsPerPlatform', "Synchronize keybindings for each platform."),
5252
default: true,
5353
scope: ConfigurationScope.APPLICATION,
5454
tags: ['sync', 'usesOnlineServices']

src/vs/workbench/contrib/userDataSync/browser/userDataSync.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ export class UserDataSyncWorkbenchContribution extends Disposable implements IWo
120120
@IOpenerService private readonly openerService: IOpenerService,
121121
@IAuthenticationService private readonly authenticationService: IAuthenticationService,
122122
@IUserDataSyncStoreManagementService private readonly userDataSyncStoreManagementService: IUserDataSyncStoreManagementService,
123+
@IConfigurationService private readonly configurationService: IConfigurationService,
123124
) {
124125
super();
125126

@@ -552,7 +553,8 @@ export class UserDataSyncWorkbenchContribution extends Disposable implements IWo
552553
label: getSyncAreaLabel(SyncResource.Settings)
553554
}, {
554555
id: SyncResource.Keybindings,
555-
label: getSyncAreaLabel(SyncResource.Keybindings)
556+
label: getSyncAreaLabel(SyncResource.Keybindings),
557+
description: this.configurationService.getValue('sync.keybindingsPerPlatform') ? localize('per platform', "for each platform") : undefined
556558
}, {
557559
id: SyncResource.Snippets,
558560
label: getSyncAreaLabel(SyncResource.Snippets)

0 commit comments

Comments
 (0)