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 107193 - Better guess for "new" completion
Summary: Better guess for "new" completion
Status: RESOLVED WORKSFORME
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:
Depends on:
Blocks: 88714
  Show dependency tree
 
Reported: 2007-06-19 13:26 UTC by jrojcek
Modified: 2012-12-08 12:54 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 jrojcek 2007-06-19 13:26:01 UTC
Currently if I type...
    JFrame f = new |
...the code completion offers "ASTFrame" as the first choice and "InputMethodJFrame" as the second choice.

The code completion should do a better guess about what the user wants to instantiate and select JFrame in CC window initially even if it's just the third item 
in the list. Maybe even a simple string matching (JFrame == JFrame) would do the work.
Comment 1 markiewb 2012-12-08 12:54:01 UTC
Works for me in 7.3