Skip to content
| Marketplace
Sign in
Visual Studio>Tools>BashSyntax
BashSyntax

BashSyntax

Anthony Berkow

|
2,665 installs
| (0) | Free
This is a bash script classifier extension to the Visual Studio Editor for files with a .sh extension (or no extension and containing #!/bin/bash in the first line).
Download

A very simple text classifier to provide basic syntax highlighting only for editing of Bash scripts within Visual Studio.

The "bash" type is associated with files that have an extension of ".sh".

Since many Bash scripts do not have a file extension, any "plaintext" file that contains the text "#!/bin/bash" within the first line of the file (upon opening the file) will also be interpreted as a bash script! (This includes any other extension not already classified as something other than plain text.)

The colors used can be changed via TOOLS..., Options..., Environment, Fonts and Colors for the Text Editor. These are the display items applicable to this extension:

    Bash Builtins
    Bash Commands
    Bash Keywords
    Bash Numbers
    Bash Operators
    Bash Strings
    Comment

v1.1: Added basic matching of braces: [], {}, ()

v1.2: Recompiled for VS2015

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