Home Download Buy Blog Forum Support

PHP syntax is white in a lot of areas

PHP syntax is white in a lot of areas

Postby dizmarkie on Fri Nov 25, 2011 3:05 pm

I mostly just use wordpress functions but all of my wordpress functions and opening and closing PHP tags are all white.
I tried to install phpbeautifier from package control and I have syntax mode set to PHP but this doesn't seem to have taken any effect. I'm using OSX and build 2139

I've seen other posts on the forums about peopling having syntax issues with php tags but there were no replies of solutions that seemed to work.
dizmarkie
 
Posts: 4
Joined: Fri Nov 25, 2011 2:42 pm

Re: PHP syntax is white in a lot of areas

Postby kuroir on Sun Nov 27, 2011 6:53 am

I'm almost sure this is related to the theme. And the selector. 90% sure.
kuroir
 
Posts: 71
Joined: Thu Sep 01, 2011 11:28 pm
Location: Mexico

Re: PHP syntax is white in a lot of areas

Postby Fed03 on Sun Nov 27, 2011 8:25 pm

kuroir wrote:I'm almost sure this is related to the theme. And the selector. 90% sure.


yes for sure but i find many problem to find a "guide" for selector to use in tmtheme file....if someona have the knowledge could share it with us...XD
Fed03
 
Posts: 79
Joined: Sun Oct 16, 2011 6:38 pm

Re: PHP syntax is white in a lot of areas

Postby gabriev82 on Sun Nov 27, 2011 8:41 pm

Fed03 wrote:
kuroir wrote:I'm almost sure this is related to the theme. And the selector. 90% sure.


yes for sure but i find many problem to find a "guide" for selector to use in tmtheme file....if someona have the knowledge could share it with us...XD


I use ctrl+alt+shift+p (show_scope_name function) to get the scope under the cursor.
And I have found useful information on Textmate manual:
http://manual.macromates.com/en/scope_selectors
http://manual.macromates.com/en/languag ... tions.html
gabriev82
 
Posts: 22
Joined: Sat Nov 26, 2011 3:10 pm

Re: PHP syntax is white in a lot of areas

Postby Fed03 on Sun Nov 27, 2011 11:11 pm

gabriev82 wrote:
Fed03 wrote:
kuroir wrote:I'm almost sure this is related to the theme. And the selector. 90% sure.


yes for sure but i find many problem to find a "guide" for selector to use in tmtheme file....if someona have the knowledge could share it with us...XD


I use ctrl+alt+shift+p (show_scope_name function) to get the scope under the cursor.
And I have found useful information on Textmate manual:
http://manual.macromates.com/en/scope_selectors
http://manual.macromates.com/en/languag ... tions.html



many thanks^
Fed03
 
Posts: 79
Joined: Sun Oct 16, 2011 6:38 pm


Return to General Discussion

Who is online

Users browsing this forum: Google [Bot], jhawk28 and 25 guests

cron