Environment
I am using Microsoft Visual Studio 2013 Update 4
with ReSharper 9.0 Update 1
.
I have ReSharper.StyleCop (for R# 9)
(https://github.com/kubiix/ReSharper.StyleCop) ReSharper plugin installed version 4.7.50-beta3
:
The problem
Operations like removing unused usings in a file seems to execute the silent cleanup which, unconfigurably, inserts file header and documents all class members.
If I have this code:
using System;
public class Class
{
}
And choose the StyleCop option to Remove unused directives in file
the code becomes:
// --------------------------------------------------------------------------------------
// <copyright file="RunThisCode.cs" company="">
//
// </copyright>
// --------------------------------------------------------------------------------------
public class Class
{
}
Question
The cause of the problem seems that the Code Style page of ReSharper configurations shows an Update File Header Style
entry for StyleCop which is set to Insert header if it's missing
.
Unfortunately, there seems to be no option for the moment to completely deactivate that header (e.g. by an option Do not change
).
Is there a way to overcome this problem? Or is there a way to globally disable file headers documentation in ReSharper?
ReSharper.StyleCop
plugin is still not available forReSharper 9.1
– Magician