Firstly, just want to say ReSharper is an excellent tool (well done the ReSharper team).
I have a lot of old C# code that looks like the following (i.e. constants declared in uppercase):
private const double FIRST_CONSTANT = 10;private const double SECOND_CONSTANT = 20;ReSharper suggests the following refactorings:
Name 'FIRST_CONSTANT' does not match rule 'Constant fields (private)'. Suggested name is 'FirstConstant'
Name SECOND_CONSTANT' does not match rule 'Constant fields (private)'. Suggested name is 'SecondConstant'Is there a way using in ReShaper to select both these lines and apply the suggested refactoring (I have 100 of lines of code of this form so don't want to have to do each individual rename separately) ?
I note the clean "Cleanup Code..." option can be restricted to a selection but it doesn't include performing any refactorings such as the suggested renaming above ?
I'm using ReSharper 5.1 Full Edition (Build 5.1.1753.4 on 2010-10-15T15:51:30).Thanks in advance,Joel Gordon.