[squeak-dev] [ANN] OCompletion improves the accuracy of eCompletion

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] [ANN] OCompletion improves the accuracy of eCompletion

Romain Robbes
Dear Squeak users,

OCompletion is an extension to ECompletion. Like ECompletion, it  
completes
the names of methods  as you write them in order to save you some  
typing.
The O in OCompletion stands for Omniscient and Omnipresent.

OCompletion is much more accurate than ECompletion. We tested it on the
development history of several projects
(see http://www.inf.unisi.ch/phd/robbes/papers/ASE2008-completion.pdf).

Across several hundred thousands tests of the completion, OCompletion's
algorithm scores a 70 (out of 100), while the eCompletion's algorithm
scores a 12. To achieve this level of accuracy, it learns from your  
usage
of squeak and proposes to you methods you are more likely to use.

OCompletion shows a small, non-instrusive completion menu with potential
completions as you type method names. You don't need to call it  
explicitely
with tab. Just press tab to insert a match, or the down arrow to  
select the next
match.

To install it on Squeak or Pharo, simply execute the following line in  
your image:

Installer squeaksource project: 'OCompletion'; install: 'OCLoader'

Cheers,
        Romain

--
Romain Robbes
http://www.inf.unisi.ch/phd/robbes