Reputation: 32500
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?
Upvotes: 0
Views: 368
Reputation: 10210
Well...
In terms of documentation header try typing /// on the line preceeding a declaration.
Upvotes: 2
Reputation: 6840
I use GhostDoc for the header comments that you are referring to in your example. It works flawlessly. GhostDoc
Upvotes: 3
Reputation: 15621
This is the best way to automatically resolve stylecop errors: http://www.codeplex.com/StyleCopForReSharper
You'll need resharper, obviously
Upvotes: 2