Diagnostics / IntelliSense / Tooling
Compiler-driven editor
The compiler knows what happened. The editor should too.
We’re moving errors, navigation and refactoring onto the compiler’s own records. Here is the full project: what you can use today, what we’re building, and what comes next.
Reviewed
- Features
- 66
- Shipped
- 55
- In progress / review
- 0
- Planned / blocked
- 11
Shipped means the feature is complete, within the scope described. In review is not yet shipped. This is a dated snapshot; active draft implementations are marked in progress.
Scroll each table sideways to see its status.
Errors that point at the cause
12 featuresFind the mistake in your own source, with the context needed to fix it.
| Functionality | What it changes | Status |
|---|---|---|
| Package errors point at your codeWatch it work → — Package errors point at your code | Jump to the project line that called into a package, including errors raised while a package loads, which point at its usepackage line. Keep the package’s own location as secondary context. The headline is one clean sentence: babel’s “(babel)” continuation prefixes and suggested-actions list are stripped, e.g. “Package babel error: Unknown option 'englsh'”. | Shipped |
| The headline names the causeWatch it work → — The headline names the cause | For runaway and recursion errors caused by a macro definition, lead with the defining location instead of hiding it in the trace. A definition in main.tex that is missing its closing brace now names the line that opened it, with a jump, instead of “unknown file”. One that starts in a .sty names that package line instead of blaming your document. | Shipped |
| Specific pdfTeX errorsWatch it work → — Specific pdfTeX errors | Replace remaining generic errors with named diagnostics, captions, causes and fixes. Reconcile the remaining sites with the codes already added. The engine also sends the error card's headline as a typed field, so the editor no longer parses it out of the log text. | Shipped |
| Columns inside macro expansionsWatch it work → — Columns inside macro expansions | Use token provenance and macro call sites to place the caret precisely, while distinguishing authored locations from exact locations. | Shipped |
| Show the recursion cycleWatch it work → — Show the recursion cycle | Name the macros calling each other, show their definitions and compress repeated frames into an understandable cycle. | Shipped |
| An endless macro loop is namedWatch it work → — An endless macro loop is named | Macros that expand to each other forever stop the compile with an error naming both macros and their definition lines, instead of running on. | Shipped |
| Explain a job that ended inside a groupWatch it work → — Explain a job that ended inside a group | Give this error a caption, a location and the line that opened the unclosed group, instead of showing it as undefined. | Shipped |
| Nested main files include from their own folderWatch it work → — Nested main files include from their own folder | A main file in a subfolder finds \input files next to it, not a same-named file at the project root, and its errors open that sibling. | Shipped |
| Stop ends a runaway compileWatch it work → — Stop ends a runaway compile | The Stop button cancels a browser compile stuck in a long-running expansion instead of waiting for it to finish. | Shipped |
| Diagnostics from symbol recordsWatch it work → — Diagnostics from symbol records | Check macro-generated labels and references, unknown options/keys and invalid key values using the declarations the engine recorded. | Shipped |
| Number and length key checksWatch it work → — Number and length key checks | Record whether a key expects an integer or a dimension, so values such as width=abc are flagged. The engine also records every option and key use with its site and whether it resolved, so unknown-option and key checks read those records and no longer scan the source text. Every engine writes key records through one typed serializer, so their field order cannot drift. | Shipped |
| Suggest a missing packageWatch it work → — Suggest a missing package | Offer a package insertion for an undefined command using an offline command-to-package index, without recommending packages already loaded. | Shipped |
Coverage across engines
10 featuresCarry structured diagnostics from the engine through to the editor.
| Functionality | What it changes | Status |
|---|---|---|
| No silent pdfTeX failure exits | Record a diagnostic and run completion for direct backend failures, with specific identities for reachable failure sites. | Shipped |
| LuaTeX diagnostics stream | A shared sink and LuaTeX adapter write structured events, locations, traces and run completion. Verified through the CLI; the editor’s lualatex choice uses stock TeX Live. | Shipped |
| Lua runtime and callback errorsWatch it work → — Lua runtime and callback errors | Describe failures in directlua and Lua packages with their message, chunk, line, traceback and callback name when available. | Shipped |
| XeTeX diagnostics stream | Give native and browser XeTeX the same structured diagnostic stream, then enable shared error codes with fixtures. | Planned |
| Specific converter failures | Explain missing fonts, broken images and bad specials from xdvipdfmx instead of reporting only the converter’s exit code. | Planned |
| Shared LaTeX error matching | Produce the same package, class, kernel and module error codes and issuer information in pdfLaTeX, XeLaTeX and LuaLaTeX. Full coverage needs the XeTeX stream. | Shipped |
| LuaTeX package call counts | Record package macro use in native LuaTeX, so unused-package hints work on LuaTeX documents. | Shipped |
| XeTeX package call counts | Record package macro use in native XeTeX, so unused-package hints work on XeTeX documents. | Shipped |
| XeTeX records for every document | Some documents compile under XeTeX but write no symbol records, leaving the editor without IntelliSense. Fix the missing write and check it on every corpus paper. | Shipped |
| Required pgfkeys values from the engine | Mark pgfkeys keys that require a value in the engine records, so completion no longer mistakes the marker for a default. | Shipped |
IntelliSense from the compiler
30 featuresUse the definitions, references and files the compiler actually saw.
| Functionality | What it changes | Status |
|---|---|---|
| IntelliSense for browser XeTeX | Browser XeTeX compiles deliver the symbols records, so definitions, references and hover work on XeLaTeX documents. Go to Definition on a newcommand lands on its definition, as under pdfTeX. | Shipped |
| Navigate to project package macrosWatch it work → — Navigate to project package macros | Go to definitions and redefinitions in your own .sty and .cls files, including robust commands whose internal names contain a trailing space. Jumps and error-card links open the file at the definition line, not line 1. Definitions, links, references and rename now run on compiler records, so these jumps use what the compiler loaded, not a text scan. | Shipped |
| Document links from opened filesWatch it work → — Document links from opened files | Resolve links from the engine’s file records, including commands outside the old fixed list such as documentclass. Retain text-based links before compilation. | Shipped |
| References and rename from real definitionsWatch it work → — References and rename from real definitions | Recognise commands the engine recorded, whatever defined them. Use source scanning to find occurrences beyond the uses executed during compilation. Rename also waits for the current compile’s label records: F2 on a label while they load says “Compile records are still loading…” and never edits half of a macro-generated reference, and a project that has never compiled renames from its text. | Shipped |
| Keep IntelliSense during recompilesWatch it work → — Keep IntelliSense during recompiles | Keep the last successfully decoded symbols available until the next compile’s records are ready. A second compile that starts while the first one’s records are still loading no longer aborts that load and empties every definition. | Shipped |
| Definitions survive editsWatch it work → — Definitions survive edits | Find a definition when unsaved edits have moved its line since the last compilation. | Shipped |
| Complete reference command familiesWatch it work → — Complete reference command families | Use the engine’s reference command set for hover, completion and key checking, including bracket arguments and reference ranges. | Shipped |
| Suggestions from the whole projectWatch it work → — Suggestions from the whole project | Suggest corrections using project definitions from the symbols records, along with labels and bibliography keys. | Shipped |
| Unicode macro namesWatch it work → — Unicode macro names | Recognise non-ASCII command names for hover and Go to Definition in documents using engines that support them. | Shipped |
| Citation-key references and renameWatch it work → — Citation-key references and rename | Find citation uses and rename bibliography keys across the project, including multi-key and multi-group citation commands. | Shipped |
| Definition and redefinition historyWatch it work → — Definition and redefinition history | Show the earlier project definition alongside the winning one ("previously at shortcuts.sty:3", a jump link), so a later redefinition does not silently hide where a command first came from. pdfTeX; survives warm recompiles. The full history log is planned. | Shipped |
| Complete engine-record consumers | The umbrella for editor features built on engine records. Most of its features have shipped; it stays open for the record gaps found along the way. | Planned |
| Unused definitions and assetsWatch it work → — Unused definitions and assets | Hint when project macros, glossary entries or assets were unused, while suppressing conclusions that incomplete or capped records cannot support. | Shipped |
| Read-only package source navigationWatch it work → — Read-only package source navigation | Open the exact pinned distribution .sty/.cls source behind a macro, environment or option, read-only. | Shipped |
| Macro counts and colour history in hoverWatch it work → — Macro counts and colour history in hover | Add last-compile macro call counts and colour alias/series details to hover cards, with explicit treatment of stale records. | Shipped |
| Citation definition shortcutsWatch it work → — Citation definition shortcuts | Jump from a citation key to its bibliography entry with F12, Ctrl/Cmd-click or Go to BibTeX in the hover card. The .bib opens at the entry’s line. | Shipped |
| Argument signature helpWatch it work → — Argument signature help | Show argument position, count and optional defaults for supported definitions. Signature help also says what each argument is, with names and descriptions where the data has them, not just numbers. Package xparse signature capture is outside this ticket’s current scope. | Shipped |
| Unused package hintsWatch it work → — Unused package hints | Measure package command use from document code, including calls through user macros. Suppress hints for side-effect packages and incomplete records. | Shipped |
| Duplicate package and option clash hintsWatch it work → — Duplicate package and option clash hints | Flag packages already loaded elsewhere, conflicting option lists and options nothing consumed, as hints on every compile. | Shipped |
| Font usage hintsWatch it work → — Font usage hints | Flag fonts loaded but never used, font shape substitutions and bitmap Type 3 fonts as hints on every compile. | Shipped |
| Document class option completionWatch it work → — Document class option completion | Offer class options such as 11pt inside documentclass after a compile, and keep Ctrl-click working on includegraphics paths. | Shipped |
| Preserve disabled key defaultsWatch it work → — Preserve disabled key defaults | Keys that hyperref disables at document start keep the type and default of the definition the stub replaced, so \hypersetup{colorlinks=} offers true / false. | Shipped |
| Citation completion across command familiesWatch it work → — Citation completion across command families | The engine records every citation use (key, command kind, source site), so every cite command family, including biblatex, is recognised from compiler records and not just a regex. Replace the fixed completion trigger with shared citation command metadata for bibliography and OpenAlex suggestions, including later groups of multi-group citations. Keys come from the project files, so it works in a browser-only workbook. | Shipped |
| Index entry completionWatch it work → — Index entry completion | Export index-use records and complete existing entries and nested subentries, with explicit coverage when compilation or records are incomplete. | Shipped |
| Numbered, paged and compiler-aware outlineWatch it work → — Numbered, paged and compiler-aware outline | Capture compiled heading facts and show actual numbers and physical pages, including unlabeled, starred and appendix headings. Each section also shows the errors, warnings and overfull boxes from the compile, and the outline follows the section visible in the PDF. XeLaTeX documents get the same numbers and pages. | Shipped |
| Package load treeWatch it work → — Package load tree | Show why each class or package was loaded, preserving known load relationships and explicitly representing missing callers. | Shipped |
| Structural selectionWatch it work → — Structural selection | Expand and shrink editor selections through LaTeX groups, arguments, math and environments without changing the source. | Shipped |
| Highlight command originsWatch it work → — Highlight command origins | Distinguish project, package and kernel macros from compiler provenance. Avoid false undefined styling while compiler records are missing or stale. | Shipped |
| Citation inlay hintsWatch it work → — Citation inlay hints | Export and display actual compiled citation labels for numeric and author/year styles, rather than inventing labels from bibliography metadata. | Shipped |
| Compiled register values in hoverWatch it work → — Compiled register values in hover | Export relevant named lengths and counters and label their hover values as the last compile’s final state, with explicit stale and incomplete handling. | Shipped |
The command line
7 featuresMake the same information available when working outside the editor.
| Functionality | What it changes | Status |
|---|---|---|
| Symbols and profiles on failed builds | Document and honour the symbols and profile flags, and publish the information captured before a build failed. | Shipped |
| Beamer builds on the command line | volt build compiles Beamer documents, an engine exit with no error event still reports a typed diagnostic, and a required check keeps Beamer building. | Shipped |
| Package cost panelWatch it work → — Package cost panel | A profile compile lists each loaded package with files read, bytes read, engine work and whether it is used, and groups the hottest macros by the package that defines them. Insights say in plain language what slows the compile, with costs in ms and % of compile. | Shipped |
| Slim TeX Live export | Across all documents in the project, report installed size against the size actually used and export that subset as a texmf tree. The per-package cost panel has shipped. | Planned |
| Readable traces in the terminal | Print user-file and macro-definition frames under CLI errors, collapsing distribution frames instead of requiring a JSON inspection. | Planned |
| Run pdfTeX tools on the host | Make volt tool pdftex work after local development setup, with the required configuration and formats, without entering a Docker image. | Planned |
| A shared language-server core | Extract an editor-free core, run it in a browser worker and expose a stdio language server for other editors. Existing LSP-shaped functions are only part of that work. | Planned |
Keeping it correct
7 featuresChecks and shared data that keep coverage from drifting as the compiler grows.
| Functionality | What it changes | Status |
|---|---|---|
| Reject new untyped error sites | Enforce diagnostic identities at build time and gate error-site coverage, keeping explicit allowances for engine coverage still being added. | Shipped |
| Documentation matches the implementation | Correct the old producer counts and gate claims, and document engine coverage explicitly rather than implying parity. | Shipped |
| One producer per internal-error identity | Restore or retire missing identities and split duplicated ones, then put all affected IDs back under the error-site gate. | Planned |
| Generate diagnostic lists from the catalog | Derive schemas, captions and code ordering from YAML so a new diagnostic no longer needs several hand-maintained lists. | Planned |
| Keep test hooks out of production | Isolate diagnostic test entry points so production code cannot bypass the requirement to open an error with a typed identity. | Planned |
| Complete the coverage audit | Audit dynamic and conditional failure paths, exercise malformed fonts, images and PDFs, and prove missing producers fail tests. Waiting on the engine-publish work. | Blocked |
| Real editor acceptance for engine records | Exercise hints, references, rename, colours, options, glossary and file links through real compilation and editor interactions, rather than helper tests alone. | Shipped |