Disable, but not uninstall Resharper 4.x onwards

2019-01-16 09:24发布

Any ideas on how to disable, but not uninstall Resharper 4.x or above?

10条回答
smile是对你的礼貌
2楼-- · 2019-01-16 09:53

ReSharper 6.1.1 no longer includes ReSharper_Resume or ReSharper_Suspend (or at least I cannot find them to add them to a toolbar). The previously mentioned keyboard short-cuts (Ctrl+8 or Ctrl+Shift+Alt+8 don't work either).

As a work-around, you can use Tools/Option/ReSharper and click the Suspend button. You do have to go back to that location to resume ReSharper 6.1.1 after you suspend it.

The main reason to suspend ReSharper 6.1.1 is that it is guaranteed to crash Visual Studio 2008 SP1 when editing nAnt files (large or small, makes no difference). Those files typically have a file extension of .build.

查看更多
可以哭但决不认输i
3楼-- · 2019-01-16 09:54

The accepted answer does not work from resharper 5 onwards. You should suspend ReSharper from the Tools > Options > Resharper

alt text

查看更多
Emotional °昔
4楼-- · 2019-01-16 09:58

This didn't work for me. The checkbox in the Startup column was both checked and disabled.

BUT! I found a fix elsewhere on the web.

What you need to do is make the following file(s) writeable:

C:\Program Files\JetBrains\ReSharper\v4.0\Bin\Product.VisualStudio.80.AddIn

C:\Program Files\JetBrains\ReSharper\v4.0\Bin\Product.VisualStudio.90.AddIn

Because these files were read-only, VS200x was unable to modify them to set the startup enabledness of the Resharper addin.

查看更多
狗以群分
5楼-- · 2019-01-16 09:59

In ReSharper 5.0, the keyboard shortcut to temporarily enable/disable code analysis for the current file is Ctrl+Shift+Alt+8. It was Ctrl+8 in previous versions.

查看更多
我欲成王,谁敢阻挡
6楼-- · 2019-01-16 10:00

On Win7, open VS as admin, and the .AddIn file will be writable. (the checkbox will be active)

查看更多
别忘想泡老子
7楼-- · 2019-01-16 10:06

You can disable ReSharper 4 and lower using the Visual Studio Add-In Manager (remove the check from check box on the left).

In ReSharper 5 and above (tested up to version 7.0.1), this is how you can suspend ReSharper from the Tools > Options > Resharper alt text

查看更多
登录 后发表回答