I\’m getting more into using javascript-rendered templates by wrapping them in \’script type=\”text/html\”\’ tags (in my case within a JSP). The problem is that Eclipse (Indigo) doesn\’t apply any formatting such as syntax colouring, indentation, suggestions, etc. Is there a way that i can tell Eclipse to treat such content as HTML?
(Edit)
Thanks to folks for the answers, but perhaps i should clarify the question. JSP editing in Eclipse works quite well – just a few nuisances here and there. Different formats within the JSP including JSP, Javascript, HTML, and scriptlets work fine. I just wondered whether there was a configuration somewhere where i could define a <script type=\”text/html\”> section to be rendered as HTML. If the answer is no, so be it.





Rating:
The post javascript – Editing text/html content in Eclipse appeared first on Javascript ASK.
via Javascript ASK http://javascriptask.phpfogapp.com/javascript-editing-texthtml-content-in-eclipse.html
No comments:
Post a Comment