Home Download Buy Blog Forum Support

PHP highlighting missing from fresh 1.2.2 install

PHP highlighting missing from fresh 1.2.2 install

Postby 75th Trombone on Thu Oct 08, 2009 4:35 pm

Hi,

I just discovered Sublime Text, and it looks like exactly what I've been looking for in a Windows text editor for a long time.

However, upon installing it (1.2.2) for the first time, me and a coworker cannot select PHP syntax highlighting. It's missing from the list entirely. PHP.tmLanguage exists as expected.

¿Qué?
75th Trombone
 
Posts: 6
Joined: Thu Oct 08, 2009 4:29 pm

Re: PHP highlighting missing from fresh 1.2.2 install

Postby jps on Thu Oct 08, 2009 9:46 pm

It's there, but accessed in a confusing way - select the HTML syntax, and it'll automatically pick up <?php ... ?> tags within your .php files.
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm

Re: PHP highlighting missing from fresh 1.2.2 install

Postby skargor on Fri Oct 09, 2009 12:31 am

there is one issue for me
When I was editing a php file

I typed i,f,tab, it was given:
Code: Select all
<?php if (condition): ?>
   
<?php endif ?>


if I choose snippet from menu->Tools->Snippets->PHP->if ..., it was given:
Code: Select all
if (condition) {
   # code...
}


did both inside the <?php ?> tag.
skargor
 
Posts: 2
Joined: Fri Oct 09, 2009 12:28 am

Re: PHP highlighting missing from fresh 1.2.2 install

Postby jps on Fri Oct 09, 2009 12:58 am

Thanks for the heads up - I'll fix that for the next beta.
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm

Re: PHP highlighting missing from fresh 1.2.2 install

Postby 75th Trombone on Fri Oct 09, 2009 1:21 pm

Aha! Thanks for the clarification. :)
75th Trombone
 
Posts: 6
Joined: Thu Oct 08, 2009 4:29 pm

Re: PHP highlighting missing from fresh 1.2.2 install

Postby jps on Sat Oct 10, 2009 3:12 pm

In the 20091010 beta, PHP now appears as a distinct file type, although selecting HTML will continue to work fine. The mentioned snippets have also been fixed.
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 22 guests