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 - [IMT] Add 'Create single import statement for all references' button
Summary: [IMT] Add 'Create single import statement for all references' button
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-12 10:37 UTC by Brian Matzon
Modified: 2007-09-26 09:14 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 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.