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.
[ BUILD # : 200710212201 ] [ JDK VERSION : 1.6.0_03 ] Example: import java.util.HashMap; public class Test { public void t() { HashMap<String, String> myMap = new HashMap<String, String>(); for(Map } } Now type a "." after "Map". You get NOTHING in NB 6.0. This is a serious regression, because in NB 5.x, you get 2 suggestions, one of them being "Entry". The intention of this case is to write this code: for(Map.Entry<String, String> x : myMap.entrySet()) { } NB 6.0 code completion only works AFTER importing java.util.Map. This may be by design, but I see it as an annoying bug.
Reproducible in a dev build.
I thought I'd point out that even though NB5.5 would complete for classes that weren't imported, sometimes it would choose the wrong one, if there were more than one class with the same name.
IMO this Is not a bug Type Map and hit Ctrl+Shift+I and It ask in place import like CC
Fixed. Checking in JavaCompletionProvider.java; /cvs/java/editor/src/org/netbeans/modules/editor/java/JavaCompletionProvider.java,v <-- JavaCompletionProvider.java new revision: 1.164; previous revision: 1.163 done