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

Summary: Import Statement Organizer
Product: java Reporter: Geertjan Wielenga <geertjan>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: RESOLVED FIXED    
Severity: normal CC: dstrupl, jglick, jlahoda, lhanson, nigjo_iqn
Priority: P2 Keywords: PLAN
Version: 7.1   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 122109    
Bug Blocks:    

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