php -> tab ->jump out :(
ST4: php label jump out side when i press tab key
You will need to create an override for the snippet that produces <?php ?>
when you type php
and press tab. Here’s a diff for what needs to be done (so that hitting tab again get’s you out of the php
snippet).
--- Shipped Packages/PHP/Snippets/php.sublime-snippet 2021-04-02 13:30:54
+++ Packages/PHP/Snippets/php.sublime-snippet 2021-06-10 10:37:05
@@ -1,5 +1,5 @@
<snippet>
- <content><![CDATA[<?${TM_PHP_OPEN_TAG:php} $0 ?>]]></content>
+ <content><![CDATA[<?${TM_PHP_OPEN_TAG:php} $1 ?>$0]]></content>
<tabTrigger>php</tabTrigger>
<scope>embedding.php text.html - source.php</scope>
<description><?php … ?></description>
You can either create the override manually or install OverrideAudit
to make it easier to create overrides (as I have done for the above).
0 Likes