This extension provides Laravel routes, views and ... autocomplete for VSCode.
- Route names and route parameters
- Views and variables
- Configs
- Translations and translation parameters
- Laravel mix function
- Validation rules
- View sections and stacks
- Env
- Route Middlewares
Your custom validation rules snippets.
Example:
"LaravelExtraIntellisense.customValidationRules": {
"mobile": "mobile",
"distance_gt": "distance_gt:${0:1km}"
}
Command to run PHP codes to interact with your Laravel application.
Default:
php -r \"{code}\"
Note: {code} is PHP code generated by extension and should be wrapped with "".
Base path of your Laravel application. useful if your Laravel project is not at the root of you project directory.
Same as LaravelExtraIntellisense.basePath
but this one using for require_once
in generated PHP codes.
You also can use /
instead of .
as directory separator for view autocomplete.
This is a simple configuration to use via Laradock. It is possible to use this extension with other docker images or even other virtual machines.
"LaravelExtraIntellisense.phpCommand": "docker exec -w /var/www/your-project -u laradock laradock_workspace_1 php -r \"{code}\"",
"LaravelExtraIntellisense.basePathForCode": "/var/www/your-project"
- Add Docker support.
- Performance improvement.
- Bug fixes (#25, #26)
- Add configuration for views separator (#22).
can
,cannot
autocomplete.
- Fix #18.
env
autocomplete added.- Route
middleware
autocomplete added. - Nested stack and section support added.
- Function parser improvement.
- Blade stack autocomplete added.
- Duplicate section autocomplete items fixed.
- PHP commands converted to async functions to prevent unresponsive extension host error.
- Blade section autocomplete added.
- View parameters autocomplete.
- Route autocomplete bug in linux fixed.
- Auto-Retry removed from all providers. causes some performance issues.
- Disable logging added.
markdown
function added to view functions for autocomplete.- Using file watcher instead of save event. Better change detect for view autocomplete.
- json translation autocomplete added.
Validation rules autocomplete added.
works with Validator
class, validate
functions and inside request classes.
Route action autocomplete added. Route::get
, Route::post
,... autocompletes controller actions inside app\Http\Controllers.
Performance improvments.
Add mix autocomplete.
Fix problems with linux. Add translation autocomplete. Improved providers.
Config autocomplete added.
Route bug fix.
View names with namespaces ready to use.
View functions autocompelete added.
Blade bug fix.
Add route autocomplete.