Sublime text 2 : select all text within html tags
html, sublimetext2
Solution
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.
Problem
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.