The language configuration interfaces defines the contract between extensions and various editor features, like automatic bracket insertion, automatic indentation etc.
Fields
optionalwordPattern:Null<RegExp>
The language's word definition. If the language supports Unicode identifiers (e.g. JavaScript), it is preferable to provide a word definition that uses exclusion of known separators. e.g.: A regex that matches anything except known separators (and dot is allowed to occur in a floating point number): /(-?\d.\d\w)|([^`\~!\@#\%\^\&*()-\=+[{]}\|\;\:\'\",.\<\>\/\?\s]+)/g
optionalonEnterRules:Null<Array<OnEnterRule>>
The language's rules to be evaluated when pressing Enter.
optionalbrackets:Null<Array<CharacterPair>>
The language's brackets. This configuration implicitly affects pressing Enter around these brackets.
optional__electricCharacterSupport:Null<{docComment:Null<{scope:String, open:String, lineStart:String, close:Null<String>}>, brackets:Null<Any>}>
Will be replaced by a better API soon.
Deprecated Do not use.
optional__characterPairSupport:Null<{autoClosingPairs:Array<{open:String, notIn:Null<Array<String>>, close:String}>}>
- Use the autoClosingPairs property in the language configuration file instead.
Deprecated Do not use.