Skip to content

erlangparasu/goto-route-controller-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

151 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goto-route-controller-laravel

Features

  • Go to route declaration
  • Go to controller method declaration
  • Find blade usage

Extension (vsix) size: ±16 KB

How to Use

Go to Controller

  1. Open routes file, eg.: web.php or api.php
  2. Put cursor on line that contains route declaration, eg.: BookController@show or [BookController::class, 'show']
  3. Right click on that line
  4. Choose "EP: Laravel: Go to Controller"
  5. Please wait... Controller file will be displayed for you

or just click EP-findController on statusbar

Go to Route

  1. Open controller class, eg.: BookController.php
  2. Put cursor on line that contains method name, eg.: function index() { or function show($id) {
  3. Right click on that line
  4. Choose "EP: Laravel: Go to Route"
  5. Please wait... Route declaration file will be displayed for you

or just click EP-findRoute on statusbar

Find blade usage

  1. Open an layout file, eg.: index.blade.php or detail.blade.php
  2. Right click on any line
  3. Choose "EP: Laravel: Find blade usage"
  4. Please wait... Blade usage / Controller file will be displayed for you

or just click EP-findBladeUsage on statusbar


Compatibility

Laravel Version Status Extension Version
10.x supported since v2.2.0
9.x supported since v2.2.0
8.x supported since v2.2.0
7.x supported since v2.1.9
6.x supported since v2.1.9
5.8 supported .
5.7 supported .
5.6 supported .
5.5 supported .
5.4 supported .
5.3 supported .
5.2 supported .
5.1 supported .

Links

Extension: https://marketplace.visualstudio.com/items?itemName=erlangparasu.goto-route-controller-laravel

Source: https://github.com/erlangparasu/goto-route-controller-laravel


Enjoy :)

About

(VS Code extension) Laravel helper: go to route declaration, go to controller method declaration, find blade usage

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors