崇高文字2:选择包含所有内容的标签 [英] Sublime text 2 : select tags with all content in it

查看:80
本文介绍了崇高文字2:选择包含所有内容的标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种键盘快捷方式,用于选择标签以及标签之间的所有文本,例如:

I'm looking for a keyboard shortcut to select tags and all text between tags, such as:

<div> 
Hello World 
</div>

当我将光标放在div标签之间并按 ctrl + shift + a 时,请考虑以上html代码,它会选择所有属于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.

推荐答案

如果您将光标移至 Ctrl Shift A 一次,文本,它将选择所有文本.再次按 Ctrl Shift A ,它将选择标签.继续点击它,选择内容将继续向外扩展.

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.

这篇关于崇高文字2:选择包含所有内容的标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆