Code Completion and Navigation for Controllers and Routes Let's explore the Laravel plugin's features for working in PHP code. This works when using the Redirect and Route facade's various functions: When referencing a controller, we can use code completion by pressing Ctrl+Space ( CMD+Space on Mac OS X) and select the controller from the list that pops up. We can also navigate to the controller using Ctrl+Click ( CMD+Click on Mac OS X) or Go To Declaration ( Ctrl+B / CMD+B). Simply hovering the mouse with the Ctrl or CMD key pressed will show additional details. The Laravel plugin provides completion for view names when using this facade: Using the View facade, we can reference a Blade template (or view). Just like with controllers, we can navigate to our views as well.
0 Comments
Leave a Reply. |