Skip to content

Instantly share code, notes, and snippets.

@anhphamt
Last active May 9, 2016 14:34
Show Gist options
  • Save anhphamt/2845feb8fc2bb3228877f152d69dd180 to your computer and use it in GitHub Desktop.
Save anhphamt/2845feb8fc2bb3228877f152d69dd180 to your computer and use it in GitHub Desktop.
Sublime text 3 snippets and completions
{
"scope": "source.php",
"completions":
[
{ "trigger": "dbg", "contents": "echo '<pre>'. print_r($0, true) . '</pre>'; \ndie();" },
]
}
<snippet>
<content><![CDATA[
echo "<pre>" . print_r(, true) . "</pre>" ;
die();
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>dbg</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment