How can i select all the contents within matching html tags in sublime text 2. I've tried "expand selection to brackets" but it doesn't work. For ex.
<div class="container">
<p>
Text goes here...
</p>
<p>
Text goes here...
</p>
<p>
Text goes here...
</p>
more content...
</div>
I want to select all the content of div.container
I've found a trick though
What i've tried is just do "cold folding" then just select all of it. but i hope there's a shortcut or build for it.
Get Emmet, “the essential toolkit for web-developers”, it can match tag pairs like that.
Then place the cursor anywhere inside of the div, and keep pressing CTRL+, to expand the selection, until the div’s content is selected.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With