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

Expand Selection To Tag (Ctrl + Shift + A) #11458

Closed
townivan opened this issue Sep 2, 2016 · 3 comments
Closed

Expand Selection To Tag (Ctrl + Shift + A) #11458

townivan opened this issue Sep 2, 2016 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality html HTML support issues
Milestone

Comments

@townivan
Copy link

townivan commented Sep 2, 2016

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.

expand select to tag

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 :(

@dbaeumer dbaeumer added the html HTML support issues label Sep 2, 2016
@aeschli aeschli added the feature-request Request for new features or functionality label Sep 7, 2016
@aeschli aeschli added this to the Backlog milestone Sep 7, 2016
@aeschli
Copy link
Contributor

aeschli commented Sep 7, 2016

We have 'expand selection' but it would expand only to the innermost tag. Anything we can do here, @jrieken ?

@jrieken
Copy link
Member

jrieken commented 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

@jrieken jrieken closed this as completed Sep 7, 2016
@jrieken jrieken added the *duplicate Issue identified as a duplicate of another issue(s) label Sep 7, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
@ramya-rao-a
Copy link
Contributor

You can use the Emmet: Balance (outward) command for html files to achieve this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality html HTML support issues
Projects
None yet
Development

No branches or pull requests

5 participants