Update File Header - how to insert blank comment line at end?


My File Header Text looks like this:




Copyright Foo Company $CURRENT_YEAR$



Not including the dashed lines. It contains a blank line before and after the lines with visible text.  When I cleanup the file, this is what gets inserted:


// Class1.cs
// Copyright Foo Company 2020


I would like it to have a trailing blank // line. I'm fairly certain this used to work the way I want it to. I've tried have a trailing blank line in the template, and also a blank line with a space in it. Neither works.

Any suggestions? Or is this possibly a bug?


Hello Jerry,


I cannot reproduce this issue in ReSharper 2019.3.4 or in the latest ReSharper 2020.1 EAP build.

Could you please specify ReSharper version you are using?

Also, please provide all dotSettings files from ReSharper | Manage Options | right-click on each layer | Export to file. You can share all files using "Submit a request" form at the top of the page.

Thank you.


Sorry, I meant to put that! I'm using ReSharper 2019.3.4, build on 2020-02-26, with VS 2019 16.5.1.


Added support request with files.


As a result of the problem investigation the following bug report was filed - https://youtrack.jetbrains.com/issue/RSRP-478905.

Please follow the issue to get the latest updates on it.

Thank you.


Please sign in to leave a comment.