Community
Participate
Working Groups
A quite nice feature I've found working with IntelliJ is the "rename" feature for class fields which can be set to rename also every method parameters with the same old name of the renamed field. This is quite useful when you decide to rename a final field which has a getter and has one or more constructor parameters with the same name. I haven't found this feature in Luna and, even if I'm not familiar yet with Eclipse codebase, I think it shouldn't be big deal to implement it in the Rename Dialog. Thank you.
Andrea: Could you please post a code snippet showing "before rename" and "after rename" scenarios? Though your description is more or less clear, this is to make sure that we all are on the same page. [Noopur: Moving to jdt.ui for comments]
Created attachment 249233 [details] Rename field dialog
Created attachment 249234 [details] Rename field preview
Hi Manoj, I've added two simple screenshot to show what I mean with a very basic class. As you can see I've opened the "Rename field" window to rename 'foo' field to 'foo2' (Selection_063.png), then in the preview step (Selection_064.png) everything is correctly renamed, included the getter method, BUT not method parameters with the same name (the contructor parameter 'foo' is not renamed).
*** This bug has been marked as a duplicate of bug 64698 ***