How to disable Resharper per solution?

Hi!

My code base has many hundreds of csproj. We are using different solutions to keep things manageable. I'm using ReSharper in each of these small solutions with no problem.

However, we do have a big solution that contains all csproj. This solution is way too big for ReSharper (out of memory, PC freeze, etc.)

Right now, I have to disable ReSharper (Tools / Options... / ReSharper / General / Suspend Now) each time I open this solution and re-enable it for other solutions.

Is there a way to disable ReSharper for a specific solution?

I don't want to disable all my VS extensions, only ReSharper. Also, using project or folder filters is not possible because all these projects are used by different solutions and I do want ReSharper to scan them when working in a smaller solution.

Thanks

11
5 comments
Avatar
Angelina Elycheva
Official comment

Hello Francois!

 

Thank you for contacting us.

There's no such option of disabling ReSharper for solution, though you can disable ReSharper analysis for projects, please see - https://www.jetbrains.com/help/resharper/Code_Analysis__Configuring_Warnings.html#excluding-frozen-projects-from-indexing

There's also option of assigning ReSharper_ToggleSuspended command to some shortcut in Tools | Options | Environment | Keyboard, again not exactly what needed still less mouse clicks to make.

Thank you.

Me too.  My use case is a little different than the OP, but I'd like to also ask for the "disable ReSharper per solution" capability.

In my case, I have cloned the GitHub repository https://github.com/fobrs/MFC and I can't make use of any of ReSharper inspections because I am working with the source code of the Microsoft Foundation Classes (MFC) library.

Even though ReSharper picks up code smells, it's no good accepting the recommended changes because the code is there just for debugging purposes but otherwise is maintained by Microsoft.

0

I would like to request this feature as well.

I am currently using a ctrl+r, r keyboard binding to toggle it suspended. However its still quite annoying having to turn it on or off depending on what state it was last left in, and depending on what solution i just opened. 

Is there any solution-wide setting/configuration support in resharper, or only at the project level? 

Even better would be if this was saved at the user-settings or local machine level, but targeting a specific solution. If resharper's ‘suspended’ status is not part of the savable settings, what about disabling all its most expensive features? Can that be done at the solution level?

0

I would benefit the feature too, for example when working on large public solutions like the AspNetCore one.

0

Hello,

you are welcome to comment on the request about this option in YouTrack and vote for it.

Thank you!

0

Please sign in to leave a comment.