How can I disable ReSharper in Visual Studio and e

2019-01-04 16:42发布

I installed ReSharper, and it works in Visual Studio, but how can disable it?

Whenever I search in the ReSharper menu I can't find a disable option.

11条回答
你好瞎i
2楼-- · 2019-01-04 16:50

Tools -> Options -> ReSharper (Tick "Show All setting" if ReSharper option not available ). Then you can do Suspend or Resume. Hope it helps (I tested only in VS2005)

查看更多
唯我独甜
3楼-- · 2019-01-04 16:55

You can add a menu item to toggle ReSharper if you don't want to use the command window or a shortcut key. Sadly the ReSharper_ToggleSuspended command can't be directly added to a menu (there's an open issue on that), but it's easy enough to work around:

Create a macro like this:

Sub ToggleResharper()

    DTE.ExecuteCommand("ReSharper_ToggleSuspended")

End Sub

Then add a menu item to run that macro:

  1. Tools | Customize...
  2. Choose the Commands tab
  3. Choose the menu you want to put the item on
  4. Click Add Command...
  5. In the list on the left, choose "Macros"
  6. In the resulting list on the right, choose the macro
  7. Click OK
  8. Highlight your new command in the list and click Modify Selection... to set the menu item text etc.
查看更多
啃猪蹄的小仙女
4楼-- · 2019-01-04 16:56

Bind ReSharper_ToggleSuspended to a shortcut key.

Steps:

  1. Tools>Options
  2. Click Keyboard on the left hand side
  3. Type "suspend" in the "Show commands containing:" input box
  4. Pick the "ReSharper_ToggleSuspended"
  5. Press shortcut keys: and
  6. Press the "Assign" button.

Binding ReSharper_ToggleSuspended to a shortcut key (in my case: Ctrl-Shift-Q) works very well. With ReSharper not supporting the async CTP yet (as of mid-2011), when dipping into the code the uses the async keyword, this shortcut is invaluable.

查看更多
叼着烟拽天下
5楼-- · 2019-01-04 17:04

You need to goto Tools-->Options--->Select Resharper--->Click on suspend now,to disable it

查看更多
【Aperson】
6楼-- · 2019-01-04 17:07

For ReSpharper 2017.2.2 goto ->ReSpharper->options-> Product and features. enter image description here

查看更多
孤傲高冷的网名
7楼-- · 2019-01-04 17:11

If you want to do it without clicking too much, open the Command Window (Ctrl + W, A) and type:

ReSharper_Suspend or ReSharper_Resume depending on what you want.

Or you can even set a keyboard shortcut for this purpose. In Visual Studio, go to Tools -> Options -> Environment -> Keyboard.

There you can assign a keyboard shortcut to ReSharper_Suspend and ReSharper_Resume.

The Command Window can also be opened with Ctrl + Alt + A, just in case you're in the editor.

Enter image description here

查看更多
登录 后发表回答