Language configuration
Configuration file for language features in VS Code and Visual Studio
| 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
Configuration file for language features in VS Code and Visual Studio.
Properties
The language's comment settings.
2 nested properties
The line comment token, like // this is a comment.
The language's brackets.
The language's auto closing pairs. The 'close' character is automatically inserted with the 'open' character is typed.
What characters must be after the cursor for bracket or quote autoclosing to occur.
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.
The language's folding rules.
The language's word definition.
The language's indentation settings.
4 nested properties
If a line matches this pattern, then all the lines after it should be unindented once (until another rule matches).
If a line matches this pattern, then all the lines after it should be indented once (until another rule matches).
If a line matches this pattern, then only the next line after it should be indented once.
If a line matches this pattern, then its indentation should not be changed and it should not be evaluated against the other rules.
The language's rules to be evaluated when pressing Enter.