[ANN] Rearranger plugin 4.3.2
The rearranger 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.
This version is compiled for Demetra, build 5181.
请先登录再写评论。
It's really nice plugin but
I get the lastest version from plugin repository server but it still shows 4.3.1 in Configuration tab (in plugin list in Plugin Manager is 4.3.2)
When click Generate Pattern button in General tab, I got this exception (in Demetra build 5181)
And a suggestion, can you make custom template for method to rearrange? Example, I'm using TestNG, I have some methods to config test case (by using @Configuration and not fix name). I want these methods come first, ignoring their access modiferers, others come later .
Best regards,
t800t8
Great that this is now available for Demetra! I missed it, often I even
loaded up 5.1 again to rearrange some classes. Sorry I never got back to
you anymore on the findSuperMethods() problem. Did you manage to find a
solution?
Bas
Dave Kriewall wrote:
In fact, the question did arise in the first place here : http://intellij.net/forums/thread.jspa?forumID=18&threadID=191614&nav=false
Gilles
Hi Bas,
No, I never did find a solution to the findSuperMethods() problem. I've been swamped at work and haven't had time to do the research Eugene asked me to do in the other thread where we were discussing it.
If I can't make findSuperMethods() work though, I will just hardcode tests for the canonical methods. If it's a method with signature "boolean equals(one parameter)" it's bound to be an overload of Object.equals() even if findSuperMethods() returns none.
It still seems weird to me that Object is not always the parent of other classes in the PSI tree.
-Dave
Rearranger doesn't work correctly.
When I try to separate abstract methods and others by changing default rearranger configuration (see the attachment picture), Rearranger still mixes abstract and none-abstract methods.
Please check it. Thanks
Attachment(s):
RearrangerCfg.png
Exception when right click in package and click Rearrange (at Package view in Demetra 8231)
Rearranger cannot find out constructors of a final class