glow
glow copied to clipboard
Glow syntax highlighting for VS code
In GitLab by @plotnick on Aug 5, 2021, 06:03
We should have a VS Code extension that does basic syntax highlighting for Glow programs. This will make the language somewhat more accessible for developers who use that IDE; an Emacs major-mode and VIM plugin are obvious follow-ups.
Apart from the (fairly minimal) boilerplate to create the extension (and which we can also obviously augment in the future), this task involves writing a TextMate grammar file (JSON) that defines tokens as regular expressions; see https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide for details.
See https://github.com/reedjones/vsc-glow-lang for a start on this.
getting better
I think that !require, !publish, etc... should have different colors