c# - What is the easiest way to implement a naming convention on an existing project? -
i have inherited project little bit of labyrinth - there no naming convention either, makes difficult parse. it's incredibly frustrating misread line because of , waste hour or two.
is there automated way to, instance, ensure methods have capital letter, public variables have capital letter , private variables prefixed underscore?
i myself, project large , not effective use of time.
what advice can give me coping this, short of "suck up!" ? :)
the project in c#, , using vs2010.
you can partially automate code cleanup if happen have resharper (you should! no, really, if don't have run copy), stylecop, , stylecop resharper plugin. setting (defining stylecop rules et all) non-trivial task though. depending on code base size, might or might not profitable investment.
Comments
Post a Comment