Laravel route Ctrl+click... always Cannot find declaration to go to
This is on anything in green in any route file... the below example is supposed to take me to the controller class file:

I've already tried invalidating caches, recreating the project, putting it on different filesystems... installing the Laravel plugin by Daniel Espendiller (latest version of Windows 10 and PHPStorm and the plugin). I didn't see any config for the plugin. It's enabled by default.
Now what?
I can figure out which Controller file and method to look at based on the route config, because it matches almost 100% of the time, but it can be very time-consuming to click through all of the directories each time. PHPStorm can't seem figure it out which file they're referring to, ever, for some reason.
Please sign in to leave a comment.
Hi there,
Such navigation is actually provided by that Laravel plugin. I see the same here: sometimes it works .. and then it breaks and I have no clue why/stops working (used to work much better in the past... like over a year ago).
There is another Laravel Idea plugin -- it is not free (separate subscription) but it is actively maintained, lots of features. Give it a try -- it worth it.