IntellijAlpine
IntellijAlpine copied to clipboard
Syntax highlighting and autocompletion does not work in JavaScript template literals
My project uses JavaScript template literals and I noticed that syntax highlighting and auto completion does not seem to work. Suggestions for Alpine attributes like @click, x-data, etc. do work, but the values get no highlighting or suggestions like they would in a plain HTML file. You can see that the vanilla onclick does get highlighting.
Maybe there is some language injection setting I need to change?
Template literal:
HTML file: