Skip to content

Instantly share code, notes, and snippets.

@romoo
Forked from hzlzh/gist:3128038
Created August 27, 2012 07:21
Show Gist options
  • Save romoo/3486454 to your computer and use it in GitHub Desktop.
Save romoo/3486454 to your computer and use it in GitHub Desktop.
console.log() snippet for Sublime Text 2
<snippet>
<!-- put this file in /packages/User/<Folder Name>/console_log.sublime-snippet then restart your Sublime Text 2 -->
<content><![CDATA[console.log($1);$0]]></content>
<tabTrigger>conl</tabTrigger>
<scope>text.html,source.js</scope>
<description>console.log()</description>
</snippet>
<snippet>
<!-- put this in another file /packages/User/<Folder Name>/console_dir.sublime-snippet then restart your Sublime Text 2 -->
<content><![CDATA[console.dir($1);$0]]></content>
<tabTrigger>cond</tabTrigger>
<scope>text.html,source.js</scope>
<description>console.dir()</description>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment