The Eclipse JSP editor cannot parse the Java block comment in seperate scriptlets like
<% /* %><span> blabla </span><% */ %>
Here's what it looks like in Eclipse:
In practice, we know the code between /* */
will be commented out, but eclipse editor shows code between as normal text. That is totally confusing.
I know this case should be avoided, but I got a huge amount of such code to read.
So is there any method to enable syntax highlighting for this case?
Test case:
<TABLE>
<TR><TD>Normal text</TD></TR>
<% /* %><TR><TD>Unparsed comment</TD></TR><% */ %>
<% /* <TR><TD>Parsed comment</TD></TR> */ %>
<%-- <TR><TD>Parsed comment</TD></TR> --%>
</TABLE>