Format XAMLDownload from Visual Studio Marketplace or GitHub. This extension is inspired by XamlFormatter from DannOh which I used for Visual Studio 2017 and 2019. Unlike XAML Styler this extension formats XAML documents line by line without encoding to preserve the original string. This means that the formatter only indents the lines without reordering elements inline or between lines. OptionsIn the new category "Format XAML" you can disable the formatting on save and change other settings. Version 1.2Select a configuration source for indentation:
Keyboard shortcutYou can add a shortcut to the command in the Tools menu. |