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 # : 200408221800 ] [ JDK VERSION : J2SE 1.5.0 ] When I use the fix import tool doesn't happen anything. But how can configure this tool ? Ie, if I want all import or I want an import any 3 qualified names
Fix Import does not do anything if there is nothing to be imported. If there are some imports missing, Fix Imports add them, if there are some unused imports, Fix Imports removes them. That's it. Does this not work for you? What exactly does not work? Could you please provide exact (step-by-step) instructions on how to reproduce your problem?
The previous Import management tool ordered the import. You could choose if you want all import, all fully qualified names and other. Now You can only add or remove import: If you create a java application project create a class that extends Hashtable(for example) and override the metod element() you will see that the signature is : public java.util.Enumeration elements() { The Enumeration have a fully qualified name but I want that all classes must be the import in head to the class ie: import java.util.Hashtable; import java.util.Enumeration; public class Test extends Hashtable{ /** Creates a new instance of Test */ public Test() { } public Enumeration elements() { java.util.Enumeration retValue; retValue = super.elements(); return retValue; } } With the previuos IMT the import was ordered.
OK, I see what you mean. This is as designed. The fix imports functionality will be improved in the next release.
*** This issue has been marked as a duplicate of 47599 ***