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 183703 - Import Statement Organizer
Summary: Import Statement Organizer
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.1
Hardware: PC Linux
: P2 normal with 7 votes (vote)
Assignee: Dusan Balek
URL:
Keywords: PLAN
Depends on: 122109
Blocks:
  Show dependency tree
 
Reported: 2010-04-08 11:59 UTC by Geertjan Wielenga
Modified: 2011-08-29 16:26 UTC (History)
5 users (show)

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 Geertjan Wielenga 2010-04-08 11:59:49 UTC
A student on one of the NetBeans Platform Certified Training courses has created a plugin for organizing import statements.

The source code for this plugin is on Kenai:

http://kenai.com/projects/organizeimports

Here is a description of what it does:

http://netbeans.dzone.com/import-statement-organizer

Would be great to integrate this into the NetBeans IDE sources!
Comment 1 Jan Becicka 2011-01-21 13:34:57 UTC
see issue 122109
Comment 2 nedenom 2011-01-29 14:52:54 UTC
This plugin works well, I think it should incorporated as standard. I wish for an additional option to organize static imports eg. last.
Comment 3 Ursus_B 2011-05-11 11:20:46 UTC
Hi,
I would suggest that if it is to be incorporated into NetBeans, have a look at the various ways you can arrange and organize the import statements in Eclipe, for example star imports and such.
Comment 4 Jan Becicka 2011-06-06 08:15:23 UTC
started on organize_imports branch in jet-main
Comment 5 Jan Becicka 2011-06-08 09:32:30 UTC
Dusan wants this
Comment 6 Dusan Balek 2011-08-29 16:26:11 UTC
Implemented in jet-main.

http://hg.netbeans.org/jet-main/rev/c604329f2888