Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[xml] Closing XML element with namespace prefix generates element without local-name #203

Closed
filipetoscano opened this issue Nov 19, 2015 · 4 comments
Assignees
Labels
*extension-candidate Issue identified as good extension implementation feature-request Request for new features or functionality languages-basic Basic language support issues
Milestone

Comments

@filipetoscano
Copy link

The auto-generation of closing XML elements is incorrect if the open XML element has a namespace prefix such as <xsl:text>.

Observed behaviour:

<xsl:text></xsl>

Expected behavior:

<xsl:text></xsl:text>
@aeschli aeschli added this to the Dec 2015 milestone Nov 24, 2015
@aeschli aeschli changed the title Closing XML element with namespace prefix generates element without local-name [xml] Closing XML element with namespace prefix generates element without local-name Nov 24, 2015
@egamma egamma removed this from the Dec 2015 milestone Nov 30, 2015
@egamma egamma added the languages-basic Basic language support issues label Nov 30, 2015
@egamma egamma modified the milestone: Backlog Dec 10, 2015
@aeschli aeschli added the feature-request Request for new features or functionality label Dec 11, 2015
@aeschli
Copy link
Contributor

aeschli commented Dec 11, 2015

Autoclosing of xml tags is currently disabled. I'd like to bring it back at some point

@kanlukasz
Copy link

kanlukasz commented Jul 16, 2019

@aeschli
Autoclosing of xml tags is currently disabled. I'd like to bring it back at some point

Are there any new news about this? I ask because it's old case (2015)
From what I see now, we do not have any auto closing in xml?

@aeschli
Copy link
Contributor

aeschli commented Jul 17, 2019

No plans to add more XML smartness to the built-in XML extension which just provides basic editing features. There are XML extensions that are better suited as they based on a proper parser.

Please have a look at what XML extension are out there and file an issue there if they are missing the feature.

@aeschli aeschli closed this as completed Jul 17, 2019
@aeschli aeschli added the *extension-candidate Issue identified as good extension implementation label Jul 17, 2019
@kanlukasz
Copy link

Ok.

If someone is looking for an extension to automatically close an xml element, i can recommend this one:

If someone is looking for an extension to highlight matching xml tag, i can recommend this one:

If anyone have a better alternative, please let us know. Sharing is caring ❤️

@vscodebot vscodebot bot locked and limited conversation to collaborators Aug 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*extension-candidate Issue identified as good extension implementation feature-request Request for new features or functionality languages-basic Basic language support issues
Projects
None yet
Development

No branches or pull requests

4 participants