File tree Expand file tree Collapse file tree
platform/userDataSync/common
workbench/contrib/userDataSync/browser Expand file tree Collapse file tree Original file line number Diff line number Diff 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' ]
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments