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

does not work with autosave #55

Closed trivial-zero closed 2 years ago

trivial-zero commented 3 years ago

When the autosave option is on, it does something like this: GIF 5-3-2021 12-25-24 PM

I try to type table. Autosave saves the file, and the extension brutally formats the file while I am typing. I set the autosave duration to 10ms. Other formatters do not have this problem. So I guess this extension is doing formatting differently?

Is it possible to separate the formatOnSave option out of the vscode's format on save? (I use php formatting on save)