Commands
These commands are available in the Command Palette (Ctrl/Cmd+Shift+P):
| Command | ID | Purpose |
|---|---|---|
Buttons: Open Panel |
buttons.openPanel |
Focus the Buttons sidebar in the Activity Bar. |
Buttons: Open in Editor |
buttons.openMainPanel |
Open the full-width Buttons editor panel. Also available from the editor title-bar icon. |
Buttons: Rescan Scripts |
buttons.rescan |
Re-scan the workspace and reconcile the project scripts. |
Buttons: Open Project Buttons File |
buttons.openProjectButtons |
Open (and create if needed) <workspace root>/.buttons.json. |
Buttons: Open Global Buttons File |
buttons.openGlobalButtons |
Open (and create if needed) ~/.buttons.json. |
Buttons: Add to Buttons |
buttons.addFileButton |
Add the selected file as a project button. On .sh and Python entry files it creates a standalone button; on manifests it adds the file’s folder as a scan directory. |
Add to Buttons also appears when you right-click a script file or manifest in the Explorer. Manifests are package.json, Makefile, justfile, composer.json, Cargo.toml, and go.mod.
There are no default keybindings. You can assign your own under Preferences → Keyboard Shortcuts. The gear icon in the panel header opens VS Code’s settings page for buttons.textSize. That is a built-in command, not a Buttons command. The markdown icon in the header copies the Buttons AI skill or writes BUTTONS-SKILL.md in the project root.