Why do I need resharper?

I thought that I'd put together this blog explaining some of the most useful benefits I've found as a long time user of Visual Studio without and extra bells and whistles of a third party refactoring plugin.

One of the nicer features that I make extensive use of in my current project (which is a solution with 19 projects and probably near a thousand different classes) is the Camel Cased type and method search.  Instead of opening up the solution explorer and sifting through a long list of files, I can simply hit Ctrl-T and type the upper case letters of the class I need.  If I want to see the CustomFieldDesignerViewController class, I start typing, C-F-D-V-C and the list of matches will be reduced to only those who have upper case letters in that order.  The same "Camel Hump Casing" that applies to the type search also applies to the method search, and to the intellisense.  When I want a line that says:

CustomSomethingDropDownList x = value;

All I have to do is type C-S-D-D-L and the intellisense will be automatically filtered to only the things which match that camel casing.  The saves an incredible amount of time with typing by allowing the correct items to be selected faster than having to type out the first maybe 10+ characters to get to what you want (esspecially on projects when a lot of the classes start with the same first names, etc)

The second thing that has come in extremely useful that resharper does is that it finds "illogical" logic.  For instance, if I were to say:

If (x == 1)
{
}
else if (x ==1)
{
}

Resharper will highlight this else and explain that this will never happen.  Now in my example this is clearly very easy to see from reading it.  But imagine if you had a series of if/else statements with more complicated logic.  It's very useful to be able to detect these because it typically points out a mistake in a branch of the logic as opposed to a useless section.  This saves an immeasurable amount of time by helping proactively identify bugs before they become bugs.

The highlighting that comes with Resharper is also extremely more detailed then what comes standard with Visual Studio.  Now a lot of people would argue that this highlighting is unnecessary.  It points out a lot of issues which range from "hints" to "errors".  Errors that might otherwise not show up until trying to compile (and compiling a 19 project solution is no small amount of time).  The best part about these issues is that with a simple click of ctrl-enter resharper can typically fix most errors for you.  This also has the added benefit of teaching programmers if they have a habit of doing something that is in reality, unnecessary.  It also helps large groups come up with standards (as resharper's hints and errors are configurable) that everyone can agree to follow.

These are just a few of the many benefits, I'd feel remiss if I didn't at least mention the enhanced refactoring support, enhanced template support, and automated using inserting (for extension methods, which visual studio does not yet support).

Take a look at the Re-sharper 4.0 EAP's if you can, it's certainly worth checking out.

Print | posted @ Thursday, March 06, 2008 3:43 AM

Comments on this entry:

Gravatar # re: Why do I need resharper?
by online poker at 6/9/2011 5:13 AM

Your article is overwhelming, the topic is well blended. some people view graphology just like any other practice but its very essential art bit.
Gravatar # re: Why do I need resharper?
by High Energy at 7/11/2011 7:19 AM

It’s Valuable information for all. I will recommend my friends to read this for sure. Thank you for the work.

Gravatar # re: Why do I need resharper?
by motor traders insurance at 7/19/2011 9:20 AM

Hello you I do absolutely dig your nice article, I would feel very honored if you allow me to publish a adorable review on your incredible web blog in my Blog Site would you be OK with that?
Gravatar # re: Why do I need resharper?
by steel suppliers at 7/27/2011 1:28 PM

I would like to share it with all my friends and hope they will like it too.
Gravatar # re: Why do I need resharper?
by dissertation writing service at 8/12/2011 1:14 AM

This is such a great resource that you are providing and you give it away for free. I love seeing websites that understand the value of providing a quality resource for free
Thanks for the informatio
Gravatar # re: Why do I need resharper?
by social media marketing agency at 10/11/2011 9:40 AM

Hi, i loved your post and bookmark this one. Its really good one. thanks
Gravatar # re: Why do I need resharper?
by cannes real estate at 10/12/2011 5:40 PM

Thank you for the extremely impressive article. It has great detail that are easy to understand and it also has great tips. I can't wait to read more of your blogs.
Gravatar # Brite View Air
by Brite View Air at 10/14/2011 10:29 AM

nice admin thanx
Gravatar # re: Why do I need resharper?
by Atlanta escorts at 10/15/2011 9:10 AM


I have learned many important things from your post and i want to thank you for sharing this post.
Gravatar # dell inspiron mini 1012 specs
by dell inspiron mini 1012 specs at 10/20/2011 6:36 AM

100 nice great very thanx
Gravatar # free credit report no credit card
by free credit report no credit car at 10/26/2011 7:57 AM

thanx nice
Gravatar # re: Why do I need resharper?
by memory foam mattres stopper at 10/26/2011 8:30 AM

memory foam mattres stoppe
Gravatar # re: Why do I need resharper?
by cheap plane tickets at 10/26/2011 8:31 AM

cheap plane ticket
Gravatar # re: Why do I need resharper?
by work from home jobs at 10/26/2011 8:32 AM

work from home job
Gravatar # re: Why do I need resharper?
by amortization calculator at 10/26/2011 8:34 AM

amortization calculato
Gravatar # re: Why do I need resharper?
by heartburn at 10/26/2011 8:35 AM

heartburn
Gravatar # re: Why do I need resharper?
by cholesterol levels at 10/26/2011 8:37 AM

cholesterol level
Gravatar # re: Why do I need resharper?
by cheap cars at 10/26/2011 8:38 AM

cheap cars
Gravatar # re: Why do I need resharper?
by cancun mexico at 10/26/2011 8:39 AM

cancun mexic
Gravatar # re: Why do I need resharper?
by high blood pressure at 10/26/2011 8:40 AM

high blood pressur
Gravatar # re: Why do I need resharper?
by baby shower invitations at 10/26/2011 8:41 AM

baby shower invitations
Gravatar # re: Why do I need resharper?
by gold prices at 10/26/2011 8:42 AM

gold prices
Gravatar # re: Why do I need resharper?
by healthy food at 10/26/2011 10:05 AM

healthy food
Gravatar # re: Why do I need resharper?
by pellet stoves at 10/26/2011 10:06 AM

pellet stoves
Gravatar # re: Why do I need resharper?
by document sand settings at 10/26/2011 10:07 AM

document sand setting
Gravatar # re: Why do I need resharper?
by used textbooks at 10/26/2011 10:08 AM

used textbook
Gravatar # re: Why do I need resharper?
by pros and cons at 10/26/2011 10:10 AM

pros and cons
Gravatar # re: Why do I need resharper?
by grand teton national park at 10/26/2011 10:11 AM

grand teton national park
Gravatar # re: Why do I need resharper?
by body mass index at 10/26/2011 10:12 AM

body mass index
Gravatar # re: Why do I need resharper?
by pregnancy tests at 10/26/2011 10:13 AM

pregnancy tests
Gravatar # re: Why do I need resharper?
by signs of pregnancy at 10/26/2011 10:15 AM

signs of pregnanc
Gravatar # re: Why do I need resharper?
by food pyramid at 10/26/2011 10:16 AM

food pyramid
Gravatar # re: Why do I need resharper?
by bowling balls at 10/26/2011 10:17 AM

bowling balls
Gravatar # re: Why do I need resharper?
by world wonders at 10/26/2011 10:18 AM

world wonders
Gravatar # re: Why do I need resharper?
by calorie counter at 10/26/2011 10:20 AM

calorie counter
Gravatar # re: Why do I need resharper?
by chicken breast recipes at 10/26/2011 10:21 AM

chicken breast recipes
Gravatar # re: Why do I need resharper?
by bridesmaid dresses at 10/26/2011 10:22 AM

bridesmaid dresses
Gravatar # re: Why do I need resharper?
by birthday cake at 10/26/2011 10:23 AM

birthday cake
Gravatar # re: Why do I need resharper?
by solar system at 10/26/2011 10:24 AM

solar system
Gravatar # re: Why do I need resharper?
by media player at 10/26/2011 10:26 AM

media player
Gravatar # re: Why do I need resharper?
by free resumes at 10/26/2011 10:27 AM

free resumes
Gravatar # re: Why do I need resharper?
by skin rashes at 10/26/2011 10:29 AM

skin rashes
Gravatar # re: Why do I need resharper?
by cover letters at 10/26/2011 10:30 AM

cover letters
Gravatar # re: Why do I need resharper?
by bread recipes at 10/26/2011 10:32 AM

bread recipes
Gravatar # re: Why do I need resharper?
by girl names at 10/26/2011 10:34 AM

girl names
Gravatar # re: Why do I need resharper?
by boy names at 10/26/2011 10:35 AM

boy names
Gravatar # re: Why do I need resharper?
by zodiac signs at 10/26/2011 10:36 AM

zodiac signs
Gravatar # re: Why do I need resharper?
by staph infection at 10/26/2011 10:37 AM

staph infection
Gravatar # re: Why do I need resharper?
by short hair styles at 10/26/2011 10:38 AM

short hair styles
Gravatar # re: Why do I need resharper?
by tax return 2011 at 10/26/2011 10:40 AM

tax return 2011
Gravatar # kindle fire black friday
by kindle fire black friday at 11/12/2011 3:58 AM

kindle fire black friday
Gravatar # Kindle Touch
by Kindle Touch at 11/14/2011 10:33 AM

rttttKindle Touch
Gravatar # Kindle Touch Black Friday 
by Kindle Touch Black Friday  at 11/14/2011 10:39 AM

aKindle Touch Black Friday 
Gravatar # Kindle Touch Black Friday 
by Kindle Touch Black Friday  at 11/14/2011 11:08 AM

sdsdsKindle Touch Black Friday 
Gravatar # Kindle Touch Black Friday 
by Kindle Touch Black Friday  at 11/14/2011 11:20 AM

bbbbKindle Touch Black Friday 
Gravatar # kindle fire black friday
by kindle fire black friday at 11/16/2011 12:37 PM

kindle fire black friday

2
Gravatar # kindle fire black friday
by kindle fire black friday at 11/16/2011 12:41 PM

kindle fire black friday
2
Gravatar # Diamond Jewellery
by Diamond Jewellery at 11/22/2011 9:49 PM

I think you have a very good blog here, it has nice collection of writ-ups. For some nice and precious collection of jewellery please visit me.Thanks
Gravatar # re: Why do I need resharper?
by gps reviews at 12/26/2011 7:23 AM

This is a rare article, well written. The subject of the article is well written, more prominent. Relatively new topic is a very good article.
Gravatar # re: Why do I need resharper?
by Tiffany Co at 12/26/2011 9:47 PM

Tiffany & co There has been enough people today with the readership within Place Vineyard down-town yesterday morning just who talked about that Ur-Marianne, louis vuitton handbags that shy 17-year-old just who possessed tiptoed the way for you to stardom at the effectiveness of which will song you choose, Tiffany jewelry authored by an important love-struck Mick Jagger, through Keith Richards. burberry scarf And even ample amounts who had been fascinated via the timeworn persona belonging to the relatively, Tiffany rings convent-educated waif on wide lace and even purple velvet plucked belonging to the retail stores in King’s Way.
cheap louis vuitton handbags Many others reacted alot more warmly with the midlife Milliseconds. Faithfull humming “Broken Native english speakers, ” Tiffany necklace that violent anthem which will signaled the resurrection afterwards belonging to the ’burberry scarf sale seventies on a period in drug-induced exile.
It was subsequently an important tired, burberry cashmere scarf and even distrustful, Milliseconds. Faithfull just who chipped as a result of rehearsals around the Gibson Beginner guitar Companies on Midtown yesterday morning to help you reminisce. Tiffany jewelry set However couldn't contain labeled as the frail.
Gravatar # re: Why do I need resharper?
by Term life insurance at 1/6/2012 2:32 AM

Useful information like this one must be kept and maintained so I will put this one on my bookmark list for my research. Thanks for this wonderful post anyway and hoping to see more info like that.
Gravatar # re: Why do I need resharper?
by 2013 calendar at 1/7/2012 4:28 AM

nice
2013 calendar
Gravatar # re: Why do I need resharper?
by 2012 calendar printable  at 1/7/2012 4:32 AM

2012 calendar printable 
nice
Gravatar # re: Why do I need resharper?
by one time credit report at 1/7/2012 4:36 AM

one time credit report
nice
Gravatar # re: Why do I need resharper?
by seo companies at 1/28/2012 6:31 AM

The content is extremely interesting, you provoke thinking and the page layout is eye catching. I have bookmarked this blog and look forward to reading more.
Gravatar # re: Why do I need resharper?
by josh at 1/31/2012 11:11 AM

great pyramid of giza The seven World Wonders list of the ancient times was initially recorded approximately in the 2nd century BC. 

Gravatar # re: Why do I need resharper?
by Nicotine test at 2/3/2012 6:13 AM

This is a fantastic web site. Good polished user interface and very informative blogs. I will be coming back soon, thanks for the great blog. I have found it really useful.
Gravatar # renewable term life insurance
by renewable term life insurance at 3/6/2012 3:37 AM

I am very much pleased with the contents you have mentioned.I wanted to thank you for this great article.I enjoyed every little bit part of it and I will be waiting for the new updates.
Gravatar # re: Why do I need resharper?
by Oakley Sunglasses Sale at 3/7/2012 10:32 PM

Once more, the woman's range of shoes had been in contrast to other things observed upon Ls catwalks, discount oakley sunglasses durable systems within not likely combos associated with leather-based which appeared as if refined furnishings, put on aged skin, gleaming suede as well as difficult steel buckles. Therefore, although it had been the final essential display within the a month associated with style exhibits, oakley sunglasses discount this particular most recent trip through Miu Miu is going to be probably the most important of selections. As well as, more to the point, it'll enable ladies associated with flavor nowadays.
Gravatar # re: Why do I need resharper?
by Domain register at 3/15/2012 8:19 AM

Thank you for the simple post you have put up here..
Gravatar # Architect
by Interior decorators in delhi at 5/14/2012 9:30 AM

I enjoyed every little bit part of it. I am always searching for informative information like this.
Gravatar # re: Why do I need resharper?
by Credit Card Debt Relief at 5/15/2012 2:56 AM

elegant post Credit card debt can be literally debilitating in terms of financial matters. Not only will it cause you to become paralyzed as far as what you can afford to finance and pay for but it will also put negative marks on your credit, thereby lowering your credit score.
Gravatar # re: Why do I need resharper?
by best architect in delhi at 5/17/2012 5:21 AM

This page is very informative and fun to read. I appreciated what you have done here.
I enjoyed every little bit part of it. I am always searching for informative information like this.

Your comment:

Title:
Name:
Email:
Website:
 
Italic Underline Blockquote Hyperlink
 
 
Please add 7 and 4 and type the answer here: