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

Summary: Fix Imports should allow you to ignore some of its guesses
Product: java Reporter: heavy
Component: HintsAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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."