[TxMt] 'bug' in php bundle: indentation of elseif on same line as closing brace is wrong
Michael Sheets
mummer at whitefalls.org
Mon Apr 14 16:18:59 UTC 2008
On Apr 14, 2008, at 10:38 AM, S. Moon wrote:
> Off topic, but I've seen some strange decisions (or bugs) with the
> PHP bundle. (e.g. Type php and hit tab - braces are reversed for
> some reason, maybe intentional?)
>
> I guess not many TM users work with PHP? (Yes, RoR is the way to go
> - but there are situations that PHP has a faster Time-to-Market so
> you have no choice.)
You need to select HTML as the language for php. The reason your
seeing that behavior is because once inside a <?php tag it will close
and open a new tag. However since you have PHP selected it thinks your
always inside a tag.
More information about the textmate
mailing list