How to prevent Eclipse from automatically completing an XML comment? [message #185218] |
Tue, 19 December 2006 00:15  |
Eclipse User |
|
|
|
Originally posted by: james_adams.yahoo.com
I want to configure Eclipse so that it will stop automatically completing
an XML comment when I start typing one. For example if I want to comment
a section of XML then I want to type "<!--" at the top of the section and
then "-->" at the bottom. However as soon as I type the "<!--" Eclipse
automatically finishes the comment for me with a "-->". It's a minor
annoyance that I'd like to configure away if possible. I have tried
numerous preference settings -- turning off content assist for XML and
HTML files, removing the XML comment template, etc. -- but nothing I've
tried so far has turned off this annoying behavior. Can someone suggest
something else that I might try?
Thanks in advance for any suggestions.
--James
|
|
|
|
|
|
Re: How to prevent Eclipse from automatically completing an XML comment? [message #186360 is a reply to message #185357] |
Wed, 17 January 2007 00:00  |
Eclipse User |
|
|
|
James Adams wrote:
> Is there a way to disable this by default (i.e. a preference setting),
> so I don't have to disable this each time I open/edit an XML file?
No, the default is Smart Insert mode. You could open a RFE to
remember the mode between editing sessions, but then there are ways
to toggle and otherwise block comment existing areas of text on the
Source menu.
--
Nitin Dahyabhai
Structured Source Editor
|
|
|
Powered by
FUDForum. Page generated in 0.27108 seconds