ICPooreman
asked on
.Net C# code cleanup
Ok so I've been adding to this C# class that I've written and over time its become totally unorganized. I'm new to .net so I'm not sure if I can do this but is there a tool that does basic code cleanup.
Mainly what I want is to alphabetize all the functions and the classes local variables as my codes been getting less readable as things have been getting added and that would really help. Anybody with any .Net experience have any ideas as to if .Net has a code cleanup function.
I've seen the edit>format thing which works ok but I'm mainly after alphabetizing my functions and variables.
Mainly what I want is to alphabetize all the functions and the classes local variables as my codes been getting less readable as things have been getting added and that would really help. Anybody with any .Net experience have any ideas as to if .Net has a code cleanup function.
I've seen the edit>format thing which works ok but I'm mainly after alphabetizing my functions and variables.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I was going to suggest Resharper as well. I've used this add-on for quite some time now and I'll be honest.. I cannot do without it now. It is really helpful and saves quite a bit of time.
ASKER
Wow I just downloaded resharper... I've only been playing with it for several minutes but I'm already quite impressed. Thanks this did the trick.
maybe I should download it too, if all of you are so enthusiastic about it ;-)
> Wow I just downloaded resharper... I've only been playing with it for
> several minutes but I'm already quite impressed. Thanks this did the trick.
glad it helped you so well. Like I said: I should try it myself perhaps to cleanup some customer's code ;-)
Don't forget on the comment of tculler: using regions is quite a good thing and can be more helpful then alphabetizing... But that depends on your need, of course.
> Wow I just downloaded resharper... I've only been playing with it for
> several minutes but I'm already quite impressed. Thanks this did the trick.
glad it helped you so well. Like I said: I should try it myself perhaps to cleanup some customer's code ;-)
Don't forget on the comment of tculler: using regions is quite a good thing and can be more helpful then alphabetizing... But that depends on your need, of course.
Open in new window