/snippets

Simple custom Sublime Text 3 portable snippets.

Primary LanguagePHP

Simple custom Sublime Text 3 portable snippets.

Create your own sublime Text 3 snippets.

Future to add auto push to github so that you can have your snippets on diference computer or if you reinstall your computer.

Alt text


To use it just clone the repository or download the zip file and unzip it and place it in the package/user folder. see the picture below for how to get package folder on mac.
create file with .sublime-snippet extension and copy and paste one of the example to edit it for you need`

for php:

If you want to use "$" for variables make sure to escape it with '\'`

For instance:

<snippet>
    <content><![CDATA[\$this->assertEquals (${1:});]]></content>
    <tabTrigger>equal</tabTrigger>
    <scope>source.php</scope>
    <description>Assert Equals call</description>
</snippet>`

Alt text