Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/kotlin/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在PHPStorm中为字符串设置唯一颜色?_Phpstorm - Fatal编程技术网

如何在PHPStorm中为字符串设置唯一颜色?

如何在PHPStorm中为字符串设置唯一颜色?,phpstorm,Phpstorm,如何在PHPStorm中为字符串设置唯一颜色 我只想这样: php echo " all text inside quotation marks is red " ; $another_exemple = " all text inside quotation marks is red " ; 要设置文本字符串的颜色,只需在设置|编辑器|颜色和字体| PHP |字符串中设置即可 另外,您可能需要取消选中“从中继承属性”复选框,以便能够设置自定义颜色。当它被SQL颜色覆盖时,它不起作用,例如:

如何在PHPStorm中为字符串设置唯一颜色

我只想这样:

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

$another_exemple = " all text inside quotation marks is red " ;
要设置文本字符串的颜色,只需在设置|编辑器|颜色和字体| PHP |字符串中设置即可


另外,您可能需要取消选中“从中继承属性”复选框,以便能够设置自定义颜色。

当它被SQL颜色覆盖时,它不起作用,例如:$var=SELECT*From blablabla;天哪,真管用!谢谢你的支持,谢谢