benthosdev / vscode-benthos

MIT License
21 stars 3 forks source link

enable opt-in syntax highlighting for js code #3

Closed disintegrator closed 1 year ago

disintegrator commented 1 year ago

Opting in is done by adding a //!js pragma at the start of a yaml multi-line string. This is needed until a language service is provided for benthos-yaml that can provide a richer experience beyond just syntax highlighting.

image