0%

sublime console.log

Tools -> Developer -> New Snippet…

1
2
3
4
5
6
<snippet>
<content><![CDATA[console.log($1);$0]]></content>
<tabTrigger>log</tabTrigger>
<scope>text.plain,source.js,source.ts</scope>
<description>console.log()</description>
</snippet>

保存为 log.sublime-snippet

使用:

log+回车