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-dockerfile-syntax

💾 An improvement to the dockerfile syntax for VS Code
https://github.com/jeff-hykin/better-dockerfile-syntax

syntax-highlighting vscode

Last synced: 6 days ago
JSON representation

💾 An improvement to the dockerfile syntax for VS Code

Awesome Lists containing this project

README

        

# 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](https://marketplace.visualstudio.com/items?itemName=Equinusocio.vsc-material-theme)
- [Noctis](https://marketplace.visualstudio.com/items?itemName=liviuschera.noctis)
- [XD Theme](https://marketplace.visualstudio.com/items?itemName=jeff-hykin.xd-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)

## How do I use it?
Just install the VS Code extension and the changes will automatically be applied to all relevent files.

Before | After
:-------------------------:|:-------------------------:
![code_before](https://user-images.githubusercontent.com/17692058/60419625-5d631c00-9bab-11e9-9465-2c2b0f37a54b.png) |![code_after](https://user-images.githubusercontent.com/17692058/60419650-694ede00-9bab-11e9-820c-8650ec758dc0.png)

## What is different?

It adds:
- Shell command syntax
- Variables
- Image name/version/digest

## 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/better-dockerfile-syntax