Does Visual Studio have the ability or has a VS plug-in that will reformat the ASP.NET and HTML markup (i.e., do nice printing). In particular, I want it to put all properties or attributes in alphabetical order for each tag, perhaps with some exceptions that the user can specify, for example, in the configuration file. In addition, each property or attribute could be placed on a separate line, again in accordance with the user specification.
For example, consider the following:
<asp:TextBox ID="txtPlanStart" runat="server" ToolTip="start date" Columns="8">
Reformatted Version:
<asp:TextBox ID="txtPlanStart" runat="server"
Columns="8"
ToolTip="start date" />
Please note that the reformatted version is not strictly in alphabetical order or on separate lines, because the identifier and runat are the first. Again, exceptions for reformatting can be specified by the user.
If this feature is not available integrated into VS, is there any other utility?
source
share