This article is a list of the top 8 VSCode extensions for Laravel developers, which will help you improve your work efficiency!
Laravel Blade Snippet The extension adds syntax for Laravel Blade to your VS Code editor Highlighting support. [Recommended learning: vscode tutorial, Programming teaching]
Some of the main functions of this extension are:
Some additional configuration is required to ensure that the extension works as expected. In File
-> Preferences
-> Settings
and add the following to your settings.json
:
"emmet.triggerExpansionOnTab": true,"blade.format.enable": true,"[blade]": { "editor.autoClosingBrackets": "always"},
This will enable tab completion for Emmet tags if the blade formatting is enabled.
For more information on the available Snippets, be sure to check out the documentation:
This is probably my personal favorite! This Laravel Snippets extension adds code snippets to the appearance of Request::
, Route::
etc.
Some supported fragment prefixes include:
About available fragments For more information, be sure to check out the documentation here:
When you try to Isn't it annoying when you use {{ }}
in a Blade view and your entire line returns 4 spaces? Well, luckily, this Laravel Blade Snippet solves that problem!
The Laravel blade fragment extension automatically adds spacing to your blade template tags:
For more information, be sure to check out the documentation here:
I personally always prefer using the command line, but I must admit this Laravel Artisan extension is awesome! It allows you to run Laravel Artisan commands directly from Visual Studio Code!
The main functions of Some are:
For more information, be sure to check out the documentation here:
ThisLaravel Extra IntelliSense extension provides auto-completion for Laravel in VSCode.
This extension has the following autocomplete features:
For more information, be sure to check out the documentation here:
As the application grows, the number of controllers also grows, so at some point, you may end up with hundreds of controllers. Hans's wayfinding can be tedious.
This is exactly the problem Laravel-goto-controller VScode extension solves.
This extension allows you to press Alt
and click on a controller name in a route file, and it will guide you from the route to the corresponding controller file:
For more updates For more information, please view the documentation:
is very similar to the Laravel goto Controller extension extension, Laravel goto View VScode extension Allows you to go to View files from Controller or Route. This can save you a lot of time!
You can click to jump to the first matching Blade view file using Ctrl
or Alt
:
For more information, be sure to Check out the documentation here:
This is very simple, but very convenient. This DotENV VS Code extension is used to highlight the syntax of .env
files, which is very handy for finding some issues.
For more information, be sure to check this Documentation at:
If you like all these extensions, you can check out for Visual Studio Code's Laravel Extension Pack where you can get all the mentioned extensions as 1 bundle
The only extension not included in the package is the Laravel Blade snippet, so make sure to install it separately!
I hope this is useful to you!
Original address: https://devdojo.com/bobbyiliev/8-awesome-vs-code-extensions-for-laravel-developers
Translation address: https:// learnku.com/laravel/t/71392
[Related recommendations: laravel video tutorial]
The above is the detailed content of 8 Awesome Laravel Development Extensions for VSCode. For more information, please follow other related articles on the PHP Chinese website!