caneco / vscode-laravel-pint

Integrates Laravel Pint into your VSCode projects for automatic code formatting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel Pint for VS Code

main codecov Visual Studio Marketplace Last Updated Visual Studio Marketplace Version Visual Studio Marketplace Rating Visual Studio Marketplace Installs

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.

Getting started

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.

License

Logo (icon) is property of Laravel Team or Laravel Pint project.

This project is open-sourced software licensed under the MIT license.

About

Integrates Laravel Pint into your VSCode projects for automatic code formatting

License:MIT License


Languages

Language:TypeScript 100.0%