Project: JDT
Bug 84194 [content assist] Code assist in import statements insert at the end
Reported: 2005-02-01 18:05:31 | Status: resolved fixed

Build: I-20050201 Open any Java file that contains > 1 import statements. Let's say the first import statement reads: import org.eclipse.core.runtime.*; delete the '*;' from the end and try to use code assist to insert IRunnableWithProgress for example. You will see that upon pressing Enter to select, the text gets inserted several lines down under all the import statements. the cursor is now in a random position also.

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ExperimentalResultCollector.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaTypeCompletionProposal.java