Show inline chat hint in empty text editors (#192352)

This commit is contained in:
Joyce Er
2023-09-06 15:40:44 -07:00
committed by GitHub
parent 173bc6d97c
commit e71d562fd8
5 changed files with 51 additions and 33 deletions

View File

@@ -95,11 +95,11 @@ const registry = Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Con
key: 'untitledLabelFormat'
}, "Controls the format of the label for an untitled editor."),
},
'workbench.editor.untitled.hint': {
'workbench.editor.empty.hint': {
'type': 'string',
'enum': ['text', 'hidden'],
'default': 'text',
'markdownDescription': localize({ comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'untitledHint' }, "Controls if the untitled text hint should be visible in the editor.")
'markdownDescription': localize({ comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'emptyEditorHint' }, "Controls if the empty editor text hint should be visible in the editor.")
},
'workbench.editor.languageDetection': {
type: 'boolean',