Xavalon / XamlStyler

Visual Studio extension to help format your XAML source code
Apache License 2.0
1.17k stars 126 forks source link

I hope to add features that some control not use XamlStyler Formmrat #490

Open ZhuYajunFly opened 2 months ago

ZhuYajunFly commented 2 months ago

Some user controls have many custom attribute commands,The default sorting tool will disrupt the custom partitioning of attributes based on their functionality。 Like this,I Hope: Hope

but default sorting: But

I try use Enable Attribute Reordering: false ,but not work. Try1 Try2

Prodigio commented 2 months ago

Did you tried the Attribute Reordering setting?

grafik

ZhuYajunFly commented 2 months ago

Did you tried the Attribute Reordering setting?

grafik

Special and different user controls have different optimal order of arrangement,I hope there is a feature that can control whether to disable the XamlStyle sorting function in a certain section of XMAL.

eder-em commented 2 months ago

Even better would be an option to define custom "Attribute ordering rule groups BY ELEMENT type" so we will have: 1) "Attribute ordering rule groups" and the option to also create multiple 2)"Attribute ordering rule groups by Element" to fine tune attribute ordering for a given element type. If present, the second will override the first.