JSP Comment request

While using ctrl+'/' in JSP it comments entire line
lets say my line is:
I want to be able to select ">]]> and use ctrl+'/' to comment only this expression and not the entire line as it would prevent rest of line to be generated. It hit this very often and could be very handy.

1 comment
Comment actions Permalink


> I want to be able to ..

This would require breaking 's current behaviour, that allows
for multi-line comment after a simple selection.
This would be too big a loss.

Though, you could get the result you're seeking with a 3-line selection
Live Template :

line 1
line 2 <!-- $SELECTION$ -->
line 3


Please sign in to leave a comment.