A
A
Alexey Ukolov2015-02-15 11:05:18
JavaScript
Alexey Ukolov, 2015-02-15 11:05:18

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

1 answer(s)
A
Alexey Ukolov, 2015-04-11
@alexey-m-ukolov

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 question

Ask a Question

731 491 924 answers to any question