Bug 114116 - [assist] name suggestion for collections
Summary: [assist] name suggestion for collections
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: 3.5 M2   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-28 10:57 EDT by Adam Kiezun CLA
Modified: 2008-09-16 04:54 EDT (History)
2 users (show)

See Also:


Attachments
Proposed fix (17.42 KB, patch)
2008-09-05 07:16 EDT, David Audel CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Kiezun CLA 2005-10-28 10:57:40 EDT
3.2M2

code completiom nicely suggests names for arrays:
Report[] <--CODE ASSIST> will suggest reports

it would be nice if it worked for collections too.

Set<Report> <--CODE ASSIST>  suggests set which is not useful. reports would be
much better.

I do understand that colletions are not any special from other generic classes
and only some generics are containers but the collections are much more used and
having this completion would be very useful.
Comment 1 David Audel CLA 2008-09-05 07:16:37 EDT
Created attachment 111807 [details]
Proposed fix
Comment 2 David Audel CLA 2008-09-05 07:22:56 EDT
Released for 3.5M2.

Test added
  CompletionTests_1_5#test0376() -> test0378()
Comment 3 Jerome Lanneluc CLA 2008-09-16 04:54:04 EDT
Verified for 3.5M2 using I20080914-2000