| Can HTML/XML editors know to delete end tag when self-terminating? [message #222414] |
Mon, 29 September 2008 22:40  |
David M. Karr Messages: 329 Registered: July 2009 |
Senior Member |
|
|
One thing that's always annoyed me in the XML and HTML editors is that
when I do completion on a tag, it creates both the start and end tags, but
if I want the element to self-terminate, I have to manually delete the end
tag. I can't imagine I've missed an easier way to do this, but wouldn't
it be handy if there was a quicker (or automatic) way to get the end tag
removed when you self-terminate the start tag?
|
|
|
| Re: Can HTML/XML editors know to delete end tag when self-terminating? [message #222421 is a reply to message #222414] |
Tue, 30 September 2008 00:03   |
|
Originally posted by: dcarver.starstandard.org
David M. Karr wrote:
> One thing that's always annoyed me in the XML and HTML editors is that
> when I do completion on a tag, it creates both the start and end tags,
> but if I want the element to self-terminate, I have to manually delete
> the end tag. I can't imagine I've missed an easier way to do this, but
> wouldn't it be handy if there was a quicker (or automatic) way to get
> the end tag removed when you self-terminate the start tag?
>
That should be working in Eclipse 3.4 and Web Tools 3.0. If you
self-terminate the tag, it will automatically delete the End tag if
there is no XML content between the tags. This at least works in the
XML editor, I don't know if it works in the HTML editor or not.
Dave
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08353 seconds