Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Shell Script ButtonsNew to Visual Studio Code? Get it now.
Shell Script Buttons

Shell Script Buttons

kahlery

|
1 install
| (0) | Free
Your workspace's .sh scripts as a grid of buttons in the sidebar. Flags from each script's usage line become input fields.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Shell Script Buttons

Every .sh script in your workspace as a button in the sidebar. Click one to run it in its own terminal from the workspace root.

The Scripts view: the deploy script's fields open, its run in the terminal

If a script needs arguments, clicking it opens fields for them instead, read from the usage line in its header comment:

#!/bin/bash
# Rebuilds one map.
#
#   tools/build_map.sh <map_id> [--fast] [more args]
In the usage line Field
<name> required text field
word text field filled in with word
--flag value text field for the flag's value
[--flag] checkbox
[anything else] optional text field (a leading --flag is kept in front of what you type)
res://tools/<scene>.tscn field for scene, put into the word

Every script also gets an extra field for anything else. Right-click a button to open its fields even when it would run straight away. What you typed is remembered.

Scripts whose header says "run as root" or "run as postgres" never run on a single click: they open with a warning.

In Default Light Modern

Hiding folders

shButtons.exclude (the gear at the top of the panel) is a list of glob patterns to leave out. By default: **/.claude/**, **/build/**, **/dist/**, **/vendor/**, **/.import/**. node_modules, .git and .godot are always left out.

"shButtons.exclude": ["**/.claude/**", "deploy/**"]

Source

Open source under the MIT licence: github.com/kahlery/vs-code-extensions/shell-script-buttons. Issues and pull requests are welcome there.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft