6

Is there a way to disable Eclipse auto-inserting --> after I type <!-- (opening of XML comment)?

I have tried removing a template for "comment" (<!-- ${cursor} -->) in Preferences->XML->XML Files->Editor->Templates, but nothing happens.

Axarydax
  • 16,353
  • 21
  • 92
  • 151

1 Answers1

10

Go to Preferences -> XML ->XML Files -> Editor -> Typing

Uncheck Comments checkbox in Automatically close section. Click Apply. Should work

Charu Khurana
  • 4,511
  • 8
  • 47
  • 81