Type object
File match language-configuration.json language-configuration.yaml language-configuration.yml
Schema URL https://catalog.lintel.tools/schemas/schemastore/language-configuration/latest.json
Source https://www.schemastore.org/language-configuration.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Configuration file for language features in VS Code and Visual Studio.

Properties

comments object

The language's comment settings.

2 nested properties
lineComment string

The line comment token, like // this is a comment.

blockComment array
minItems=2
brackets charPair[]

The language's brackets.

autoClosingPairs charPair | object[]

The language's auto closing pairs. The 'close' character is automatically inserted with the 'open' character is typed.

autoCloseBefore string

What characters must be after the cursor for bracket or quote autoclosing to occur.

surroundingPairs charPair | object[]

The language's surrounding pairs. When the 'open' character is typed on a selection, the selected string is surrounded by the open and close characters.

folding object

The language's folding rules.

1 nested properties
markers object

Region markers used by the language.

2 nested properties
start string | regexp
end string | regexp
wordPattern string | regexp

The language's word definition.

indentationRules object

The language's indentation settings.

4 nested properties
decreaseIndentPattern string | regexp required

If a line matches this pattern, then all the lines after it should be unindented once (until another rule matches).

increaseIndentPattern string | regexp required

If a line matches this pattern, then all the lines after it should be indented once (until another rule matches).

indentNextLinePattern string | regexp

If a line matches this pattern, then only the next line after it should be indented once.

unIndentedLinePattern string | regexp

If a line matches this pattern, then its indentation should not be changed and it should not be evaluated against the other rules.

onEnterRules object[]

The language's rules to be evaluated when pressing Enter.

Definitions

regexp object
pattern string required
flags string
charPair array