Add file header when moving to new file?

Is it possible to get the 'Move to another file to match type name' command to add the file header to the new file?

Currently the add header can't be used as it only adds a static header (we need a dynamic one as it is updated during a commit to the source repository)  and so using it on the code clean up replaces the updated header.  I can get the haeder added to resharpers class and inteface templates and to visual studios but not to the files created using the refactoring, which is usually how most of the files end up being created.  Any ideas how to get around this?

1 comment
Comment actions Permalink

Hello Simon,

At the moment there's no way to automatically add file header to the new
files. There's a feature request in our tracker: http://youtrack.jetbrains.net/issue/RSRP-19451
and you're welcome to vote for it. Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Is it possible to get the 'Move to another file to match type name'
command to add the file header to the new file?

Currently the add header can't be used as it only adds a static header
(we need a dynamic one as it is updated during a commit to the source
repository)  and so using it on the code clean up replaces the updated
header.  I can get the haeder added to resharpers class and inteface
templates and to visual studios but not to the files created using the
refactoring, which is usually how most of the files end up being
created.  Any ideas how to get around this?

---
Original message URL:
http://devnet.jetbrains.net/message/5279838#5279838



0

Please sign in to leave a comment.