Inspection results too noisy on an existing code base

I'm looking for a way to reduce the amount of noise created by code inspection in Rider. We have a large C# existing code base, and opening the projects/solution in Rider code inspections are more of a distraction than a help.

I've slowly been changing the inspection severity on different hints to help reduce some of the visual noise, but even after spending a good amount of time doing this there's still too many strong and distracting visual indications for suggestions that are helpful, but not necessary. Similarly, I can't seem to find a way to filter what suggestions will create color highlights in the scroll bar while viewing a file.

I greatly appreciate all of the hints in new code, but on an existing code base that's never been exposed to a linter, it's too distracting to be helpful (and some of these suggestions don't seem to allow me to disable them!).

Is there a way to filter what inspections show up in the scroll bar? And, more importantly, is there a less granular way to configure the inspections in Rider? So many things are set to Suggestion or above, that it's verydistracting when trying to read code. I've tried to set as many non-concerning inspections to Hint, but it seems like it never ends

0
1 comment

Hello Dave,

Thank you for your detailed feedback.

>Is there a way to filter what inspections show up in the scroll bar

Yes, there is a way to filter them. In the bottom right corner find a pencils icon and click it. You will see inspections level settings with a slider inside. Each slider position corresponds to a certain inspection severity level.  

Try, for example, change slider position to "Warnings". 

>And, more importantly, is there a less granular way to configure the inspections in Rider? So many things are set to Suggestion or above, that it's very distracting when trying to read code

If I understand the case right, you might want to find general inspection settings. Please correct me if this is not right.  One can configure them on the "Preferences | Editor | Inspection Settings | Inspection Severity" (C#/ASP.NET/etc.) settings page.

Please find more information about this on https://www.jetbrains.com/help/rider/Code_Analysis__Configuring_Warnings.html and let me know if you need assistance.

Sofia.

 

0

Please sign in to leave a comment.