Summary: | Rename fields should also rename parameters with the same name. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Andrea Del Bene <an.delbene> | ||||||
Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | |||||||
Severity: | enhancement | ||||||||
Priority: | P3 | CC: | manoj.palat, markus.kell.r, noopur_gupta | ||||||
Version: | 4.4.1 | ||||||||
Target Milestone: | --- | ||||||||
Hardware: | PC | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Andrea Del Bene
2014-12-06 15:33:34 EST
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). |