Questions tagged [rider]

Rider is a cross-platform (Windows, Linux & macOS) IDE created by JetBrains for the .NET/Mono family of languages such as C#. Use this tag if your questions are specific to using Rider or are specific to Rider's behavior. Rider troubleshooting and bugs are off-topic.

Rider provides 2,000+ live code inspections, 500+ refactorings, multiple code navigation helpers, a unit test runner, an integrated debugger, rich coding assistance, and dozens of other features that help you read, write, and navigate large .NET codebases. Most of these features are also found in ReSharper, a popular Visual Studio plugin by JetBrains.

Rider supports most of the languages used in .NET development, from C#, VB.NET, and F# to ASP.NET Razor syntax, JavaScript, TypeScript, XAML, HTML, CSS, SCSS, JSON, and SQL.

Useful links

1062 questions
0
votes
1 answer

Is there a way to attach debugger to a dotnet process running in Docker container on a Mac? (VS or Rider)

Is there any .NET IDE available for MacOS that would allow me to debug docker containers by attaching to them when they're already running? I tried both Visual Studio for Mac and Rider and there seems to be no such option - I can only debug by…
Grzegorz Kyc
  • 203
  • 2
  • 9
0
votes
0 answers

Resharper Order properties using a custom order

I use Resharper code cleanup before every commit to make sure we are not committing whitespace updates and everything is ordered in a defined fashion. While working with some classes I would like Resharper sort to properties in a specific order…
smehnawal
  • 553
  • 1
  • 7
  • 16
0
votes
0 answers

C# Console.ReadLine creates new line with every keypress

I've encountered this weird issue that might be connected to my IDE or C# overrall. Whenever I am inputting something in the console that is being read my Console.ReadLine(), it is being duplicated and shown below until I press return. I want to…
jasiu
  • 91
  • 5
0
votes
1 answer

How to assign shortcut to play button when using Rider with Unity?

Using Rider, I can debug my unity project but sometimes, I just want to run the project without debugging it. Is there any way to bind a shortcut to the play button (Play/Edit). How could I do that with last version of Rider?
Notbad
  • 5,936
  • 12
  • 54
  • 100
0
votes
1 answer

JetBrains Rider "go to source" does not work

I usually use pycharm/idea for python and java etc and I often whack F4 to get to the declaration of a class or method. Intellij calls this "go to source" in the keymap editor. I just recently installed Rider to do some c# work and immediately found…
TheChubbyPanda
  • 1,721
  • 2
  • 16
  • 37
0
votes
1 answer

Debugging a .net core container from docker-compose in Rider is buggy

I have a solution which was written originally in VS and I'm trying to run and debug it using Rider. I'm using the original docker-compose. It mostly works smoothly, but for one thing, which is debugging. Basically the debugging will start and run…
0
votes
1 answer

How to execute alt+enter same way resharper on VS

When using Visual Studio with Resharper when i make new interface's method on fly i just right-click on it and doing alt+Enter then there is option to add it to existing interface. Nevertheless when i use Jet Brains Rider doing same i do not see an…
Arie
  • 3,041
  • 7
  • 32
  • 63
0
votes
1 answer

How to turn off code 'hints' in JetBrains Rider

I've recently started to use Rider, and was wondering how to turn the 'hints' next to the line numbers off (picture attached). I've been through the settings, but not knowing what this feature is called means that I can't find the option. Thanks.
user12547541
0
votes
1 answer

JetBrains Rider run Pre/Post Build events when building in Rider

A project I'm working on has a csproj file with Pre/Post build events that only run when its being built in Visual Studio. It looks like this:
Anthony Bias
  • 515
  • 3
  • 20
0
votes
1 answer

JetBrains Rider remove highlight

Installed a brand new version of Rider. For some reason Rider highlighs all the code in the methods (c#) - no matter what theme I choose. I've tried resetting to default to no avail. How do I stop rider from highlighting 'background' in all of my…
ShaneKm
  • 20,823
  • 43
  • 167
  • 296
0
votes
0 answers

Why does Rider open Visual Studio when a Verify test fails?

I currently work on the GildedRose kata and decided to replace ApprovalTests with Verify. Whenever the Verify test case fails, Rider tries to open *.received.txt in Visual Studio. Not only is that unwanted behavior, but the Visual Studio process…
Thomas Eyde
  • 3,820
  • 2
  • 25
  • 32
0
votes
1 answer

How do I check ReSharper code inspections of Unity Project via a command line?

Given: Unity project ReSharper is used to check inspections (IDE Rider) I want to: Run code inspections on a CI / CD system (TeamCity)
0
votes
1 answer

Rider styling not working with a C# file that has 6000+ lines

Recently I've started using JetBrains' Rider. Problem is I can't seem to get stylings work with C# files that have too many lines. In my case, it was 6000. I reproduced this issue with another file with similar size. After removing some lines, it…
Umit
  • 47
  • 1
  • 7
0
votes
2 answers

Intellij Rider: Breakpoints are completely missing for C++ project

Can't find the inline breakpoints for the C++ project in Intellij Rider. Clicking on the field on the left next to the line does nothing. At the same time just opened C# project and breakpoints are there. This is on the same instance of Rider. Does…
Irbis77
  • 163
  • 1
  • 8
0
votes
1 answer

Intellij Rider: How to configure your run / debug configuration to execute another app exe with your dll

Trying to setup rider to execute a compiled .exe program to run with my dll. My dll is a proxy dll. I know how the compiled dll looks like and it works fine when added to the project directory. But now I want to debug it and it needs debug…
Irbis77
  • 163
  • 1
  • 8