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.
If I rename an interface in a class which implements it, it works fine but if i undo the renaming by ctl+z from the class file , I see an error badge appear. I have to touch the file and save it again to make it disappear.
Undo'ing a refactoring from the editor is currently implemented this way in the editor and there is no way to workaround it from the refactoring engine. Undo from any other context should work fine.
*** Bug 241952 has been marked as a duplicate of this bug. ***
*** Bug 253931 has been marked as a duplicate of this bug. ***
It is still reproducible in the latest 8.1 Beta and this is really annoying. Each Undo/Redo forces user to save the file and this should happen automatically because refactoring does it. Product Version: NetBeans IDE Dev (Build 201508170002) Java: 1.8.0_60-ea; Java HotSpot(TM) 64-Bit Server VM 25.60-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_60-ea-b25 System: Windows 10 version 10.0 running on amd64; Cp1250; pl_PL (nb)
Issue does not occur when Undoing refactoring in scope of one java source. It could be that the problem relates only when refactoring modifies more than one java source.
*** Bug 254623 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