Skip to main content

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

Hi Marcel,

Thanks for adding the useful new API. Hope we can use it soon :)

I have finished the Bayesian network and will test it with examples tonight.
The structure of the network is identical to that in the latest model you drafted,
but the probability tables (and states) costed me a lot of time to design.

Best,
Cheng

On Sun, Aug 19, 2012 at 5:41 PM, Marcel Bruch <marcel.bruch@xxxxxxxxx> wrote:
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.
_______________________________________________
recommenders-dev mailing list
recommenders-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/recommenders-dev


Back to the top