Productivity Tip – Improve your Visual Studio performance with ReSharper

Visual Studio is my bread and butter. It has played an important role in shaping my career. In the same breath, ReSharper has helped a lot to improve my productivity and make me a better programmer. And I’m sure there are many others like me who use Visual Studio and ReSharper on a daily basis.

ReSharper – A necessary evil

Unfortunately, the Visual Studio and ReSharper combo are not very good when it comes to performance. The situation has really gone worse with Visual Studio 2019.

For me, Visual Studio 2019 along with ReSharper and corporate anti-virus had made writing code a nightmare. The performance tips available online only helped to an extent. So much so that, I had to either disable the ReSharper or my source control plugin. Disabling the source control plugin on Visual Studio is trickier than it should be as the Visual Studio re-enables plugin each time after the Visual Studio restart. For a large solution, this is not ideal. I could go for a coffee, take a shower, a power nap, or watch a movie before the my Visual Studio came back to a state where I could start writing code 🙂

I even ranted my frustration over twitter.

Here’s the response I received from one of the developer advocates at ReSharper.

This post goes at length to explain the reasons why ReSharper performance is so poor on Visual Studio and what JetBrains is doing it to fix it. Unfortunately, it did not help fix my problem at hand.

What helped me

One of the tips from my colleague, @Marius that really helped me improve performance of my Visual Studio with ReSharper was to “Adjust Windows Performance options”. Here is how to do it.

  • Go to “Performance Options” on your Windows machine. You can open this option by searching “Adjust the appearance and performance of Windows”
Search: Adjust the appearance and performance of Windows
  • Next, select the option “Adjust for best performance”. This will unselect all the Visual Effects options as shown in the screenshot below.
Performance Options – Adjust for best performance
  • Unfortunately, this may result in a side effect where fonts on your machine could go haywire and they may appear like this:
Fonts go haywire
  • To fix this, go to “Custom” option and select “Smooth edges of screen fonts”
Smooth edges of screen fonts
  • This option gives you the best of both world, an improve performance with a better CPU and memory utilization and fonts which are not an eye-sore.

Conclusion

After trying different options, the above tip from my colleague helped me with the improved Visual Studio and ReSharper considerably. If you face similar performance issues with Visual Studio and ReSharper, please give this a try and see if it helps.

Photo by Barn Images on Unsplash


Posted

in

,

by

Comments

Leave a Reply

A WordPress.com Website.