Overview
Buttons is a VS Code and VSCodium extension that turns the scripts already in your project into a clickable command launcher. It finds package.json scripts, Rust Cargo.toml and Go go.mod commands, .sh files, Python entry files, Makefile targets, composer.json scripts, and justfile recipes.
Instead of opening package.json to find a script or remembering the exact flags, you get a panel of runnable commands. Run in the current or a new terminal, send the command to your OS terminal without running it, copy to the clipboard, or add your own custom commands.
Install
Section titled “Install”- VS Code: Install from the Marketplace
- VSCodium: Install from Open VSX
The source and issue tracker live at github.com/CurbSoftware/vscode-buttons.
How it works
Section titled “How it works”- Scan. Buttons checks the project root plus the directories you add, reads the script types you’ve enabled, and finds every runnable command, including buttons for detected virtual environments.
- Generate. On first use, generate a
.buttons.jsonfile that lists the scripts you want as buttons. - Run. Each button becomes a row you can run, copy, send to the OS terminal, or edit without leaving the editor.
Buttons never rewrites your scripts. It reads them and stores references to them in a small JSON file.
Where to start
Section titled “Where to start”- New to Buttons? Read the Getting started guide.
- Want to understand how scripts are found? See Script scanning.
- Need to add a command that isn’t in a script file? See Custom commands.
- Giving this schema to an AI? See Using Buttons.
- Stuck? See the FAQ or Troubleshooting.