My first day with Visual Studio 2010!

April 26, 2010

Well, okay, not exactly my first. After all, I had to evaluate .NET 4.0 for re-motion when it was still beta. But last weekend, I finally got around to upgrading re-motion to VS 2010 and ReSharper 5.0, and today was my first day working with the released bits.

So, why the excitement? Certainly not because of .NET 4.0, mainly because that’s still a while away for us before we can really use the new features and a topic for another blog-post.

But, VS 2010 is still pretty cool. And fast. Loading re-motion took about thirty seconds on my machine, now it’s down to ten. ReSharper is a bit trickier. I know that it took R# 4.5 another thirty seconds to initialize its caches. R# 5.0 moved a lot of that into the background, and I think the editor is already responsive after another fifteen seconds, but full initialization still takes twenty-five seconds. So, bottom line, the time it takes to refresh the solution after an SVN update has been cut in half.

Feature-wise, both Visual Studio and ReSharper have gained a lot. There’s the spiffy WPF-based editor, complete with naturally feeling multi-monitor support and awesome window drag’n’drop support, including for a single code-file. Btw, in order to get the column guidelines, you now need the Editor Guidelines extension.

The debugger also got some really nice improvements, namely saving and exporting breakpoints, pinning the DataTips into the editor window, and having the information available after the debugging session. I recommend checking out Scott Guthrie’s Blog for additional stuff, both on VS2010 and .NET 4.0 features.

For ReSharper, the new features include solution-wide code analysis, which appears to not have a noticeable performance impact. I’ve turned it on for now, will see how it goes. I truly recommend checking out their What’s New page and their blog. For me, it’s hard to say which is the coolest, the ‘Structural Search&Replace’ ([…] configure custom, sharable code patterns, search for them, replace them, include them in code analysis, and even use quick-fixes […]) or the value and call tracking. The latter was already available with Reflector, but now I can actually find out where a value originates, a couple dozen stack-frames away.

JetBrains also messed with the identifier coloring, adding cases, and added a fun feature: highlight mutable variables. I’m thinking of giving them an evil, crimson background…

There’s tons more information on the new bits out there in the ether and I’m not going to compile a comprehensive list. At least not right now.

So long, Michael

Leave a Reply