ryansully / vscode-hero

Syntax highlighting for the Hero templating language in VSCode.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This extension is still WIP.

NOTICE: If the extension doesn't do anything, set your file associations for "*.hero" to HTML. Yes, this kinda sucks.

This is a VSCode extension that adds syntax highlighting to the Hero templating language for Go: https://github.com/shiyanhui/hero

Digitalbrainstem's EJS grammar extension was heavily referenced to create this extension. https://github.com/Digitalbrainstem/ejs-grammar

This extension works by extending the HTML syntax in VSCode. This isn't ideal for a couple of reasons (e.g. we can't use our own language-configuration.json, and we have to turn off HTML linting), so an eventual goal of this extension is to separate the syntax into its own language ID. There is an outstanding VSCode issue which aims to make writing extensions for templating languages easier.

About

Syntax highlighting for the Hero templating language in VSCode.

License:MIT License