Bug 167892 - Autocomplete disabled inside and after type parameter until import added
Summary: Autocomplete disabled inside and after type parameter until import added
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.8   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-13 13:35 EST by Luke Hutchison CLA
Modified: 2023-08-24 17:42 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke Hutchison CLA 2006-12-13 13:35:43 EST
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)"
Comment 1 Luke Hutchison CLA 2006-12-13 16:32:20 EST
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.

Comment 2 Luke Hutchison CLA 2018-09-14 04:26:49 EDT
Ping -- still a problem 12 years later.
Comment 3 Eclipse Genie CLA 2021-09-02 06:25:19 EDT
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.
Comment 4 Eclipse Genie CLA 2023-08-24 17:42:31 EDT
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.