提交 9e411a5f 编写于 作者: R Ramya Achutha Rao

Renaming tag for settings for online services #54354

上级 dbbfaf41
...@@ -912,7 +912,7 @@ ...@@ -912,7 +912,7 @@
"type": "boolean", "type": "boolean",
"description": "%config.autofetch%", "description": "%config.autofetch%",
"default": false, "default": false,
"tags": ["backgroundOnlineFeature"] "tags": ["usesOnlineServices"]
}, },
"git.confirmSync": { "git.confirmSync": {
"type": "boolean", "type": "boolean",
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
"default": false, "default": false,
"description": "%typescript.disableAutomaticTypeAcquisition%", "description": "%typescript.disableAutomaticTypeAcquisition%",
"scope": "window", "scope": "window",
"tags": ["backgroundOnlineFeature"] "tags": ["usesOnlineServices"]
}, },
"typescript.npm": { "typescript.npm": {
"type": [ "type": [
......
...@@ -168,7 +168,7 @@ Registry.as<IConfigurationRegistry>(Extensions.Configuration).registerConfigurat ...@@ -168,7 +168,7 @@ Registry.as<IConfigurationRegistry>(Extensions.Configuration).registerConfigurat
'type': 'boolean', 'type': 'boolean',
'description': localize('telemetry.enableTelemetry', "Enable usage data and errors to be sent to Microsoft."), 'description': localize('telemetry.enableTelemetry', "Enable usage data and errors to be sent to Microsoft."),
'default': true, 'default': true,
'tags': ['backgroundOnlineFeature'] 'tags': ['usesOnlineServices']
} }
} }
}); });
\ No newline at end of file
...@@ -22,20 +22,20 @@ configurationRegistry.registerConfiguration({ ...@@ -22,20 +22,20 @@ configurationRegistry.registerConfiguration({
'default': 'default', 'default': 'default',
'scope': ConfigurationScope.APPLICATION, 'scope': ConfigurationScope.APPLICATION,
'description': nls.localize('updateChannel', "Configure whether you receive automatic updates from an update channel. Requires a restart after change."), 'description': nls.localize('updateChannel', "Configure whether you receive automatic updates from an update channel. Requires a restart after change."),
'tags': ['backgroundOnlineFeature'] 'tags': ['usesOnlineServices']
}, },
'update.enableWindowsBackgroundUpdates': { 'update.enableWindowsBackgroundUpdates': {
'type': 'boolean', 'type': 'boolean',
'default': true, 'default': true,
'scope': ConfigurationScope.APPLICATION, 'scope': ConfigurationScope.APPLICATION,
'description': nls.localize('enableWindowsBackgroundUpdates', "Enables Windows background updates."), 'description': nls.localize('enableWindowsBackgroundUpdates', "Enables Windows background updates."),
'tags': ['backgroundOnlineFeature'] 'tags': ['usesOnlineServices']
}, },
'update.showReleaseNotes': { 'update.showReleaseNotes': {
'type': 'boolean', 'type': 'boolean',
'default': true, 'default': true,
'description': nls.localize('showReleaseNotes', "Show Release Notes after an update."), 'description': nls.localize('showReleaseNotes', "Show Release Notes after an update."),
'tags': ['backgroundOnlineFeature'] 'tags': ['usesOnlineServices']
} }
} }
}); });
...@@ -489,7 +489,7 @@ configurationRegistry.registerConfiguration({ ...@@ -489,7 +489,7 @@ configurationRegistry.registerConfiguration({
'description': nls.localize('enableNaturalLanguageSettingsSearch', "Controls whether to enable the natural language search mode for settings."), 'description': nls.localize('enableNaturalLanguageSettingsSearch', "Controls whether to enable the natural language search mode for settings."),
'default': true, 'default': true,
'scope': ConfigurationScope.WINDOW, 'scope': ConfigurationScope.WINDOW,
'tags': ['backgroundOnlineFeature'] 'tags': ['usesOnlineServices']
}, },
'workbench.settings.settingsSearchTocBehavior': { 'workbench.settings.settingsSearchTocBehavior': {
'type': 'string', 'type': 'string',
......
...@@ -207,7 +207,7 @@ Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Configuration) ...@@ -207,7 +207,7 @@ Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Configuration)
description: localize('extensionsAutoUpdate', "Automatically update extensions."), description: localize('extensionsAutoUpdate', "Automatically update extensions."),
default: true, default: true,
scope: ConfigurationScope.APPLICATION, scope: ConfigurationScope.APPLICATION,
tags: ['backgroundOnlineFeature'] tags: ['usesOnlineServices']
}, },
'extensions.ignoreRecommendations': { 'extensions.ignoreRecommendations': {
type: 'boolean', type: 'boolean',
...@@ -218,7 +218,7 @@ Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Configuration) ...@@ -218,7 +218,7 @@ Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Configuration)
type: 'boolean', type: 'boolean',
description: localize('extensionsShowRecommendationsOnlyOnDemand', "When enabled, recommendations will not be fetched or shown unless specifically requested by the user."), description: localize('extensionsShowRecommendationsOnlyOnDemand', "When enabled, recommendations will not be fetched or shown unless specifically requested by the user."),
default: false, default: false,
tags: ['backgroundOnlineFeature'] tags: ['usesOnlineServices']
}, },
'extensions.closeExtensionDetailsOnViewChange': { 'extensions.closeExtensionDetailsOnViewChange': {
type: 'boolean', type: 'boolean',
......
...@@ -32,7 +32,7 @@ import { BaseEditor } from 'vs/workbench/browser/parts/editor/baseEditor'; ...@@ -32,7 +32,7 @@ import { BaseEditor } from 'vs/workbench/browser/parts/editor/baseEditor';
import { EditorOptions, IEditor } from 'vs/workbench/common/editor'; import { EditorOptions, IEditor } from 'vs/workbench/common/editor';
import { SearchWidget, SettingsTarget, SettingsTargetsWidget } from 'vs/workbench/parts/preferences/browser/preferencesWidgets'; import { SearchWidget, SettingsTarget, SettingsTargetsWidget } from 'vs/workbench/parts/preferences/browser/preferencesWidgets';
import { commonlyUsedData, tocData } from 'vs/workbench/parts/preferences/browser/settingsLayout'; import { commonlyUsedData, tocData } from 'vs/workbench/parts/preferences/browser/settingsLayout';
import { ISettingsEditorViewState, resolveExtensionsSettings, resolveSettingsTree, SearchResultIdx, SearchResultModel, SettingsRenderer, SettingsTree, SettingsTreeElement, SettingsTreeFilter, SettingsTreeGroupElement, SettingsTreeModel, SettingsTreeSettingElement, MODIFIED_SETTING_TAG, BACKGROUND_ONLINE_TAG } from 'vs/workbench/parts/preferences/browser/settingsTree'; import { ISettingsEditorViewState, resolveExtensionsSettings, resolveSettingsTree, SearchResultIdx, SearchResultModel, SettingsRenderer, SettingsTree, SettingsTreeElement, SettingsTreeFilter, SettingsTreeGroupElement, SettingsTreeModel, SettingsTreeSettingElement, MODIFIED_SETTING_TAG, ONLINE_SERVICES_SETTING_TAG } from 'vs/workbench/parts/preferences/browser/settingsTree';
import { TOCDataSource, TOCRenderer, TOCTreeModel } from 'vs/workbench/parts/preferences/browser/tocTree'; import { TOCDataSource, TOCRenderer, TOCTreeModel } from 'vs/workbench/parts/preferences/browser/tocTree';
import { CONTEXT_SETTINGS_EDITOR, CONTEXT_SETTINGS_FIRST_ROW_FOCUS, CONTEXT_SETTINGS_ROW_FOCUS, CONTEXT_SETTINGS_SEARCH_FOCUS, CONTEXT_TOC_ROW_FOCUS, IPreferencesSearchService, ISearchProvider } from 'vs/workbench/parts/preferences/common/preferences'; import { CONTEXT_SETTINGS_EDITOR, CONTEXT_SETTINGS_FIRST_ROW_FOCUS, CONTEXT_SETTINGS_ROW_FOCUS, CONTEXT_SETTINGS_SEARCH_FOCUS, CONTEXT_TOC_ROW_FOCUS, IPreferencesSearchService, ISearchProvider } from 'vs/workbench/parts/preferences/common/preferences';
import { IPreferencesService, ISearchResult, ISettingsEditorModel } from 'vs/workbench/services/preferences/common/preferences'; import { IPreferencesService, ISearchResult, ISettingsEditorModel } from 'vs/workbench/services/preferences/common/preferences';
...@@ -236,8 +236,8 @@ export class SettingsEditor2 extends BaseEditor { ...@@ -236,8 +236,8 @@ export class SettingsEditor2 extends BaseEditor {
this), this),
this.instantiationService.createInstance( this.instantiationService.createInstance(
FilterByTagAction, FilterByTagAction,
localize('filterBackgroundOnlineLabel', "Control background online features"), localize('filterOnlineServicesLabel', "Show settings for online services"),
BACKGROUND_ONLINE_TAG, ONLINE_SERVICES_SETTING_TAG,
this), this),
new Separator(), new Separator(),
this.instantiationService.createInstance(OpenSettingsAction) this.instantiationService.createInstance(OpenSettingsAction)
......
...@@ -41,7 +41,7 @@ import { ISearchResult, ISetting, ISettingsGroup } from 'vs/workbench/services/p ...@@ -41,7 +41,7 @@ import { ISearchResult, ISetting, ISettingsGroup } from 'vs/workbench/services/p
const $ = DOM.$; const $ = DOM.$;
export const MODIFIED_SETTING_TAG = 'modified'; export const MODIFIED_SETTING_TAG = 'modified';
export const BACKGROUND_ONLINE_TAG = 'backgroundOnlineFeature'; export const ONLINE_SERVICES_SETTING_TAG = 'usesOnlineServices';
export abstract class SettingsTreeElement { export abstract class SettingsTreeElement {
id: string; id: string;
......
...@@ -38,7 +38,7 @@ configurationRegistry.registerConfiguration({ ...@@ -38,7 +38,7 @@ configurationRegistry.registerConfiguration({
'type': 'boolean', 'type': 'boolean',
'description': nls.localize('telemetry.enableCrashReporting', "Enable crash reports to be sent to Microsoft.\nThis option requires restart to take effect."), 'description': nls.localize('telemetry.enableCrashReporting', "Enable crash reports to be sent to Microsoft.\nThis option requires restart to take effect."),
'default': true, 'default': true,
'tags': ['backgroundOnlineFeature'] 'tags': ['usesOnlineServices']
} }
} }
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册