2012-12-17 41 views
3

我有一個console.log()片段爲Sublime文本,當您鍵入'c'時觸發,然後選項卡觸發器,但是如果有代碼以'c'開始在頁面的某處自動完成覆蓋console.log片段。有沒有解決方法,或者我應該爲我的代碼段添加另一個修飾符?崇高文本自動完成覆蓋片段

<snippet> 
<content><![CDATA[console.log($1);$0]]></content> 
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> 
<tabTrigger>c</tabTrigger> 
<!-- Optional: Set a scope to limit where the snippet will trigger --> 
<scope>source.js</scope> 
<description>Log</description> 
</snippet> 

謝謝!

回答