Casing options for generated instance fields
I saw a few other posts that related to this. I wanted to add one more in the off chance that this feature could make it into Resharper 4.0.
I used the Naming Style options to set my name prefix for an instance field to be an underscore. The fields for my created date, for instance, should look like this:
private DateTime _created
and my property would look like:
public DateTime Created
When Resharper generates the field names, it looks like "_Created". It would be great if there was a way to configure the capitalization.
Any chance we'll see this in Resharper 4.0?
Regards-
Eric
Please sign in to leave a comment.
Eric, I use a live template (attached) to get that effect.
Attachment(s):
template.xml