sublime text添加snippet

sublime text添加snippet

写angularJS 1的$scope真是够了,尝试用sublime text添加snippet,发现$是需要添加转译才能正常工作的

<snippet>
    <content><![CDATA[\$scope.
]]></content>
    <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
    <tabTrigger>sop</tabTrigger>
    <!-- Optional: Set a scope to limit where the snippet will trigger -->
    <scope>source.js</scope>
</snippet>

posted @ 2016-10-16 11:43  CooMark  阅读(296)  评论(0编辑  收藏  举报