This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | [Type Migration] Add ability to refactor the type of a member variable. [70cat] | ||
---|---|---|---|
Product: | editor | Reporter: | esmithbss <esmithbss> |
Component: | Refactoring | Assignee: | Ralph Ruijs <ralphbenjamin> |
Status: | REOPENED --- | ||
Severity: | normal | CC: | muellermi, ralphbenjamin, zimmi |
Priority: | P3 | ||
Version: | 8.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
esmithbss
2010-11-28 03:46:13 UTC
I agree, would be great to have this. Now that we're able to change the name of a property and have the names of the getters and setters be updated at the same time, it would be great to also be able to change the TYPE of the property and have the TYPE of the getters and setters be updated at the same time! *** Bug 203242 has been marked as a duplicate of this bug. *** This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss I can reproduce this in NetBeans IDE 8.2 (Build 201609300101). I find no way to refactor the type of a member variable. Intellij Community have this, if someone want to try to find out how they do it the source can be found here: https://github.com/JetBrains/intellij-community . Here is a explanation of Type Migration from Jetbrains, http://www.jetbrains.com/help/idea/2016.2/type-migration.html: """ The Type Migration refactoring allows you to automatically change a member type (e.g. from integer to string), and data flow dependent type entries, like method return types, local variables, parameters etc. across the entire project. It also lets automatically convert variable or method return type between arrays and collections. If any conflicts are found IntelliJ IDEA warns you about them. """ |