jeff-hykin / better-shell-syntax

💾 📦 ♻️ An improvement to the shell syntax for VS Code
MIT License
52 stars 4 forks source link

Like this extension?

You'll probably like this as well: The Better Syntax Megapack

What does this do?

This will get you the bleeding-edge syntax highlighting for bash/zsh. Which means your theme will be able to color your code better.

NOTE: The default VS Code theme does not color much. Switch to the Dark+ theme (installed by default) or use a theme like one of the following to benefit from the changes:

How do I use it?

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

Before After
old_code new_code

The screenshots were taken with PolaCode 2022 with the XD Theme (MixItUp variant) and the XD font

Contributing

If you'd like to help improve the syntax, main.rb is where all the magic happens and CONTRIBUTING.md explains how the code works.

What if I see a highlighting bug?

Post an issue on https://github.com/jeff-hykin/better-shell-syntax