Home Download Buy Blog Forum Support

How to style PHP class properties

How to style PHP class properties

Postby Alexxa on Fri Jun 01, 2012 11:28 am

They are styled like variables:

Code: Select all
        <dict>
            <key>name</key>
            <string>Variables</string>
            <key>scope</key>
            <string>variable, support.variable</string>
            <key>settings</key>
            <dict>
                <key>fontStyle</key>
                <string></string>
                <key>foreground</key>
                <string>#dc322f</string>
            </dict>
        </dict>


How can I make class properties have a different color?
Alexxa
 
Posts: 3
Joined: Fri Jun 01, 2012 1:38 am

Re: How to style PHP class properties

Postby Alexxa on Fri Jun 01, 2012 11:35 am

example:

Code: Select all
$this->something = 'value'


$this = variable
something = class property (different color)
Alexxa
 
Posts: 3
Joined: Fri Jun 01, 2012 1:38 am


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 14 guests

cron