How to turn off ReSharper's “Find All Usages”

ε祈祈猫儿з 提交于 2019-12-04 23:47:34
Mark Broadhurst

Unfortunately not there is no way to turn it off with out turning the whole thing off.

Sorry, it takes a bit of getting used.

To restore the original VS 'Find All References' command:

  1. Go to ReSharper Options > Environment > Keyboard & Menus
  2. Clear 'Hide overridden Visual Studio menu items'

The 'Find All References' command will be available in the context menu of a type

To restore the original 'Shift+F12' shortcut:

  1. Go to Visual Studio Options > Environment > Keyboard
  2. Enter 'Edit.FindAllReferences' in the search box
  3. Set the cursor in the 'Press shortcut keys' field , press Shift+F12 and click 'Assign'
  4. Select 'Text Editor' in the 'Use new shortcut in' selector, then set the cursor in the 'Press shortcut keys' field, press Shift+F12 and click 'Assign'

"Yet, selecting "None" on the Group By combobox of the Find Usages window gives a listing similar to VS's Find All References."

Unfortunately that is still a regression as the filename is not listed on the line items. Ironically the line/column coords are still displayed which seems a bit pointless without the context of the filenames.

I'm using Resharper 8 and when I have many usages I would prefer having VS's Find All References listing because it's more compact. Yet, selecting "None" on the Group By combobox of the Find Usages window gives a listing similar to VS's Find All References.

If I have code which has an interface reference calling a method, I want to be able to select that method and have Find Usages find any implementations of that method, but ReSharper doesn't do this. I really want my Find All References behavior back, without disabling ReSharper.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!