RiFi2k / format-html-in-php

Basically this vscode extension uses all your standard configurations for html formatting, and your standard configurations for format on save, etc. It more or less works exactly how vscode should already work as it pertains to HTML in PHP files.
The Unlicense
33 stars 6 forks source link

Enable formating only for phtml files #56

Closed Droutin closed 1 year ago

Droutin commented 3 years ago

Hi, I am using prettier for my clean php code and i want that, but now when i have format-html-in-php the vscode format the file twice. Is there some option to format only phtml files and not php on save event?

everydaypanos commented 2 years ago

This is very important because it gives the flexibility to handle PHP files with HTML differently than pure PHP code files. +1