Multiple definitions notice, easy way to make the IDE "aware" of the correct class?

Hey everyone,

PhpStorm has been giving me this notice for a while, and now it's finally to frustrate me as I use code complete ALL the time to rapidly write code when under time crunches. The notice I receive when I hover over the "Controller" class is this:

http://cl.ly/3B1N2m110k0R301E163j/Screen_shot_2011-07-11_at_2.13.08_PM.png

Now if I Control+Click the Controller class, I get this:

http://cl.ly/3v0R3o1h270i0d180r0V/Screen_shot_2011-07-11_at_2.14.04_PM.png

Is there any way to make PhpStorm "learn" the correct class? For this file, I need it to point to .../core/oxygen/classes/controller.php. Or is there a way I can just make PhpStorm ignore the .../core/kohana/system/classes/controller.php file?

The way that popup reads to me is if I click one of those it will make the IDE understand which file to go through. However, when I click the file it never "learns" what that file should be. I'm running 2.1.1 Build 107.307.

Best regards,
Andrew

0

Please sign in to leave a comment.