Split second class out to a new file needs to create new header.
The optimisation to split out a second class from a file is very useful but it needs a small modification to make it Style Cop compliant. Resharper would need to hold the company name but it should then be able to produce the start of a standard header.
// <copyright file="FILENAME.cs" company="%COMPANY NAME%">
//
// </copyright>
The class purpose would still need to be filled in, but would be a good step towards producing style cop compliant code by default.
Please sign in to leave a comment.
Hello,
You can specify a file header under ReSharper | Options | Languages | Common
| File Header and then reformat the newly created file with a code cleanup
profile that includes file header update. File header doesn't support macros
yet, but you're welcome to monitor the status of the following request: http://youtrack.jetbrains.net/issue/RSRP-200679.
Thank you!
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"