@@ -42,6 +42,19 @@ import { workbenchConfigurationNodeBase } from 'vs/workbench/common/configuratio
...
@@ -42,6 +42,19 @@ import { workbenchConfigurationNodeBase } from 'vs/workbench/common/configuratio
key:'tabDescription'
key:'tabDescription'
},"Controls the format of the label for an editor."),
},"Controls the format of the label for an editor."),
},
},
'workbench.editor.untitled.labelFormat':{
'type':'string',
'enum':['content','name'],
'enumDescriptions':[
nls.localize('workbench.editor.untitled.labelFormat.content',"The name of the untitled file is derived from the contents of its first line with a fallback to the name in case the line is empty or contains no word characters."),
nls.localize('workbench.editor.untitled.labelFormat.name',"The name of the untitled file is not derived from the contents of the file."),
],
'default':'content',
'description':nls.localize({
comment:['This is the description for a setting. Values surrounded by parenthesis are not to be translated.'],
key:'untitledLabelFormat'
},"Controls the format of the label for an untitled editor."),