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

[html] tag matching should work when the cursor is outside of the tag but next to one of the brackets #8443

Closed
Tyriar opened this issue Jun 28, 2016 · 1 comment
Assignees
Labels
feature-request Request for new features or functionality html HTML support issues *out-of-scope Posted issue is not in scope of VS Code
Milestone

Comments

@Tyriar
Copy link
Member

Tyriar commented Jun 28, 2016

#8207

  • VSCode Version: Code - Insiders 1.3.0-insider (d0c2b89, 2016-06-28T05:01:27.563Z)
  • OS Version: Linux x64 4.4.0-24-generic, Ubuntu 16.04

/cc @alexandrudima

Consider the following code:

image

Notice how vscode highlights the brackets from the <li> when the cursor is at the end, I believe this is how general bracket matching works in vscode. For emmet the 'current' selected tag is actually the <a> as revealed when using the go to matching pair function:

image

The bracket matching in particular make this jump quite confusing. While I don't advocate designing around how Emmet works, this issue could be resolved by bringing the HTML/XML "matching pair" functionality in vscode to work when the cursor is outside the tag. Currently you need to focus the li:

image

This is what I want when the cursor is adjacent to a tag:

image

Ideally this matching would be the same as emmet in that when the cursor is in the middle of two tags not separated by whitespace, the tag after the cursor is highlighted.

@Tyriar Tyriar added the ux User experience issues label Jun 28, 2016
@Tyriar Tyriar added feature-request Request for new features or functionality and removed ux User experience issues labels Jun 28, 2016
@aeschli aeschli added the html HTML support issues label Jun 29, 2016
@aeschli aeschli added this to the Backlog milestone Jun 29, 2016
@aeschli aeschli changed the title HTML tag matching should work when the cursor is outside of the tag but next to one of the brackets [html] tag matching should work when the cursor is outside of the tag but next to one of the brackets Aug 3, 2016
@aeschli aeschli added the *out-of-scope Posted issue is not in scope of VS Code label Nov 20, 2017
@vscodebot
Copy link

vscodebot bot commented Nov 20, 2017

This feature request will not be considered in the next 6-12 months roadmap and has been closed to keep the number of issues we have to maintain manageable. See also our issue reporting guidelines.

Thanks for your understanding and happy coding!

@vscodebot vscodebot bot closed this as completed Nov 20, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality html HTML support issues *out-of-scope Posted issue is not in scope of VS Code
Projects
None yet
Development

No branches or pull requests

2 participants