Is there an option in Visual Studio 2010 or does anyone know of a plugin that allows you to sort the xml / xaml attributes in alphabetical order?
I would like to be able to press a hot key and have the following:
<Button Grid.Row="1" IsEnabled="True" IsDefault="True" ContentTemplate="{DynamicResource InsertButtonContentTemplate}" Click="_insertButton_Click" Content="Insert" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Column="1" />
list its attributes and turn into this:
<Button Click="_insertButton_Click" Content="Insert" ContentTemplate="{DynamicResource InsertButtonContentTemplate}" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Right" IsEnabled="True" IsDefault="True" VerticalAlignment="Center" />
source share