Laravel Goto
Goto various Laravel files by Alt+Left-Click
Details
Installs
- Total 12K
- Win 8K
- Mac 2K
- Linux 2K
Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | Aug 24 | Aug 23 | Aug 22 | Aug 21 | Aug 20 | Aug 19 | Aug 18 | Aug 17 | Aug 16 | Aug 15 | Aug 14 | Aug 13 | Aug 12 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 4 | 1 | 2 | 4 | 2 | 4 | 2 | 3 | 1 | 1 | 4 | 7 | 4 | 2 | 1 | 1 | 1 | 4 | 3 | 4 | 3 | 4 | 3 | 4 | 6 | 5 | 5 | 4 | 5 | 4 | 3 | 3 | 3 | 10 | 2 | 1 | 6 | 3 | 3 | 3 | 5 | 1 | 2 | 3 | 5 |
Mac | 0 | 0 | 0 | 1 | 1 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 2 | 3 | 1 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 3 | 0 | 2 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 1 | 2 | 1 | 1 | 2 | 1 | 2 | 1 | 1 | 1 | 3 | 2 | 2 | 0 | 0 | 1 | 1 | 2 | 0 | 0 | 3 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 3 | 1 | 3 | 2 | 2 | 1 | 2 | 0 | 0 | 2 | 1 | 0 | 2 | 1 | 1 | 0 |
Readme
- Source
- raw.githubusercontent.com
Laravel Goto
Goto various Laravel files
Features
Go to Blade
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 Controller
Go to controllers and highlight method.
Route::get('/', 'HelloController@index');
Route::resource('photo', 'HelloController', ['only' => [
'index', 'show'
]]);
Go to Middleware
Go to Config
Go to config files and highlight option.
Config::get('app.timezone');
Config::set('app.timezone', 'UTC');
Go to Language
Go to language files and highlight option.
__('messages.welcome');
@lang('messages.welcome');
trans('messages.welcome');
trans_choice('messages.apples', 10);
Go to .env
env('APP_DEBUG', false);
Go to Inertia.js
Route::inertia('/about', 'About/AboutComponent');
Inertia::render('MyComponent');
inertia('About/AboutComponent');
Go to Livewire
@livewire('nav.show-post')
<livewire:nav.show-post />
Go to path helper
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');
Go to Static files
$file = 'js/hello.js';
Default supported static file extensions:
- js
- ts
- jsx
- vue
- css
- scss
- sass
- less
- styl
- htm
- html
- xhtml
- xml
- log
Installation
Package Control
Ctrl+Shift+P
then selectPackage Control: Install Package
- Type
Laravel Goto
Manually
- MacOS
git clone https://github.com/absszero/LaravelGoto.git ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/LaravelGoto
- Linux
git clone https://github.com/absszero/LaravelGoto.git ~/.config/sublime-text-3/Packages/LaravelGoto
- Windows
git clone https://github.com/absszero/LaravelGoto.git %APPDATA%\Sublime Text 3\Packages\LaravelGoto
Usage
- Select a text,
Right-Click
to open content menu, PressLaravel Goto
or useAlt + ;
.
Extend static file extensions
You can add other file extensions throught Preferences > Package Settings > LaravelGoto > Settings
, and add this option static_extensions
"static_extensions": [
"your_extension_here"
]