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

[Request] Select contents AND tag of matching tag pair #63

Closed
idr4n opened this issue Jan 17, 2019 · 2 comments
Closed

[Request] Select contents AND tag of matching tag pair #63

idr4n opened this issue Jan 17, 2019 · 2 comments

Comments

@idr4n
Copy link

idr4n commented Jan 17, 2019

Hi, and thanks a lot for including my previous two requests so speedily.

Probably this will be my last one. I just saw recently the need of selecting not only the contents of matching tag pair but also the content+tag (basically the whole thing between matching pairs including the tag). Could it be possible to have a command for this as well? So to have two commands, the current for content only, and one for content+tag.

Thanks in advance!

@KamasamaK
Copy link
Contributor

What language are you looking to use this for? This might already be supported with the Emmet: Balance (outward) command. If not, there is going to be a new API introduced for microsoft/vscode#4795 that would be preferable to the way the selection commands here would be implemented.

@idr4n
Copy link
Author

idr4n commented Jan 18, 2019

I'm using it for React (JSX), Vue and basic html. But you are absolutely right, the Emmet balance outward and inward does this already, couldn't have guessed it myself to be honest as the names of the command are kind of weird. Thanks a lot 👍.

@idr4n idr4n closed this as completed Jan 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants