Skip to main content

Building

From the repository root:

cargo build --release -p axiom-desktop # the IDE: target/release/axiom
cargo build --release --workspace --bins # IDE, benchmark tool and fake language server

Use release builds for anything you measure. Debug builds optimise dependencies (opt-level = 2) but not workspace crates.

Workspace layout​

PathContents
apps/desktopThe axiom binary (egui/eframe UI).
crates/ide-coreSession, workspace, documents, trust, profiles, themes, decorations, commands.
crates/ide-textRope documents, coordinates, undo/redo.
crates/ide-languagesLanguage registry, Tree-sitter, LSP client and lifecycle, fake server.
crates/ide-extensionsExtension manifests and registry.
crates/ide-aiAI request model and providers.
tools/perfaxiom-perf benchmark tool.
extensions/Example extensions bundled into the app.

See components for ownership and dependency rules.

Documentation site​

cd docs
npm ci
npm run build # or: npm start