I hope this isn't a stupid question, but I've found a few things that I'd
like to see in future versions, or more "visible" in the current version if
this is already possible:

1) I'd like to see the ability to extend a class directly.  Rather than just
select "new class" or "new interface" and then add the extends information,
it'd be nice to right-click on a class in the project and be able to select
"extend" and have it create the new class already filled in.  A minor thing,
maybe, but it plays into the next item...

2) There exists an "extract superclass" function, which is very useful, but
it only goes one way.  Sometimes I want to keep the current class the "top
level" class, and extract a subclass from it (giving the derived class the
new name, not the parent class).  I'd love to be able to do this, and then
be able to select methods and members to "push down" into the new subclass.

In a similar vein, it'd be nice if there was a refactoring that could help
"insert" a class derivation level into an existing hierarchy.  I sometimes
find I didn't initially factor things very well, and so when I have "foo
derives from bar", I really need "foo derives from baz which derives from
bar".  Being able to do step 2, extract subclass, on a parent class, or
"extract super class" on a derived class, and have IDEA keep the chain
intact in either case, would be great.

If there's already a way to do these things, let me know, 'cause I looked
around for it and must have missed it.

Also, I remember seeing mention of others wanting to do refactorings on
if/else statements (like swap the then and else blocks with or without
inverting the conditional expression in the if).  Is that planned for the
next release?   I'm constantly running into situations where I'd like that
sort of refactoring.
 

_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to