diff --git a/src/vs/platform/userDataSync/common/userDataSync.ts b/src/vs/platform/userDataSync/common/userDataSync.ts index 69585e9d79ff2dd113b624e46649727eefc8543e..aed5a8bc650e391ebc4df9ea23f2aa8f49323d8c 100644 --- a/src/vs/platform/userDataSync/common/userDataSync.ts +++ b/src/vs/platform/userDataSync/common/userDataSync.ts @@ -87,6 +87,7 @@ export function registerConfiguration(): IDisposable { description: localize('sync.keybindingsPerPlatform', "Synchronize keybindings per platform."), default: true, scope: ConfigurationScope.APPLICATION, + tags: ['sync'] }, 'sync.ignoredExtensions': { 'type': 'array', @@ -95,7 +96,8 @@ export function registerConfiguration(): IDisposable { 'default': [], 'scope': ConfigurationScope.APPLICATION, uniqueItems: true, - disallowSyncIgnore: true + disallowSyncIgnore: true, + tags: ['sync'] }, 'sync.ignoredSettings': { 'type': 'array', @@ -105,7 +107,8 @@ export function registerConfiguration(): IDisposable { $ref: ignoredSettingsSchemaId, additionalProperties: true, uniqueItems: true, - disallowSyncIgnore: true + disallowSyncIgnore: true, + tags: ['sync'] } } }); diff --git a/src/vs/workbench/contrib/preferences/browser/settingsEditor2.ts b/src/vs/workbench/contrib/preferences/browser/settingsEditor2.ts index 392db681d09000d15e442a42c2d33bb010743a2a..30eb7a139538d3714ddb2e4e07583359d63fc527 100644 --- a/src/vs/workbench/contrib/preferences/browser/settingsEditor2.ts +++ b/src/vs/workbench/contrib/preferences/browser/settingsEditor2.ts @@ -77,7 +77,7 @@ export class SettingsEditor2 extends BaseEditor { private static CONFIG_SCHEMA_UPDATE_DELAYER = 500; private static readonly SUGGESTIONS: string[] = [ - `@${MODIFIED_SETTING_TAG}`, '@tag:usesOnlineServices', `@${EXTENSION_SETTING_TAG}` + `@${MODIFIED_SETTING_TAG}`, '@tag:usesOnlineServices', '@tag:sync', `@${EXTENSION_SETTING_TAG}` ]; private static shouldSettingUpdateFast(type: SettingValueType | SettingValueType[]): boolean { diff --git a/src/vs/workbench/contrib/userDataSync/browser/userDataSync.ts b/src/vs/workbench/contrib/userDataSync/browser/userDataSync.ts index 1ec84ca0d66eb3cf4e9799628053d535b568ca2c..f35a821a002b067feaa6772062a7604f411cea88 100644 --- a/src/vs/workbench/contrib/userDataSync/browser/userDataSync.ts +++ b/src/vs/workbench/contrib/userDataSync/browser/userDataSync.ts @@ -965,7 +965,7 @@ export class UserDataSyncWorkbenchContribution extends Disposable implements IWo }); } run(accessor: ServicesAccessor): any { - accessor.get(IPreferencesService).openGlobalSettings(false, { query: 'sync:' }); + accessor.get(IPreferencesService).openGlobalSettings(false, { query: '@tag:sync' }); } }); }