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 123140 - Code completion could try to match existing text
Summary: Code completion could try to match existing text
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords: USABILITY
Depends on:
Blocks:
 
Reported: 2007-11-30 13:56 UTC by Petr Jiricka
Modified: 2008-01-18 09:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2007-11-30 13:56:50 UTC
1. Create a new Java project
2. In the main class, place caret on this position (marked by |):
    public static void main(|String[] args) {
3. Press Ctrl+Space

Completion offers the first item. It would be useful if it selected "String". That way, the Javadoc window would be
showing the Javadoc for String.
Comment 1 Dusan Balek 2008-01-18 09:33:50 UTC
We plan to implement some kind of preselection, however it should rather work on the most recently used basis. To see
the Javadoc for element at the caret position use Ctrl+Shif+Space instead.