[Pharo-users] Better Code Completion

stepharo stepharo at free.fr
Tue Oct 6 14:02:09 EDT 2015


In fact NOC is the code of romain robbes (we took the best version that 
he described in his phd)
Now the code needs some love.

Stef

Le 6/10/15 15:53, Nicolai Hess a écrit :
>
>
> 2015-10-06 15:28 GMT+02:00 Esteban Lorenzano <estebanlm at gmail.com 
> <mailto:estebanlm at gmail.com>>:
>
>
>>     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/
>>
>>
>>     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.
>
>
> Funny, I always thought the NOC-Classes are some kind of "Old" 
> NEC-Classes.
>
>     Is a lot better than older NECController, but still far from good
>     enough.
>
>
> Some more information on this? What is missing.
>
>
>     Esteban
>
>
>>
>>
>>         Cheers,
>>         Henry
>>
>>
>
>

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


More information about the Pharo-users mailing list