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

我与影子孤独终老i 提交于 2019-12-12 09:28:47

问题


I am giving ReSharper for C# a whirl. I have found that I prefer Visual Studio's simpler "Find All References" over ReSharper's more detailed "Find All Usages". "Find All References" finds everything I need 95+% of the time. Does anyone know of a way to turn off "Find All Usages" and revert back the VS's implementation?


回答1:


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.




回答2:


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'



回答3:


"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.




回答4:


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.




回答5:


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.



来源:https://stackoverflow.com/questions/587555/how-to-turn-off-resharpers-find-all-usages

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