[SVN] r10219 (PHP)

Ciarán Walsh ciawal at gmail.com
Thu Jul 10 11:03:08 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   branches/WIP/Bundles/PHP.tmbundle/Snippets/<?php ?>.tmSnippet
U   branches/WIP/Bundles/PHP.tmbundle/Snippets/<?php echo ___ ?>.tmSnippet
U   branches/WIP/Bundles/PHP.tmbundle/Snippets/<?php echo htmlentities(___) ?>.tmSnippet
U   branches/WIP/Bundles/PHP.tmbundle/Snippets/<?php else: ?>.tmSnippet
U   branches/WIP/Bundles/PHP.tmbundle/Snippets/<?php foreach (___) ___ <?php endforeach ?>.tmSnippet
U   branches/WIP/Bundles/PHP.tmbundle/Snippets/<?php if (___) ?> ___ <?php else ?> ___ <?php endif ?>.tmSnippet
U   branches/WIP/Bundles/PHP.tmbundle/Snippets/<?php if (___) ?> ___ <?php endif ?>.tmSnippet
U   branches/WIP/Bundles/PHP.tmbundle/Snippets/?>…<?php.tmSnippet




More information about the textmate-dev mailing list