ursus
07/29/2020, 10:50 PMthanksforallthefish
07/30/2020, 6:36 AMval impl: Interface = MyImpl()
// from this point, impl is of type Interface
impl.doSomething() // here you click
it is probably possible to for intellij to see that impl
is a MyImpl
and go directly to that implementation, rather than to the declaration, however that would require some custom handling rather than using the compiler.
and if using the compiler, imagine you have multiple implementation of Interface
, there is no way intellij can pick the correct one. so, much simpler to just ask you where you want to go.thanksforallthefish
07/30/2020, 6:37 AMctrl+b
is called go to declaration (changing this would also change the way to navigate to variable declaration
• ctrl+alt+b
is go to implementation