Bug 163468 - [assist] Enhance Content Assist for variables with unresolved type
Summary: [assist] Enhance Content Assist for variables with unresolved type
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-05 01:34 EST by Pan Feng CLA
Modified: 2006-11-07 03:55 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pan Feng CLA 2006-11-05 01:34:38 EST
The feature that Content Assist for variables with unresolved type was introduced
since Eclipse 3.3 M3. It is a very useful feature, I loved it. Thanks so much for your great work! But I think if you enhance it, it will become more useful.
For example, I write a following code snippet:

List<String> list = new ArrayList<String>();
list.add("Happy Birthday, eclipse!");

If I never import List and ArrayList, after I type list.add("..."), JDT will add import for List automatically, but ArrayList type did not added import automatically. So would you like to enhance it for the feature? Thanks!
Comment 1 Pan Feng CLA 2006-11-05 01:44:29 EST
And I found if I type the following code snippet, it will not pop up code assist window:

  //List has not been added import.
  new ArrayList().