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 185612 - Fix Imports should allow you to ignore some of its guesses
Summary: Fix Imports should allow you to ignore some of its guesses
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: PC All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-06 13:44 UTC by heavy
Modified: 2013-09-02 14:20 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description heavy 2010-05-06 13:44:09 UTC
When I am developing code and I use Fix Imports, I regularly end up in a situation where I have other types that I haven't fully defined yet that Fix Imports guesses their import against some pre-existing class. In these cases, I have two options:

1. Allow it to insert invalid imports.
2. Cancel the entire Fix Imports operation.

A simple enhancement to the UI could provide a more elegant solution. Just an a "Don't fix" option to each combo box so we can selectively ignore some suggestions.
Comment 1 heavy 2010-05-06 13:56:35 UTC
Sorry, my original comment should say:

"Just add a "Don't fix" option to each combo box so we can selectively ignore some
suggestions."