Answer the question
In order to leave comments, you need to log in
How to set up code highlighting in jst/eco templates?
In order for PhpStorm to highlight html in template files, just add the *.eco extension in the settings to the file types associated with html.
And here's how to teach it to understand coffeescript (or javascript) inside <% %> ?.
Tried googling, looking for plugins, picking Language Injections and Template Data Languages , but to no avail.
Answer the question
In order to leave comments, you need to log in
The guys from technical support replied that there is no standard way to do this.
They gave a link to a solution, but it did not work for me.
Those interested are invited to vote for the feature in the official tracker .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question