Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jeff-hykin/better-shell-syntax

💾 📦 ♻️ An improvement to the shell syntax for VS Code
https://github.com/jeff-hykin/better-shell-syntax

Last synced: 7 days ago
JSON representation

💾 📦 ♻️ An improvement to the shell syntax for VS Code

Awesome Lists containing this project

README

        

### Like this extension?
You'll probably like this as well: [The Better Syntax Megapack](https://marketplace.visualstudio.com/items?itemName=jeff-hykin.better-syntax)

# 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:
- [XD Theme](https://marketplace.visualstudio.com/items?itemName=jeff-hykin.xd-theme)
- [Noctis](https://marketplace.visualstudio.com/items?itemName=liviuschera.noctis)
- [Kary Pro Colors](https://marketplace.visualstudio.com/items?itemName=karyfoundation.theme-karyfoundation-themes)
- [Material Theme](https://marketplace.visualstudio.com/items?itemName=Equinusocio.vsc-material-theme)
- [One Monokai Theme](https://marketplace.visualstudio.com/items?itemName=azemoh.one-monokai)
- [Winteriscoming](https://marketplace.visualstudio.com/items?itemName=johnpapa.winteriscoming)
- [Popping and Locking](https://marketplace.visualstudio.com/items?itemName=hedinne.popping-and-locking-vscode)
- [Syntax Highlight Theme](https://marketplace.visualstudio.com/items?itemName=peaceshi.syntax-highlight)
- [Default Theme Enhanced](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools-themes)

## 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](https://user-images.githubusercontent.com/17692058/231317033-b6e1737c-40a1-47e7-8787-c0a3c85452af.png) | ![new_code](https://user-images.githubusercontent.com/17692058/231317056-a1ee36fa-1a77-4f8d-8190-04d4be44100a.png) |

The screenshots were taken with [PolaCode 2022](https://marketplace.visualstudio.com/items?itemName=jeff-hykin.polacode-2019) with the XD Theme (MixItUp variant) and the [XD font](https://github.com/jeff-hykin/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