Rearranger plugin, version 3.8
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.
There's one new feature in this version:
- Add ability to place getters/setters immediately below their property (field) declaration.
This version also fixes this bug:
- Fixed problem with Live Rearranger when "Show Fields" was off.
Two versions have been uploaded, and are available through the plugin manager.
- Use plugin version 3.8.1 for IDEA 4.5.3, the production version.
- Use plugin version 3.8.2 for IDEA EAP build 3185 (Irida).
-Dave
Please sign in to leave a comment.
Thanks so much. This makes my classes much neater.
One thing I noticed was that the spacing within a group (property,
getter, setter) was correct (1-line between); however, each group was
not separated by a space. I had IJ reformat to fix them.
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.
>
>There's one new feature in this version:
>- Add ability to place getters/setters immediately below their property (field) declaration.
>
>This version also fixes this bug:
>- Fixed problem with Live Rearranger when "Show Fields" was off.
>
>Two versions have been uploaded, and are available through the plugin manager.
>- Use plugin version 3.8.1 for IDEA 4.5.3, the production version.
>- Use plugin version 3.8.2 for IDEA EAP build 3185 (Irida).
>
>-Dave
>
Attachment(s):
moz-screenshot-8.jpg
There was a bug in v3.7.1: if you have more variables defined in one line:
int a = 0, b = 0, c = 0;
rearranger will likely delete some of the declarations. I never use style. But recently i'm rewriting codes from some others...