> Now, I just wanted to rename the field, but IDEA does not seem to realise
> that the field is linked to a getter method, so it doesn't rename the
> getter method, or any references to it.

This is planned for Ariadna.

Best regards,
Valentin Kipiatkov
-----------------------------------------------------------
 IntelliJ Software, http://www.intellij.com/
 "Develop with pleasure"
-----------------------------------------------------------

----- Original Message -----
From: "Wangjammer5" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 17, 2001 5:46 PM
Subject: [Eap-features] Rename++


>
> Hi,
>
> Here's an interesting thing I haven't seen mentioned, which would be just
> magical if IDEA did it...
>
> I used IDEA to create an encapsulated field in my class:
>
> public class .....
> {
>     private String myField;
>
>     public String getMyField()
>     {
>          return myField;
>     }
> }
>
> Now, I just wanted to rename the field, but IDEA does not seem to realise
> that the field is linked to a getter method, so it doesn't rename the
> getter method, or any references to it.
>
> It would be VERY nice if it did this... or if renaming the getter method
> would make it rename the field too.
>
> The same happens with constructor parameters - if the ctor takes the
> field's value as a param those are not renamed either.
>
> If IDEA can detect that this is a field being renamed, it should be able
> to do all this. Yes I know, it's complicated!
>
> Cheers
>
>
>
> _______________________________________________
> 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

Reply via email to