Visual Studio - I want "Go To Definition" to open Object Browser, not "metadata" -


The "Go to Definition" object in the Visual Studio version 2002 and 2003 will find the type or member selected in the browser. Opens "Metadata generated from a source window" instead since 2005 How can I configure these new versions to go to the object browser? (In other words, I have the opposite problem.)

This change happens by establishing a restor, so I know that this should be possible, but how do I without reorder Can i do

As a solution, you can create the following macros:

  SubTypeToolDefinitionUsingObjectBrowser () DTE.ExecuteCommand ("Edit.SelectCurrentWord") DTE.ExecuteCommand ("View.ObjectBrowser") DTE.ExecuteCommand ("View.ObjectBrowserSearch", DTE.ActiveDocument.Selection.Text) End Sub  

Then go to Tools / Options / Keyboard and enter the hot key for this macro.

Tested in Visual Studio 2010.


Comments