尚未检测到更新。GitHub 发布版本后会显示在这里。
VS Code extension: project command buttons from commands-list.json, multi-step combos and server uploads
翻译准备中
正在加载完整 README。
查看完整 README ↗One-click command runner for VS Code. Define commands in JSON or let the extension pick up
your package.json scripts and .ps1 files automatically — then run anything from a sidebar or panel.
💬 Questions → Discussions · Q&A · Ideas → vote · Bugs → Issues
code --install-extension PavelKhabusov.commands-extension
commands-list.json in the root (or just have a package.json with scripts)📚 Detailed docs live in
docs/: Server Uploads · SQL Console · Combined Operations · Claude Hooks Manager.
Access your commands from the Activity Bar sidebar or open a dedicated panel via Ctrl+Shift+P > Commands: Open Panel.
Filter commands instantly by typing in the search bar. Matches command names, command text, and group names. Groups auto-expand during search and restore their collapsed state when cleared.
Right-click any command to access:
| Action | Availability |
|---|---|
| Add / Remove from favorites | All commands |
| Enable / Disable confirmation | All commands |
| Stop terminal | Commands with active terminal |
| Move to group | Custom commands only |
| Delete | Custom commands only |
Enable confirmation for critical commands via the context menu. Protected commands show a lock icon indicator and require a modal confirmation dialog before running.
Organize commands into named groups. Collapse/expand individual groups or all at once. Group state is preserved across sessions. Command count badge appears on hover.
Star any command to pin it to the Favorites group at the top. Use the star button or right-click > "Add to favorites". Favorites persist across sessions.
| Type | Runs as |
|---|---|
terminal | Default shell (bash, zsh, cmd, ...) |
node | node <command> |
pwsh | pwsh -Command <command> |
Click + in the toolbar to add new commands without touching JSON. Pick an existing group or create a new one on the fly.
| Source | Group | Auto-refresh |
|---|---|---|
commands-list.json | Custom groups | Yes |
package.json scripts | npm scripts | Yes |
*.ps1 files | PowerShell scripts | Yes |
Per-project FTP / FTPS / SFTP / SSH-rsync upload targets in server-uploads.local.json, run
with one click — live progress, cancel, mirror deploys, parallel transfers,
skipUnchanged, badge-exact "Modified" uploads, and a Quick Upload for one-off
files. Full reference → docs/server-uploads.md.
The built-in Recommended section offers ready-made command sets:
| Template | Description |
|---|---|
| React | Dev server, build, test, lint, format |
| Node.js Backend | Start, dev, build, test, DB migrate |
| Next.js | Dev, build, start, lint |
| Docker | Build, compose up/down, logs |
| Expo | Start, iOS/Android, EAS build/submit |
| Python | Run, pytest, pip install/freeze |
| Git | Status, pull, push, stash, log |
| Turborepo | Monorepo build, dev, lint, test |
| Deploy | Vercel & Netlify deploy commands |
| Testing | Test, watch, coverage |
| Linting | Lint, format, typecheck |
| Git Hooks | Prepare, pre-commit, pre-push |
Click + on a template to add the whole set, or expand it and add individual commands.
Uses VS Code CSS variables — looks native in any theme (light, dark, high contrast).
commands-list.json Format{
"commands": [
{
"name": "Build Project",
"command": "npm run build",
"type": "terminal",
"group": "Build"
},
{
"name": "Start Server",
"command": "server.js",
"type": "node",
"group": "Dev"
},
{
"name": "Deploy",
"command": "./scripts/deploy.ps1",
"type": "pwsh",
"group": "Deploy"
}
]
}
以上为 README 的开头部分。其余内容请阅读原文。 查看完整 README ↗