我想让这个工作流程在Sublime Text 2中使用HTML:
由此产生(单词"HERE"表示光标应该在哪里):
<p>
HERE
</p>
Run Code Online (Sandbox Code Playgroud)
但是这就是我得到的("HERE"这个词仍然表示光标的位置):
<p>
HERE</p>
Run Code Online (Sandbox Code Playgroud)
这要求你
尝试在用户密钥绑定中添加以下内容.
{ "keys": ["enter"], "command": "insert_snippet", "args": {"contents": "\n\t$0\n"}, "context":
[
{ "key": "setting.auto_indent", "operator": "equal", "operand": true },
{ "key": "selector", "operator": "equal", "operand": "meta.scope.between-tag-pair", "match_all": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }
]
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2459 次 |
| 最近记录: |