Build, run and test
Tasks run the project's own tools (Cargo, dotnet, Python) in a trusted folder. Axiom finds them by reading project files; it never runs project code to discover them.
Run something
| To | Do |
|---|---|
| Build the active file's project | Ctrl+Shift+B (Run → Run Build Task) |
| Test the active file's project | Run → Run Test Task |
| Pick any task | Run Task… in the command palette (Ctrl+Shift+P) |
| See tasks, output and results | Ctrl+Shift+U (Tasks panel) |
| Stop a run | Cancel in the Tasks panel (the whole process tree stops) |
In a folder with several projects, Build and Test pick the task of the innermost project that contains the active file; with no file open they use the first one listed.
Read the results
The Tasks panel shows each run with four tabs: Output, Errors, Problems and Tests.
- Problems lists compiler errors and warnings. Click one to open the file at the line.
- Tests lists each test as PASS, FAIL or SKIP with its message. Click a failure to open the test.
- Results come only from what the tool printed. Anything Axiom could not read is listed as unreadable, never guessed.
Choose a Python interpreter
Select a Python task in the Tasks panel, then pick an interpreter in Use:. Axiom offers .venv, venv and env folders in and above the project, and python3 on PATH. It does not create environments or install packages: make the environment yourself (python3 -m venv .venv) and install pytest and debugpy into it.
The .NET SDK follows the project's global.json. Rust uses the toolchain rustup selects.
Your own commands
+ Command… in the Tasks panel adds a program with arguments (one per line, no shell), a folder and environment variables. See tasks and terminal for the safety rules and limits.