laravel-intellisense
laravel-intellisense copied to clipboard
Laravel VScode extension
Laravel Intellisense
Features
- Eloquent Autocompletion
- Laravel Ide helper
- Resource Autocompletion
- Factory Autocompletion
- View Autocompletion
- Config Autocompletion
- Route Autocompletion
- Translate Autocompletion
- Docker Support
- Configuration
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\
Eloquent Autocompletion
Factory Autocompletion
View Autocompletion
Config Autocompletion
Route Autocompletion
Translate Autocompletion
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.