A minimal Visual Studio Code extension providing support for LaTeX formatting via latexindent.
This extension doesn't come with latexindent bundled and therefore requires an executable to be available.
latexindent is included with most major TeX distributions but can be installed as a standalone script. Please refer to the latexindent documentation for installation instructions.
This extension supports formatting whole documents and selections. To enable formatting on-save see the VS Code docs.
Setting | Type | Default | Description |
---|---|---|---|
latexindent.executable |
String | latexindent |
The path to the latexindent executable. |
latexindent.args |
Array of strings | [] |
Additional arguments to pass to latexindent . |
latexindent.useDocumentFormat |
Boolean | false |
Whether to use the editor tabsize to format documents. |