Is your feature request related to a problem? Please describe.
Historically winforms designer code has been a bit of a pain when merging code changes. The ordering often seems random, although there is basic ordering to make sure dependencies work.
The current fix to avoid merge conflicts is to make sure developers don't make changes to designer files unnecessarily, and to make sure no body is working on forms/controls at the same time. This is obviously really unproductive.
Describe the solution you'd like and alternatives you've considered
My suggestion is to add more smarts to the designer to make sure the ordering is consistent, lexicographical order seems the most appropriate. Obviously this will need to take into account dependencies as it currently does, but hopefully the random changes are reduce. Especially when opening the designer to "view" the form and making no changes.
Other changes to reduce variability in generated code would also be welcome.
Will this feature affect UI controls?
Yes.
Is your feature request related to a problem? Please describe.
Historically winforms designer code has been a bit of a pain when merging code changes. The ordering often seems random, although there is basic ordering to make sure dependencies work.
The current fix to avoid merge conflicts is to make sure developers don't make changes to designer files unnecessarily, and to make sure no body is working on forms/controls at the same time. This is obviously really unproductive.
Describe the solution you'd like and alternatives you've considered
My suggestion is to add more smarts to the designer to make sure the ordering is consistent, lexicographical order seems the most appropriate. Obviously this will need to take into account dependencies as it currently does, but hopefully the random changes are reduce. Especially when opening the designer to "view" the form and making no changes.
Other changes to reduce variability in generated code would also be welcome.
Will this feature affect UI controls?
Yes.