IntellijAlpine icon indicating copy to clipboard operation
IntellijAlpine copied to clipboard

Syntax highlighting and autocompletion does not work in JavaScript template literals

Open samwarnick opened this issue 9 months ago • 0 comments

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: Image

HTML file: Image

samwarnick avatar Mar 18 '25 00:03 samwarnick