Automaticall insert class name into File Header Text?
Hi,
is there a way to insert the class name into the File Header Text?
I use the Microsoft (StyleCop) file header template:
-
2008
]]>
-
I want to insert the header in all my classes. But editing the class name into it would be very costly. Is there another way? I token, keyword or something like this?
TIA
Susanne
Please sign in to leave a comment.
Hello Susanne,
Unfortunately, not yet. We are considering this to be added in one of the
future versions.
Sincerely,
Ilya Ryzhenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
SK> Hi,
SK>
SK> is there a way to insert the class name into the File Header Text?
SK>
SK> I use the Microsoft (StyleCop) file header template:
SK>
SK> -
SK> -
SK> SK> 2008 SK> SK>]]> -
SK> -
SK> I want to insert the header in all my classes. But editing the class
SK> name into it would be very costly. Is there another way? I token,
SK> keyword or something like this?
SK>
SK> TIA
SK> Susanne
Hello Ilya,
thank you for this information!
Ciao
Susanne
I solved this with the new version of StyleCopForReSharper. They insert the header according to Source Analysis rules with the file name, copyright and company (from style cop settings file).