The plugin rearranges class and class member declarations according to a user-specified order.
Bug fix in version 1.0 (from previous version 0.9):
- Fix deletion of previously inserted comments configured with trailing spaces.
Trailing spaces are truncated in Java file, so string comparison for comments was failing.
The plugin is available via Plugin Manager or at http://www.intellij.org/twiki/bin/view/Main/RearrangerPlugin.
Next planned features:
- Add global configuration setting "Rearranger comment pattern". All comments in the file matching this pattern will be deleted when the rearrangement begins. This allows you to change your configured comments without leaving artifacts from previous runs of the plugin.
Existing comments will be matched to the pattern, so you'll be warned if you have comments that don't match the pattern you specified.
- Ability to position extracted methods below the calling method. See the thread at http://www.intellij.net/forums/thread.jsp?forum=18&thread=50947&tstart=0&trange=15.
- Ability to order constructors which invoke others. For example,
orders the constructors from most parameters to least.