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 56705

Summary: Identify Unnecessary Import Statements Intelligently
Product: java Reporter: paulhuang <paulhuang>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: blocker    
Priority: P2    
Version: 4.x   
Hardware: All   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description paulhuang 2005-03-21 07:16:56 UTC
In Eclipse, when you have unnecessary import statements at the head of a Java
source file, the IDE will automatically locate and report them. Such kind of
features is quite useful for developers to provide a clean, professional code. 

I don't find such feature in Netbeans and I hope I could get it one day in the
near future. 

Thanks
Comment 1 paulhuang 2005-03-21 09:57:52 UTC
I realized there is a menu item in the source code editor, "Fix imports" can
help me. However, a mark in the source editor window indicating the existance of
unnecessary import is still highly wanted.