Question

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 " ;
Was it helpful?

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top