Does anyone know if there is a shortcut to implement an abstract function
from its parent?
For example,
// File 1
interface Foo {
fun foo()
fun bar() // I just typed this, my cursor is here
}
// File 2, far away
class FooImpl : Foo {
override fun foo() {}
}
With my cursor somewhere in
Foo.bar
, I would like to press a shortcut which would navigate me to
FooImpl
automatically and generate the usual
override fun bar() { TODO() }
stuff there.
For any other function in the interface, I can do
Navigate → Go to implementation(s)
, but that doesn't work for the
bar
function since it doesn't exist in the implementation yet.