Paul Laudeman

Sponsors

The Lounge

Wicked Cool Jobs

News

  • I'm test-driven!
    TestDriven.NET

    MSN Messenger: plaudeman at hotmail dot com

Advertisement

Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
ReSharper Reflections

Brendan has been describing his recent evaluation experiences with Resharper, CodeRush, CodeSmart,  and ReFactory, and his latest conclusion that he is now a “ReSharper Convert”. Having also evaluated all of these tools myself, I’m starting to feel that ReShaper is probably the pick of the litter at this time and is probably overwhelmingly deserving of the small registration fee they ask.

One of the features of ReSharper that I find particularly useful is the ability to have ReShaper automatically insert the “using” statements for any code that I am typing on the fly. For example, if I am creating a SqlConnection object, I need to import the System.Data.SqlClient namespace to access the SqlConnection clas. However, with ReSharper, it is able to lookup and insert namespaces for code you are writing as you go:

Simply by hitting the Alt-Enter key combination ReSharper will add the “using System.Data.SqlClient” instruction to your list of using statements:

Very cool! Another related feature is the ability to “optimize” your using statements. ReSharper will detect for you any unused using statements and prompt you to let it clean up any that it detects you are no longer using. If you’re like me, you like having your source files as uncluttered as possible and this takes care of something you probably wouldn’t have worried about otherwise. (This unused code detection also applies to fields, variables, etc. and gives you the option to remove those as well.)

If you haven’t had the chance to take ReSharper for a spin yet, I highly encourage you to do so. A registration fee of $99 per user makes this product affordable for everyone.

Technorati Tags:  


Posted Sat, Sep 18 2004 8:16 AM by paul.laudeman
Filed under:

[Advertisement]

Comments

Allen Edwards wrote re: Resharper Reflections
on Sat, Sep 18 2004 2:06 PM
I'm falling in love with ReSharper, but . . . am I the only one who has run into problems with the cursor "insertion point" getting out of sync with the buffer? This becomes a REAL problem when dealing with enums, switch...case statements, and lines with errors in them. The add-in shows the cursor several characters to the left of where it REALLY is, which is not only annoying, but DAMNED annoying!
Paul Laudeman wrote re: ReSharper Reflections
on Sat, Sep 18 2004 2:26 PM
Ugh! I haven't run into that problem yet, but I'd imagine they'd be quick to fix it if we report it. They seem to have a quick turnaround on fixes.
Steve Eichert wrote ReSharper hear I come...
on Sat, Sep 18 2004 3:54 PM
ReSharper hear I come...
Valentin Kipiatkov wrote re: ReSharper Reflections
on Mon, Sep 20 2004 1:57 AM
This is a known problem, see
http://support.jetbrains.com/kb/entry!default.jspa?categoryID=28&entryID=102 to solve it.
Brendan Tompkins wrote re: ReSharper Reflections
on Mon, Sep 20 2004 2:24 AM
Paul... I love this feature too! It saves so much time hunting around for the proper namespace to import. Good post, I like the images..
Mark Bonafe wrote re: ReSharper Reflections
on Mon, Sep 20 2004 8:50 AM
Like Steve, ReSharper hear I come, too....
Devlicio.us