BSD
DefinitionEqualizer
Products:
IntelliJ IDEA
Vendor:
Alexey Saenko
Email:
Website:
N/A
Description:
The plug-in Equalizer is intended for making your code more
beautiful and readable via equalizing lines which contains '='.
Downloads: 2005
Rating:
Participated in rating: 1
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.
Comments:
int length = 12;
int x = 10;
int xyz = 10;
to the following strings:
int length = 12;
int x = 10;
int xyz = 10;
int length = 12;
int x = 10;
int xyz = 10;
to the following strings:
int length = 12;
int x = 10;
int xyz = 10;
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)
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