Authors:
Dave Kriewall
free software

Rearranger

Vendor: Dave Kriewall

Email: dave.kriewall at gmail.com

Website: http://rearranger.dev.java.net

Description:

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.
Downloads: 40055
Rating:
Participated in rating: 13
Version Since Build Until Build File/URL Size (Kb) Date Dependency
5.0. 80.8500. . Download 433.43. 2010-01-30 08:38:24 .
4.9. 80.8500. . Download 427.99. 2009-01-01 22:42:44 .
4.8. 80.8500. . Download 428.05. 2009-01-01 22:32:43 .
4.8. 80.8500. . Download 439.07. 2008-08-30 20:47:16 .
4.7. 50.4267. . Download 457.95. 2007-02-14 21:41:50 .
4.6. 50.4267. . Download 458.08. 2006-11-27 01:34:13 .
4.5. 50.4267. . Download 453.95. 2006-07-24 11:06:41 .
4.4.1. 50.4267. . Download 453.97. 2006-07-14 04:19:13 .
4.3.1. 40.3431. . Download 448.64. 2005-10-29 22:08:26 .
4.2.1. 40.3431. . Download 459.91. 2005-10-28 00:25:31 .
4.1.1. 40.3431. . Download 459.87. 2005-10-26 09:46:38 .
4.0.3. 40.3431. . Download 410.2. 2005-08-19 01:24:25 .
4.0.2. 40.3265. . Download 410.34. 2005-03-26 23:18:47 .
4.0.1. 40.3229. . Download 410.29. 2005-03-26 21:12:31 .
3.9.2. 40.3229. . Download 409.81. 2005-02-23 23:27:17 .
3.9.1. 40.2253. . Download 409.76. 2005-02-23 23:26:23 .
3.8.2. 40.3185. . Download 392.33. 2005-01-28 00:58:12 .
3.8.1. 40.2250. . Download 392.25. 2005-01-28 00:57:45 .
3.7.2. 40.3185. . Download 390.12. 2005-01-26 23:07:25 .
3.7.1. 40.2250. . Download 390.05. 2005-01-26 22:57:04 .
3.7. 40.3185. . Download 390.07. 2005-01-26 22:14:48 .
3.6. 40.2233. . Download 379.04. 2004-08-08 01:47:09 .
3.5. . . Download 378.69. 2004-06-30 23:10:13 .
. .

Recent change notes:

1) Recompiled with -target 1.5 so plugin will work on Mac 64-bit OS. 2) Compiled for IDEA 9.0.1.

Comments:

Anonymous
Rated: noRate
2010-02-02 04:57:25
The latest version of this plug-in, when installed on IDEA 8.1.4 (from within IDEA), causes IDEA to complain of a bad version number when starting up.
.
Anonymous
Rated:
2010-01-15 12:18:04
very useful!
.
Anonymous
Rated: noRate
2010-01-06 03:00:42
Any chance to make it working with Flex coding?
.
Anonymous
Rated:
2009-11-19 19:38:54
Very useful!
.
Anonymous
Rated:
2009-09-10 12:41:10
.
jpump
Rated:
2009-07-22 01:56:40
It's a great plugin. There is a situation where it will break your code and you don't find out until runtime. If you have

class blah {

private static ArrayList zStaticArrayList = new ArrayList();

private static MyClass[] fields = {
new MyClass("test"),
new MyClass("test2")
}

private String value;

MyClass(String val) {
this.value=val;
zStaticArrayList.add(this);
}

}

You'll get a "java.lang.NoClassDefFoundError: Could not initialize class ..." when it alphabetizes the zStaticArrayList below everything else.


.
Dave Kriewall
Rated: noRate
2009-04-20 02:37:00
It can. Go to the "Extracted Methods" pane in the plugin configuration dialog, check the box marked "Move extracted methods below usage," choose depth first ordering on nested method calls, and set "Ordering options" to "Place in order of invocation."

Let me know if this doesn't suit your purposes.
-Dave
.
Anonymous
Rated: noRate
2009-04-20 02:31:06
It would be great if methods could be rearranged in call order.

e.g.

void c() { b();}
void a() { b(); c(); }
void b() { ... }

could be arranged as
a
c
b

THis would be done for each of the public, private and protected methods. So if something uses something else it comes before the used method.

Thank you for the great plugin!
.
watkyn
Rated: noRate
2009-03-05 19:33:52
I couldn't find a way to organize my imports using this plugin. I know Intellij has this feature already, but I cannot figure out how to arrange static imports separate from standard imports.
.
pete4711
Rated:
2008-11-19 23:53:16
Unfortunately there's a problem in current IDEA 8 on MacOS ...

The MacOS X version of IDEA is still running on JVM 1.5. That's because the JVM 6 on Mac OS X is 64bit only and currently causing some trouble for the Jetbrains guys. Especially the HTML preview will not work at all in that case. It seems that 'Rearranger' was compiled under 1.6. This leads to [java.lang.UnsupportedClassVersionError: Bad version number in .class file]. Could you recompile Rearranger with class file format 1.5?
.
Dave Kriewall
Rated: noRate
2008-11-15 01:05:21
The documentation disappeared from the intellij.org site. Apparently JetBrains is decomissioning the site (but why this plugin was the first to go, I don't know, and they haven't answered.)

Until I find out if JetBrains is going to host a different site for plugin documentation, you can find a copy of the documentation at:
http://web.archive.org/web/20071003161056/http://www.intellij.org/twiki/bin/view/Main/RearrangerPlugin
.
Anonymous
Rated: noRate
2008-11-14 11:02:12
guys, sorry about stupid question, but can anybody tell me how to use it. Can't even found how to run it.
.
Anonymous
Rated:
2008-11-12 11:38:52
Love it, though had an issue with it - if the file is read-only, rearranger will not run nor report an error.

.
Anonymous
Rated:
2008-06-26 16:53:54
I still could not find a way to order fields inside an enum.
.
salient1
Rated:
2006-12-12 20:10:54
This is a great plugin that gets better all the time. It's a must have for anyone who works in different environments where coding standards vary.
.
Anonymous
Rated:
2006-12-07 23:23:15
1+
.
Anonymous
Rated:
2006-08-24 14:32:53
Fantastic plug in, shame we can't delete anonymous low ratings which have no explanation eh! - Neil Ellis
.
leaklea
Rated:
I love Live Rearrange. I don't use regular rearrange methods because typically I like to arrange methods in sections by their purpose.
.
Anonymous
Rated:
.
tsinger
Rated:
I cannot work without it any more.
.