Allow to configure workbench.editor.restoreViewState per language (fix #101110)

This commit is contained in:
Benjamin Pasero
2020-08-24 07:57:59 +02:00
parent f57a418b01
commit 1689304b52
25 changed files with 168 additions and 129 deletions

View File

@@ -150,8 +150,9 @@ import { workbenchConfigurationNodeBase } from 'vs/workbench/common/configuratio
},
'workbench.editor.restoreViewState': {
'type': 'boolean',
'description': nls.localize('restoreViewState', "Restores the last view state (e.g. scroll position) when re-opening files after they have been closed."),
'description': nls.localize('restoreViewState', "Restores the last view state (e.g. scroll position) when re-opening textual editors after they have been closed."),
'default': true,
'scope': ConfigurationScope.LANGUAGE_OVERRIDABLE
},
'workbench.editor.centeredLayoutAutoResize': {
'type': 'boolean',