Hello All,
The attached file impgroup.el contains the command `jde-order-imports'
which organize the import statements of the Java source in the current
buffer.
Imports are organized into groups defined by `jde-imports-groups'.
Groups are inserted in the order specified by `jde-imports-groups'.
In each group imports are sorted by name alphabetically or in reverse
order if `jde-imports-reverse-sort-group' is non-nil. A blank line is
inserted between groups.
M-x jde-order-imports group and sort import statements if needed.
C-u M-x jde-order-imports force reordering.
`jde-order-imports' needs the latest JDE 2.2.6 with semantic 1.3.1
to work.
Your feedback will be welcome.
Sincerely,
David
impgroup.el