Skip to content

Instantly share code, notes, and snippets.

View StefanoRausch's full-sized avatar

Stefano F. Rausch StefanoRausch

  • Johannesburg - RSA
View GitHub Profile
<snippet>
<content><![CDATA[
<!-- @import ${1:file${2:.${3:extension}}} -->
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>import-file</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.kit</scope>
<!-- Optional: Set a description to override the snippet's name -->
<description>@import file</description>
<snippet>
<content><![CDATA[
<!-- @include ${1:file${2:.${3:extension}}} -->
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>include-file</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.kit</scope>
<!-- Optional: Set a description to override the snippet's name -->
<description>@include file</description>
@StefanoRausch
StefanoRausch / prepend-file.sublime-snippet
Created February 18, 2013 07:43
CodeKit : prepend file
<snippet>
<content><![CDATA[
/${1:*} @codekit-prepend ${2:file${3:.${4:js}}} ${5:*/}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>prepend-file</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.kit</scope>
<!-- Optional: Set a description to override the snippet's name -->
<description>@codekit prepend file</description>
@StefanoRausch
StefanoRausch / append-file.sublime-snippet
Created February 18, 2013 07:44
CodeKit : append file
<snippet>
<content><![CDATA[
/${1:*} @codekit-append ${2:file${3:.${4:js}}} ${5:*/}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>append-file</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.kit</scope>
<!-- Optional: Set a description to override the snippet's name -->
<description>@codekit append file</description>
@StefanoRausch
StefanoRausch / variable-definition.sublime-snippet
Last active December 13, 2015 21:18
CodeKit : $variable definition
<snippet>
<content><![CDATA[
<!-- \$${1:variable-name} ${2:separator} ${3:value} -->
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>variable-definition</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.kit</scope>
<!-- Optional: Set a description to override the snippet's name -->
<description>$variable definition</description>
@StefanoRausch
StefanoRausch / define-variable.sublime-snippet
Last active December 13, 2015 21:18
CodeKit : define $variable
<snippet>
<content><![CDATA[
<!-- \$${1:variable-name} ${2:separator} ${3:value} -->
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>define-variable</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.kit</scope>
<!-- Optional: Set a description to override the snippet's name -->
<description>$variable definition</description>
@StefanoRausch
StefanoRausch / variable-usage.sublime-snippet
Last active December 13, 2015 21:18
CodeKit : $variable usage
<snippet>
<content><![CDATA[
<!-- \$${1:variable-name} -->
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>variable-usage</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.kit</scope>
<!-- Optional: Set a description to override the snippet's name -->
<description>$variable usage</description>
@StefanoRausch
StefanoRausch / use-variable.sublime-snippet
Last active December 13, 2015 21:18
CodeKit : use $variable
<snippet>
<content><![CDATA[
<!-- \$${1:variable-name} -->
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>use-variable</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.kit</scope>
<!-- Optional: Set a description to override the snippet's name -->
<description>$variable usage</description>
@StefanoRausch
StefanoRausch / php-template-file.sublime-snippet
Created February 18, 2013 07:56
CodeKit : php template file
<snippet>
<content><![CDATA[
<?php
/**
* ${1:file-name}.php
*
* PHP version 5
*
* LICENSE : MIT - Copyright (C) ${2:2013} ${3:Stefano F. Rausch < [email protected] >}
*
<snippet>
<content><![CDATA[
@function ${1:name}( ${2:\$${3:parameters}} )
{
${4:code}
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>define-function</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->