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 85760 - Add import hint not shown
Summary: Add import hint not shown
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks: 87136
  Show dependency tree
 
Reported: 2006-09-26 12:08 UTC by Jiri Prox
Modified: 2007-01-17 10:09 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 Jiri Prox 2006-09-26 12:08:37 UTC
NetBeans IDE Dev (Build 060926)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b99
Linux version 2.6.5-1.358 running on i386
en_US (nb); UTF-8

Add import hint is not shown automatically (no lightbulb). It must be invoked by
alt-enter to provide any suggestions. 

Steps to reproduce:
1) somewhere in code type:
FileReader fr;

-> it's red underlined, but no lightbulb
2) pres alt-enter

-> "computing imports" shown for a while and then adding import is suggested
Comment 1 Max Sauer 2006-09-26 12:21:39 UTC
Once hint is invoked (Alt-Enter), all hint bulbs inside opened files 
suggesting import appear. New, not yet imported declaration couses then to 
disappear again. 
Comment 2 Jan Lahoda 2006-09-29 17:17:34 UTC
Should be fixed:
Checking in AnnotationHolder.java;
/cvs/contrib/editorhints/spi/src/org/netbeans/modules/editorhints/AnnotationHolder.java,v
 <--  AnnotationHolder.java
new revision: 1.4; previous revision: 1.3
done
Comment 3 Jiri Prox 2006-10-02 12:41:43 UTC
verified