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.
Using dev build 200911251400. In a Java source file I type import java.util.Lis then hit ctrl-space for completion and choose List from the offered choices. The output should be import java.util.List; on one line but is in fact spread across several lines: import java.util.List import java.util.List; <Object>
Dusan, can you please check this? BTW does it happen only in trunk build or is the problem present in 6.8 RC build? I have marked it as happening in "6.9", please change to 6.8 if it happens there as well.
Might be related / duplicate of #177431.
Unfortunately, the problem present also in 6.8 RC1 build. I'm working on fix.
This should be fixed in rc1, it's quite annoying bug
The steps to integrate into 6.8 RC2 are here: http://wiki.netbeans.org/NB68HighResistance
*** Bug 177431 has been marked as a duplicate of this bug. ***
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/1117e8da37d7
I would vote for fixing this into RC2, so this is not a stopper for RC1 - honestly number of people those are writing imports manually is very low I think
@Marian: It also happens for static imports, and these have to be entered manually.
I discovered this issue while entering a generic static import. If it's not fixed, then entering static imports becomes very difficult.
As I've said earlier : we'll fix it for Rc2, but this one is not stopper for RC1 (almost published) .
Integrated into 'main-golden', will be available in build *200911280200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/1117e8da37d7 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #177702: Code completion for import of generic class adds extra (incorrect) text - fixed.
The patch seems to OK to me.
verified in trunk
Integrated in release68 branch. http://hg.netbeans.org/release68/rev/337686352fbb
verified