Eclipse Autocomplete (percent sign, in Juno)

15,130

The percentage represents how likely the Eclipse Code Recommenders (archived project since July 2019) think it is that you are looking for a certain completion based on the context and maybe prior usage and other variables (there are "5 Intelligent Code Completion Engines"). It is not only the bare usage statistics. So a value might change from 13% to 95% between some lines, depending what you did in between.

See the docs for details (archived project since July 2019):

It assists developers by recommending him only those methods that are actually relevant for his task at hand. For instance, given that a developer just created a text widget makes it obvious for Code Recommenders which methods a developer wants to use next - even if the developer doesn't know it by himself.

A download of the now archived project can be found here: http://archive.eclipse.org/archived_projects/recommenders.tgz

Share:
15,130
Admin
Author by

Admin

Updated on July 05, 2022

Comments

  • Admin
    Admin almost 2 years

    I started using Eclipse Juno a few days ago after using older versions for years.

    There's one thing that's really bothering me: What do that percentages next to the methods in the auto-complete box mean?

    Screenshot of Percentages in Autocomplete Box

  • Chris Halcrow
    Chris Halcrow over 5 years
    IMHO, not a good design choice. My first guess was that this indicates a performance measure (e.g. computational overhead) for using the suggested code.