Coding with Visual Studio 2014 – Say goodbye to Resharper?

JamieProvider Updates, Web Development12 Comments


The first Visual Studio 2014 Community Technical Preview is out now and I’ve been having a bit of a play with it. One of the interesting things they’ve been talking about is using the Roslyn “compiler as a service” platform in Visual Studio for building .net code.

Live error reporting

The first thing you’ll notice when developing C# code in VS2014 is that errors are flagged without needing to build the project. Finally! I personally don’t need this feature because my code is perfect first time, but there are a bunch of handy things it can show you: That fat-fingered method name, the missing semicolon, incompatible variable types, that sort of thing.

It can also give you more important errors like “You haven’t actually implemented that interface, you ninny”. Which leads me to the next cool feature: Quick Fixes.

Quick fixes

About 50% my work day is spent hitting Alt-Enter on everything I can (the rest is hitting Alt+Ins). This is Resharper’s default shortcut for Quick Fix, the magic solution to all the problems it finds in your code. Visual Studio’s Quick Fix feature works in the same way┬ábut is bound to Ctrl+. by default. It doesn’t know about nearly as many little tricks for fixing/tidying your code as Resharper does, but it handles the most common case: adding a using statement.

A Resharper favourite of mine is adding an interface to a class, hitting quick fix, and having it generate all the missing methods and properties. Much quicker than typing it all out by hand!

The Visual Studio team don’t seem to have added any new quick fixes that I can see. This is a shame – Resharper has a whole bunch of alterations it can make to your code, like adding null checks, rewriting loops as LINQ, converting automatic properties to use a backing field, and removing redundant code. Hopefully these are features they can add in the future.


Visual Studio 2014’s refactoring tools have been spruced up a bit. Renaming a local variable is super fast, and allows you to edit the name inline instead of in a pop up box. All the usual suspects are still here: Encapsulate Field, Extract Interface, Extract Method, Remove/Reorder Parameters, and Rename. There are more that don’t seem to show up in the list of keyboard-mappable actions, like Introduce Local Variable, but I can’t find a list of them all. Hopefully these are made more discoverable in the final release; and mappable so I don’t have to hunt around in a context menu to apply them.


If you just want your code checked without having to wait for a full compile cycle, then VS2014 is right up your alley. Without any extensions installed it runs very fast, and the live compilation doesn’t seem to slow it down at all. If you aren’t using any of the other extras that Resharper gives you, then this is good news. I can’t compare the compile times directly as I don’t have VS2013 installed on the Azure VM I’m testing this on, but if a basic Azure A1 virtual machine (1 2GHz CPU core, 1.75GB RAM, unknown hard drive specs) can compile Raygun as fast as my development machine (4 3.4Ghz CPU cores, 32GB of RAM, SSD hard drive) then there’s probably some speed improvements in there.

In conclusion, I won’t be ditching Resharper any time soon, but the other improvements in VS2014 make it something to look forward to.

Related articles

Five useful Resharper tips

Visual Studio Review – a look at what 2017 has in store

Next level software intelligence across your entire stack. Get deeper analysis into how your applications are really performing. Learn more.

12 Comments on “Coding with Visual Studio 2014 – Say goodbye to Resharper?”

  1. Claudio Bernasconi

    Interesting read. Thank you for your review regarding ReSharper and Visual Studio 2014.
    I experienced a remarkable speed decrease when I installed ReSharper using Visual Studio 2013. I hope that JetBrains realizes that speed is really important. Maybe they can upgrade their tool to work with Roslyn for C# compliation and gain some performance. Otherwise I might try other (smaller) extensions on Visual Studio which give me only a part of the functionality provided by ReSharper, but a lot more performance. I’m very curious so see where this goes till Visual Studio 2014 final will be released.

    1. Renato

      Resharper has already stated that they won’t use Roslyn. But I agree, resharper is a killer application, both for functionalities and loading time!

  2. Barry

    Thanks for the analysis. One advantage that ReSharper provides is the ability to search for classes (CTRL + T) or methods (CTRL + SHIFT + T) throughout an entire project. To be honest ReSharper is worth the cost alone just for the ease of navigation features. It makes working on large or coming into new projects a breeze in my experience.

      1. m

        not quite there yet, search is super slow, not very effective not smart. in R# I would type CuSer + enter and i end up in CustomerService. InVS 2015 I type same or even full CustomerService, and end up having tons of fields and whatever else could have customer service in name… I tried a lot and still not too polished.

    1. Sangram

      You can try ‘Visual studio – Productivity Power Tools extension ‘. It’s simple and easy to use.
      Just press CTRL+, and type the name of class/ method/filename. It will find everything in fraction of a second and you can jump to particular line of code.

  3. Barry Tait

    I have not seen anywhere the addition of the ability to use lambda expressions within the immediate window or the watch windows. Have I missed this or will I have to wait for VS 2015

  4. My Helper

    I was thinking about buying Re-Sharper. However having heard about its performance issues, just waiting for VS14 to be realesed.

    By the way, you mentioned it as “VS 2014” that is not the actual name, but it is “VS 14”.


Leave a Reply

Your email address will not be published. Required fields are marked *