ReSharper
 
Get ReSharper
You are viewing the documentation for an earlier version of ReSharper.

File header style

Last modified: 21 July 2022

Using file headers for copyright notices and other identifying messages is a common practice. ReSharper allows you to configure the default header text and automatically insert it into code files of your solution.

You can configure file header either in ReSharper options or in .editorconfig files and then add it to new files created with file templates and insert it to existing files using code cleanup.

You can update file header every time you save changes in a file to make sure that your edits always comply with your code style.

This feature is supported in the following languages and technologies: