Simple Commands
Add configurable buttons to the VSCode status bar (bottom left).
Features
- Add custom buttons to the status bar
- Configure buttons via VSCode settings
- Support for icons using
$(iconName) syntax
- Customize button colors
- Execute any VSCode command or task
Configuration
Configure your buttons in VSCode settings:
{
"simple-commands.buttons": [
{
"name": "$(gear) Settings",
"command": "workbench.action.openSettings",
"type": "run",
"color": "#007acc"
},
{
"name": "$(file-code) Open File",
"command": "workbench.action.files.openFile",
"type": "run",
"color": "#00ff00"
}
]
}
name (required): Button text, supports icons like $(gear)
command (required): Command to execute (VSCode command or terminal command)
type (optional): run (VSCode command) or command (terminal command). Default: run
color (optional): Text color in hex format (e.g., #007acc)
Common Commands
workbench.action.openSettings - Open settings
workbench.action.openSettingsJson - Open settings.json
workbench.action.showCommands - Show command palette
workbench.action.terminal.new - New terminal
workbench.action.tasks.runTask - Run task
Usage
- Install the extension
- Open VSCode settings (JSON)
- Add your button configurations under
simple-commands.buttons
- Buttons will appear in the status bar automatically
License
MIT
| |