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 21466

Summary: [IMT] Add 'Create single import statement for all references' button
Product: java Reporter: Brian Matzon <bmatzon>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: ENHANCEMENT Exception Reporter:

Description Brian Matzon 2002-03-12 10:37:18 UTC
Ok, so naming could be better :)
I often develop using * import statments, but before I commit it to CVS I need
to change all import statements to single import staments eg:

java.awt.*;

becomes

java.awt.Point;
java.awt.Rectangle;

doing this manually is annoying.
Adding a button to the import management tool, that marks all classes from 'use
FQN' to 'create impoert statement' would make my life (and others) *much*
easier... :)
Comment 1 Svata Dedic 2002-05-21 17:52:06 UTC
Cleaning up before 4.0 planning
Comment 2 Marek Grummich 2002-07-19 16:57:59 UTC
Target milestone was changed from not determined to TBD
Comment 3 zacjacobson 2004-01-02 21:51:12 UTC
Workaround:
Set the following value unreasonably high:
Options
->Editing
  ->Java Sources
    ->Import Management Tool Settings
      [Wildcard Import Statement Threshold]
Comment 4 Martin Matula 2004-11-13 20:59:20 UTC
IMT was removed. This issue is no longer applicable.