Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Format XAML 2022
Format XAML 2022

Format XAML 2022

Lixfeld

|
9,890 installs
| (2) | Free
Format XAML document line by line without encoding to preserve the original string
Download

Format XAML

Download 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.

Options

In the new category "Format XAML" you can disable the formatting on save and change other settings.

Version 1.2

Select a configuration source for indentation:

  • EditorConfig (default)
  • VisualStudio
  • Custom

Keyboard shortcut

You can add a shortcut to the command in the Tools menu.
Options -> Environment -> Keyboard -> Tools.FormatXAML

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft