Search code examples
intellij-idea

Is there a shortcut to implement interface methods in intellij?


When I type something along the line of this:

class Foo implements Bar{}

intellij idea highlights that line and then I have to hover over it with the mouse pointer until a red lightbulb pops up and click "Implement methods". Is there a keyboard shortcut for this?


Solution

  • Ctrl+I/Cmd+I (Windows/Mac) is the shortcut for "Implement Methods" in the default IntelliJ keymap.