Customize Code Generation Format

I get big usage out of the Resharper Code Gen functions (Alt-Ins), however I find that the resulting formatting implementation doesn't match our standards naming conventions. Is there a way that we can customize the Code Gen output of properties, constructors, etc?

For example:

private string _name;

would generate:

Public string name
{
//...accessors
}

but I'm looking for:

Public string Name
{
//...accessors
}

Thanks in advance!

1 comment
Comment actions Permalink

Hello,

Have you checked the R# Options / Languages / Common / Naming Style page?

If it's not possible to achieve the desired result by changing its settings
(which is a quite probable thing at the moment, I have to admit), I can only
say that we're already working on improved Naming Conventions support, coming
soon.


Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”


0

Please sign in to leave a comment.