选择
Action is similar to “Go to Edit Point”, but selects important code parts.
这个功能类似于编辑点间移动功能,但是选择重要的代码部分。
In HTML, these are tag name, full attribute and attribute value. For class attribute it also selects distinct classes.
对于 HTML,选择标签名,完整的属性与属性值。对于 class 属性也选择不同的 class。
<textarea class="movie-def">|<section><p></p><div class="main footer"></div><script>var str = '<div class="main footer"></div>';</script></section>@@@run: {command: 'emmet.select_next_item', times: 7} ::: “Select Next Item” (Shift-Cmd-.)wait: 1000run: {command: 'emmet.select_previous_item', times: 6} ::: “Select Previous Item” (Shift-Cmd-,)wait: 1000moveTo: 4:12wait: 1000tooltip: “Select Item” action may also work in non-HTML syntaxeswait: 500run: {command: 'emmet.select_next_item', times: 5}</textarea>
In CSS, it matches selector, full property and property value. For complex values and functions like 1px solid red or url(image.jpg) also selects part of it.
对于 CSS,选择选择器,完整的属性与属性值。对于复杂的值比如 1px solid red 或 url(image.jpg) 也选择子部分。
