Skip to content

Instantly share code, notes, and snippets.

@Chun-Yang
Created May 29, 2014 16:12
Show Gist options
  • Save Chun-Yang/74efc004834a51dcaac2 to your computer and use it in GitHub Desktop.
Save Chun-Yang/74efc004834a51dcaac2 to your computer and use it in GitHub Desktop.
js log with variable
<snippet>
<content><![CDATA[
console.log("${1}:");
console.log(${1});
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>logv</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.js</scope>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment