question on generating read/write properties

Is there an option for setting the casing of generated properties?
I use the C# code convention which states that all private field should be preceded by an underscore, and should start with a small letter (camelCasing). All properties should start with a capital.

When inserting a property for int _something, Resharper creates a property something. Is there a way to set the casing for the properties?

2 comments
Comment actions Permalink

Is there an option for setting the casing of generated properties? I
use the C# code convention which states that all private field should
be preceded by an underscore, and should start with a small letter
(camelCasing). All properties should start with a capital.

When inserting a property for int _something, Resharper creates a
property something. Is there a way to set the casing for the
properties?

Thanks,
Andrey Simanovsky


0
Comment actions Permalink

Have you set "_" as an instance field prefix in ReSharper naming conventions
( "ReSharper/Options/C#/Naming Convention" Tab )?

Is there an option for setting the casing of generated properties? I
use the C# code convention which states that all private field should
be preceded by an underscore, and should start with a small letter
(camelCasing). All properties should start with a capital.

When inserting a property for int _something, Resharper creates a
property something. Is there a way to set the casing for the
properties?

Thanks,
Andrey Simanovsky


0

Please sign in to leave a comment.