Skip to content

Instantly share code, notes, and snippets.

@baio
Created March 5, 2015 07:34
Show Gist options
  • Save baio/c50257af3b0aadaa4911 to your computer and use it in GitHub Desktop.
Save baio/c50257af3b0aadaa4911 to your computer and use it in GitHub Desktop.
sublime console log code snppet
<snippet>
<content><![CDATA[console.log("$TM_FILENAME:$TM_LINE_NUMBER>>>"${1});]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>co</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.js</scope>
</snippet>
<!-- http://www.hongkiat.com/blog/sublime-code-snippets/ -->
<!-- http://sublime-text-unofficial-documentation.readthedocs.org/en/latest/extensibility/snippets.html -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment