Sublime Forum

<? endif; ?> glitch

#1

Hi,

everytime I type <? endif; ?> on a line with a few tabs before the code, it gets push back one tab. It’s really annoying to have to go back in front of the <? endif; ?> and HIT tab again.

Please fix this glitch asap.

Regards,

G

0 Likes

#2

Has anyone found a solution to this? it drives me craaaaaazy

0 Likes

#3

Maybe try github.com/gerardroche/sublime-php-grammar

Also:

Additional snippets, completions, phpunit : github.com/gerardroche/sublime- … ry-plugins

0 Likes

#4

I just pushed an update (0.6.0) to sublime-php-grammar with some useful macros and fixes.

  • New macro: Enter appends ,\n in array strings.
  • New macro: Ctrl+Enter appends ;\n in valid contexts
  • New macro: Ctrl+; appends ; in valid contexts

To insert a literal newline key Shift+Enter

github.com/gerardroche/sublime-php-grammar

0 Likes