提交 7fc5d915 编写于 作者: R Rob Lourens

Add "@tag:sync" to settings GUI

Fix #91194
上级 1a558781
......@@ -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']
}
}
});
......
......@@ -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 {
......
......@@ -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' });
}
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册