tags:

views:

74

answers:

3

I'm looking for some Visual Studio snippets for implementing style cop rules.

For instance when style cop returns an error saying my code needs a documentation header it would be useful to have a snippet that creates this header for me.

Has anyone got any snippets for implementing resolution to stylecop rules?

+2  A: 

This is the best way to automatically resolve stylecop errors: http://www.codeplex.com/StyleCopForReSharper

You'll need resharper, obviously

Rob Fonseca-Ensor
+2  A: 

I use GhostDoc for the header comments that you are referring to in your example. It works flawlessly. GhostDoc

John Kraft
+1  A: 

Well...

In terms of documentation header try typing /// on the line preceeding a declaration.

Murph