A fork of the original Xaml Styler plugin as found on http://xamlstyler.codeplex.com This fork has been created to continue development on the awesome XAML styler plugin created by Chris Chaochen. To support the efforts Chris has put into this project my fork will only support Visual Studio 2013 and higher. For Visual Studio 2012 support please install Chris his version.
- Format/Beautify Xaml markup in one click.
- Sort attributes based on following rules:
- x:Class
- XML Namespaces
- WPF built-in namespaces
- User defined namespaces
- Key, Name or Title attributes
- x:Key
- x:Name
- Title
- Grid or Canvas related attached layout attributes
- Numeric layout attributes Width/MinWidth/MaxWidth
- Height/MinHeight/MaxHeight
- Margin
- Alignment related attributes HorizontalAlignment/ContentHorizontalAlignment
- VerticalAlignment/ContentVerticalAlignment
- Panel.ZIndex
- Other attributes
- Short attributes tolerance.
- When an element contains 2 or less than 2 attributes, line break is not applied for * better readability.
- Special characters(e.g., &) are preserved.
- Respect "significant" whitespace situation.
- No new linefeed will be added to , if it is immediatly following *another element to prevent the rendering of unexpected space.
Significant Whitespace between <Run/> |
No Whitespace between <Run/> | |
---|---|---|
vs | ||
<TextBlock> |
vs |
<TextBlock> |
- Indent Xaml markup based on "Tab Size/Indent Size/Indent Charater" settings available in "Option/Text Editor/XAML/Tabs" page.
- XamlStyler specific options.
- Define your own attribute ordering rules
- Define your own attribute line break rules
- Markup extension formatting
- Automatically reformat Xaml file on saving
- Import/Export XamlStyler settings.
- Bart Lannoeye
- Kevin Dockx
- Philip Hoppe
- Pedro Lamas
- RandomEngy