sublime吧 关注:4,639贴子:13,986
  • 0回复贴,共1

sublime3 自定义代码段

只看楼主收藏回复

代码:
************************************
<snippet>
<content><![CDATA[
```python
${1:}
```
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>mcpy</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
<content><![CDATA[
```php
${2:}
```
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>mcp</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>
************************************
我怎样才能在一个文件里面,设置多个 ???
mcpy mcp 等等的,现在只有第一个可以tab出来,第二个不出来,应该怎么改,谢谢


1楼2016-08-08 10:58回复