Atelier Run
Two status bar buttons, right after Ln/Col, that run the file you're editing in a full-screen kitty window:
| Button |
Shortcut |
Profile |
What it means |
play |
⌃⌥R |
dev |
Safety checks on: checked C++ standard library, Go race detector, Python dev mode, Java assertions, Node source maps and warning traces. |
rocket |
⌃⌥⇧R |
fast |
Optimized, no checks. |
The shortcuts only apply while editing a file the buttons can run.
When the program ends, a report shows what it cost: wall time, build time, CPU time and how many cores were busy, performance vs efficiency core share, instructions, IPC, clock, peak memory with a timeline, page faults, energy and average power, context switches and disk I/O. Every run is compared with the previous run of the same file: green is better, red is worse, ≈ is noise when the code hasn't changed. Press Enter and you're back in VS Code; other keys are ignored, and nothing is left running. Ctrl+C stops the program and still shows the report. Closing the window early (⌘W) also stops the program.
It was made alongside the Atelier Black theme, but works with any theme. macOS only.
Requirements
macOS with kitty, fish at /opt/homebrew/bin/fish, and two pieces from this folder:
runstat, the measurer and report renderer (needs Go with cgo, which macOS has with the Xcode command line tools):
go install github.com/JayaswalPrateek/atelier-theme/extensions/run/runstat@latest
or download runstat-darwin-arm64 from the GitHub release and put it on your PATH.
The fish commands in fish/: cxx (C++), pyx (Python, through uv), jsx (JS/TS), gox (Go), javax (Java). Copy or symlink them into ~/.config/fish/functions/. Each takes PROFILE FILE [-- ARGS], has --help, and works on its own in any terminal. The buttons use the dev and fast profiles; the others (san, prof, lint, test, …) are for the command line.
Toolchains the commands call: Homebrew LLVM (or Xcode clang, or g++), uv (+ ruff, pyright), Node (or Bun/Deno), Go (+ staticcheck), and a JDK.
The kitty window uses your own kitty config, so it goes full-screen the way your kitty does (macos_traditional_fullscreen decides whether it gets its own Space).
Settings
| Setting |
Default |
|
atelierRun.commands |
{} |
Extra or replacement commands per file extension, merged over the built-in ones, e.g. { ".py": "pyx -p python3.14 {profile} {file}" }. |
atelierRun.kitty |
/opt/homebrew/bin/kitty |
kitty executable. |
atelierRun.priority |
100.49 |
Position on the right side of the status bar; higher sits further left. The default lands right after Ln/Col (100.5). |
Both buttons are also commands (Atelier Run: Run Current File, …Optimized), so the shortcuts can be changed in Keyboard Shortcuts.
runstat
runstat works on its own too: runstat -- ./a.out args runs a program and prints the report. History lives in ~/.local/state/atelier-run/.
License
MIT