idea-php-laravel-plugin icon indicating copy to clipboard operation
idea-php-laravel-plugin copied to clipboard

How to navigate to controller with namespace?

Open angular-tools opened this issue 8 years ago • 3 comments

Some routes defined in web.php are like this:

 Route::get('/', 'Admin\\Dashboard@index');

So while I can easily navigate to Controller without any namespace declarations using Ctrl+Click, it doesn't work with above routes (for controllers with a namespace)? Is there a way to enable it somehow?

Thanks

angular-tools avatar Nov 29 '17 09:11 angular-tools

You can use single slash instead of double. And it will work. But... maybe it should be fixed too...

adelf avatar Nov 29 '17 09:11 adelf

Thank you so much! It works like a charm now :)

angular-tools avatar Nov 29 '17 09:11 angular-tools

reopen because of fixing:

use single slash instead of double

Haehnchen avatar Nov 29 '17 16:11 Haehnchen