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 72584

Summary: Fix Imports should also remove FQN's from the code and create appropriate imports
Product: java Reporter: ieising <ieising>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description ieising 2006-02-13 07:18:48 UTC
Hi,

I am still wondering why the Fix Imports feature doesn't remove the FQN's from
my code and create the corresponding import statements where possible.
The import-manager from yesterday was superior in this regard.

Iwan
Comment 1 ieising 2006-05-05 14:00:23 UTC
One thing that needs to be kept in mind is that the FQN's in guarded blocks
should also be replaced. Many code affecting functionality does not work in
guarded blocks and even break the code.

Iwan
Comment 2 Dusan Balek 2007-09-20 10:30:26 UTC
Reassigning.
Comment 3 Jan Lahoda 2007-10-08 16:31:31 UTC
Seems more like an enhancement to me.