JetBrains Rider 2021.3 Help

File Header Template

This page of JetBrains Rider options allows you to specify a default file header that JetBrains Rider will insert as a comment into C# or C++ files when you apply Code Cleanup with a profile that allows inserting and updating file headers or when you create a new file from template.

You do not have to include comment delimiters in the file header text. JetBrains Rider will automatically insert proper delimiters for the specific language when the header text is applied.

File header text

This field contains plain text with optional variables that will be added in the beginning of files and wrapped in comment delimiters.

Variables

The variables displayed to the right of file header text have rather self-explanatory names and you can use it in the header text to keep it up to date without manual changes. Click a variable to insert it in the header at the current cursor position.

Embrace File Header into Region with Name

Name for a region that the file header will be wrapped up with. If this field is left empty, file header is not surrounded by region.

Last modified: 07 April 2022