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

How to Select the content of the tag in vscode? #5677

Closed
biij5698 opened this issue Apr 22, 2016 · 8 comments
Closed

How to Select the content of the tag in vscode? #5677

biij5698 opened this issue Apr 22, 2016 · 8 comments
Assignees
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)

Comments

@biij5698
Copy link

How to Select the content of the tag in vscode like sublime with the key: Ctrl + Shift + A

@alefragnani
Copy link

Hi @biij5698 ,

I think it doesn't exist in the core, but maybe this extension expand-region does the trick.

Hope this helps

@dbaeumer
Copy link
Member

@jrieken don't know what our keys are right now to expand the selection. Can you help.

@KayLeung
Copy link

@dbaeumer

https://code.visualstudio.com/docs/editor/editingevolved
"Shrink/expand selection"

It seems VSCode has this feature but doesn't work in my v1.0.0

@biij5698
Copy link
Author

It is very regret

@jrieken jrieken added the *question Issue represents a question, should be posted to StackOverflow (VS Code) label Apr 25, 2016
@jrieken
Copy link
Member

jrieken commented Apr 25, 2016

for html there are issues, see #1808 and #4795

@jrieken jrieken closed this as completed Apr 25, 2016
@Skura23
Copy link

Skura23 commented Sep 30, 2017

Shift+Alt+Right will do the trick.

Place the cursor inside the bracket (not directly next to a bracket) and execute editor.action.smartSelect.grow until everything inside the bracket is selected. The default shortcut is Shift+Alt+Right.

You can shrink the selection with editor.action.smartSelect.shrink which has the default shortcut Shift+Alt+Left.

https://stackoverflow.com/questions/37835012/is-there-in-vscode-an-option-to-select-everything-between-matching-brackets

@suit0r
Copy link

suit0r commented Oct 6, 2017

@Skura23 thanks. that was it

@peacefulseeker
Copy link

As an alternative could use a Ctrl+D to fast select text between tags =)
Seems that Ctrl+Shift+A does not work in VSCode as in Sublime

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)
Projects
None yet
Development

No branches or pull requests

8 participants