I think the ability to refactor (invert) boolean expressions would be 
useful:

boolean noLineBreaks = string.indexOf('\n') == -1 && 
string.indexOf('\r') == -1;

into

boolean lineBreaks = string.indexOf('\n') != -1 || string.indexOf('\r') 
!= -1;

I don't care about the variable portion, but it would be nice to be able 
to select the portion on the other side of the equals operator and 
choose "Refactor | Invert" or such.  This might be something that is 
very difficult to implement.  If that is the case, then forget it.

Kirk


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

Reply via email to