-4

Trying comment XML lines in Eclipse Mars. CTRL+\ or CTRL+SHIFT+\ not working. How to solve this problem?

Manu
  • 1,474
  • 1
  • 12
  • 18
vico
  • 17,051
  • 45
  • 159
  • 315

1 Answers1

4

can you try ctrl+shift+c in order to comment.

Works on Version: Mars Release (4.5.0), tested

Also the Eclipse documentation explicitly says it works for the XML editor.

Reference: http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.wst.xmleditor.doc.user%2Ftopics%2Frxmltoolskey.html

Stephen C
  • 698,415
  • 94
  • 811
  • 1,216
sgpalit
  • 2,676
  • 2
  • 16
  • 22
  • Works on Mars Milestone 5 (4.5.0M5) for me. Make sure you use the xml-editor, not the text-editor. – Manu Aug 27 '15 at 07:48
  • Ok it works with XML editor. I was opened XML file it with ant editor. Anyway then it is strange that I can't comment in ANT editor – vico Aug 27 '15 at 07:58