Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ZhuYajunFly opened this issue May 28, 2024 · 3 comments
Open

Comments

@ZhuYajunFly
Copy link

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
Copy link

Prodigio commented May 29, 2024

Did you tried the Attribute Reordering setting?

grafik

@ZhuYajunFly
Copy link
Author

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
Copy link

eder-em commented Jun 18, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants