Domanda

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 " ;
È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top