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 204533 - Better prioritization of code completion items
Summary: Better prioritization of code completion items
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.1
Hardware: PC Other
: P2 normal (vote)
Assignee: Dusan Balek
URL:
Keywords: PLAN, USABILITY
Depends on:
Blocks:
 
Reported: 2011-11-01 17:02 UTC by Anton Chechel
Modified: 2012-03-15 12:29 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Chechel 2011-11-01 17:02:27 UTC
When user is using JavaFX, NetBeans Java Editor should propose him classes from javafx packages rather than from java.awt package in code completion.

There should be a way to register some preferable packages for code completion per project. For example JavaFX will register javafx package though some SPI and Java code completion will take it into account.
Comment 1 Dusan Balek 2012-03-13 15:16:38 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/c41071b77850

Prioritization of code completion items is done automatically based on reference counting.
Comment 2 Quality Engineering 2012-03-15 12:29:11 UTC
Integrated into 'main-golden', will be available in build *201203150400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/c41071b77850
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #204533: Better prioritization of code completion items - fixed.