R# File Header Text not being applied
With this plugin installed, and a custom header defined in Options -> Code Editing -> File Header Text, running code cleanup on an individual file results in the wrong header being created. Looks like the default header maybe.? On Options -> Tools -> StyleCop "run StyleCop as you type", "Insert text into documentation and file headers", and "Use ExcludeFromStyleCop setting in csproj files" are checked.
Do you have a sample project I can test this with, please?
Hi,
I have the same issue. I switched from a stand-alone stylecop installation to this ReSharper plug-in. It works quite well. But I cannot find, where to set the header information texts. This was formerly in the stylecop settings dialogue (right click on project in solution explorer -> stylecop settings). I entered something into the Resharper Settings (Code Editing - File Header Text) but this text is not used when the header is generated. It just shows:
// <copyright file="Filename.cs" company="">
//
// </copyright>
// <summary>
// Defines the DatabaseInfo type.
// </summary>
Any help is appreciated :)
Susanne
Hello,
similar problem here. The correct header text has been entered under
Code Editing | File Header Text
and this text is actually applied when using Cleanup Code (Ctrl + E, Ctrl + C), also for individual files. But the default header is inserted when using Alt + Enter, Enter.