Go to various Laravel files.
Go to blade template files.
view('hello_view', ['name' => 'James']);
Route::view('/', 'pages.public.index');
@includeIf('view.name', ['status' => 'complete'])
@each('view.name', $jobs, 'job', 'view.empty')
@extends('layouts.app')Go to blade Component files.
<x-alert:hello />Go to controllers and highlight method.
Route::get('/', 'HelloController@index');
Route::resource('photo', 'HelloController', ['only' => [
'index', 'show'
]]);Go to the controller via the "Laravel Goto: Go to Controller via Uris" command.
Go to config files and highlight option.
Config::get('app.timezone');
Config::set('app.timezone', 'UTC');Go to filesystem config file and highlight option.
Storage::disk('local')->put('example.txt', 'Contents');Go to single language file.
__('messages.welcome');
@lang('messages.welcome');
trans('messages.welcome');
trans_choice('messages.apples', 10);Open all and highlight option.
env('APP_DEBUG', false);
Route::inertia('/about', 'About/AboutComponent');
Inertia::render('MyComponent');
inertia('About/AboutComponent');@livewire('nav.show-post')
<livewire:nav.show-post />app_path('User.php');
base_path('vendor');
config_path('app.php');
database_path('UserFactory.php');
public_path('css/app.css');
resource_path('sass/app.scss');
storage_path('logs/laravel.log');$file = 'js/hello.js';Default supported static file extensions:
- js
- ts
- jsx
- vue
- css
- scss
- sass
- less
- styl
- htm
- html
- xhtml
- xml
- log
To enable moving to Method directly after a Controller is opened. Make sure one of these extensions is installed.
-
https://marketplace.visualstudio.com/items?itemName=linyang95.php-symbols
-
https://marketplace.visualstudio.com/items?itemName=felixfbecker.php-intellisense
-
https://marketplace.visualstudio.com/items?itemName=bmewburn.vscode-intelephense-client
- Move cursor on a text, and click the hover content, or press Alt + ; to run the command.
- Or Select a text,
Right-Clickto open content menu, ChooseLaravel Goto.





