Home Download Buy Blog Forum Support

PHP syntax hightlighing

PHP syntax hightlighing

Postby jitzo on Fri Nov 04, 2011 5:31 am

Hi :)
I'm new to ST2, and love it!
I've managed to set it just the way I like it, but I'm missing some syntax highlighting for PHP. I'm sure that there's a way to set these, but just don't know how:
  • Change the foreground/background color of PHP code start/end tags: "<?" / "<?=" / <?php / "?>"
  • Change the foreground/background color of PHP code start/end tags, as above - but if the caret is inside a scope - change the color of the scope's starting/ending tags in a different color
  • Change the foreground/background color of PHP variables contained within a string, i.e.: echo "Hello $variable"; - $variable will be colored
  • Has nothing to do with PHP, but would love that feature: change the background color of the entire current caret line (currently only the gutter changes the color)

Would appreciate any help setting these :)
Thanks in advance!
jitzo
 
Posts: 3
Joined: Fri Nov 04, 2011 4:45 am

Re: PHP syntax hightlighing

Postby Fed03 on Thu Nov 10, 2011 10:47 pm

bump :D
Fed03
 
Posts: 79
Joined: Sun Oct 16, 2011 6:38 pm

Re: PHP syntax hightlighing

Postby getmuller on Tue Mar 06, 2012 3:19 pm

jitzo wrote:Hi :)
I'm new to ST2, and love it!
I've managed to set it just the way I like it, but I'm missing some syntax highlighting for PHP. I'm sure that there's a way to set these, but just don't know how:
  • Change the foreground/background color of PHP code start/end tags: "<?" / "<?=" / <?php / "?>"
  • Change the foreground/background color of PHP code start/end tags, as above - but if the caret is inside a scope - change the color of the scope's starting/ending tags in a different color
  • Change the foreground/background color of PHP variables contained within a string, i.e.: echo "Hello $variable"; - $variable will be colored
  • Has nothing to do with PHP, but would love that feature: change the background color of the entire current caret line (currently only the gutter changes the color)

Would appreciate any help setting these :)
Thanks in advance!


It is awesome.

Could you find a way to do that?
getmuller
 
Posts: 2
Joined: Tue Mar 06, 2012 3:06 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 34 guests