I am using Eclipse 3.7.2, when editing a XML file and typing e.g.
<test>
I would expect Eclipse to automatically add
</test>
but it doesn’t. Is this the default behaviour? Is there an autocomplete option for XML I can enable?
Thanks for any hint!
Probably you haven’t correctly set XML editor. You should set default XML editor.
Go to eclipse settings in:
and choose default editor for XML files (*.xml) from existing associated editors list suitable for XML syntax. Mark that, if *.xml file type isn’t showed you should add that entry by own.
If it won’t work you can use XML plugin, for example: Rinzo XML
You can also choose editor for file from package explorer. For that click right on file and:
then choose suitable editor.