mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
Add multiline text editors in settings editor (#127118)
Also adds an editPresentation prop with descriptions to the schema.
This commit is contained in:
@@ -81,6 +81,16 @@ const configurationEntrySchema: IJSONSchema = {
|
||||
markdownDeprecationMessage: {
|
||||
type: 'string',
|
||||
description: nls.localize('scope.markdownDeprecationMessage', 'If set, the property is marked as deprecated and the given message is shown as an explanation in the markdown format.')
|
||||
},
|
||||
editPresentation: {
|
||||
type: 'string',
|
||||
enum: ['singlelineText', 'multilineText'],
|
||||
enumDescriptions: [
|
||||
nls.localize('scope.singlelineText.description', 'The value will be shown in an inputbox.'),
|
||||
nls.localize('scope.multilineText.description', 'The value will be shown in a textarea.')
|
||||
],
|
||||
default: 'singlelineText',
|
||||
description: nls.localize('scope.editPresentation', 'When specified, controls the presentation format of the string setting.')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user