Skip to content

Commit ef372f4

Browse files
authored
Update language config schema with more details about brackets. (microsoft#183779)
1 parent e4c3ea2 commit ef372f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,15 +539,15 @@ const schema: IJSONSchema = {
539539
},
540540
brackets: {
541541
default: [['(', ')'], ['[', ']'], ['{', '}']],
542-
description: nls.localize('schema.brackets', 'Defines the bracket symbols that increase or decrease the indentation.'),
542+
markdownDescription: nls.localize('schema.brackets', 'Defines the bracket symbols that increase or decrease the indentation. When bracket pair colorization is enabled and {0} is not defined, this also defines the bracket pairs that are colorized by their nesting level.', '\`colorizedBracketPairs\`'),
543543
type: 'array',
544544
items: {
545545
$ref: '#/definitions/bracketPair'
546546
}
547547
},
548548
colorizedBracketPairs: {
549549
default: [['(', ')'], ['[', ']'], ['{', '}']],
550-
description: nls.localize('schema.colorizedBracketPairs', 'Defines the bracket pairs that are colorized by their nesting level if bracket pair colorization is enabled.'),
550+
markdownDescription: nls.localize('schema.colorizedBracketPairs', 'Defines the bracket pairs that are colorized by their nesting level if bracket pair colorization is enabled. Any brackets included here that are not included in {0} will be automatically included in {0}.', '\`brackets\`'),
551551
type: 'array',
552552
items: {
553553
$ref: '#/definitions/bracketPair'

0 commit comments

Comments
 (0)