> then performing a "Highlight Usages in File" on the class attribute will > also select all usages of the local variable (including the declaration). > Is this the desired bahaviour?
No, it's not desired. But I could not reproduce this! Is it reproducable exactly on the code snippet that you provided? Best regards, Valentin Kipiatkov ----------------------------------------------------------- IntelliJ Software, http://www.intellij.com/ "Develop with pleasure" ----------------------------------------------------------- ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 19, 2001 4:36 AM Subject: [Eap-list] Possible Bug: Scope resolution in "Highlight Usages in File" > If I have code as follows: > > public class > TestClass > { > private String testString = ""; > > private method > testMethod() > { > // Declare a new string with the same name as a local... > String testString = null; > System.err.println(testString); > } > } > > then performing a "Highlight Usages in File" on the class attribute will > also select all usages of the local variable (including the declaration). > Is this the desired bahaviour? > > Graham Lea > > -- > Software Engineer > Forge Research Pty Ltd > Suite 116, Bay 9, Locomotive Workshop > Australian Technology Park, Cornwallis Street > Eveleigh NSW 1430 Australia > Phone: +61 2 9209 4152 Fax: +61 2 9209 4172 > www.forge.com.au > > ---------------------------------------------------------------------- > This message contains privileged and confidential information intended > only for the use of the addressee named above. If you are not the > intended recipient of this message you must not disseminate, copy or > take any action in reliance on it. If you have received this message > in error please notify the sender immediately. Any views expressed in > this message are those of the individual sender, except where the > sender specifically states them to be the views of another (including > a Body Corporate). > ---------------------------------------------------------------------- > > > _______________________________________________ > 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
