Sublime text 2 : select tags with all content in it

╄→尐↘猪︶ㄣ 提交于 2020-01-03 08:44:11

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!