Editor intelligence

Autocomplete, and everything around it. What we do, what we don’t.

Texlab is the reference language server for LaTeX. Here is every feature it offers next to ours, marked honestly, followed by what we can do only because we own the compiler.

  • 47 / 63features we have in full
  • 3partly there
  • 13not yet
  • 43 / 63texlab, for reference

Completion

What the editor offers as you type a backslash, a brace or a key.

FeatureTexlabVoltEffortNotes
Command completionYesYesDoneAfter a compile, completion uses the engine’s live definitions, including project and package macros. A built-in command list is available before the first compile. Texlab uses shipped metadata plus a text scan.
Environment completion (\begin{ / \end{)YesYesDoneBuilt-ins work before the first compile; engine environments merge in after.
Label completion (\ref, \eqref, \cref …)YesYesDoneFrom the cross-file project graph, no compile needed. The shared reference family covers 30 command names, including cleveref, varioref and nameref (TAR-1481).
Citation key completion (\cite …)YesPartialMediumAuthor, year and title are shown for supported commands when the runtime bibliography index is available. Completion and OpenAlex still share a fixed 19-command trigger; later groups of commands such as \cites are missing. TAR-1559 connects both to the engine-aligned citation family.
File path completion (\includegraphics, \input, \bibliography …)YesYesDoneFrom the workbook file tree, image / .bib / .tex ranked first. LaTeX documents only, not .cls / .sty.
\input / \include name completionYesYesDoneEvery workbook file, filtered per command (.tex for \input, .bib for \bibliography, images for \includegraphics), extension dropped where LaTeX allows.
Package names in \usepackage{} / \documentclass{}YesYesDoneCurated list of ~230 packages and 38 classes with one-line descriptions. Already-loaded packages are marked and ranked lower.
Option and argument completion (\includegraphics[…])YesYesDonePackage/class options and supported key=value families come from the loaded packages, with boolean and choice values where their records provide them. Before a compile only common \includegraphics keys are offered. hyperref options disabled at document start keep their values (\hypersetup{colorlinks=} offers true / false).
Auto-insert matching \end{}YesYesDoneAccepting a \begin{ completion or pressing Enter after \begin{name} adds the \end, unless the environment is already balanced. One undo step.
Existing labels offered inside \label{}YesYesDoneExisting labels from this file and its siblings, marked “already defined” to avoid duplicates.
Snippets with tab stopsYesYesDoneReal tab stops (Tab / Shift-Tab) for \frac, \href, \section + label, figure, table, tabular, equation, \newcommand and more.
Math-mode aware symbol completionPartialYesDoneMath symbols rank first inside $…$, \[…\] and math environments and sink in text; \text{} inside math counts as text.
Glossary and acronym commandsYesYesDone\gls, \Glspl, \acrfull, \ac and friends complete every \newacronym, \newglossaryentry, \newabbreviation and \acrodef in the project, with hover. After a compile the engine’s glossary records merge in, adding entries your own macros made.
Index entry completion (\index{…})NoNoMediumPlanned (TAR-1560). Complete existing index entries and subentries (a!b). The engine first needs to export index uses; the current symbols records do not contain them.

Editing aids

Things that act on the text rather than complete it.

FeatureTexlabVoltEffortNotes
Rename: labels, commands, environments and citation keysYesYesDoneF2 or right-click plans one project-wide change and one Undo. Citation rename updates .bib entry keys and citation uses (TAR-1515). Collisions and unsafe edits are refused. Label-record readiness and pre-first-compile behavior still need acceptance coverage (TAR-1361).
Document highlight (all uses of the symbol under the cursor)YesYesDoneLabels, citation keys, macros and environments; the definition is marked more strongly than uses.
Selection range (smart expand / shrink)YesNoMediumPlanned (TAR-1563). Expand and shrink selections through LaTeX groups, arguments, math and environments using the existing syntax infrastructure.
Code folding by section and environmentYesYesDoneFolds environments, sections up to the next heading of the same level, the preamble and long comment blocks.
Semantic highlighting (your macros vs package vs kernel vs undefined)NoNoMediumPlanned (TAR-1564). Style commands using the engine’s definition origins, respecting project redefinitions. Missing or stale compiler records must not turn valid commands into false undefined markers.
Bracket matching and syntax highlightingNoYesDoneEditor concerns, not LSP ones; listed so the row isn't missing.
Signature help (argument hints while typing)NoYesDoneTyping { [ or , after a command (or moving into its arguments) shows which argument you are in, the count and the optional default, above the cursor; Esc closes it. Read from the definition the engine ran: \def, \newcommand with its default, \DeclareRobustCommand and xparse specs, yours and packages'. Before the first compile, your own \newcommand / \def / \NewDocumentCommand text. Delimited \def parameters and verbatim or embellishment xparse arguments show nothing.
Formatting (latexindent, tex-fmt, BibTeX)YesNoHardAn explicit non-goal in our plan today.
Colour preview for \definecolorYesYesDoneSwatches on \definecolor, \textcolor, \colorbox, mixes like red!50!blue and tikz fill=/draw=, plus colour-name completion. After a compile the engine’s colours win, including palettes a package option loaded (dvipsnames) and the value xcolor really stored.

Hover and hints

Information shown without leaving the line.

FeatureTexlabVoltEffortNotes
Hover: commands and environmentsYesYesDoneCompiled definitions and provenance after a compile, with built-in command information available before compilation.
Hover: labels (what does this \ref point at)YesYesDoneNumber, counter and page from the last compile. Labels made by your own macros resolve too, with a jump to the line that made them.
Hover: citationsYesYesDoneFormatted reference (authors, year, title, venue) with LaTeX accents cleaned up, plus a jump to the .bib entry.
Hover: package documentationYesPartialUnknownOne-line doc for \usepackage / \documentclass, no per-package docs.
Hover: symbol image preview (\alpha, \sum …)YesYesDoneKaTeX-rendered glyph with name and category in the hover card. User redefinitions show no built-in glyph.
Inlay hints (label and reference previews)YesYesDoneAfter a compile each \ref shows what it typesets as (“Fig. 4”, “(3)”, “p. 7”), read from the engine’s label records. Numbers are never guessed before one.
Inlay hints: citations (“[3]”, “Knuth 1984”)NoNoMediumPlanned (TAR-1565). Show the actual compiled citation label, including numeric and author/year styles. Citation-use records contain keys and sites today, not the rendered labels needed for these hints.
Hover: real values of lengths and countersNoNoMediumPlanned (TAR-1566). Show the last compile’s final named length or counter value. The engine needs to export a typed value record; internal checkpoint data is not an editor contract.
Hover: macro call counts and colour alias chainsNoYesDoneAfter a compile a macro you defined shows “Called 412× in the last compile”, summed over every call site (“at least” when the engine's table was full). Hidden once the file is edited, until the next compile. A colour shows its alias chain (accent → brand → #1f6feb) and, for \definecolorseries, the series method and step.

Diagnostics and fixes

Telling you what is wrong, and offering to fix it.

FeatureTexlabVoltEffortNotes
Compile errors and warnings inlinePartialYesDoneTexlab parses the build log. We consume structured engine diagnostics with source locations and traces. Columns depend on the input path; macro-expansion columns remain TAR-1447, and XeTeX stream coverage remains TAR-1441.
Undefined \ref and \citeYesYesDoneChecked client-side as you type, no compile needed.
Duplicate label detectionYesYesDone
Unused label detectionNoYesDoneFaint hint on a \label no \ref-family command uses anywhere in the project. Texlab does not have it.
chktex lintYesNoHardAn explicit non-goal in our plan today.
Quick fixesPartialYesDoneProject-wide "did you mean" suggestions for commands, labels and citation keys become fixes in the lint card (TAR-1482). This is not a general lightbulb or language-server code-action menu.
Quick fix: add the missing \usepackageNoNoMediumPlanned (TAR-846). Offer a missing package for an undefined command, backed by an admitted offline command-to-package index. A run cannot know definitions from packages it never loaded.
Unused \usepackage hintNoYesMediumShipped (TAR-847), pdfTeX only (LuaTeX TAR-1617, XeTeX TAR-1618). A faint hint on a package name when the last compile called no command from it, counting uses through your own macros and helper files. Silent before the first compile, when the engine reports no data or capped data, for command-less packages (fontenc, geometry, babel...), and when the load carries options.
Unknown option or key, wrong value typeNoNoMediumPlanned (TAR-799). \usepackage[nonsense]{x}, an unknown key=value key, or a non-number given to a number key, checked against what the loaded packages actually declared. Silent for packages that accept any option. Also flags duplicate labels and undefined references whose keys your own macros built.
Unused \newcommand, glossary entries and imagesNoNoMediumPlanned (TAR-800). Faint hints on definitions the compile never used and project images it never read, from the engine's macro-use and file records. Uses that happen inside your own macros count.
Problems paneNoYesDoneAgrees with the inline tooltip (tested).

Build and preview

Getting from source to PDF and back.

FeatureTexlabVoltEffortNotes
Build on demandYesYesDoneTexlab shells out to latexmk or tectonic. We run RocTex, in the browser or natively.
Build on save / auto-compileYesYesDoneEdit-driven auto-compile with a zero debounce on our engine.
Forward search (source → PDF)YesYesDoneSyncTeX, matched to the glyph.
Inverse search (PDF → source)YesYesDone
Works with no TeX installationNoYesDoneTexlab cannot compile without a TeX distribution.
Works with any editor (VS Code, Neovim, Emacs …)YesNoHardTracked in TAR-748: an editor-free core, a browser worker and a stdio language server. Existing LSP-shaped helper functions are not a shipped server for other editors.

Beyond the language server

Only in Volt

These are not autocomplete, but they are why the autocomplete is more accurate. Texlab has none of them.

  • Yes

    Completion from live definitions

    After a compile, live compiler definitions augment completion and hover with recorded project and package symbols. Built-in command information remains available before compilation.

  • Yes

    Macro-expansion tracebacks

    An error can show the chain of expanding macros and their definition sites. Project-file locations are navigable; opening distribution-package source is separate work in TAR-801.

  • Yes

    Typed diagnostic codes

    Supported engine paths emit stable, generated codes and structured facts. Coverage across every engine and error site remains part of the compiler-driven editor project.

  • Yes

    Math preview

    KaTeX preview of the math under the cursor.

  • Yes

    Spellcheck that understands LaTeX

    Skips math and commands. Texlab leaves this to ltex-ls.

Volt coverage reviewed against merged main on 12 November 2026. Open review work is not counted as shipped. See the compiler-driven editor project for the delivery plan and linked tickets.

Texlab column from its crates, configuration and changelog (5.26). Our column audited against the editor source. Statuses move as we ship. Effort is our own estimate of the work in this editor: easy is a day or so on data we already have, medium needs new indexing or UI, hard needs new infrastructure or a native tool, unknown means we haven’t scoped it.