[Pharo-users] Better Code Completion

Marcus Denker marcus.denker at inria.fr
Tue Oct 6 09:29:47 EDT 2015


> On 06 Oct 2015, at 15:28, Esteban Lorenzano <estebanlm at gmail.com> wrote:
> 
> 
>> On 06 Oct 2015, at 15:23, Nicolai Hess <nicolaihess at web.de <mailto:nicolaihess at web.de>> wrote:
>> 
>> 
>> 
>> 2015-10-06 13:46 GMT+02:00 Henrik Johansen <henrik.s.johansen at veloxit.no <mailto:henrik.s.johansen at veloxit.no>>:
>> 
>>> On 06 Oct 2015, at 1:33 , Nicolai Hess <nicolaihess at web.de <mailto:nicolaihess at web.de>> wrote:
>>> 
>>> 
>>> 
>>> 2015-10-06 11:57 GMT+02:00 Werner Kassens <wkassens at libello.com <mailto:wkassens at libello.com>>:
>>> On 10/06/2015 09:09 AM, Nicolai Hess wrote:
>>>  > Since Object has almost 500 methods whatever I will start typing
>>> Object/TClass/TBehavior/... will have a list of answers...
>>> 
>>> I think this is difficult, even though this classes are big and you
>>> don't use most of the methods,
>>> 
>>> 
>>> Hi Nicolai,
>>> imagine that code-completion is a game and the computer wins, if the user mostly uses the first few proposals. perhaps one could program several different heuristics, that decide, what the user wants. depending on the user choices, the weights for these heuristics get updated accordingly and then the choices get sorted with those weights. this way the code-completion could adapt to the way each user works?
>>> 
>>> 
>>> Yes this would be nice, but it is not an easy task.
>>>  
>>> werner
>>> 
>>> 
>> 
>> I thought we already had something like that...
>> http://www.squeaksource.com/OCompletion/ <http://www.squeaksource.com/OCompletion/>
>> 
>> I can not load it in a recen pharo image. 
>> Is it used in recent versions of squeak?
> 
> OCompletion is already in the image (since Pharo 2.0). 
> if you check your settings, under "Code Completion”, Controller… it should say NOCController. 
> Is a lot better than older NECController, but still far from good enough.
> 

and strangely not the default. I remember setting it multiple times as the default, but it was reverted
somehow.

   Marcus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20151006/80f1ff0a/attachment.html>


More information about the Pharo-users mailing list