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.
In NetBeans 5.0... if you USE the unimported class... and use code complemention it's work !!! is wonderfull !!! does't have an import of java.util.List to get the list of methods... In NetBeans 6.0 m7 the code... List<String> lst = (Control+Shift+Space) does not show anything... why ? why the java.util.List is not imported.... if you import the java.util.List , smart lookup work... Plase... make NetBeans more "smart" in this case...
But there are more class named List in JDK and user can create another ones. Which one should be imported in that case? Now the smart CC (code completion) will work only if the type on the left side is resolved. In the situation you've posted it will provide all variables of type List and all methods returning List as well. If you use smart CC in following code: List<String> lst = new | it will provide all classes implementing List (even when they are not imported yet)