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.
Fix Imports always display dialog which I must to close manually and it is quite annoying when everything was resolved without alternatives or no new imports were needed.
In fact I'd like to see it as P2 (to be fixed in 6.0 :-)), because very annoying the press odd "Enter" per fix import action
jano, what do you think?
Not a P2. Very likely wontfix
I also find it annoying. Specially if you have several imports being added at the same time because you will have to check every one to see if there is really one which appears in more than 1 package. Anyway, if it is not fixed then the message "The following class names were found in more than one package..." no longer makes any sense and should be changed.
i think it's easy to fix this issue but i'd like to get a comment from hie team first.
jano, still waiting for your feedback...
I think the "Fix Imports" action should *not* show the dialog in the following situations: - there's no imports to fix (everything is okay) - all imports to add are resolved (no import is ambiguous) If we want to suppress the dialog, it needs to: - always remove unused import (which I think is what users always want) - provide a basic notification in the status line that the action completed successfully or there's nothing to fix
I would say, that current unnecessary displaying of dialog is quite annoying and imho it's usability regression comparing with 5.5 => may be there is a reason to upgrade to P2?
fixed as jano suggested /cvs/java/editor/src/org/netbeans/modules/java/editor/imports/JavaFixAllImports.java,v <-- JavaFixAllImports.java new revision: 1.13; previous revision: 1.12 done Checking in Bundle.properties; /cvs/java/editor/src/org/netbeans/modules/java/editor/imports/Bundle.properties,v <-- Bundle.properties new revision: 1.5; previous revision: 1.4