Prettier - Code formatter with PHP support on VSCode


Just a quick note: To get php support when you type 'format document' on the Command Palette, just run the next commands:

cd ~/.vscode/extensions/esbenp.prettier-vscode-x.x.x/ # x.x.x is the current version of the extension
npm install @prettier/plugin-php

Demo about how to use the awesome extension Prettier


I request your permission to obtain statistical data on its navigation on this website. If you continue to browse I consider you accept the use of cookies. This site is adapted to be compliant with the new law about General Data Protection Regulation. OK | More Information