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 206290 - Code completion does not add import statements
Summary: Code completion does not add import statements
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.2
Hardware: PC Linux
: P2 normal (vote)
Assignee: Dusan Balek
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2011-12-12 21:19 UTC by Jesse Glick
Modified: 2012-01-04 15:43 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 Jesse Glick 2011-12-12 21:19:35 UTC
As of 7.2 dev builds, when I accept a code completion for a class not currently imported, no import statement is added. The source file is thus uncompilable until I fix imports.
Comment 1 Dusan Balek 2012-01-03 08:16:51 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/99b4238dcb77
Comment 2 Quality Engineering 2012-01-04 15:43:18 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/99b4238dcb77
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #206290: Code completion does not add import statements - fixed.