From Eclipse to PhpStorm: Cannot find declaration to go to -
i switched eclipse phpstorm 10. in eclipse can go class $x = "xclass"; ctrl + left mouse click on "xclass". in phpstrom message : cannot find declaration go to.
i'm looking since more 1 hour run.
the problem use kind of declaration ( $x = "xclass"; ) often.
foo.php
<?php namespace foo; class foo { private $bar = 'foo'; public function getbar() { return $this->bar; } } index.php
<?php include 'foo.php'; use foo\foo; $class = 'foo\foo'; $foo = new $class(); echo $foo->getbar(); navigation on $class = 'foo\foo'; won't work default. can cropy class , use ctrl+n , ctrl+v use phpstorm's classsearch.
to able use ctrl + left mouse have install navigate literal.
file > settings > plugins > browse repositories > search > navigate literal if using proxy have change settings before being able browse repositories.
Comments
Post a Comment