When I press Ctrl+Left mouse button or F12 on a variable I get to the declaration of the variable.
Is there a shortcut like this to get to the class definition of the variable's type? So when I have a variable string functionCode
I'd like to click functionCode
anywhere in the program and get straight to the object browser showing me the string class.
Of course, this is most useful for self-defined classes and member variables. Sometimes I do not see the type of a member in a method at all - everywhere just var
. To get to a class definition I have to go to the variable definition and from there to the class definition.
OK, this is all about saving one click ... but I am lazy ... is it possible?
PS: ReSharper solutions are welcome, too.