Jalopy for IDEA 8

Compatible with  IntelliJ IDEA
03.05.2009
5 217
Integrates Jalopy into IDEA. Jalopy is a java code beautifier. The plugin will call IDEA defaut reformat function for non-java files. This is completley based on the older jalopy plugin for idea.jalopy. This version just adds a small bug fix and support for java 5.

Download plugin

Anonymous
22.10.2010
Good plugin so far.

Just for info Intellij complained about an internal error while I ticked the box "Use tabs to indent" in the settings Printer/Indentation/Misc

Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=de.hunsicker.jalopy.swing.PreviewFrame$4@909fae,notifier=null,catchExceptions=false,when=1287736960353] on sun.awt.X11.XToolkit@1ad44b0
java.lang.NullPointerException
at de.hunsicker.jalopy.swing.syntax.DefaultSyntaxDocument.tokenizeLines(DefaultSyntaxDocument.java:167)
at de.hunsicker.jalopy.swing.syntax.DefaultSyntaxDocument.tokenizeLines(DefaultSyntaxDocument.java:137)
at de.hunsicker.jalopy.swing.PreviewFrame$4.run(PreviewFrame.java:671)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.intellij.ide.IdeEventQueue.f(IdeEventQueue.java:610)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:500)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
at java.awt.Dialog$1.run(Dialog.java:1046)
at java.awt.Dialog$3.run(Dialog.java:1098)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1096)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:650)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:393)
at com.intellij.openapi.ui.DialogWrapper.showAndGetOk(DialogWrapper.java:959)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:944)
at com.intellij.ide.actions.ShowSettingsUtilImpl.a(ShowSettingsUtilImpl.java:57)
at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:43)
at com.intellij.ide.actions.ShowSettingsAction.actionPerformed(ShowSettingsAction.java:53)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$2.performAction(IdeKeyEventDispatcher.java:496)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:536)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.d(IdeKeyEventDispatcher.java:432)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:190)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:486)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122
Anonymous
21.07.2009
For OSX in general or JDK 1.5 a quick solution is retroweaver(http://retroweaver.sourceforge.net/guide/retroweaver-guide.html) on the jalopy jar archives.
Anonymous
21.07.2009
On MAC OS X, the problem is that the plugin was built with JDK6 while JDK5 is usually the default on the Mac.
10.07.2009
Personally, I think this WAS one of the best plugins available for formatting. But it doesn't work correctly in IntelliJ version 8.1.

Please get it working! :o)
Please  sign in  to leave a comment.