Bug 531136 - Suboptimal Completion order when expecting array of interface
Summary: Suboptimal Completion order when expecting array of interface
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.5   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2018-02-14 04:55 EST by Mickael Istria CLA
Modified: 2018-02-14 04:55 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mickael Istria CLA 2018-02-14 04:55:33 EST
let's imagine I do complete the following code, setBuildConfiguration expecting an array of IBuildConfiguration:

  projectDescrition.setBuildConfiguraitons(new IBui

Then the first proposal I get will create me an anonymous type. The second proposal completes by letting me create the array.
The ordering seems wrong. First proposal should be about instanatiating an array.