How can I turn “Object Browser” to “Metadata” for “Go to definition” in Visual Studio 2010?

笑着哭i 提交于 2019-12-03 06:28:33

问题


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

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