simoebenhida / laravel-intellisense

Laravel VScode extension
https://marketplace.visualstudio.com/items?itemName=mohamedbenhida.laravel-intellisense
MIT License
163 stars 5 forks source link

Laravel Intellisense

demo

Features

Laravel Ide helper

Laravel ide helper is a package that generates helper files that enable your IDE to provide accurate autocompletion. Generation is done based on the files in your project, so they are always up-to-date.

The package will help you generate a default ide helper file by just writing this command:

Generate Ide Helper

Or you can use the package directly to make it customizable with your projectlaravel-ide-helper

Resource Autocompletion

For resource autocompletion to work you will have to specify model namespace on Settings>Extensions>Laravel Intellisense>Model namespace by default it is App\

resource

Eloquent Autocompletion

model

model

Factory Autocompletion

model

View Autocompletion

model

Config Autocompletion

model

Route Autocompletion

model

Translate Autocompletion

model

Docker

If you are using docker you will have to add the container name where your application lives in Settings>Extensions>Laravel Intellisense>Docker so the extension can run the script from there to get the attributes!

For example if im using an app container! I will be adding:

docker exec app

Configuration

For the extension to work you need to have the database working! Since it needs the database to get the attributes.