[YANGIDE-8] Refactor->Rename should only select candidates of the same component type Created: 05/May/16 Updated: 19/Oct/17 |
|
| Status: | Open |
| Project: | yangide |
| Component/s: | General |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | David M. Karr | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 5852 |
| Description |
|
A bug was earlier fixed to ensure that Refactor Rename only selects component references in the same namespace, even if the base name is the same. However, a rename attempt on a "grouping" with name "foo" will blindly select a reference to a "type" or "typedef" named "foo", even though those are different components. Refactor Rename should only select candidate components of the same "component type" as the base reference (noting that one of the "component types" is "type"). |