TexLab is a cross-platform implementation of the Language Server Protocol for the LaTeX typesetting system. It aims to produce high quality code completion results by indexing your used packages as you type.
For TexLab to work correctly, you will need to install:
- A TeX distribution. All distributions that are based on TeX Live or MikTeX are supported.
- A Java 8 (or later) runtime environment.
Note: Please make sure that both dependencies are in your
PATHenvironment variable. If you use MikTeX, then ensure that
The server is designed to be independent of the editor. It can be used with any editor that implements the Language Server Protocol. We currently only provide an extension for Visual Studio Code. Please see the download page for installation instructions.
After installing an editor extension, you can simply start editing LaTeX files. All editing features work out-of-the-box over all files in the currently opened workspace.
Note: The completion results will improve over time because the server needs to build a cache of the indexed packages first.
Documents can be built by invoking the
or by enabling the
Hanging builds can be aborted with the
latexmk is used as build system.
You can customize this by changing the settings in the