问题
Before installing Resharper, Ctrl + Left Click for Go to definition
, Visual Studio 2010 uses to Metadata
. After the install Resharper
, when I try to first time Ctrl + Left Click, Resharper
asked me with popup where I want to go, I click Object Browser
for testing. Now I want to get back this setting, but in Resharper
, there is only one option for this;
ReSharper | Options -> Environment | Search & Navigation and turning off or on Go to declaration on Ctrl+ Left click in editor
But If I turned off this setting, It doesn't take back this setting to Metadata
. It still goes to Object Browser
. I don't want to reset all keyboard shortcuts because I use all other Resharper's shortcuts. How can change only this setting ?
回答1:
Under ReSharper > Options > Tools > External Sources, select Default Visual Studio navigation (or "Navigation to Sources" for a wider set of navigation options incl. decompilation and fetching stuff from symbol servers)
回答2:
If anyone has this issue in VS2012?
I just fixed it with Tools > Options > Environment > Keyboard
- select "Visual C# 2005"
- under "Apply the following additional keyboard mapping scheme".
- Then click 'Reset'.
This was infuriating, hope it helps someone else. Worked for me with VS 2010 perfect.
来源:https://stackoverflow.com/questions/14046933/how-can-i-turn-object-browser-to-metadata-for-go-to-definition-in-visual-s