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.
Product Version = NetBeans IDE 8.0.2 (Build 201411181905) Operating System = Windows 10 version 10.0 running on amd64 Java; VM; Vendor = 1.8.0_60 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.60-b23 When renaming the Elements of a enum (all but the first one), the documentation for the first element gets doubled. So after 2 renaming operations I get this result: public enum EnumExample { /** * Description of FirstThingy *//** * Description of FirstThingy *//** * Description of FirstThingy *//** * Description of FirstThingy */ FirstThingy, /** * Description of SecondThingyNewName */ SecondThingy_Renamed_using_Refactor, /** * Description of first ThirdThingyNewName */ ThirdThingy_Renamed_using_Refactor } It gets worse when I try to rename the first element: Then the first element looks like this (before any other rename operations): /** * Description of FirstThingy */Description of FirstThingy_Renamed_using_Refactor */ FirstThingy_Renamed_using_Refactor,
Created attachment 156428 [details] IDE log
Fixed in jet-main#2aad4c642727
Integrated into 'main-silver', will be available in build *201604280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/2aad4c642727 User: Svata Dedic <sdedic@netbeans.org> Log: #255568: respect the text already copied over in e.g. comments or annotations