When editing JSP in Eclipse, the content of tags <script>, that is, Javascript code, is correctly encoded in color and formed.
For reasons beyond the scope of this question, I created a custom javascript tag, called it <sj:script>. The body of this type is pure javascript, as in a regular tag <script>.
However, when I have Javascript code inside my custom tag, it is treated as plain text (without color coding, without proper indentation, etc.).
My question is: how do I get Eclipse to use a custom editor in custom JSP tags?
source
share