问题
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:
- Go to ReSharper Options > Environment > Keyboard & Menus
- 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:
- Go to Visual Studio Options > Environment > Keyboard
- Enter 'Edit.FindAllReferences' in the search box
- Set the cursor in the 'Press shortcut keys' field , press Shift+F12 and click 'Assign'
- 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