facebook

request: Fast comment/uncomment in XML & JSP editors

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

    Riyad Kalla
    Member

    Summary:
    Comment controls in XML and JSP views.

    Explination:
    When java editing, highlight lines and hit CTRL-/ to get rid of them, or CTRL-\ to bring them back. This would be super nice to have in XML and JSP as well, as there are often times you wish to get rid of some code to check it. One thing I learned from IntelliJ’s commented in JSPs is that it uses the server side comments <%– so as to never execute the code.

    Thanks

    #200920 Reply

    Ivar Vasara
    Member

    Yeah. I’ve been meaning to request this for JSPs (though I think I requested xml comments earlier..)
    This would be a very very handy feature.

    #205089 Reply

    Yes I agree!
    +1

    #205224 Reply

    b0rg
    Member

    +1

    #205288 Reply

    Adam
    Member

    +1 more

    #205293 Reply

    Riyad Kalla
    Member

    Guys I got word back that we are hoping for this in the 2.8 release, but no promises just yet.

    #206339 Reply

    goetterwind
    Member

    +1 extra

    #206343 Reply

    arjan.tijms
    Member

    I would like this feature too 🙂

    #209018 Reply

    +1

    #218577 Reply

    frankhome
    Member

    I wanted to add my name to this “petition” as well. As someone new to Eclipse I actually wasted a bunch of time on Friday searching my code for errors until I finally realized that it wasn’t an error. Instead, the code that I thought was commented (using Ctrl-Shift-/) was commented using HTML style comment tags.

    Also, I noticed that under Preference>MyEclipse>Editors>JSP>JSP Templates there is a setting for JSP comment that looks like this:

    Name: JSP comment
    Description: JSP comment <!– –>
    Pattern: <!– ${cursor} –>

    Is there a setting that will allow the key combination to comment correctly?

    Thanks, Frank

    #218579 Reply

    Riyad Kalla
    Member

    Frank,
    I am looking into this, thank you.

    #218591 Reply

    frankhome
    Member

    @support-rkalla wrote:

    Frank,
    I am looking into this, thank you.

    Just wanted to make it clear that I am referring to auto-commenting in a JSP document. The auto-commenting works fine for .java files. In JSP files the comment command creates an html style block comment.

    Thanks,

    Frank

    #218592 Reply

    Riyad Kalla
    Member

    No need to clarify, I was able to reproduce it from your report.

Viewing 13 posts - 1 through 13 (of 13 total)
Reply To: request: Fast comment/uncomment in XML & JSP editors

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