Includes the basic extensions to get started with Laravel development in Visual Studio Code.
Extension | Objective |
---|---|
Laravel Blade Snippets | Laravel blade snippets and syntax highlight support |
Laravel Snippets | Laravel snippets |
Laravel Artisan | Laravel Artisan |
Laravel Extra Intellisense | Laravel intellisense enhancement |
Laravel goto view | Laravel blade view easy targeting |
laravel-jump-controller | Laravel controller easy navigating from route file |
laravel-goto-components | Navigating to blade component file |
Laravel Blade formatter | Blade formatter |
Laravel Create View | Create laravel view using dot notation |
Laravel Blade Wrapper | An extension to wrap Blade directives |
DotENV | .env syntax highlighting |
DevDb | Zero-config extension that auto-loads your database and displays the data right inside the IDE |
Open File
-> Preferences
-> Settings
Using Laravel Blade Snippet
and enable blade formatter
"blade.format.enable": true,
"[blade]": {
"editor.autoClosingBrackets": "always",
"editor.defaultFormatter": "onecentlin.laravel-blade",
},
Alternative: Using Laravel Blade formatter
as blade formatter
"bladeFormatter.format.enabled": true,
"[blade]": {
"editor.defaultFormatter": "shufo.vscode-blade-formatter",
},
Extension | Objective |
---|---|
EditorConfig for VS Code | EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs. |
Recommended extension: PHP Productive Pack
Please file any issues or have a suggestion please tweet me @onecentlin.