ahanin / intellij-jalopy-plugin Goto Github PK
View Code? Open in Web Editor NEWIntelliJ IDEA Jalopy Plugin
License: GNU General Public License v3.0
IntelliJ IDEA Jalopy Plugin
License: GNU General Public License v3.0
Are there any plans for Intellij 13 support? There are a lot of exceptions that get thrown when the plugin runs there now.
Error during dispatching of java.awt.event.KeyEvent[KEY_PRESSED,keyCode=80,keyText=P,keyChar='�',modifiers=Ctrl+Shift,extModifiers=Ctrl+Shift,keyLocation=KEY_LOCATION_STANDARD,rawCode=80,primaryLevelUnicode=112,scancode=25,extendedKeyCode=0x50] on frame0: Wrong line separators: '...ngine.saf;\r\n\r\nimport...' at offset 34
java.lang.AssertionError: Wrong line separators: '...ngine.saf;\r\n\r\nimport...' at offset 34
at com.intellij.openapi.diagnostic.DefaultLogger.error(DefaultLogger.java:55)
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.openapi.util.text.StringUtil.assertValidSeparators(StringUtil.java:2132)
at com.intellij.openapi.editor.impl.DocumentImpl.a(DocumentImpl.java:473)
at com.intellij.openapi.editor.impl.DocumentImpl.a(DocumentImpl.java:414)
at com.intellij.openapi.editor.impl.DocumentImpl.access$300(DocumentImpl.java:51)
at com.intellij.openapi.editor.impl.DocumentImpl$4.run(DocumentImpl.java:790)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:117)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:99)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:85)
at com.intellij.openapi.editor.impl.DocumentImpl.setText(DocumentImpl.java:797)
at com.alexeyhanin.intellij.jalopyplugin.util.JalopyDocumentFormatter.format(JalopyDocumentFormatter.java:45)
at com.alexeyhanin.intellij.jalopyplugin.action.FormatAction$EditorDocumentUpdateAction.run(FormatAction.java:52)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1013)
at com.alexeyhanin.intellij.jalopyplugin.util.RuntimeHelper$WriteAction.run(RuntimeHelper.java:38)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:124)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:99)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:85)
at com.alexeyhanin.intellij.jalopyplugin.action.FormatAction.actionPerformed(FormatAction.java:36)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$3.performAction(IdeKeyEventDispatcher.java:564)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:611)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.d(IdeKeyEventDispatcher.java:463)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:206)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:494)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:348)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
IDEA version: 12.1.4
Intellij 12(12.0.3 build 123.155) fails to register the plugin due unsupported major.minor version 51.0
the exception:
com/alexeyhanin/intellij/jalopyplugin/component/JalopyPluginRegistration : Unsupported major.minor version 51.0 [Plugin: com.alexeyhanin.intellij.jalopyplugin]: com/alexeyhanin/intellij/jalopyplugin/component/JalopyPluginRegistration : Unsupported major.minor version 51.0 [Plugin: com.alexeyhanin.intellij.jalopyplugin]
com.intellij.diagnostic.PluginException: com/alexeyhanin/intellij/jalopyplugin/component/JalopyPluginRegistration : Unsupported major.minor version 51.0 [Plugin: com.alexeyhanin.intellij.jalopyplugin]
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:470)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:435)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.access$000(ComponentManagerImpl.java:421)
at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:102)
at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:346)
at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:83)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:554)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:199)
at com.intellij.idea.MainImpl$3.run(MainImpl.java:160)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:702)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:663)
at java.awt.EventQueue$2.run(EventQueue.java:661)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:672)
at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:673)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:498)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:333)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.UnsupportedClassVersionError: com/alexeyhanin/intellij/jalopyplugin/component/JalopyPluginRegistration : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
at com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:131)
at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:127)
at com.intellij.util.lang.UrlClassLoader._findClass(UrlClassLoader.java:103)
at com.intellij.ide.plugins.cl.PluginClassLoader.d(PluginClassLoader.java:102)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:63)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:445)
... 25 more
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.