问题
I'm looking for a keyboard shortcut to select tags and all text between tags, such as:
<div>
Hello World
</div>
Consider above html code when I place cursor between div tags and press ctrl+shift+a it select all content that is Hello World but not div tags.
回答1:
If you hit CtrlShiftA once while your cursor is in the text, it will select all the text. Hit CtrlShiftA again, and it will select the tags. Keep hitting it, and the selection will keep expanding outwards.
来源:https://stackoverflow.com/questions/27132101/sublime-text-2-select-tags-with-all-content-in-it