Repository navigation
Releases: kacpermizera-dev/vscode-terminal-command-buttons
Releases · kacpermizera-dev/vscode-terminal-command-buttons
Release list
Terminal Command Buttons v1.0.1
Fixed
- The tooltip of a button with a long command no longer covers the button itself, so Stop, Restart, Edit and Delete in the list layout can be clicked. It opens on the side with more room, is cut to fit, and hides when the pointer reaches the row buttons.
- A running command can be stopped in the icons layout: hovering a running button shows a stop icon, and clicking it stops the command. Restart stays in the right-click menu.
Install
- From the VS Code Marketplace: search for Terminal Command Buttons, or update the installed extension.
- From this release: download
terminal-command-buttons-1.0.1.vsixand runcode --install-extension terminal-command-buttons-1.0.1.vsix.
Terminal Command Buttons v1.0.0
First release on the VS Code Marketplace.
One-click buttons for your terminal commands, right next to the terminal: run status, variables, groups, stop/restart and git aliases.
Security
- Values of
${file},${selectedText},${workspaceFolder},${env:…}and the other editor variables, and options picked from List from command, are quoted for the shell of the terminal the command runs in (bash, zsh, fish, PowerShell, cmd), also inside your own quotes and$(...). A file or branch name such asa$(curl …|sh).jscan no longer run a command. Where a value cannot be passed safely, the run stops with a message. Typed answers and your own list options are inserted as typed. - Rerun Last Command and Restart quote the values again for the terminal they run in, and ask first for buttons with Ask before running.
- Git aliases: git is started by its full path, never from the terminal's folder. The terminal's folder is used only inside the workspace.
- List from command runs in your home folder in an untrusted workspace.
Fixed
- Hand-written buttons in
settings.jsonwithout anid, with a duplicateidor with wrong field types work; broken entries are kept in the file. - Dragging a button only saves the places whose order changed.
- Closing one of the two views no longer stops updates in the other.
Escwhile List from command is loading cancels the run.- Open config file works for repository aliases.
Performance
- Git aliases are read by one refresh at a time instead of several parallel runs of git.
- Large List from command output no longer blocks the extension host.
Also
- Extension icon and Marketplace listing; CI on GitHub Actions.
Full list in CHANGELOG.md.
Install
Search for Terminal Command Buttons in the Extensions view, or download terminal-command-buttons-1.0.0.vsix below and use Extensions: Install from VSIX...