DefinitionEqualizer

Compatible with  IntelliJ IDEA
13.11.2007
2 940
The plug-in Equalizer is intended for making your code more beautiful and readable via equalizing lines which contains '='.

Download plugin

Version

Update date

General usage instructions

Select lines which must be equalized, then press \'Ctrl+Alt+E\' or right click -> Equalize. If lines contains \'=\' char they\'ll be equalized into a column:
int_x_=_1;
int_xyz_=_10;
as a result:
int_x___=_1;
int_xyz_=_10;

It was also fixed some exception situations.
Anonymous
21.01.2008
It's a very good plugin! Thanks for it.
13.11.2007
I'm sorry, here all spaces were deleted... =(
Anonymous
13.11.2007
this plugin convert these strings:
int length = 12;
int x = 10;
int xyz = 10;

to the following strings:
int length = 12;
int x = 10;
int xyz = 10;
13.11.2007
this plugin convert these strings:
int length = 12;
int x = 10;
int xyz = 10;

to the following strings:
int length = 12;
int x = 10;
int xyz = 10;

Anonymous
08.11.2007
I don't know what exactly should do this plugin, but doesn't work anyway.

I use this version of idea: 7.0.1, Build:#7364

I keep this error message:

No message
java.lang.NullPointerException
at org.idea.plugins.DefinitionEqualizerAction.actionPerformed(DefinitionEqualizerAction.java:19)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:119)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:172)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:42)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:115)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:92)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

06.11.2007
Ok, in the near future I'll add some information and think about exception. Thank you :)
02.11.2007
Please provide some basic documentation :-(

Also I'm getting this on equalizing field definitions:

java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at org.idea.plugins.Line.getLengthForElementNo(Line.java:32)
at org.idea.plugins.Equalizer.findMaxLength(Equalizer.java:51)
at org.idea.plugins.Equalizer.equalize(Equalizer.java:25)
at org.idea.plugins.DefinitionEqualizerAction.actionPerformed(DefinitionEqualizerAction.java:26)
at
Please  sign in  to leave a comment.