Closed starball5 closed 5 months ago
This would have to be fixed in the HTML language server. Currently is uses the same formatter for both HTML and CSS.
It could use the CSS formatter settings, but the CSS and HTML are different extensions, where each can rely on different formatters that have incompatible settings.
So the better approach would be to add additional settings to the html
settings.
I read here that this is the language service that provides support for CSS language features in HTML style tags. I also noticed that settings like
css.format.braceStyle
don't seem to apply in style tags in HTML. Is that by design? Is VS Code's builtin HTML language support extension using this service for formatting CSS in style tags? This was brought to my attention due to https://stackoverflow.com/q/77989348/11107541.