Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[recommenders-dev] Plan for type proposals for subwords completion

Marcel,

I am hoping to have some time this weekend to jump into the subwords completion code and take a stab at type completion (https://bugs.eclipse.org/bugs/show_bug.cgi?id=366402).  I also want to evaluate and think about the subword weighting (https://bugs.eclipse.org/bugs/show_bug.cgi?id=346947)

I've been using the subwords completion engine at work for weeks now and get a lot of value from it even without the types, and I plan to continue dog-fooding it so hopefully will (if nothing else) have good feedback.

A few weeks ago (though I can't find the emails) you mentioned that you had some ideas to discuss type proposals in subwords completion.  I see that https://bugs.eclipse.org/bugs/show_bug.cgi?id=340945 has been completed (despite a bug in the non-default proposals).  So what do you think?  Use that to provide some filtering of a call to org.eclipse.jdt.core.search.SearchEngine.searchAllTypeNames as described in ()?

I haven't looked too hard at the eclipse APIs yet, but this seems fairly straight forward -- do you know if searchAllTypeNames takes any kind of criteria to reduce the search space? Or do I need to do filtering after the fact?

Lastly, today when I run subwords completion I still need to keep java proposals turned on otherwise I don't get types all the time (obviously).  But when its on I get duplicate entries in my suggestions list.  Is this a required consequence?  Or do you know if there is some way of easily preventing this?  Or do we just think that once subwords completion is complete that it wont matter as user will just disable java proposals?

Also as a future effort have you thought any about the HMM model proposed by Sangmok in the videos you posted on the blog?  This also seems very useful and I swear intelliJ is doing something similar.  I seem to remember it resorting based on my habits.  Even just sorting based on simple probabilities might be interesting.

Thanks!

Steve

Back to the top