This extension is NOT official from the Laravel team. Take a look into the official project.
Integrates Laravel Pint into your VSCode projects for automatic code formatting.
Just install and enable the extension, remember to configure the option laravel-pint.executablePath
setting it as an absolute (if you installed it as a composer global dependency) or relative path (to your workspace). For your convenience, this option defaults to your local workspace path (vendor/bin/pint
).
Then save any file and it will auto-format it for you, or press Ctrl+Shift+P
on Windows (Cmd+Shift+P
on Mac OS) and type "Format document using Laravel Pint" this will format the current active file.
Logo (icon) is property of Laravel Team or Laravel Pint project.
This project is open-sourced software licensed under the MIT license.