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 # : 200808181800 ] [ JDK VERSION : J2SE 1.5.0 ] When I write a class I don't find more the Import Management Tool in Tool menu. This tool can correct all imports in the class (see the overriden methods and synchonized function that use the fully qualified name)
IMT was replaced by Fix Imports action available from editor pop-up menu (Alt-Shift-F).
The Fix Import don't work
If it does not work for you then it is probably a bug. Please file a separate issue and provide the steps to reproduce your problem. Thanks.
Is this addressed by bug 47599? The answer there is "not for 4.0"
I don't understand the question.
I see that the fix import work. But leak a feature IMT like: this is, -the ability to group imports by package or individually -the ability to specify that an identifier should be left in as a full class name rather than an import The synchronize tool tends to bring in fully qualified class names and with the fix import tool you can't correct in import
Can IMT be used how a external installable plugin of NB 4?
I see. Yes, that's covered by issue 47599. I don't think you can use the IMT as a plugin.
I should add the reasons why we made this change: 1) IMT relayed on old javac compiler that was (and no longer is) cobundled with NB 2) IMT did not support static imports 3) it worked on top of the old org.openide.src language API that is readonly for sources that contain generics and other JDK 5.0 features, so it would not work for files that contains those 4) users were complaining that it is too complex and confusing (only advanced users were able to make use of it) 5) there was a need for simpler ways of optimizing imports without too much asking So, we had to completely rewrite the fix imports functionality. The goal was to fully support the settings that IMT did, but with the given timeframe and resource constraints, for 4.0 we were only able to provide this basic functionality of adding/removing imports.