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 196319

Summary: completion does not auto import context class
Product: java Reporter: Vladimir Voskresensky <vv159170>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: RESOLVED FIXED    
Severity: normal Keywords: USABILITY
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Voskresensky 2011-03-04 17:45:02 UTC
if I quickly type
SwingUtilities.is
and then call completion and select isEventDispatchThread from the completion list => their is no auto inclusion of import for SwingUtilities
=> I have to fix import after that manually.

Situation is even more problematic for me when I don't know right package of i.e. "Utilities" class, so I type
Utilitites.| and choose correct method, but then I have to guess what was the package of Utilities, although it was clear for engine when I accepted choice of code completion
Comment 1 Dusan Balek 2011-03-08 15:32:08 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/4cb608cfd9bb
Comment 2 Quality Engineering 2011-03-09 05:38:04 UTC
Integrated into 'main-golden', will be available in build *201103090000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/4cb608cfd9bb
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #196319: completion does not auto import context class - fixed.