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.

This Post Has 3 Comments

  1. Bill Gates

    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.

  2. pete

    sweet! bill gates is writing java code. 🙂

  3. Erik Weibust

    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