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 118994 - [60cat] Add Quickfix for Star Import
Summary: [60cat] Add Quickfix for Star Import
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P3 blocker with 2 votes (vote)
Assignee: Svata Dedic
Depends on:
Reported: 2007-10-16 05:14 UTC by rationalpi
Modified: 2013-09-02 14:23 UTC (History)
2 users (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description rationalpi 2007-10-16 05:14:10 UTC
[ BUILD # : 200710150000 ]
[ JDK VERSION : 1.6.0_02 ]

There is no quick fix available for the Star Import (e.g. import
java.util.*;) hint.

It would be nice if the IDE could generate the specific import
statements that would replace the star import statement as a quick
fix for detecting the use of a star import.

Steps to Reproduce
1. Enabled the "Star import" hint under Java Code -> Hints -> Imports
section of the IDE's Options/Preferences.

2. Create a new Java class.

3. Import something using a star (e.g. "import java.util.*;)

4) Note the editor hint in the margin and the lack of a quick fix for