Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove Header Summary - StyleCop

We use StyleCop in our project to get a common formatting of our code. Most of us also use Resharper, with which StyleCop integrates nicely.

We would like to mandate Copyright information in the header, but we do not want to mandate having the summary. So rule SA1633 is checked, and rule SA1639 is unchecked.

When we use Resharper (or more precisely, I assume, StyleCop's plugin to Resharper) to insert a file header, we get both Copyright information and a summary element. Standard procedure today is to delete the summary element, unless we actually want to write something there.

How do I stop the summary element from being automatically added?

like image 941
Alf Kåre Lefdal Avatar asked Nov 12 '22 10:11

Alf Kåre Lefdal


1 Answers

I don't know a solution for R#, however, if you add the Copyright information using another utility, e.g. License Header Manager, you do not run into that problem. Maybe that helps until R# has added this feature.

like image 178
D.R. Avatar answered Dec 22 '22 19:12

D.R.