php - How can I get PhpStorm to go to the right declaration -
i have following snippet of code.
abstract class mrparent { public function __construct() { $this->var = 'a'; } } class mrchild extends mrparent { public function hello() { echo 'hello'; } } $mrguy = new mrchild();
now, in phpstorm, when middle-click ("go declaration") on last line of "mrchild" class, cursor jumps "__construct" line. expecting go "class mrchild extends mrparent" line.
in single document, ok, in setup it's 1 class per file, quite annoying because means ide showing me class don't want.
i know if added following code "mrchild" class, i'd want, seems shouldn't fixing consider ide bug adding code.
public function __construct() { parent::__construct(); }
do have suggestion?
you facing wi-4880 issue. feel free watch/vote.
Comments
Post a Comment