Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[recommenders-dev] [completion] support for expected types in argument completion

Hi,

this is probably relevant for Cheng (Zhang) only at the moment – but for the records… :)

I just added IRecommendersCompletionContext.getExpectedTypeNames() : Set<ITypeName> that will return all expected types for method argument sites (e.g. new File($) --> {File, String, URI},  if($ --> {boolean}, w.addListener($) --> {Listener} etc.).

Cheng, I hope with that addition you have all things in place to integrate Precise into Eclipse (sketched completion implementation plus expected type support). Looking forward to see you first completion models in action.

Best,
Marcel

P.S.: Let me know if s/o needs further API additions.

Back to the top