Created
December 13, 2012 15:54
-
-
Save anonymous/4277361 to your computer and use it in GitHub Desktop.
Sublime Text 2 snippet to add console.log() quickly to your JavaScript/jQuery source code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
/* @DEBUG_START */ | |
//console.log("$SELECTION$1"); | |
/* @DEBUG_END */ | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>@log</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<scope>source.js</scope> | |
<scope>source.js.jquery</scope> | |
<description>console.log()</description> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
GitHub didn't read my cookie well and called me anonymous ):