AJM
AJM

Reputation: 32500

StyleCop Visual Studio Snippets

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

Answers (3)

Murph
Murph

Reputation: 10210

Well...

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

Upvotes: 2

John Kraft
John Kraft

Reputation: 6840

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

Upvotes: 3

Rob Fonseca-Ensor
Rob Fonseca-Ensor

Reputation: 15621

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

You'll need resharper, obviously

Upvotes: 2

Related Questions