Often while working on a project, I will want to navigate to the same package that a class I’m inspecting is defined in.
I may want to get a better feel for what a class does / where it belongs, or want to add a new one in the same location, or various other reasons for wanting to do this.
The way I’ve always done this is the manual way.
“This class is defined in the ca.tu.horizon.consumer… ok ca – *click* – tu – *click* – horizon – *click* – consumer – *click*, there we go…”
However I just came across a very nice way of instantly getting there from within the hover tooltip that displays the package. This is probably already known by most of you, and I’m a little mad at myself for taking so long to find this out, but you can just click on the package you want from within the tooltip!