IDEA 4.0 - refactoring question
Hi,
I am trying to rename a field and it does not rename the getter and setter.
Is this normal behavior? I tried to search thru the forums and found a
reference where it says that IDEA is supposed to rename them.
http://www.intellij.net/tracker/idea/viewSCR?publicId=10041
Please help.
Thanks,
--Venkat.
Please sign in to leave a comment.
when i highlight a field it does rename it with the getter and setter
Attachment(s):
rename.jpg
The field name and setter/getter have to follow the naming convention
that you set in the naming tab of the coding style. For example if you
did not specify that you systematically put a _ prefix to field names,
if you rename a field, IDEA won't know how to link it to its
setters/getters.
I hope this helps
Jacques