Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sublime Text snippets
<snippet>
<content><![CDATA[
console.log '######################################################################'
console.log '$1', $2
console.log '######################################################################'
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>console</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.coffee</scope>
</snippet>
<snippet>
<content><![CDATA[
console.log('######################################################################');
console.log('$1', $2);
console.log('######################################################################');
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>console</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.javascript</scope>
</snippet>
<snippet>
<content><![CDATA[
describe '$1', ->
$2
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>describe</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.coffee</scope>
</snippet>
<snippet>
<content><![CDATA[
describe('$1', function() {
$2
});
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>describe</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.javascript</scope>
</snippet>
<snippet>
<content><![CDATA[
it '$1', ->
$2
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>it</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.coffee</scope>
</snippet>
<snippet>
<content><![CDATA[
it('$1', function() {
$2
});
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>it</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.javascript</scope>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment