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 52088

Summary: Make "Fix imports" remember preferences
Product: java Reporter: randahl <randahl>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 152192    

Description randahl 2004-12-06 08:04:29 UTC
This is relevant in many, many situations but let
me give just one example:

If you use log4j rather than java.util logging you
have two Logger classes on your classpath, so in
each and every class where you declare a logger
the "Fix imports" window will ask you which logger
you would like to use. Introducing a simple check
box called something like "Always make this choice
in this project." would be really helpful here.

I declare a logger in each of my hundreds of
classes and each time I create a new classes I
have to tell NetBeans that it is indeed still the
log4j logger I prefer and not the java.util logger.
Comment 1 trcorbin 2009-05-13 21:06:53 UTC
Man, I'd kill for this.   Most of the time I want this when using fix imports.

In fact, I'm surprised I hadn't already entered this request.
Comment 2 Max Sauer 2009-05-14 11:51:54 UTC
Yes, this would be nice. I'm planning some improvements in this area for 6.8.
Comment 3 Vitezslav Stejskal 2009-09-23 16:08:27 UTC
*** Issue 163573 has been marked as a duplicate of this issue. ***