ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Laravel Goto

by absszero ALL

Goto various Laravel files by Alt+Left-Click

Details

Installs

  • Total 11K
  • Win 7K
  • Mac 1K
  • Linux 2K
Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13
Windows 2 2 6 6 5 2 1 2 4 7 4 6 2 2 3 6 6 9 4 1 2 3 6 2 6 3 5 4 3 5 5 5 8 3 1 3 3 6 5 2 0 4 5 6 6 1
Mac 1 0 1 1 3 4 0 0 1 1 1 1 0 1 0 0 0 0 0 0 0 1 2 0 2 0 0 0 1 1 1 0 1 0 0 0 2 0 1 0 0 0 1 0 2 1
Linux 0 1 2 1 2 1 3 1 0 2 4 0 1 1 3 2 2 2 0 0 0 4 2 2 5 1 1 1 1 0 0 2 0 2 0 2 0 1 4 0 0 1 1 1 0 2

Readme

Source
raw.​githubusercontent.​com

Laravel Goto for Sublime Text

Github Action


Goto various Laravel files

example

Feature

  • Go to Blade Template files (EX. hello.blade.php)

  • Go to Blade Component files (EX. <x-alert>)

  • Go to Blade Template files (EX. hello.blade.php)

  • Go to Controller and highlight method (EX. \Namespace\Controller.php@Method)

  • Go to Static files (EX. hello.js)

  • Go to Config files and highlight option (EX. config/app.php)

  • Go to Language files and highlight option (EX. lang/en/messages.php )

  • Go to .env and highlight option

  • Go to Inertia.js components (EX. Inertia::render('MyComponent');)

  • Go to Livewire classes (EX. <livewire:nav.show-post /> => Nav/ShowPost.php )

  • Go to paths by path helpers, EX:

    • 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');
  • Default supported static file extensions

    • js
    • ts
    • jsx
    • vue
    • css
    • scss
    • sass
    • less
    • styl
    • htm
    • html
    • xhtml
    • xml
    • log

Installation

Package Control

  1. Ctrl+Shift+P then select Package Control: Install Package
  2. 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, Press Laravel Goto or use Alt + ;.

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"
]