Build call & symbol graph
footnote code-index . builds the local symbol & call graph in seconds while excluding .gitignore, dot-folders, build directories and .footnoteignore paths.
Answered from the compiler's own index.
Code reads the SCIP index your language tools build and links every symbol to its callers, callees, architecture block and external I/O. It would rather show no caller than a wrong one.
Rust · TypeScript · JavaScript · Python · less proven: Java
All commands below ship in release builds (and the Windows Setup installer) today alongside joined cross-product recall (footnote_recall(all: true)) and the Launcher Code Map + I/O split view. Powered by rust-analyzer, scip-typescript, scip-python, verified scip-java overlay and tree-sitter fallbacks; changed files come back marked stale.
footnote code-index . builds the local symbol & call graph in seconds while excluding .gitignore, dot-folders, build directories and .footnoteignore paths.
footnote_code(op="read") returns compact file outlines or exact symbol bodies + callers—cutting pre-edit read bytes 93.6 % and turns 63.0 % (27 → 10) on the 8-task LEAN-C1 fixture (8/8 parity).
footnote code-map and footnote code-io map module blocks alongside every config key, env var, SQL table/view, API route and file touch with exact path:line citations.
footnote code-impact --diff (or <name>) traces callers up to 3 levels, tests affected and locked project decisions touching edited code before you commit.
Held-out links verified against compiler ground truth on 18–19 Nov 2026 (plus 24 Nov field_type follow-up COD-12). Recall stays beside precision because Footnote refuses edges when unsure.
| Language | Projects | Ground truth | Compiler conflicts | Precision / recall |
|---|---|---|---|---|
| Rust | 15 | rust-analyzer | 28 of 7,707 (0.4 %) | recall 0.04–0.20 (calls only) |
| TypeScript (C2 / C6 / COD-12) | part of 6 | scip-typescript | 6 of 13,449 combined (0.04 %) | 0.937 / 0.622base 0.934 / 0.581 |
| Python (C2 / C6 / COD-12) | part of 6 | scip-python | 0 errors added in COD-12 | 0.865 / 0.466base 0.865 / 0.455 |
| Java (C3) | 3 | javac | not counted | 1.00 / 0.70–0.85 |
Distinction & limits: "Compiler conflict rate" (C1, C2) counts emitted links the compiler contradicts; "analyzed precision & recall" (C6) evaluates default-tier resolution on held-out sets—never mix the two. Rust recall is intentionally conservative (calls only vs all compiler refs), Java spans only three parser projects (gson, jsoup, commons-lang) plus scip-java, and an external review of Rust no-edge links remains open.
Measured on one Rust codebase (37 files without tests, single run). Because this is the repository our rules were tuned on, read this strictly as a data point, never as a universal ranking.
| Tool | Precision | Recall |
|---|---|---|
| Footnote | 0.98 | 0.50 |
| CodeGraph 1.6.3 | 0.88 | 0.55 |
| codebase-memory-mcp 0.12.1 | 0.61 | 0.41 |
LEAN-C1 measures a deterministic 8-task multi-language suite with 8/8 parity).Trust note: For Rust, rust-analyzer executes project build scripts and procedural macros—only run footnote code-index on repositories you trust. scip-typescript and scip-python only parse source files.
You need Footnote installed first: see install, plus the compiler tools for your languages.
Builds the graph for the project here.
footnote code-index .Inspect callers, callees and symbol definitions.
footnote code lookup <symbol>