[TxMt] TextMate as a PHP editor

Bruno Bronosky BrunosJunk at Bronosky.com
Tue Mar 8 18:38:29 UTC 2005


I'm using TM 1.1b5

I just got the new PHP bundle.  I notice color scheme changes, but 
still lack HTML highlighting in PHP documents.  What syntax enables 
HTML and PHP highlighting at the same time?

Thank you,

--==<< R i c h a r d B r o n o s k y >>==--


On Mar 8, 2005, at 10:55 AM, Mats Persson wrote:

>
> On 8 Mar 2005, at 14:45, Bruno Bronosky wrote:
>> Is it possible to to highlight PHP and HTML at the same time.  The 
>> only way to get HTML to highlight (that I can find) is to use the 
>> syntax "HTML (Basic)".  There is a "PHP" and an "HTML (PHP)", but 
>> they both render the HTML as gray.
>
> Yes absolutely!! although within some minor limitations, which 
> hopefully will be sorted by TM 1.1b6 or later, which is due to 
> recursion problems with the current syntax engine.
>
> There is a complete syntax bundle for PHP dev's which contains PHP, 
> HMTL, CSS & JS syntax's that are fairly similar in style and works 
> well together, and trust me they are far from gray. :)
>
> You can find that bundle on the Bundle Repository:
>
> If you have Subversion installed you just copy this to Terminal:
>
> svn checkout --username anon --password anon 
> http://macromates.com/svn/Bundles/trunk/PHP.tmbundle  
> ~/Library/Application\ Support/TextMate/Bundles/PHP.tmbundle
>
> If you don't have Subversion, just send me an e-mail and I'll send you 
> the bundle off-list.
>
> What version of TM do you have installed ????
>
>
> Kind regards,
>
> Mats
>
> ----
> "TextMate, coding with an incredible sense of joy and ease"
> - www.macromates.com -
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1874 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20050308/77b986ae/attachment.bin>


More information about the textmate mailing list