Skip to content
master
Switch branches/tags
Code

CI Coverage Rust Dependabot

GitHub release CTAN Arch Linux NixOS Stable NixOS Unstable Homebrew Scoop

TexLab

A cross-platform implementation of the Language Server Protocol providing rich cross-editing support for the LaTeX typesetting system. We provide an extension for Visual Studio Code.

Learn more about the project on our website.

Getting Started

See the installation chapter from our docs.

Building from Source

You will need to install the following dependencies to compile the server:

Then run the following command in the project folder:

cargo build --release

Alternatively, Rust users can run the following command without having to clone this repository:

cargo install --git https://github.com/latex-lsp/texlab.git --locked

Development

You can create a debug build by building the server without the --release flag. The resulting build can be used with the Visual Studio Code extension by adding the absolute path of the target/debug folder to your PATH environment variable.

TexLab has an extensive test suite of unit and integration tests. You can run them by executing

cargo test

in the project folder.

Contributing

See CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.