In WebStorm you can select an element and it's surrounding when you do Alt + Arrow Up.
How can you achieve that in VSCode ?
In WebStorm you can select an element and it's surrounding when you do Alt + Arrow Up.
How can you achieve that in VSCode ?
Copyright © 2021 Jogjafile Inc.
You can try with VSCode buit in
Emmet: Balance (outward)command:Ctrl+Shift+AIf the shortcut does not work, follow these steps:
Ctrl+Shift+Pto open the Command PaletteEmmetEmmet: Balance (outward)This will select the tag where you have your cursor currently in, and all its contents (I understand that by its surroundings you mean the tag contents and the tag itself).
If the tag has as a content a combination of text and tags and your cursor is in the text, the command will select all the content. A new hit of the command will grow the selection to include the tag itself.