Hi
Jeff Donnici wrote:
What specific features are there in Resharper that better "enable"
> TDD/Agile development?
Things I like about Resharper, and want to see in Code Rush/Refactor Pro,
in Resharper you can write code like
1. new MyObject(); which is expanded into MyObject variableName = new MyObject();
2. if MyObject is not currently defined as a class, you can automatically define in in the correct project, with namespaces etc
3. having defined IMyInterface myObject = new MyObject(); you can type myObject().function(a,b); and Resharper will allow you to add the method signatures to both the interface and the class.
4. you can auto define a variable from a return type of a method
5 Errors in the code are highlighted in real time, (like VB) which is great if you are using NAnt or MSBuild scripts to build and run the project.
The list of things I like about Code Rush is way too long to put here, but when using Resharper I miss the outlining that CodeRush supplies, and its non intrusive nature, CodeRush/RefactorPro are very passive, they will only do things when asked, and there are no dialog box's, the downside of this is that finding features is harder, and I feel that i am not getting the best out of the product that I can. Resharper on the other had is very active, and pushes ideas forward, which makes feature finding easier, and the user feels that they are using the product to the full. I do prefer the Code Rush way of doing things, as I know what I am coding, but being able to create the interface and method stubs etc from within the test code would be great.
As for pointing out errors before compile, that requires some sort of background checking, which I am sure Mark and the Gang could do, for me this its top feature, but I am not sure if it wouldn't slow down VS too much.
I have written a small Refactor plug in that does item one in the above list (badly), I chose Refactor because I like the menu, and although its not really a refactor, tyeing the code, and hitting the refactor key to generate the definition, or stub seamed the most natural way to go, and I am planning to have a go at the others, but would love to see these appear as code rush features. The more time I can spend in my Test code creating stubs, for things the better.