Coding with a ‘style’

Today I was looking @ the code practice and I was thinking… what a hell i have to remember all this list of rules to write code in a standard way…. what about to have an automated way of doing that to get used to in a while 8-)….
After a quick look I found very interesting StyleCop http://stylecop.codeplex.com/

StyleCop is a source analysis tool for C#. It can be used for analysing source code as opposed to compiled assemblies which is the area for FxCop.

This would be cool if you have no predefined code-style adherence, but if you want to customize the rules, to define custom rule then use http://stylecopplus.codeplex.com/

Last note: if you like using  Resharper don’t forget this http://stylecopforresharper.codeplex.com/, yes it highlight the code rules broken as you type, cool I hope will not site down your VS, Resharper is already heavy sometimes…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s