Sublime text 2: select tags with all the content in it

I am looking for a key combination to select tags and all text between tags, for example:

<div> Hello World </div> 

Consider the html code above, when I put the cursor between div tags and press ctrl + shift + a it selects all the content that is Hello World, but not div tags.

+5
source share
1 answer

If you press Ctrl Shift A once when your cursor is in text, it will select all the text. Hit Ctrl Shift A again and he will select the tags. Keep clicking on it and the selection will expand outward.

+10
source

Source: https://habr.com/ru/post/1207679/


All Articles