Friday, February 01, 2008

Things I'd like to be able to do in Eclipse

  • Right-click on an interface in the Package Explorer and say "Implement" and get a new class with stub implementations of all the methods in the interface.
  • Similarly, right-click on a class or interface and say "Extend".
  • Further, you could right-click on a class or interface and say "Generate Proxy" or "Wrap" and get a new class that wraps an instance of the existing artifact and then opens the "Generate Delegate Methods" dialog.

I know there are ways to do all these things that only take a few steps, but they're fundamental tasks that deserve a one-step command. "Implement this interface" is a lot closer to how I think than "Create a class that implements interface Foo".

  • Expand-all packages (but don't expand into java files) in the Package Explorer.