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

Giuseppe Luigi Punzi glpunzi at lordzealon.com
Tue May 12 08:43:56 UTC 2009

Looks good.

But, this autocomplete Class names? I'm trying and when I write a class 
name, only appears a little "window" showing me selectors, and, if I 
load a new package, this is not showed on the aut"o"completion list.


Romain Robbes escribió:
> 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) 
> <http://www.inf.unisi.ch/phd/robbes/papers/ASE2008-completion.pdf%29>.
> 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
> ------------------------------------------------------------------------

More information about the Squeak-dev mailing list