Community
Participate
Working Groups
With the new constructor completion support in code assist, it is difficult to create expressions like: new Some|thing[]{...<seed the array>...} (i.e. code assist at the '|') I can no longer get code assist to just complete the type name - I always have to choose from constructors. Is there a setting I'm missing?
Right, in that case we should also see types. Moving to JDT Core.
Created attachment 124690 [details] Proposed fix With patch types are also proposed when the expected type in an array. eg. X[] x = new Y| eg. void foo(X[] x) { foo(new Y| eg. X[] foo() { return new Y| I can not compute types hierarchies (too costly) so i can not propose only subtypes of X.
Released for 3.5M6 Tests added CompletionTests#testConstructor1() -> testConstructor6()
Verified for 3.5M6 using I20090310-0100.