Hi Dan, Since IDEA does not highlight all sysntax errors yet, absence of highlighted code doesn't mean the file will compile ok. So you moved the code that won't compile. Move operation changes only the references that would break as a result of the move, not other references. Best regards, Eugene Zhuravlev IntelliJ Software, http://www.intellij.com/ "Develop with pleasure!"
----- Original Message ----- From: "North D" <[EMAIL PROTECTED]> To: "EAP List (E-mail)" <[EMAIL PROTECTED]> Sent: 17 November, 2001 2:03 PM Subject: [Eap-list] IDEA doesn't spot instance references in statics > I'm moving some code around (it's just sooo easy with IDEA!), taking methods > out of a large session bean into static helper classes. > > I make the private session bean method a public static, fix up all the red > code, then use the Move Members refactoring to put it in a helper class - > lovely! However, IDEA is quite happy with references to this.someField in > the static method, which is obviously a bug. (If I refer just to someField, > it correctly identifies that someField isn't static). This is with #517. > > Cheers, > Dan/tastapod > > > **************************************************************************** *********** > This email and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. > If you have received this email in error please notify [EMAIL PROTECTED] immediately. > > This footnote also confirms that this email message has been swept for the > presence of computer viruses. > **************************************************************************** *********** > > _______________________________________________ > Eap-list mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-list _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
