A few ideas that I've come up with for useful features in Resharper are:
1. Automatic Property generation - I suspect that this will be
achieveable with the Code Creation Template facility, but if not I
wanted to get a vote in for this. Creating a [public | internal |
protected] property with a related private member would be nice, as
would a "Create property for member" option which allows me to
right-click on some private class variable and automatically generate a
public (or whatever) property for it.
2. Observe the following code example, with | as the position of the caret:
int foo = this.CalculateIntFromVariable(someVariable|)
Now, at this point, there is no ; at the end of the line. However, if I
were to press ; I would suggest that ReSharper should add the ; to the
end of the line, i.e.:
int foo = this.CalculateIntFromVariable(someVariable);|
As that's most likely what I wanted as a coder. The only time I can
think of that a ; would stay inside brackets is during a 'for' loop, and
every other time I actually want the ; at the end of the line.
3. An example that I recall seeing in a Java IDE (I want to say Eclipse,
but I really don't know, might've been IntelliJ IDEA ;) ) was the option
to 'Extract strings'. This would pull all strings out of the class and
convert them into private static members, making internationalization
4. One thing I miss from Eclipse is "Organize imports". This would
remove all unnecessary imports, alphabetically sort and group into
sections the imports at the top of the Java class, and add imports for
classes which were not yet imported but which were referenced (e.g. if I
referenced a Hashtable but had not yet included System.Collections,
"Organize Imports" would add a reference to System.Collections for me).
As well, in the case of an ambiguous reference, it would show me a list
of imports that I could select from so that I could choose the correct one.