ReSharper 6 Enhances Suggestions with Explanations

Hadi Hariri

Previous posts introducing ReSharper 6:

One of the new features we have added to ReSharper 6 is the ability to find out why ReSharper makes certain suggestions. Often, ReSharper can provide a suggestion such as the one shown below:


For some people this might be clear, whether or not they would agree with the suggestion. For others it might make little sense, specially developers that are often new to the language or framework. In ReSharper 6, we have added a feature* which provides more information as to why these suggestions, hints or warnings are made:


When invoking the QuickFix, by pressing Alt+Enter, ReSharper now provides a new entry which is “Why is ReSharper suggesting this?”. By clicking on this entry, you will be redirected to a Wiki on the JetBrains site where you will be provided with more detailed information in regard to the suggestion. For instance, when being displayed with the following:


By selecting the “Why is ReSharper suggesting this?” action, the Wiki site will show the following information:


Currently we have over 40 entries in the Wiki and are continuing to add more entries. We will also be updating and reviewing them with more examples were required. As always, please let us know if you have any feedback.

* There is a plug-in which is available for previous editions of ReSharper called WhySharper, which this idea was partially based on. We realized however, that to make sure the information is kept up to date, it would be better to have this functionality built into the product.

Comments below can no longer be edited.

22 Responses to ReSharper 6 Enhances Suggestions with Explanations

  1. cbp says:

    March 22, 2011

    Its this sort of attention to detail that makes JetBrains the greatest!

  2. Prajeesh Prathap says:

    March 22, 2011

    I’m a fan. Can never think of another refactoring tool for my VS.
    You guyz rock!!!

  3. Argos says:

    March 22, 2011

    Any chance we can view this wiki now?

  4. Jura Gorohovsky says:

    March 22, 2011

    Sure, here’s the wiki index:

    @Prajeesh, @cbp
    Thanks a lot!

    That’s cool but sometimes users do doubt ReSharper suggestions, and in certain cases they have all the right to: for example, the case of using or not using ‘var’ is a personal decision to take

  5. Roland says:

    March 22, 2011

    The only question is: when is the release ? You said late spring, I ask: which country late spring 🙂

    I must say R#6 is awesome.

  6. Argos says:

    March 22, 2011

    @Jura – thanks for that!

  7. Jura Gorohovsky says:

    March 23, 2011

    Late spring means May. We’re still hoping to get things ready in May.
    Thanks for acknowledging the awesomeness 🙂

  8. magellings says:

    March 23, 2011

    @Jura – looking to purchase R# soon, but would like to wait for free upgrade to R# 6 before buying version 5…any idea when this free upgrade will be available…?

  9. Jura Gorohovsky says:

    March 23, 2011

    We’re opening free upgrades to R#6 sometime in April.

  10. Sven says:

    March 23, 2011

    i guess it’s time to check if my reported issues got solved^^

  11. pyro says:

    March 27, 2011

    @Jura does that mean that I should wait until you announce the free upgrade before buying if i want to move to 6 or if I buy now will I still be eligible to upgrade?

  12. Jura Gorohovsky says:

    March 27, 2011

    If your priority is getting ReSharper benefits immediately, you buy ReSharper 5 now and you’re not eligible for a free upgrade to version 6
    If your priority is getting a free upgrade to version 6, you should hold off the purchase until we announce the free upgrade campaign

  13. Graham says:

    March 31, 2011

    I would like to see some *really* compelling and convincing reasons as why to use ‘var’. Primarily for my colleagues benefit 😉 I personally am a var-man at heart 🙂

  14. Hadi Hariri says:

    March 31, 2011


    Did you read my blog entry and some of the comments?

  15. Saberone says:

    April 2, 2011

    Please tell me I didn’t just buy a license at a bad time! I would’ve held out a bit longer if I knew the release was in May.

  16. DotnetShadow says:

    July 9, 2011

    I installed the released version of Resharper 6.0 but I don’t see that option in quick info, I tried various examples but none seem to show it. I did install EAP versions earlier could there be a problem?

  17. Jura Gorohovsky says:

    July 9, 2011

    By quick info, do you mean the drop-down menu that opens once you press Alt+Enter?
    The “Why is ReSharper suggesting this?” list item is not available for every inspection, just for some of them.
    Prior installation of EAP builds is not known to influence subsequent official builds.

  18. Nick Portelli says:

    September 7, 2011

    Can you turn it off? I find it rather annoying.

  19. Jura Gorohovsky says:

    September 8, 2011

    No there’s currently no way to turn it off.
    Why do you find it annoying? Are you accessing Inspection Options and Suppress Inspection commands frequently?

  20. Hadi Hariri says:

    September 8, 2011


    As far as I know, you cannot. You can however file a request at to see if it’s viable to make it an option.


  21. Alex says:

    November 1, 2011

    @Hadi: Thanks alot for this great update for ReSharper 6. I just bought the license a few days ago and this is exactly what I was looking for.

    Can we expect more updates regarding Explanations in the future?


  22. Hadi Hariri says:

    November 2, 2011


    We’ll be updating these as necessary.



Subscribe to .NET Tools updates