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
Showing 66 of 66 features

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 features

Find the mistake in your own source, with the context needed to fix it.

Errors that point at the cause: functionality, scope, delivery status
FunctionalityWhat it changesStatus
Package errors point at your codeWatch it work → — Package errors point at your codeJump 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 causeFor 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 errorsReplace 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 expansionsUse 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 cycleName 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 namedMacros 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 groupGive 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 folderA 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 compileThe 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 recordsCheck 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 checksRecord 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 packageOffer a package insertion for an undefined command using an offline command-to-package index, without recommending packages already loaded.Shipped

Coverage across engines

10 features

Carry structured diagnostics from the engine through to the editor.

Coverage across engines: functionality, scope, delivery status
FunctionalityWhat it changesStatus
No silent pdfTeX failure exitsRecord a diagnostic and run completion for direct backend failures, with specific identities for reachable failure sites.Shipped
LuaTeX diagnostics streamA 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 errorsDescribe failures in directlua and Lua packages with their message, chunk, line, traceback and callback name when available.Shipped
XeTeX diagnostics streamGive native and browser XeTeX the same structured diagnostic stream, then enable shared error codes with fixtures.Planned
Specific converter failuresExplain missing fonts, broken images and bad specials from xdvipdfmx instead of reporting only the converter’s exit code.Planned
Shared LaTeX error matchingProduce 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 countsRecord package macro use in native LuaTeX, so unused-package hints work on LuaTeX documents.Shipped
XeTeX package call countsRecord package macro use in native XeTeX, so unused-package hints work on XeTeX documents.Shipped
XeTeX records for every documentSome 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 engineMark 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 features

Use the definitions, references and files the compiler actually saw.

IntelliSense from the compiler: functionality, scope, delivery status
FunctionalityWhat it changesStatus
IntelliSense for browser XeTeXBrowser 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 macrosGo 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 filesResolve 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 definitionsRecognise 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 recompilesKeep 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 editsFind a definition when unsaved edits have moved its line since the last compilation.Shipped
Complete reference command familiesWatch it work → — Complete reference command familiesUse 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 projectSuggest corrections using project definitions from the symbols records, along with labels and bibliography keys.Shipped
Unicode macro namesWatch it work → — Unicode macro namesRecognise 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 renameFind 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 historyShow 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 consumersThe 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 assetsHint 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 navigationOpen 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 hoverAdd 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 shortcutsJump 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 helpShow 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 hintsMeasure 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 hintsFlag packages already loaded elsewhere, conflicting option lists and options nothing consumed, as hints on every compile.Shipped
Font usage hintsWatch it work → — Font usage hintsFlag 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 completionOffer 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 defaultsKeys 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 familiesThe 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 completionExport 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 outlineCapture 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 treeShow why each class or package was loaded, preserving known load relationships and explicitly representing missing callers.Shipped
Structural selectionWatch it work → — Structural selectionExpand and shrink editor selections through LaTeX groups, arguments, math and environments without changing the source.Shipped
Highlight command originsWatch it work → — Highlight command originsDistinguish 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 hintsExport 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 hoverExport 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 features

Make the same information available when working outside the editor.

The command line: functionality, scope, delivery status
FunctionalityWhat it changesStatus
Symbols and profiles on failed buildsDocument and honour the symbols and profile flags, and publish the information captured before a build failed.Shipped
Beamer builds on the command linevolt 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 panelA 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 exportAcross 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 terminalPrint user-file and macro-definition frames under CLI errors, collapsing distribution frames instead of requiring a JSON inspection.Planned
Run pdfTeX tools on the hostMake volt tool pdftex work after local development setup, with the required configuration and formats, without entering a Docker image.Planned
A shared language-server coreExtract 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 features

Checks and shared data that keep coverage from drifting as the compiler grows.

Keeping it correct: functionality, scope, delivery status
FunctionalityWhat it changesStatus
Reject new untyped error sitesEnforce diagnostic identities at build time and gate error-site coverage, keeping explicit allowances for engine coverage still being added.Shipped
Documentation matches the implementationCorrect the old producer counts and gate claims, and document engine coverage explicitly rather than implying parity.Shipped
One producer per internal-error identityRestore 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 catalogDerive schemas, captions and code ordering from YAML so a new diagnostic no longer needs several hand-maintained lists.Planned
Keep test hooks out of productionIsolate diagnostic test entry points so production code cannot bypass the requirement to open an error with a typed identity.Planned
Complete the coverage auditAudit 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 recordsExercise hints, references, rename, colours, options, glossary and file links through real compilation and editor interactions, rather than helper tests alone.Shipped