This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 262503 - intelligent code completion based on frequency of usage
Summary: intelligent code completion based on frequency of usage
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-21 09:21 UTC by 4bugzilla
Modified: 2016-06-21 12:47 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Inteligent code completion in Eclipse (33.63 KB, image/jpeg)
2016-06-21 09:21 UTC, 4bugzilla
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 4bugzilla 2016-06-21 09:21:47 UTC
Created attachment 160108 [details]
Inteligent code completion in Eclipse

How to reproduce:
In Java editor type:
--
JButton b = new JButton();
b.
--
and click ctrl+space to trigger code completion. As a result you get a list of methods which are alphabetically sorted.

Expected behavior:
Returned list of suggestions should have most frequently used methods on top. After most frequently used methods all other items are still alphabetically sorted. See attached screenshot and Eclipse code recommenders.

Example of such functionality in other IDE:
http://www.eclipse.org/recommenders/manual/#intelligent-code-completion
Comment 1 Geertjan Wielenga 2016-06-21 10:24:13 UTC
https://blogs.oracle.com/geertjan/entry/eclipse_recommenders_for_netbeans_ide
https://blogs.oracle.com/geertjan/entry/eclipse_recommenders_for_netbeans_ide1

Take a look at the above. Indeed, would be good to have these in NetBeans.