views:

318

answers:

3

Does anyone know if there is a shortcut key for viewing the selected object (in the text editor) in the object browser?

I am sure there was one, but I cannot find it, or anything that seems to work in the key bindings dialog.

eg:

string test = string.empty;

if (string.isnullorempty(test))
{                          ^ caret here
    ...
}

pressing the key would open the object browser to System.String

+2  A: 

Use Ctrl-Alt-J.

Dave Johnson
Doesn't navigate the the object though :(
Pondidum
A: 

Yes, this is CTRL + ALT + J

here is the reference: http://bit.ly/y6b7v

Jungchan
+2  A: 

F12 will go to the source (if you have it), or the object browser if it's in a referenced assembly.

Wilka
That's exactly the one i was looking for (although i bind it to F2, as i use F12 for Step Out). Thanks
Pondidum
It navigates to a source code definition (from metadata) for me, even for referenced assemblies.
Nate