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
Yes, this is CTRL + ALT + J
Here is the reference: Object Browser Shortcut Keys, Visual C++ 6.0 Default Shortcut Option
This navigates to the correct class inside the object browser.
Shift+Alt+F12, then right click in the results and select Browse Definition
or
Ctrl+Alt+J, then type the name in the search box
Use Ctrl-Alt-J.
It used to be Ctrl + LeftMouseClick on what you want to search for (around 2015), but it does not work anymore in VS 2019.
F12 will go to the source (if you have it), or the object browser if it's in a referenced assembly.
Resharper navigates to the class in object browser when you press F12