+1 > -----Original Message----- > From: Erik Beeson [mailto:[EMAIL PROTECTED]] > Sent: den 23 mars 2002 11:53 > To: [EMAIL PROTECTED] > Subject: [Eap-features] Adjust scope with Refactor>Rename > > > It'd be nice if IDEA would make changes to maintain variable > scope when > using Refactor>Rename > > public class RenameExample { > private String foo; > > ... > > public void setFoo(String value) { > foo = value; > } > } > > Using Refactor>Rename to rename value to foo would result in: > > public void setFoo(String foo) { > foo = foo; > } > > Which obviously isn't what is wanted. Maybe Rename could have > an option to > correct scope as needed so it would correct the above example to: > > public void setFoo(String foo) { > this.foo = foo; > } > > Like I said, this would add overhead to Rename, so it should probably > provided as an optional check (maybe a checkbox?). > > > Just a thought... > > --Erik > > ps. This is a serious request this time. Though I do like the > -1^10 thread > that spawned from my last (totally outragous) request. Keep > up the great > work! > > > _______________________________________________ > 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
