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

12
9 comments
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

I’d like to see this option too, though I’d take it a step further: I’d like to disable automatic code formatting in all SQL projects (no offense, but I really don’t like the SQL code formatting options Resharper offers).

0

Hi,

To disable SQL support in ReSharper, navigate to ReSharper | Options | Environment | Products & Features and uncheck the SQL and NoSQL checkbox. Please remember to click the Save and Restart button.

If this step does not lead to the expected outcome, please do not hesitate to inform us. 
 

0

Thanks, that helps a lot, though the ideal solution would be to be able to enable or disable specific features by project type or language (the only thing that really bothers me is the automatic reformatting in SQL, not syntax highlighting, etc.—and the fact that I sometimes get typo suggestions even though I’ve disabled that feature).

0

Hi,

Based on your request, a new feature request has been registered: RSRP-503350 Disable specific Resharper features per project or language
You are welcome to subscribe and receive all updates concerning this request. 

0

Please sign in to leave a comment.