欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

sublime 自定义代码片断 New Snippet 自定义自动完成 自动补全 自己亲自做的 有大用 有大大用

 image.png



<snippet>

<content><![CDATA[

Hello, ${1:this} is a ${2:snippet}.

]]></content>

<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->

<tabTrigger>hello</tabTrigger> -->

<!-- Optional: Set a scope to limit where the snippet will trigger -->

<!-- <scope>source.python</scope> -->

</snippet>

image.png


ctrl+s 保存为 AAA.sublime-snippet,,,,,,,后缀名就是.sublime-snippet  我们输入 hello (甚至输入h开头) 就会触发 <content>里面的内容


可以看看    /node-admin/20617

普通分类: