How can I get eclipse to interpret the content in the script tag (text / ng-template) as a specific language?

How in:

<script type="text/ng-template" id="/my-template.html">
    <p>Test</p>
</script>

      

Currently, when I edit this in an HTML editor, it doesn't know that the content of the script tag is actually HTML, because it doesn't know what type of content is text / ng-template. I would like to have all the features like colors and HTML editor autocomplete in script tags, so I don't have to enter in and out of them. Is it possible?

+3
eclipse html angularjs


source to share


No one has answered this question yet

Check out similar questions:

1248
How can you speed up Eclipse?
837
When is a CDATA section needed in a script tag?
704
How do I show line numbers in Eclipse?
658
How do search engines work with AngularJS apps?
629
How do I wrap text in a pre tag?
609
Are (non-empty) self-closing tags valid in HTML5?
476
How can I get Eclipse to display. * Files?
195
How to display HTML tags as plain text
46
Unable to display HTML string
3
Editing text / html content in Eclipse



All Articles
Loading...
X
Show
Funny
Dev
Pics