Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ShellCheckSelectionNew to Visual Studio Code? Get it now.
ShellCheckSelection

ShellCheckSelection

lionas

|
1,289 installs
| (0) | Free
ShellCheck a selection
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ShellCheckSelection

Run ShellCheck on a block of code.

Usage

Usage GIF

Why?

To help you lint inline shell scripts. Can be useful when creating pipelines, packages or to lint any file containing just blocks of shell scripts. If you want to lint whole files please use the vscode ShellCheck extension.

Requirements

You will need to have ShellCheck installed and in your PATH.

Release Notes

0.1.1

Add an icon

0.1.0

Added diagnosis code to the output with a link to the wiki.

0.0.2

Update .gif link in README.md. Probably don't need to bump version for this (?)

0.0.1

Initial release of ShellCheckSelection.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft