Keyboard shortcut for Ctrl+LeftClick?

Just wondering if there is a keyboard shortcut that is the same as Ctrl+LeftClick on a function or method?

$foo -> moo($a,$b,$c);

if the caret was on $foo the shortcut would take me to the top of the $foo class
if the caret was anywhere on moo( it would take me to the moo method within the $foo class
if the caret was on $a, $b, or $c it would take me to where those were defined, identical to Ctrl+Click

Thanks.

2 comments
Comment actions Permalink

The shortcut is Goto | Declaration (Ctrl+B)
After using it you might be interested in Goto | Back (Alt+Back) and Search | Find Usages Popup (Ctrl+Alt+F7)

0
Comment actions Permalink

On MacOS it's Cmd + B

0

Please sign in to leave a comment.