Switch from Visual Studio to JetBrains Rider (2023)

Visual Studio and ReSharper are great, but not together

First, let me say that I love Visual Studio. It's one of the best IDEs out there, especially when it comes to a Microsoft Store. I've been developing in Visual Studio for over 12 years and have worked on every version from Visual Studio 2003 to Visual Studio 2019. I never felt the need to look for an alternative to Visual Studio. Not that there was a replacement. 🙂

At the same time, I love ReSharper. ReSharper has once again been a must-have tool that has made my development life easier over the years.

Unfortunately, the combination of ReSharper and Visual Studio didn't work very well. Visual Studio and ReSharper performance issues have been known for years. But it hasn't improved much.The JetBrains postprovides some background information about the issues with ReSharper in Visual Studio.

Amo@Visuelles Studio, Am@resharper. Just don't put it together... Visual Studio 2019 with ReSharper has become unusable... Can you fix it?

- A frustrated developer

(Video) Why I use Jetbrains Rider instead of Visual Studio for C# and .NET
—Ankit Vijay (@vijayankit)8. August 2019

my turning point

For the past year I've been working on a large solution using Visual Studio 2019 and ReSharper, where the number of projects has exceeded 130 projects in the last few months. For these, you might be wondering why 130 weird projects in one solution. Well! He has his reasons, but I'll save those details for another time.

Visual Studio's performance with ReSharper for the large solution was terrible. The Visual Studio UI hung for minutes before I could start coding. The build took a long time to complete and the tests took forever to run. From time to time I have disabled ReSharper only to re-enable it. In addition, the Git integration in Visual Studio left a lot to be desired. While the new Git tool filled some of the gaps, there was still a lot of work to be done. I raisedvarious matterswith the Visual Studio team, but unfortunately none of that helped.

Switch from Visual Studio to JetBrains Rider (1)

All of these frustrations, along with recommendations from my peers, made me look for an alternative and decided to give Rider a try.

(Video) Which is the best IDE for .NET, Rider or Visual Studio

Graben@Visuelles Studioand test the water with@JetBrainsRideragain. Let's see how it goes. last used@JetBrainsRiderfor 2 weeks before returning to@Visuelles Studio. I will give my feedback as I make progress.

—Ankit Vijay (@vijayankit)July 1, 2020

The Learning Curve

Well, my expectations for Rider were pretty low. Visual Studio has been around for over two decades and I felt like Rider was too busy. While I found Rider to be a good alternative to Visual Studio for Mac, I wasn't 100% sure about Rider when it came to Windows operating systems.

I was wrong in my assumptions. Rider turned out to be way better than I imagine. I launched Rider with a Visual Studio theme and keybindings. I had a really hard time with the new IDE. My editor screen and keyboard shortcuts worked the same as they did with Visual Studio.

Switch from Visual Studio to JetBrains Rider (2)

At first I missed Visual Studio for a few more months. I would return to Visual Studio almost every other day. However, I also insisted on giving riders a fair chance. And it turned out to be the right decision. A few months ago I stopped missing Visual Studio. What also helped was JetBrains' offer to automatically convert the ReSharper Ultimate licensenet point lastLicense pack that included Rider at no additional cost.

(Video) What can Rider do for me?

where rider shines

Here are some of Rider's features that I liked the most:

  • Jinete = IntelliJ IDEA + ReSharperRider offers all the benefits of ReShaper without the performance tax. For developers who cannot live without ReSharper, this can be huge.
Switch from Visual Studio to JetBrains Rider (3)
  • Faster build time: Rider can significantly reduce build time compared to Visual Studio by applying heuristics to only build projects that need to be updated. It can be a real performance booster for large solutions. eastPostexplains the incremental build function in detail.

Note: This feature was already available with ReSharper Build. So if you're using ReSharper Build instead of Visual Studio Build Management, you might already be familiar with it.

  • Perfect debugging from external sources:One of the features I liked about Rider was the seamless debugging of external libraries/nuget packages as if they were part of your code. And if you don't need to debug the external source, you can disable the feature.
Switch from Visual Studio to JetBrains Rider (4)
  • Best-in-class Typescript/Javascript debugging support:I've always felt that typescript/javascript got stepchild treatment in Visual Studio. With Rider, Typescript has top-notch debugging support. You can debug within the IDE without having to go to the browser's developer tools.
  • Better Unit Testing Experience:I was a fan of ReSharper Unit's Test Explorer window, and Rider just pushes that. You can create multiple test window sessions and run only a subset of the tests.
  • Great Git Plugin:To say that Rider's Git plugin is better than Visual Studio would be an understatement. It provides code analysis even during merge which can be huge as you can fix the compile time error or remove unused references at merge time.
  • Management of large solutions:It is reasonable to expect that loading a large solution will take some time. With Visual Studio, I noticed that the UI crashes several times during project startup. Rider, on the other hand, handles it with more grace. As with ReSharper, there is also an option to disable solution-wide code analysis, which can improve load time.
  • Project properties:The project properties dialog in Rider supports the latest features of the new SDK project, such as multi-targeting, language version settings, nuget properties, etc.
Switch from Visual Studio to JetBrains Rider (5)
  • Event log, terminal window, create gist, etc.:Rider has an event log window that logs all events that occur in the IDE. It also has a built-in terminal and some great little features like creating GitHub Gists from within the IDE. Another thing that impressed me was the ability to create custom "Run/Debug" templates. It offers much more than just running a single project or the multiple startup projects option in Visual Studio.

The rider is not perfect

Rider is not perfect. Indeed far from it. It has its flaws. These are some of the issues I encountered with Rider.

  • There were a few instances where the UI froze and I had to restart Rider.
Switch from Visual Studio to JetBrains Rider (6)
  • The unit test explorer window had a bug where I found testhost.exe was not published. In another case, the test runner continued to work even after the test run was completed.

@JetBrainsRider @maartenballiauwin the latest and previous version of#Reiter, the unit tests hang and give the following error.

The tests work fine on the build server (and VS AFAIK). Any idea what could be causing it? I'm on v2.2.2pic.twitter.com/cBttTQbfHZ

(Video) Solution1: Tips and Tricks for JetBrains Rider with Matthias Koch
—Ankit Vijay (@vijayankit)14.09.2020
  • The faster construction time also brings with it some problems. Sometimes changing the git branch can mess up the code analysis and the only solution is to do a clean build.
  • Removing the NuGet reference from Solution Explorer doesn't work. You must manually uninstall the NuGet reference.
  • There is a subtle bug where you cannot open a second instance of Rider if a solution is already open. The only solution that worked for me was to create a new solution or open an existing project from the same Rider instance and then open it in a separate window.

Despite all of these issues, I had an overall positive experience with Rider. Rider, like Visual Studio, receives constant improvements and bug fixes in the form of updates. I'm sure the JetBrains team is busy fixing these little bugs.

End

Visual Studio mastery is here to stay. That being said, Rider is a serious competitor to Visual Studio in my opinion. I think this is the best thing that can happen to the dotnet community. It's good to have healthy competition that forces companies to think outside the box and come up with more innovative and creative ideas to improve their product.

(Video) JetBrains Rider: Tips & Tricks (Matze Koch)

Related

Videos

1. Rider IDE for Dotnet by Jetbrains to Replace Visual Studio
(Hidayet Codes)
2. Diese IDE nutzen wir zum Entwickeln | JetBrains Rider Tutorial Deutsch
(Boundfox Studios)
3. Jetbrains Rider IDE - Introduction and Tips and Tricks - Dan Clarke
(․NET Oxford)
4. Jetbrains Rider Tips and Tricks - with Matthias Koch
(․NET Oxford)
5. Rider For Unreal Engine -- The Ideal GameDev IDE?
(Gamefromscratch)
6. Welcome to Rider, Your One-Stop GameDev IDE! by Matt Ellis
(JetBrains)

References

Top Articles
Latest Posts
Article information

Author: Dean Jakubowski Ret

Last Updated: 09/29/2023

Views: 5619

Rating: 5 / 5 (50 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Dean Jakubowski Ret

Birthday: 1996-05-10

Address: Apt. 425 4346 Santiago Islands, Shariside, AK 38830-1874

Phone: +96313309894162

Job: Legacy Sales Designer

Hobby: Baseball, Wood carving, Candle making, Jigsaw puzzles, Lacemaking, Parkour, Drawing

Introduction: My name is Dean Jakubowski Ret, I am a enthusiastic, friendly, homely, handsome, zealous, brainy, elegant person who loves writing and wants to share my knowledge and understanding with you.