Community
Participate
Working Groups
Before import java.util.ArrayList; has been added to the top of a program, typing ArrayList<Int|> and then pressing Ctrl-Space fails to bring up a list of completions e.g. Integer. Also ArrayList<Integer>| followed by Ctrl-Space fails to give the option to import java.util.ArrayList. (It makes sense that this second example should definitely give the import option, because the parameterized type fits ArrayList<T> .) It would be nice if at any point, matches for parameterized types would give the option of both importing and completing the type simultaneously; e.g. for the first example "ArrayList<Integer> (import java.util.ArrayList)"
Also given ArrayList<Integer> myList = new | it would be nice if there was a completion on Ctrl-Space at the indicated cursor position: "...myList = new ArrayList<Integer>() (import java.util.ArrayList)" so that something can be filled in at that point without having to go back to ArrayList, hit Ctrl-Space, and return to the end of the line, then hit Ctrl-Space again.
Ping -- still a problem 12 years later.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.