[html] tag matching should work when the cursor is outside of the tag but next to one of the brackets #8443
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
#8207
/cc @alexandrudima
Consider the following code:
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: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
:This is what I want when the cursor is adjacent to a tag:
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.
The text was updated successfully, but these errors were encountered: