TexLab is a language server that provides LaTeX editing assistance through the Language Server Protocol (LSP). Rather than functioning as a standalone text editor, it communicates with editors that support LSP to provide features such as completion, diagnostics, navigation and document analysis. This allows users to obtain specialised LaTeX editing capabilities without depending on a particular graphical application.
TexLab understands the relationships between files in LaTeX projects, allowing editing features to operate across documents containing multiple source files. It can identify referenced resources, assist with citations and labels, and report problems discovered during document processing. The server also supports configurable compilation and PDF forward-search commands. Its editor-independent design makes it suitable for developers and technical authors who already use LSP-capable editors.
This is free and open source software.
Key Features
- Implement the Language Server Protocol for LaTeX documents.
- Provide completion for LaTeX commands and environments.
- Complete citations, labels and document references.
- Support navigation to definitions and referenced resources.
- Find references to labels and other document elements.
- Provide document symbols for navigating sections and other structures.
- Display diagnostic information from LaTeX processing tools.
- Support document links for included files and referenced resources.
- Analyse relationships between files in multi-document projects.
- Detect project dependencies without requiring root-file comments in ordinary cases.
- Provide configurable document compilation commands.
- Support forward search to compatible PDF viewers.
- Offer workspace-wide editing capabilities.
- Provide configurable options for project discovery and document processing.
- Work with compatible editors including Visual Studio Code, Vim and Neovim.
- Cross-platform support – runs on Linux, macOS, and Windows.
Website: github.com/latex-lsp/texlab
Support:
Developer: Patrick Förster and contributors
License: GNU General Public License v3.0

TexLab is written in Rust. Learn Rust with our recommended free books and free tutorials.
Related Software
| LaTeX Tools | |
|---|---|
| LyX | The power and flexibility of TeX/LaTeX with an intuitive graphical interface |
| KBibTeX | Reference management software primarily for BibTeX |
| TeXstudio | Fully featured open source LaTeX editor |
| VimTeX | Vim and Neovim filetype and syntax plugin |
| TeXmacs | WYSIWYG mathematical text editor using TeX fonts |
| JabRef | Graphical frontend to manage BibTeX databases |
| Biber | BibTeX replacement for users of BibLaTeX |
| TeXmaker | Integrates many different tools |
| Tectonic | Modernised, self-contained TeX and LaTeX engine |
| TeXworks | Simple front-end modeled on TeXShop |
| Atom-LaTeX | Typesetting with GitHub's Atom text editor |
| SiSU | Documents - structuring, publishing in multiple formats and search |
| Kile | KDE Integrated LaTeX Environment |
| BibLaTex | Programmable bibliographies and citations |
| Enter TeX | Integrated LaTeX Environment for the GNOME desktop |
| AUCTeX | Environment for editing LaTeX, ConTeXt, docTeX, Texinfo, and TeX files |
| TexMaths | LaTeX equation editor for LibreOffice |
| Setzer | Full-featured LaTeX editor |
| Gummi | Simple LaTeX editor |
| TexLab | Cross-platform implementation of the Language Server Protocol for LaTeX |
| Pybliographer | Tool for managing bibliographic databases |
| LaTeXDraw | Graphical drawing editor for LaTeX |
| latexindent.pl | Highly configurable formatter for LaTeX source code |
| tex-fmt | Fast formatter for LaTeX source files |
| Latexmk | Automates the process of compiling LaTeX documents |
| KLatexFormula | Useful utility for creating images from LaTeX equations |
| Hieroglyphic | Find LaTeX symbols |
| Hand TeX | Handwritten LaTeX symbol classifier |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.