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


source to share





All Articles