My most common issue is the caps is still on when I get to Get in a property setter.
I know ReSharper does this, but, doesn't CodeRush? When I type:
public int Count {Get; set;}
I want
public int Count {get; set;}
Where does one change this?
My most common issue is the caps is still on when I get to Get in a property setter.
I know ReSharper does this, but, doesn't CodeRush? When I type:
public int Count {Get; set;}
I want
public int Count {get; set;}
Where does one change this?
On
Expanding on Rory's answer, you can learn more about the CodeRush templates for declaring properties here:
https://www.youtube.com/watch?v=olpK5oDWYwY&list=PL8h4jt35t1wgawacCN9wmxq1EN36CNUGk&index=10
And the feature of the week series is here: https://www.youtube.com/playlist?list=PL8h4jt35t1wgawacCN9wmxq1EN36CNUGk
I'm afraid I'm unable to replicate your initial issue. It seems that my copy of studio automatically corrects this in exactly the way you suggest.
However, in case there is some strange quirk at work for me which is failing to work for you, there is a relatively simple Coderush feature which might help you in this area.
When you wish to declare an autoproperty (as seems to be the case here) simple type:
Coderush will use a template (upgraded version of snippets) to create the following scenario for you.
From here you simply overtype the default property name of 'PropertyName' with your identifier 'Count' and then hit 'Enter ' twice.
You should now be positioned to create more properties or otherwise continue your code without ever having needed to manually express the boilerplate code.
Side Note: There is a pattern to the characters you type in this template. The 'a' stands for AutoProperty and invokes this particular template. Other options include:
Capitalizing any of these will make them static.
THe 'i' stands for integer and can be replaced with many alternatives including
And finally you can mix these up in any combination you like.
I do appreciate this isn't exactly what you asked for, but perhaps it will be of help in the situation you face.