Created
February 21, 2014 12:23
-
-
Save woffleloffle/9133354 to your computer and use it in GitHub Desktop.
Sublime Snippet to wrap a `print_r` with `pre` tags.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
echo "<pre>"; | |
print_r (\$${1:variable}); | |
echo "</pre>"; | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>echopre</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<scope>source.php</scope> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Writes the following into your *.php file:
..and highlights the word variable for ease of use.
I use this all the time during PHP dev.