summaryrefslogtreecommitdiff
path: root/support/texlab/docs/custom_commands.md
blob: 2b85787f359b6efb0d47add8418467c8d8a4ccab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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_)