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.
I edited a source file by writing 'ErrorManager.getD' and find that code completion is not working (there are two possible EM on classpath) so tried to fix this by importing the right one with Alt-Shift-F. The action messages that all imports were fixed but it not truth - all imports were deleted and I had no chance to choose the correct ErrorManager to be imported.
This is most likely due to the fact that the code was syntactically broken thus the elements could not be resolved correctly. Dane please fix this (probably by displaying an informational message that the source is syntactically broken, rather than trying to fix the imports and mess them up instead).
*** Issue 48100 has been marked as a duplicate of this issue. ***
Adding [40cat] as the duplicated Issue 48100 has the prefix. + copy from Issue 48100 ------------- It deletes import statements for Exceptions and classes that only occur in the catch-block. -------------
Checking in JavaFixAllImports.java; /cvs/editor/src/org/netbeans/modules/editor/java/JavaFixAllImports.java,v <-- JavaFixAllImports.java new revision: 1.16; previous revision: 1.15
*** Issue 48444 has been marked as a duplicate of this issue. ***
Verified in 4.2 (200507110943)