-
-
Notifications
You must be signed in to change notification settings - Fork 481
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
In past I have chosen prettyhtml
for Volar after comparing some HTML formatters, prettyhtml
has always worked fine, but for some reasons I decided to replace the built-in HTML formatter with vscode-html-languageservice
in 0.34.0.
- It has only a few known bugs but the repo is not longer maintained so we can't expect bugs to be fixed.
- It is not supported for Namespace Components.
vscode-html-languageservice
format result has been improved, much better than in the past in my experience.vscode-html-languageservice
is a built-in dependency of volar, so we don't to add other dependencies for this change.- With
vscode-html-languageservice
volar can reuse vscode HTML format settings as much as possible. prettyhtml
depends onprettier
, andprettier
does not support on browser, so for Web IDE support I need to use solution other thanprettyhtml
.
prettyhtml
will be migrated to an external plugin (#1027) and I will publish a package for it, for projects wishing to keep using prettyhtml
, I will show how to do this. (Please keep an eye on the 0.34.0 changelog)
mariusa and reslearsoulsam480, mariusa and reslear
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request