Currently uses jsbeautify. A choice of html formatter could be offered eg prettier
Great idea, I'm for it.
Especially since "JS-beautify" has stopped developing (the author clearly has no time for further progress?)
Hello again @bmewburn
Sorry to bother you, but maybe this ticket has been forgotten
So I would like to ask about any chance to introduce this function ??
I don't think prettier is any better at formatting mixed HTML/PHP than jsbeautify tbh.
I don't think prettier is any better at formatting mixed HTML/PHP than jsbeautify tbh.
Keep in mind that JSBeautify doesn't have good support. The Owner has no time to solve problems. This project has no future in the current situation:

According to the jsbeautify documentation there are two options "unformatted_content_delimiter" or "unformatted". I put .jsbeautifyrc in root of my current/open project but can't get anything to work.... VS Code can't format mixed HTML/PHP without messing it up
Please keep the issues clean. This is a ticket with a different problem from yours that you just described
Really looking forward to this feature 馃憤
Pardon my ignorance on the subject, but does VS Code provide any APIs for deferring formatting of a specific scope to another formatter registered in the editor? Such that Intelephense could defer formatting to the default formatter used for the HTML scope. Or does this feature require changes on the language server level?
Most helpful comment
Hello again @bmewburn
Sorry to bother you, but maybe this ticket has been forgotten
So I would like to ask about any chance to introduce this function ??