As a developer, syntax highlighting is very useful to me. We use YAML config files to make sure our environments stay in sync.
I referred to this page to see my templating options: Deploy CLI Tool Environment Variables and Keyword Mappings
As of now, we have arrays of values in our config files, which are escaped strings, since we’re using the ##
style of templating. I’d love to switch over to the @@
way of doing things, as it would make for cleaner JSON config files. But as soon as I tried it, my entire YAML file lit up red indicating invalid syntax.
This is understandable, as the @
symbol is reserved in YAML. Does anyone have a workaround for this that still provides the usefulness of syntax highlighting while allowing us to use the @@
syntax?
I’m using VSCode, don’t know if there’s some extensions somewhere that supports it.
Cheers!