pretty-routes icon indicating copy to clipboard operation
pretty-routes copied to clipboard

Is it possible to jump to controller directly from the route list?

Open anchan42 opened this issue 2 months ago • 3 comments

Maybe clicking on the action column?

anchan42 avatar Oct 29 '25 04:10 anchan42

Technically, this is possible. But you'll need to understand which IDE or text editor should be used to generate the file link.

andrey-helldar avatar Oct 29 '25 09:10 andrey-helldar

Maybe doing something like the debug bar and ignition error page where you can set the IDE with .env? IGNITION_EDITOR="vscode" DEBUGBAR_EDITOR="vscode"

anchan42 avatar Oct 31 '25 03:10 anchan42

Yes, you can define the editor via a variable and copy the possible paths from Laravel Core:

https://github.com/laravel/framework/blob/12.x/src/Illuminate/Foundation/Concerns/ResolvesDumpSource.php

You can submit a PR adding this functionality.

andrey-helldar avatar Oct 31 '25 07:10 andrey-helldar