Snippets Collections
First, make sure you have the Emmet extension installed. Once you have it, Ctrl + Shift + P to go to the command pallete and search “Emmet balance Outward”.
That should select all the inner HTML and the wrapping tag. If you’re looking to only select the inner HTML, then choose Emmet Balance Inward.
Now you’ll likely want to make a shortcut to one or both of these. File > Preferences > Keyboard Shortcuts. Search for the Emmet command and associate your key combination of choice.
star

Mon Dec 21 2020 17:41:12 GMT+0000 (UTC) https://jamesauble.medium.com/select-html-tag-block-in-vs-code-1053fb7435c9

#html #vscode #tool #herramienta

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension