texlab/docs/custom_commands.md
2022-05-27 18:24:13 +02:00

21 lines
678 B
Markdown

# Custom Commands
The server provides the following commands through the `workspace/executeCommand` request:
## texlab.cleanAuxiliary
Removes the auxiliary files produced by compiling the specified LaTeX document.
At the moment, this command simply calls `latexmk -c` with the currently configured output directory.
Parameters:
- `document`: `TextDocumentIdentifier` (_Required_)
## texlab.cleanArtifacts
Removes the auxiliary files and the artifacts produced by compiling the specified LaTeX document.
At the moment, this command simply calls `latexmk -C` with the currently configured output directory.
Parameters:
- `document`: `TextDocumentIdentifier` (_Required_)