+1 useful and avoids annoying bugs!
----- Original Message ----- From: "Jacques Morel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 19, 2002 4:05 PM Subject: RE: [Eap-features] Boolean refactoring > +1 nice > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Thomas Singer > Sent: Tuesday, March 19, 2002 1:20 AM > To: [EMAIL PROTECTED] > Subject: Re: [Eap-features] Boolean refactoring > > +5 > > I requested this 2 or 3 months ago. > > Tom > > > At 19:33 18.03.02 -0800, you wrote: > >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 > > > _______________________________________________ > Eap-features mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-features > > _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-features
