I'm currently evaluating PHPStorm for use with Magento 2 development at work instead of using Eclipse. I wanted to take a look at PHPStorm because I've heard that's what the Magento folks themselves use. So far I've been really happy with the IDE. It especially like the Git features it has. However, I've run into an issue.
In Eclipse, I can ctrl-click on a function call and get taken to that function's declaration so I can trace the code and see what's going on. But for whatever reason, I can't get PHPStorm to do the same thing. When I open a file in PHPStorm that I know I can trace in Eclipse, all I get is a message that says
"Method 'doSomethingCool' not found. Referenced method is not found in subject class."
I ran the 'Detect PSR-0 Namespace roots" which came back and labeled the vendor and app/code folders as PSR-0 roots (which I'm assuming was correct) and then ran "Invalidate Cache/Restart" to reindex but I still get the same message.
Any ideas what I need to do to get the ctrl-click tracing to work correctly?