Eclipse Autocomplete (percent sign, in Juno)

JavaEclipseEclipse Juno

Java Problem Overview


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

Java Solutions


Solution 1 - Java

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

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionuser1518577View Question on Stackoverflow
Solution 1 - JavaWolframView Answer on Stackoverflow