0

I am using LibGDX for a 2D game. I have a class BasicActor that extends Actor which is a class inside the LibGDX library. By pressing alt + 1 while coding inside the BasicActor Eclipse shows suggestions such as implementing methods of a parent class. For some reason it doesn't this time. It's been a while since I coded with eclipse and I want to know if there is a mistake on my side or if this simply won't work that way.

2
  • 1
    extend vs implement, there's nothing to implement if you extended some classe (unless it's abstract) Commented Aug 13, 2016 at 18:41
  • I forgot about that, thank you! Commented Aug 13, 2016 at 18:45

2 Answers 2

1

The shortcut for adding unimplemented methods in a class in Eclipse is "Alt + Shift + S + V".

Sign up to request clarification or add additional context in comments.

Comments

0

Hum... [ALT][1]? I didn't know that shortcut, but in all Eclipse editions I've used there are two ways to override super-methods:

  • Press [CTRL][SPACE] with the cursor into a class' body. A pop-up list of overridable methods and other stuff will appear.
  • Execute Source > Override/implement methods.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.