Add declared experimental setting for language detection preference

This commit is contained in:
Jackson Kearl
2022-03-21 14:56:40 -07:00
parent 28c19c9730
commit 3ce1a44b45

View File

@@ -105,6 +105,12 @@ const registry = Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Con
tags: ['experimental'],
description: localize('workbench.editor.historyBasedLanguageDetection', "Enables use of editor history in language detection. This causes automatic language detection to favor languages that have been recently opened and allows for automatic language detection to operate with smaller inputs."),
},
'workbench.editor.preferHistoryBasedLanguageDetection': {
type: 'boolean',
default: false,
tags: ['experimental'],
description: localize('workbench.editor.preferBasedLanguageDetection', "When enabled, a language detection model that takes into account editor history will be given higher precedence."),
},
'workbench.editor.tabCloseButton': {
'type': 'string',
'enum': ['left', 'right', 'off'],