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.
Just copy and paste Java code into a Java file offers to autmatically do the necessary imports. Using an entry from the copy and paste history the dialog offering the imports is not displayed. Workaround: Fix Imports.
Reproducible
http://hg.netbeans.org/jet-main/rev/954a9c9a7999
Integrated into 'main-golden', will be available in build *201302270948* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/954a9c9a7999 User: Milutin Kristofic <mkristofic@netbeans.org> Log: #225085 - Pasting code from copy and paste history does not offer to add java imports
This change won't be included in netbeans patch, but next netbeans version. The change needs to be tested longer, since change is a little risky.
Ok, targeting NB 7.3.1 (as the next NB release). BTW: not sure what are the exact steps to reproduce, but I was not able to do so even in NB 7.3 ;( Jirka (Prox), could you please verify ? Thanks in advance.
verified Product Version: NetBeans IDE Dev (Build 20130312-2c21fe2d19b2) Updates: Updates available Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b19 Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b78 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb) User directory: C:\Users\jprox\AppData\Roaming\NetBeans\dev Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\dev
Transplanted http://hg.netbeans.org/releases/rev/c1437e621670