[SVN] r10909 (PHP)

Ciarán Walsh ciawal at gmail.com
Sun Nov 30 15:57:55 UTC 2008


Snippets which output PHP tags now use the environment variables TM_PHP_OPEN_TAG and TM_PHP_OPEN_TAG_WITH_ECHO.
Users who want to use short tags can set TM_PHP_OPEN_TAG to an empty value in preferences, and TM_PHP_OPEN_TAG_WITH_ECHO can be set to either 'echo' or '=' to use short tags with an echo statement or the short-tag printing form.
All snippets will use long tags by default, as these are more portable.

Changed:
U   trunk/Bundles/PHP.tmbundle/Snippets/<?php ?>.tmSnippet
U   trunk/Bundles/PHP.tmbundle/Snippets/<?php echo ___ ?>.tmSnippet
U   trunk/Bundles/PHP.tmbundle/Snippets/<?php echo htmlentities(___) ?>.tmSnippet
U   trunk/Bundles/PHP.tmbundle/Snippets/<?php else: ?>.tmSnippet
U   trunk/Bundles/PHP.tmbundle/Snippets/<?php foreach (___) ___ <?php endforeach ?>.tmSnippet
U   trunk/Bundles/PHP.tmbundle/Snippets/<?php if (___) ?> ___ <?php else ?> ___ <?php endif ?>.tmSnippet
U   trunk/Bundles/PHP.tmbundle/Snippets/<?php if (___) ?> ___ <?php endif ?>.tmSnippet
U   trunk/Bundles/PHP.tmbundle/Snippets/?>…<?php.tmSnippet



More information about the textmate-dev mailing list