phpstorm php代码颜色修改

phpstorm内置 展示修改color代码
<?php

function foo() {
   $a = [0, 1, 2];
   return SomeClass::$shared;
}

class SomeClass extends One implements Another {
   private $my;
   public static $shared;
   const CONSTANT = 0987654321;

   function doSmth($abc, $def) {
      foo();
      $def .=  self::magic;
      $def .=  self::CONSTANT;
      $v = Helper::convert($abc . "\n {$def}" . $$def);
      $q = new Query( $this->invent(abs(0x80)) );
      return array($v => $q->result);
   }
}

include (dirname(__FILE__) . "inc.php");


#修改的代码颜色
doSmth	蓝色	#61aeee
$abc	粉灰色	#e06c75
$q	紫色	#c678dd
inc.php	草绿	#98c379

猜你喜欢

转载自blog.csdn.net/Haka36/article/details/86507120