Laravel Pint Fixer for VSCodeLaravel Pint Fixer is an unofficial extension for Visual Studio Code that adds the ability to automatically format PHP files using Laravel Pint. Getting started1. Install the extension Go to the Visual Studio Code Marketplace and install the Laravel Pint Formatter extension. 2. Install Laravel Pint Globally Make sure Laravel Pint is installed globally. Run the following command:
This will make Laravel Pint available on your system. 3. Configure the Extension Add the following settings to your VSCode
Examples of correct paths by OS:
4. Specify a Default Configuration File (Optional) By default, the extension will use the pint.json configuration file in the root of your workspace if it exists. If no configuration file is found, the default Laravel Pint configuration will be used To override this behavior, you can specify an absolute path to a default pint.json file:
|