deprecate experimental settings

refs #137633
This commit is contained in:
SteVen Batten
2022-03-24 14:22:17 -07:00
parent 2edb9bc9ca
commit 5ecafcc861
5 changed files with 27 additions and 9 deletions

View File

@@ -423,11 +423,28 @@ const registry = Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Con
default: 'auto',
enum: ['on', 'off', 'auto']
},
'workbench.layoutControl.enabled': {
'type': 'boolean',
'default': true,
'markdownDescription': localize({ key: 'layoutControlEnabled', comment: ['{0} is a placeholder for a setting identifier.'] }, "Controls whether the layout controls in the custom title bar is enabled via {0}.", '`#window.titleBarStyle#`'),
},
'workbench.layoutControl.type': {
'type': 'string',
'enum': ['menu', 'toggles', 'both'],
'enumDescriptions': [
localize('layoutcontrol.type.menu', "Shows a single button with a dropdown of layout options."),
localize('layoutcontrol.type.toggles', "Shows several buttons for toggling the visibility of the panels and side bar."),
localize('layoutcontrol.type.both', "Shows both the dropdown and toggle buttons."),
],
'default': 'both',
'description': localize('layoutControlType', "Controls whether the layout control in the custom title bar is displayed as a single menu button or with multiple UI toggles."),
},
'workbench.experimental.layoutControl.enabled': {
'type': 'boolean',
'tags': ['experimental'],
'default': false,
'markdownDescription': localize({ key: 'layoutControlEnabled', comment: ['{0} is a placeholder for a setting identifier.'] }, "Controls whether the layout controls in the custom title bar is enabled via {0}.", '`#window.titleBarStyle#`'),
'markdownDeprecationMessage': localize({ key: 'layoutControlEnabledDeprecation', comment: ['{0} is a placeholder for a setting identifier.'] }, "This setting has been deprecated in favor of {0}", '`#workbench.layoutControl.enabled#`')
},
'workbench.experimental.layoutControl.type': {
'type': 'string',
@@ -440,6 +457,7 @@ const registry = Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Con
'tags': ['experimental'],
'default': 'both',
'description': localize('layoutControlType', "Controls whether the layout control in the custom title bar is displayed as a single menu button or with multiple UI toggles."),
'markdownDeprecationMessage': localize({ key: 'layoutControlTypeDeprecation', comment: ['{0} is a placeholder for a setting identifier.'] }, "This setting has been deprecated in favor of {0}", '`#workbench.layoutControl.type#`')
},
'workbench.experimental.editor.dragAndDropIntoEditor.enabled': {
'type': 'boolean',