Markup auto formatting in Visual Studio 2022

While in VS 2022 working on DotVVM markup, hitting ctrl+K, ctrl+D (Format Document) does not get rid of any of the following whitespace occurences:

Yea, that would not be valid transformation the formatter can do, as the IsDisplayed value is not a binding. Bindings must start right at the beginning of the attribute value (only the quote is allowed), otherwise it’s a perfectly valid string value where whitespace matters

(In this case, string probably isn’t allowed in IsDisplayed, but the formatter should be agnostic to symbols, as they might be wrong/outdated)

Sure. And neither the following are picked up by the auto-format:
image
image

I just wanted to hint that it would be a real treat and pleasure for those whitespaces to fold together with the rest of them from the markup when cleaning up after a big day’s work :smile:.

Ok you are right, the second example should get handled