facebook

JSP Comments and XML Comments

  1. MyEclipse IDE
  2.  > 
  3. Feature Requests
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #206163 Reply

    Bryan
    Member

    I am not sure why it seems that no one in the eclipse community is making the comment key mapping in jsp pages and xml pages like the Java comments? IE, <ctrl> + ‘/’ and uncomment <ctrl> + ‘\’

    In the Java editor this will comment out the selected lines of code. In Intellij this will comment out Java as well as xml and jsp.

    Also, why not use jsp comments instead of html comments inside jsp pages? If you html comment out jsp and it is referencing a variable that is null you can get a NPE.

    Just my $.02 worth.

    Bryan

    #206168 Reply

    Riyad Kalla
    Member

    Bryan,
    We are aiming to support this in an upcomming release (maybe 2.8, probably more like 2.9) and our target is to have it behave much like IntelliJ, so have faith, we will get there.

    #206173 Reply

    No Operation
    Member

    Java has some sort of single line comment
    JSP does not…

    NOP

    #206185 Reply

    Riyad Kalla
    Member

    NOP,
    I believe he’s referring to IntelliJ’s handling of JSP/HTML commenting… if you highlight 1, 2 or 30 lines, and hit the comment keys, <%– blah –%> is added to the start/end of each line… and if you uncomment, they are removed. Its extremely handy…

    #206219 Reply

    Bryan
    Member

    @support-rkalla wrote:

    NOP,
    I believe he’s referring to IntelliJ’s handling of JSP/HTML commenting… if you highlight 1, 2 or 30 lines, and hit the comment keys, <%– blah –%> is added to the start/end of each line… and if you uncomment, they are removed. Its extremely handy…

    You hit the nail right on the head. This is the exact functionality I was talking about.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: JSP Comments and XML Comments

You must be logged in to post in the forum log in