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 - Make "Fix imports" remember preferences
Summary: Make "Fix imports" remember preferences
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 4.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
: 163573 (view as bug list)
Depends on:
Blocks: 152192
  Show dependency tree
 
Reported: 2004-12-06 08:04 UTC by randahl
Modified: 2010-01-11 02:10 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 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. ***