facebook

XML / HTML code comments

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #258291 Reply

    komes
    Member

    Do we have shortcut key for HTML /XML comments ?

    #258344 Reply

    Riyad Kalla
    Member

    It’s under the Source menu, CTRL-SHIFT-C is the default toggle.

    #258407 Reply

    komes
    Member

    Nope, it doesnt work for xml files ( for ex. build.xml).

    #258411 Reply

    Riyad Kalla
    Member

    If you right click on the build.xml file and go to “Open With”, is it set to the “Ant editor”? That is provided by the JDT, not MyEclipse. They probably have a comment key stroke, it just might be different. Try the normal Java one, CTRL-/ I think it is.

    #258413 Reply

    komes
    Member

    Yes, it is set to “Ant editor”. But it doesnt work for any of the combinations.

    #258419 Reply

    Riyad Kalla
    Member

    I verified it in the JSP and HTML editors on my end, as I said we don’t control the Ant editor, so I’m not sure what the key combo of comment is in that.

    Are you saying on your setup, opening the JSP editor, and selecting a line, then going to Source and executing the comment command doesn’t work?

    #258421 Reply

    komes
    Member

    Yes, Comment command is not working for JSP /HTML files on MyEclipse Visual JSP Designer/JSP Editor/MyEclipse JSP Editor. I m using eclipse 3.2 and myeclipse 5.0

    #258444 Reply

    Riyad Kalla
    Member

    Are you getting an error? Is there a lot entry being written? (<workspace dir>\.metadata\.log), what is happening?

    #258478 Reply

    komes
    Member

    Nope. No log entries. Nothing is happening when i click toggle comment / Ctrl + shift + C.

    #258507 Reply

    Riyad Kalla
    Member

    Unfortunately I cannot reproduce this. Please go to MYEclipse > INstallation Summary > Installation Details and paste the result here for me.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: XML / HTML code comments

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