Bug 426429 - [code assist] Autocompletion for generic type parameters when generic type is unresolved
Summary: [code assist] Autocompletion for generic type parameters when generic type is...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.3.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-23 03:55 EST by André Stannek CLA
Modified: 2014-01-23 11:09 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description André Stannek CLA 2014-01-23 03:55:31 EST
I've always found it annoying that the generic type parameters don't autocomplete if the generic class is not yet resolved.

Example:

I want to create a "List<String>". I type "List<" which autocompletes to "List<>" with an error for the unresolved class "List". As the cursor is already between the brackets I type "S" and hit Ctrl + Space. I would now expect it to be able to autocomplete to "String" but the list of suggestions is empty.

It works of course if "List" is imported but it kind of interrupts my workflow. If this is possible to implement, it would be an awesome feature.
Comment 1 Dani Megert CLA 2014-01-23 11:09:12 EST
We don't get any proposals from JDT Core.