[ANN] Rearranger plugin, version 3.7

This plugin rearranges (reorders) class and class member declarations according to a user-specified order and/or method call hierarchy; generates section-marking comments; provides several controls for spacing within and between methods and classes; and permits the user to manually rearrange items.

The new version fixes two bugs:
1) Fixed problem (NPE or introduction of syntax errors) when Rearranger applied spacing rules to source containing multiple braces on the same line.
2) Should handle Java 5.0 "enum" syntax.

Two versions have been uploaded, and are available through the plugin manager.
- Use plugin version 3.7.1 for IDEA 4.5.3, the production version.
- Use plugin version 3.7.2 for IDEA EAP build 3185 (Irida).

-Dave

6 comments
Comment actions Permalink

Can it support grouping properties with their getters and setters.

I have:
private String a;
...
private String z;
setA
getA
....
setZ
getZ

I like to have them grouped together by property like
private String a;
setA
getA

private String b;
setB
getB
....

Can this be done?

Norris Shelton
Sun Certified Java Programmer




Dave Kriewall wrote:

>This plugin rearranges (reorders) class and class member declarations according to a user-specified order and/or method call hierarchy; generates section-marking comments; provides several controls for spacing within and between methods and classes; and permits the user to manually rearrange items.
>
>The new version fixes two bugs:
>1) Fixed problem (NPE or introduction of syntax errors) when Rearranger applied spacing rules to source containing multiple braces on the same line.
>2) Should handle Java 5.0 "enum" syntax.
>
>Two versions have been uploaded, and are available through the plugin manager.
>- Use plugin version 3.7.1 for IDEA 4.5.3, the production version.
>- Use plugin version 3.7.2 for IDEA EAP build 3185 (Irida).
>
>-Dave

>

0
Comment actions Permalink

Norris,

It's a requested feature, not yet implemented. Sorry :) But now that I know there are two votes for it, I'll bump up the priority!

-Dave

0
Comment actions Permalink

Great. I have a large code base that I am revamping, but it's all
written with the "wrong" format. :)

Norris Shelton
Sun Certified Java Programmer




Dave Kriewall wrote:

>Norris,
>
>It's a requested feature, not yet implemented. Sorry :) But now that I know there are two votes for it, I'll bump up the priority!
>
>-Dave

>

0
Comment actions Permalink

Norris,

Give version 3.8 a try. I added the ability to group getters/setters with the property definition. See the 'General' configuration pane.

-Dave

0
Comment actions Permalink

Dave

>Give version 3.8 a try.
>

>


It doesn't work with 3177, but can be loaded. I guess you didn't specify
the since-build in the plugin.xml.


Alain

0
Comment actions Permalink

I built it with 3185, so it probably doesn't download automatically into 3177.

0

Please sign in to leave a comment.