Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to turn off ReSharper's "Find All Usages"

Tags:

resharper

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?

like image 718
Swim Avatar asked Feb 25 '09 19:02

Swim


3 Answers

Unfortunately, there is no way to turn it off without turning the whole thing off.

Sorry, it takes a bit of getting used to.

like image 64
Mark Broadhurst Avatar answered Sep 19 '22 15:09

Mark Broadhurst


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'
like image 32
Dmitry Matveev Avatar answered Sep 20 '22 15:09

Dmitry Matveev


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

like image 28
Shiv Avatar answered Sep 20 '22 15:09

Shiv