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
Feature Request - Move all private fields to top #369
Comments
Yes, that's our reorganizing feature. Check it out in the docs here: http://www.codemaid.net/documentation/#reorganizing |
Steve,
.
rectRoiControl.Stroke; } }
use when analyzing
As you can see there are privates after, or mixed in, with publics. What Best Regards / Mit freundlichen Grüßen, Douglas R. Jones From: Steve Cadwallader notifications@github.com Yes, that's our reorganizing feature. Check it out in the docs here: |
That's not what I would have expected. A couple things to check:
If neither of those help, if you can include a full code file sample and an export of your settings I may be able to help further. |
Is there a way to stop private fields to the top. I like to keep my full properties together? |
You can customize how things are reorganized (e.g. group fields and properties together and consider them the same thing for reorganization). There is not a way to "opt out" of certain elements being reorganized. Conceptually this would be a bit difficult as it wouldn't be clear where "opted out" elements would go in the file. |
I don't think I'm looking to "opt out" per say. I don't mind the properties being pulled to the top. I just would like the entire 'full property to stay together. `
` I prefer to keep these property 'sets' together rather than separating out the private and public properties the way codemaid does it. `
` How would I go about getting codemaid to keep the sets together? |
Ok, thanks for that clarification. There is not currently support for it, but there is an open feature request #570 |
Can CodeMaid or could CodeMaid gather up all the private variables and move them to the top of the class? Example:
public partial class MyWindow : Window { private string _name; private int _someInt; }
The text was updated successfully, but these errors were encountered: