add setting deprecation messages

related to #67387
This commit is contained in:
Joao Moreno
2019-02-26 14:52:38 +01:00
parent fae3d67f59
commit c4bb8788e9
2 changed files with 13 additions and 0 deletions

View File

@@ -1191,6 +1191,12 @@ configurationRegistry.registerConfiguration({
'default': false,
'description': localize('horizontalScrolling setting', "Controls whether lists and trees support horizontal scrolling in the workbench.")
},
'workbench.tree.horizontalScrolling': {
'type': 'boolean',
'default': false,
'description': localize('tree horizontalScrolling setting', "Controls whether trees support horizontal scrolling in the workbench."),
'deprecationMessage': localize('deprecated', "This setting is deprecated, please use '{0}' instead.", horizontalScrollingKey)
},
[treeIndentKey]: {
'type': 'number',
'default': 8,