Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Better Shell SyntaxNew to Visual Studio Code? Get it now.

Better Shell Syntax

Jeff Hykin

|
30,955 installs
| (3) | Free
An update to the syntax of Shellscript
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

What does this do?

This enables your theme to better color your code. There are "textmate scopes" that your theme uses to apply color, this extension adds/improves the textmate scopes which should improve the way your code looks.

NOTE: The default VS Code theme does not color much. Use a theme like one of the following to benefit from the changes:

  • Material Theme
  • Noctis
  • XD Theme
  • One Monokai Theme
  • Winteriscoming
  • Popping and Locking
  • Syntax Highlight Theme

How do I use it?

Just install the VS Code extension and the changes will automatically be applied to all relevent files.

Before | After :-------------------------:|:-------------------------: before | after The screenshots were taken with PolaCode 2019 with the XD Theme with the Input Mono font

Contributing

If you'd like to help improve the syntax, take a look at source/languages and look at the generate.rb files. And make sure to take a look at CONTRIBUTING.md to get a better idea of how code works.

What if I see a highlighting bug?

Post an issue on https://github.com/jeff-hykin/cpp-textmate-grammar

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2022 Microsoft