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

[Transformer] Order Variables section #591

Open
bhirsz opened this issue Nov 23, 2023 · 2 comments
Open

[Transformer] Order Variables section #591

bhirsz opened this issue Nov 23, 2023 · 2 comments
Assignees

Comments

@bhirsz
Copy link
Member

bhirsz commented Nov 23, 2023

Robot style guide recommends ordering the variables based in their complexity: https://docs.robotframework.org/docs/style_guide/guide#variables

@bhirsz
Copy link
Member Author

bhirsz commented Dec 25, 2023

Transformer should be optional for now.
It should also sort in alpthabetical order (and respecting 1 -> 2 ->10). It should first sort by complexity, then by name, Both should be configurable (enable/disable sorting by complexity or by name flags).

@bhirsz bhirsz self-assigned this Dec 25, 2023
@bhirsz
Copy link
Member Author

bhirsz commented Dec 25, 2023

Whitespace and comments should be preserved - same as OrderSettingsSection.

Disablers should be respected.

Order by type (scalad/list/dict) will not be supported but could be added in the future.

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

1 participant