[Suggestion Implemented] Feature: Option for newlines? After 80 char per line or after each XML attribute.

Oct 19, 2010 at 2:54 AM

It would be nice to have an option to say:

Don't break after each XML attribute but if line length goes over 80 characters.
Or maybe break after each 4 attributes.

 

Beautifying this line

 <TextBlock TextWrapping="Wrap" FontSize="24" Text="Loading..." Canvas.Left="214" Canvas.Top="190" Opacity="0.52"/>

 

would get

 <TextBlock Canvas.Left="214" Canvas.Top="190" FontSize="24" Opacity="0.52"
            Text="Loading..." TextWrapping="Wrap" />

instead of

     <TextBlock
            Canvas.Left="214"
            Canvas.Top="190"
            FontSize="24"
            Opacity="0.52"
            Text="Loading..."
            TextWrapping="Wrap"
            />

PS: Love your extension!!

Coordinator
Oct 19, 2010 at 3:02 AM

Thanks for your suggestion and positive feedback.

Sure, I will add this option in ASAP (hopefully, I can publish an update during the weekend).

Chris