Fastest Way to do Something in Eclipse…

Can somebody tell me the fastest way to subclass something in Eclipse? I’d love to right-click on a class in my Package Explorer and do something like File – New – sub class. Surely this feature exists and I’m just missing it.

3 replies on “Fastest Way to do Something in Eclipse…”

If you right-click on a type (Class or Interface) {the icon that’s a green circle with a ‘c’ in it for class}, and select “New Class”, it’ll open a wizard that has the superclass/interface already filled in.

Thanks Bill Gates!

I never thought to expand the ***.java to right-click on the actual class. It’s one extra mouse click, but it saves me a lot of time over typing in the super class name on the new class screen.

I wonder why you can’t just get that functionality when you right click the .java name?


Leave a Reply

Your email address will not be published. Required fields are marked *