pretty-routes
pretty-routes copied to clipboard
Is it possible to jump to controller directly from the route list?
Maybe clicking on the action column?
Technically, this is possible. But you'll need to understand which IDE or text editor should be used to generate the file link.
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"
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.