Working with HTML, I found this "expand selection to tag" feature very useful on other editors. I'd LOVE to have this on vscode! Hopefully others agree.  If your cursor is anywhere on the lorem line after the first < then Ctrl + Shift + A will select just lorem ipsum. Then repeating that keystroke will expand the selection to the p tags, and then up the tree. *Not sure how to add [feature-request] label :(
Activity
aeschli commentedon Sep 7, 2016
We have 'expand selection' but it would expand only to the innermost tag. Anything we can do here, Johannes Rieken (@jrieken) ?
jrieken commentedon Sep 7, 2016
Today it works with the tokens and brackets which isn't very reliable. I close this as a dupe of #4795 which is about getting this right
ramya-rao-a commentedon May 14, 2018
You can use the
Emmet: Balance (outward)command for html files to achieve this