Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsCan HTML/XML editors know to delete end tag when self-terminating?
https://www.eclipse.org/forums/index.php/mv/msg/71130/222414/#msg_222414
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?]]>David M. Karr2008-09-30T02:40:10-00:00Re: Can HTML/XML editors know to delete end tag when self-terminating?
https://www.eclipse.org/forums/index.php/mv/msg/71130/222421/#msg_222421
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]]>2008-09-30T04:03:48-00:00Re: Can HTML/XML editors know to delete end tag when self-terminating?
https://www.eclipse.org/forums/index.php/mv/msg/71130/222428/#msg_222428
but it just doesn't make much sense anymore.
What you describe doesn't appear to be happening in the JSP editor (which
is where I was actually seeing this, not in the HTML editor), but it does
work in the XML editor.]]>David M. Karr2008-09-30T04:43:39-00:00Re: Can HTML/XML editors know to delete end tag when self-terminating?
https://www.eclipse.org/forums/index.php/mv/msg/71130/222472/#msg_222472
tag for HTML elements but not JSP or custom tags. Is this what you're
seeing?
David M. Karr wrote:
> I just installed 3.4.1. I didn't update anything after that. I tried,
> but it just doesn't make much sense anymore.
>
> What you describe doesn't appear to be happening in the JSP editor
> (which is where I was actually seeing this, not in the HTML editor), but
> it does work in the XML editor.
>]]>Nick Sandonato2008-09-30T14:37:32-00:00