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

Support multi-cursor auto close tag for elements for different names #495

Open
datho7561 opened this issue Jun 4, 2021 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@datho7561
Copy link
Contributor

See #490 (comment)

If you have a document like this, with cursors at each | pipe:

<root>
  <aaa|
  <bbb|
  <ccc|
</root>

And then you perform auto-close by typing >, (assuming #490 is merged), it will give:

<root>
  <aaa></aaa>
  <bbb></aaa>
  <ccc></aaa>
</root>

It would be very cool if we instead did:

<root>
  <aaa></aaa>
  <bbb></bbb>
  <ccc></ccc>
</root>
@datho7561 datho7561 added the enhancement New feature or request label Jun 4, 2021
@datho7561
Copy link
Contributor Author

@JessicaJHee I think this issue won't be too bad. Here are some details about it:

@angelozerr
Copy link
Contributor

Before working on this issue I think it should be better to work on https://github.com/redhat-developer/vscode-xml because we must align our closingTag request with the autoInsert from html ls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants