Search code examples
phpstorm

How to set unique color for strings in PHPStorm?


How to set unique color for strings in PHPStorm?

I simply want this :

php echo " all text inside quotation marks is red " ;

$another_exemple = " all text inside quotation marks is red " ;

Solution

  • To set color for text strings -- just do it in Settings | Editor | Colors & Fonts | PHP | Strings

    P.S. You may need to uncheck "Inherit Attributes From" checkbox to be able to set custom color.