Skip to content

Instantly share code, notes, and snippets.

@jpgcode
Created February 12, 2016 17:42
Show Gist options
  • Save jpgcode/71b2f3510a23c85dc167 to your computer and use it in GitHub Desktop.
Save jpgcode/71b2f3510a23c85dc167 to your computer and use it in GitHub Desktop.
Sublime console.log autocomplete
<snippet>
<content><![CDATA[
console.log(${1:});${2:}
]]></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.python</scope> -->
</snippet>
@jpgcode
Copy link
Author

jpgcode commented Feb 12, 2016

Autocomplete the console.log statements typing "log" following by the tab keyboard key.

How to use:

Copy the file to:
/Users/{user}/Library/Application Support/Sublime Text 3/Packages/User

Special Thanks to Mario Vega.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment