Skip to content
| Marketplace
Sign in
Visual Studio Code>Extension Packs>Shell script IDENew to Visual Studio Code? Get it now.
Shell script IDE

Shell script IDE

WoozyMasta

|
39,725 installs
| (2) | Free
Set of extensions to convert VSCode to IDE for shell scripting (sh, bash)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Shell script IDE

Set of extensions to convert VSCode to IDE for shell scripting (sh, bash)

Install binary dependencies

For the extensions to work correctly, you need to install binary dependencies into your operating system.


Install hadolint:

  • Download the latest binary release and install it on your system, or use the official installation guide.

Install bashdb:

Download bashdb source files and install it:

BASDB_VERSION=5.0-1.1.2
curl -Lo "bashdb-$BASDB_VERSION.tar.gz" \
  "https://sourceforge.net/projects/bashdb/files/bashdb/$BASDB_VERSION/bashdb-$BASDB_VERSION.tar.gz/download"
tar xf "bashdb-$BASDB_VERSION.tar.gz"
cd "bashdb-$BASDB_VERSION/"
./configure
make
sudo make install

Optionally you can also install binaries for shellcheck and shfmt. But in most cases this is not necessary, they are installed automatically when the extension is installed.

  • github.com/koalaman/shellcheck
  • github.com/mvdan/sh

Recommended VSCode setting

{
  "files.autoSave": "off",
  "[shellscript]": {
    "files.eol": "\n",
    "files.insertFinalNewline": true,
    "files.trimFinalNewlines": true,
    "files.trimTrailingWhitespace": true,
    "editor.renderWhitespace": "boundary",
    "editor.insertSpaces": true,
    "editor.tabSize": 2,
    "editor.tabCompletion": "on",
    "editor.snippetSuggestions": "top",
    "editor.wordWrap": "off",
    "editor.formatOnPaste": true,
    "editor.rulers": [
      {
        "column": 72,
        "color": "#1e751633",
      },
      {
        "column": 80,
        "color": "#c2790b99",
      },
      {
        "column": 132,
        "color": "#a10d2d99"
      }
    ],
    "editor.minimap.maxColumn": 132,
  },
  // Other settings 
}

Links

  • Подготовка эффективной среды для написания bash сценариев - an article in Russian about preparing an effective environment for developing bash scripts
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft