25

Is there a keyboard shortcut in Eclipse IDE to add unimplemented methods when inheriting an abstract method from a superclass? It's kinda annoying to always have to click on the class name to do it. Thank you

AlexC
  • 402
  • 1
  • 4
  • 11

3 Answers3

50

Ctrl+. then Ctrl1 then Enter should work

Also, you could try to create your single key bindings from these combinations

Community
  • 1
  • 1
Ravi Yenugu
  • 3,895
  • 5
  • 40
  • 58
  • 1
    @TadasDavidsonas Only if the cursor is active on the `class` line. The `Ctrl + .` goes to the `class` line wherever you are on the file. – Lucky Nov 07 '15 at 11:05
11

If you are using Mac, you may use Command + . to iterate to the error line and then Command + 1, then Enter to add unimplemented methods.

chancyWu
  • 14,073
  • 11
  • 62
  • 81
0

First select the className using doubleclick on class name or Ctr+. then Ctrl+1+enter

Ratheesh
  • 631
  • 8
  • 8