Under the Tools menu is the Markup Attribute Sorter menu items. The Addin comes preconfigured with xaml support. When the current document is a xaml file, you can select the “Sort this markup” menu option and the addin will sort the attributes according to the defined rules. By default, the first tag will have each of it’s attributes on a separate line. All subsequent tags will have their priority attributes listed first and then the rest of the attributes will be listed in alphabetical order. You can also set the maximum number of attributes that a tag can have before it puts them on separate lines. |