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 113109 - Code completion does not work on not (yet) imported classes
Summary: Code completion does not work on not (yet) imported classes
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-08-17 17:29 UTC by dalecooper82
Modified: 2007-11-05 13:38 UTC (History)
1 user (show)

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 dalecooper82 2007-08-17 17:29:57 UTC
If I type

@OneToMany(fetch=FetchType.|)

without ctrl+space, code completion does not offer completion (in this case EAGER/LAZY) after the dot.

If I do hit ctrl+space while I am typing FetchType, it does import the package and offers completion correctly.

NB551 did this ok.
Comment 1 Vitezslav Stejskal 2007-08-20 19:00:42 UTC
Reproducible in a dev build.
Comment 2 Dusan Balek 2007-08-24 11:48:24 UTC
Fixed.

Checking in JavaCompletionProvider.java;
/cvs/java/editor/src/org/netbeans/modules/editor/java/JavaCompletionProvider.java,v  <--  JavaCompletionProvider.java
new revision: 1.143; previous revision: 1.142
done