ReSharper 4.0 – Cool Features
There are quite a few new features to ReSharper 4.0 that are great, but it’s the little things that really can impress and speed up usage. A few of my favorites are below.
ReSharper now supports Go To > and statement completion according to camel casing. If you’re like me, you tend to write normal sentences in camel case—it’s just habit.
Using the camel casing, it picks up the variable I just created, not the class.
I’ve become addicted to the simplicity of lambdas—they express intent and you can read them like sentences. ReSharper 4 does an excellent job of digging into the anonymous type and pulling up IntelliSense information.
x.ResponseTypeId == responseTypeId)
From the ResponseChoicesController, select one that meets the requirements that IsDefault is true and ResponseTypeId is equal to the specified responseTypeId. To me, and I’m sure I’m odd, that is easier to read than the “written” LINQ code.
Convert Static to Extension.
This is FANTASTIC for revamping existing code to take full advantage of the .NET 3.5 Framework. I’ve been working on a project the past few weeks to migrate a .NET 2.0 project using Enterprise Library 3 up to 3.5 and LINQ-to-SQL and this addition has been fantastic to move data and business logic into controllers and the LINQ data context.