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 NB 6 M10 on OS X. Steps to reproduce: - create a new java file - type "List list;" in the body of a method; List will be underlined as unresolved symbol - Press Alt-Enter or click on the light bulb Instead of a set of hints like "add import java.awt.List", "add import java.util.List", ... there is only one hint labeled with the error message 'cannot find symbol...'. Invoking it adds arbitrary import, there is no choice between classes with the same name located in different packages (but present on the class path)
Created attachment 44662 [details] Hint description
Created attachment 44663 [details] code completion result items
I have a similar situation with the unused imports hints: if I have 2 unused imports there should be hints like "remove xxx import" and "remove all imports", but there is only one hint labeled "unused import", which performs the former action.
It seems that the hints list popup has a zero width... .
reproducible on win xp too
fixed /cvs/editor/hints/src/org/netbeans/modules/editor/hints/HintsUI.java,v <-- HintsUI.java new revision: 1.31; previous revision: 1.30