https://kotlinlang.org logo
#intellij
Title
# intellij
d

Dico

07/06/2020, 3:23 PM
I'm using Handlebars to generate non-html code. Is there a way to make the Handlebars/Mustache plugin recognize that? I.e. disregard html rules or in my case apply C++ syntax rules.
I figured it out: Settings -> File types -> Handlebars/Mustache; select an extension from the registered patterns, press the edit icon and set the template data language to C/C++. Amazing!
Except that Clion seems to freeze when I edit the templates now.
2 Views