GithubHelp home page GithubHelp logo

ligasgr / intellij-xquery Goto Github PK

View Code? Open in Web Editor NEW
35.0 35.0 23.0 38.71 MB

Plugin to support XQuery in Intellij Idea

License: Apache License 2.0

Java 95.33% XQuery 3.01% HTML 0.44% Lex 1.22%

intellij-xquery's People

Contributors

arnostv avatar charlessimpson avatar lagivan avatar ligasgr avatar malteseduck avatar mjedynak avatar nicklamer avatar slawwach avatar zyv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

intellij-xquery's Issues

Folding of functions

Enable folding of function:

example function

declare function hello($name) {
   <hello>{$name}</hello>
};

It should be possible to fold function into

declare function hello($name) {...}

Note: there is another issue #23 related to folding of import and namespace declarations.

String quotes not completing "correctly"?

When typing a string, as soon as I type the first double quote it gives me two and puts the cursor in the middle, which is good. Once I reach the end of my string and type the closing quote it adds another quote instead of putting the cursor after the second quote:

"string""

Some IDEs allow you to use the TAB key to end the string, or something like that. The only way I can find to leave my string "correct" and get past the quote is to use the right arrow key.

Not anything vital, just wanted to let you know. Maybe there is a way to do it and I just couldn't find it.

XPath predicates formatting

At the moment XPath predicates around (in)equality operators are surrounded with spaces. At W3C page (http://www.w3schools.com/xpath/xpath_syntax.asp) samples are given without this kind of formatting.

My suggestion is to make this kind of test case:

/bookstore/book[position()<3 and @id='1'] and make configurable if we want it to look like /bookstore/book[position() < 3 and @id = '1'].

Error when trying to open file

I'm trying to open myXueryFile.xq and file does not open. Instead of opening file IntelliJ shows red balloon telling me about internal error.

Error while indexing C:\path\to\someOtherXqueryFile.xq 
To reindex this file IDEA has to be restarted: org.intellij.xquery._XQueryLexer: Error: could not match input 
java.lang.Error: org.intellij.xquery._XQueryLexer: Error: could not match input 
        at org.intellij.xquery._XQueryLexer.zzScanError(_XQueryLexer.java:2549) 
        at org.intellij.xquery._XQueryLexer.advance(_XQueryLexer.java:3694) 
        at com.intellij.lexer.FlexAdapter.locateToken(FlexAdapter.java:93) 
        at com.intellij.lexer.FlexAdapter.getTokenType(FlexAdapter.java:57) 
        at com.intellij.lexer.MergingLexerAdapterBase.locateToken(MergingLexerAdapterBase.java:70) 
        at com.intellij.lexer.MergingLexerAdapterBase.getState(MergingLexerAdapterBase.java:39) 
        at com.intellij.lexer.LookAheadLexer.doLookAhead(LookAheadLexer.java:70) 
        at com.intellij.lexer.LookAheadLexer.advance(LookAheadLexer.java:64) 
        at com.intellij.lang.cacheBuilder.DefaultWordsScanner.processWords(DefaultWordsScanner.java:93) 
        at com.intellij.psi.impl.cache.impl.id.IdTableBuilding$WordsScannerFileTypeIdIndexerAdapter.map(IdTableBuilding.java:137)

        at com.intellij.psi.impl.cache.impl.id.IdTableBuilding$WordsScannerFileTypeIdIndexerAdapter.map(IdTableBuilding.java:124)

        at com.intellij.psi.impl.cache.impl.id.IdIndex$4.map(IdIndex.java:83) 
        at com.intellij.psi.impl.cache.impl.id.IdIndex$4.map(IdIndex.java:77) 
        at com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:215) 
        at com.intellij.util.indexing.FileBasedIndexImpl$24.run(FileBasedIndexImpl.java:1701) 
        at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeNonCancelableSection(ProgressManagerImpl.java:143)

        at com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:1697) 
        at com.intellij.util.indexing.FileBasedIndexImpl.indexFileContent(FileBasedIndexImpl.java:1663) 
        at com.intellij.util.indexing.UnindexedFilesUpdater.processFile(UnindexedFilesUpdater.java:68) 
        at com.intellij.openapi.project.CacheUpdateSession.processFile(CacheUpdateSession.java:102) 
        at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$1.run(CacheUpdateRunner.java:231) 
        at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:935) 
        at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:237) 
        at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:465) 
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) 
        at java.util.concurrent.FutureTask.run(FutureTask.java:166) 
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) 
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) 
        at java.lang.Thread.run(Thread.java:722) 
        at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:153)

In addition to that I can see additional error in Event Log:

10:33:02 IndexOutOfBoundsException 
         Error while indexing C:\path\to\yetAnotherOtherXqueryFile.xq 
         To reindex this file IDEA has to be restarted

IntelliJ IDEA Ultimate, version 12.0.2, #IU-123.123

Structure view should display visibility modifier

Functions and variables can be annotated by %private annotation.

Structure view should indicate which funnction/variable is private or public.

Note: this annotation is already used by code completion functionality.

Full xqDoc support

Parsing, highligthing, errors analysis, auto-completion, auto-insert based on signature.
Generating html pages with xqDoc generator for selected files (like javadoc).

Formatter "messing up" indention on cut/paste, on newline?

I don't know if this is a bug or not, but it seems that many times when I cut and paste XQuery code to various places the format of the XQuery is lost. Here is a simple example:

xquery version "3.0";

let $test as xs:string := "test"
return (
    fn:concat(
        "this ",
        "is ",
        "a ",
        $test
    )
)

If I type a comma after the closing ")" for the fn:concat() function and hit the return key then the cursor moves to beginning of the line on the new line instead of being indented to match the current indentation.

When I cut and paste this over itself (or anywhere else) then the "fn:concat(" and the closing ")" for that function lose their indentation. I had a whole block of XQuery I pasted somewhere and had to re-indent it all (not your fault, that is what I get for using the working version).

There are some cases where I move the the cursor to the new line and it adds another indentation level when you wouldn't think it should. I will try to reproduce it and create another issue if I can.

Parser doesn't recognise attribute xpath axis

Hi, it seems the parser doesn't understand the attribute axis (other axes work fine).

e.g. This results in the text after :: being underlined as "unexpected"

$some-element/attribute::foo

Whereas this is handled fine:

$some-element/descendant:foo

Problem updating plugin to version 0.0.7

Updated via IDEA updater and got the exception as below, it left IDEA editor in a broken state (showing java files in some tabular form), had to disable the plugin because of that.

Stacktrace:

org/intellij/xquery/formatter/settings/XQueryCodeStyleSettingsProvider : Unsupported major.minor version 51.0 [Plugin: org.intellij.xquery]: org/intellij/xquery/formatter/settings/XQueryCodeStyleSettingsProvider : Unsupported major.minor version 51.0 [Plugin: org.intellij.xquery]
com.intellij.diagnostic.PluginException: org/intellij/xquery/formatter/settings/XQueryCodeStyleSettingsProvider : Unsupported major.minor version 51.0 [Plugin: org.intellij.xquery]
at com.intellij.ide.plugins.cl.PluginClassLoader.d(PluginClassLoader.java:108)
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:249)
at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.loadClass(ExtensionComponentAdapter.java:148)
at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.getComponentImplementation(ExtensionComponentAdapter.java:63)
at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.getComponentInstance(ExtensionComponentAdapter.java:70)
at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.getExtension(ExtensionComponentAdapter.java:111)
at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processAdapters(ExtensionPointImpl.java:241)
at com.intellij.openapi.extensions.impl.ExtensionPointImpl.getExtensions(ExtensionPointImpl.java:185)
at com.intellij.openapi.extensions.Extensions.getExtensions(Extensions.java:111)
at com.intellij.openapi.extensions.Extensions.getExtensions(Extensions.java:98)
at com.intellij.psi.codeStyle.CodeStyleSettings.(CodeStyleSettings.java:61)
at com.intellij.psi.codeStyle.CodeStyleSettings.(CodeStyleSettings.java:52)
at com.intellij.psi.impl.source.codeStyle.CodeStyleSchemeImpl.a(CodeStyleSchemeImpl.java:82)
at com.intellij.psi.impl.source.codeStyle.CodeStyleSchemeImpl.init(CodeStyleSchemeImpl.java:68)
at com.intellij.psi.impl.source.codeStyle.CodeStyleSchemesImpl$1.initScheme(CodeStyleSchemesImpl.java:71)
at com.intellij.psi.impl.source.codeStyle.CodeStyleSchemesImpl$1.initScheme(CodeStyleSchemesImpl.java:53)
at com.intellij.openapi.options.SchemesManagerImpl.b(SchemesManagerImpl.java:289)
at com.intellij.openapi.options.SchemesManagerImpl.a(SchemesManagerImpl.java:131)
at com.intellij.openapi.options.SchemesManagerImpl.loadSchemes(SchemesManagerImpl.java:108)
at com.intellij.psi.impl.source.codeStyle.CodeStyleSchemesImpl.init(CodeStyleSchemesImpl.java:163)
at com.intellij.psi.impl.source.codeStyle.CodeStyleSchemesImpl.(CodeStyleSchemesImpl.java:77)
at com.intellij.psi.impl.source.codeStyle.PersistableCodeStyleSchemes.(PersistableCodeStyleSchemes.java:49)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193)
at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:220)
at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53)
at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248)
at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:60)
at com.intellij.openapi.components.impl.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:54)
at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.initializeInstance(ServiceManagerImpl.java:159)
at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter$1.compute(ServiceManagerImpl.java:147)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:950)
at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.getComponentInstance(ServiceManagerImpl.java:139)
at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
at com.intellij.openapi.components.ServiceManager.getService(ServiceManager.java:36)
at com.intellij.psi.codeStyle.CodeStyleSchemes.getInstance(CodeStyleSchemes.java:27)
at com.intellij.psi.codeStyle.CodeStyleSettingsManager.getCurrentSettings(CodeStyleSettingsManager.java:75)
at com.intellij.psi.codeStyle.CodeStyleSettingsManager.getSettings(CodeStyleSettingsManager.java:66)
at com.intellij.openapi.editor.impl.SoftWrapModelImpl.a(SoftWrapModelImpl.java:204)
at com.intellij.openapi.editor.impl.SoftWrapModelImpl.reinitSettings(SoftWrapModelImpl.java:190)
at com.intellij.openapi.editor.impl.EditorImpl.reinitSettings(EditorImpl.java:646)
at com.intellij.openapi.editor.impl.SettingsImpl.b(SettingsImpl.java:521)
at com.intellij.openapi.editor.impl.SettingsImpl.setLineMarkerAreaShown(SettingsImpl.java:202)
at com.intellij.execution.impl.ConsoleViewUtil$1.run(ConsoleViewUtil.java:58)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:929)
at com.intellij.execution.impl.ConsoleViewUtil.setupConsoleEditor(ConsoleViewUtil.java:53)
at com.intellij.execution.impl.ConsoleViewUtil.setupConsoleEditor(ConsoleViewUtil.java:48)
at com.intellij.notification.EventLogConsole.a(EventLogConsole.java:81)
at com.intellij.notification.EventLogConsole.access$000(EventLogConsole.java:57)
at com.intellij.notification.EventLogConsole$1.compute(EventLogConsole.java:62)
at com.intellij.notification.EventLogConsole$1.compute(EventLogConsole.java:58)
at com.intellij.openapi.util.NotNullLazyValue.getValue(NotNullLazyValue.java:36)
at com.intellij.notification.EventLogConsole.getConsoleEditor(EventLogConsole.java:206)
at com.intellij.notification.EventLogToolWindowFactory.createToolWindowContent(EventLogToolWindowFactory.java:47)
at com.intellij.openapi.wm.impl.ToolWindowImpl.ensureContentInitialized(ToolWindowImpl.java:448)
at com.intellij.openapi.wm.impl.ToolWindowManagerImpl$11.run(ToolWindowManagerImpl.java:520)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:343)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:672)
at java.awt.EventQueue.access$400(EventQueue.java:81)
at java.awt.EventQueue$2.run(EventQueue.java:633)
at java.awt.EventQueue$2.run(EventQueue.java:631)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:642)
at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:700)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:525)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:348)
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)
Caused by: java.lang.UnsupportedClassVersionError: org/intellij/xquery/formatter/settings/XQueryCodeStyleSettingsProvider : 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:153)
at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:149)
at com.intellij.util.lang.UrlClassLoader._findClass(UrlClassLoader.java:125)
at com.intellij.ide.plugins.cl.PluginClassLoader.d(PluginClassLoader.java:102)
... 82 more

com.intellij.diagnostic.PluginException: org/intellij/xquery/formatter/settings/XQueryCodeStyleSettingsProvider : Unsupported major.minor version 51.0 [Plugin: org.intellij.xquery]
at com.intellij.ide.plugins.cl.PluginClassLoader.d(PluginClassLoader.java:108)
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:249)
at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.loadClass(ExtensionComponentAdapter.java:148)
at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.getComponentImplementation(ExtensionComponentAdapter.java:63)
at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.getComponentInstance(ExtensionComponentAdapter.java:70)
at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.getExtension(ExtensionComponentAdapter.java:111)
at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processAdapters(ExtensionPointImpl.java:241)
at com.intellij.openapi.extensions.impl.ExtensionPointImpl.getExtensions(ExtensionPointImpl.java:185)
at com.intellij.openapi.extensions.Extensions.getExtensions(Extensions.java:111)
at com.intellij.openapi.extensions.Extensions.getExtensions(Extensions.java:98)
at com.intellij.psi.codeStyle.CodeStyleSettings.(CodeStyleSettings.java:61)
at com.intellij.psi.codeStyle.CodeStyleSettings.(CodeStyleSettings.java:52)
at com.intellij.psi.impl.source.codeStyle.CodeStyleSchemeImpl.a(CodeStyleSchemeImpl.java:82)
at com.intellij.psi.impl.source.codeStyle.CodeStyleSchemeImpl.init(CodeStyleSchemeImpl.java:68)
at com.intellij.psi.impl.source.codeStyle.CodeStyleSchemesImpl$1.initScheme(CodeStyleSchemesImpl.java:71)
at com.intellij.psi.impl.source.codeStyle.CodeStyleSchemesImpl$1.initScheme(CodeStyleSchemesImpl.java:53)
at com.intellij.openapi.options.SchemesManagerImpl.b(SchemesManagerImpl.java:289)
at com.intellij.openapi.options.SchemesManagerImpl.a(SchemesManagerImpl.java:131)
at com.intellij.openapi.options.SchemesManagerImpl.loadSchemes(SchemesManagerImpl.java:108)
at com.intellij.psi.impl.source.codeStyle.CodeStyleSchemesImpl.init(CodeStyleSchemesImpl.java:163)
at com.intellij.psi.impl.source.codeStyle.CodeStyleSchemesImpl.(CodeStyleSchemesImpl.java:77)
at com.intellij.psi.impl.source.codeStyle.PersistableCodeStyleSchemes.(PersistableCodeStyleSchemes.java:49)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193)
at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:220)
at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53)
at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248)
at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:60)
at com.intellij.openapi.components.impl.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:54)
at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.initializeInstance(ServiceManagerImpl.java:159)
at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter$1.compute(ServiceManagerImpl.java:147)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:950)
at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.getComponentInstance(ServiceManagerImpl.java:139)
at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
at com.intellij.openapi.components.ServiceManager.getService(ServiceManager.java:36)
at com.intellij.psi.codeStyle.CodeStyleSchemes.getInstance(CodeStyleSchemes.java:27)
at com.intellij.psi.codeStyle.CodeStyleSettingsManager.getCurrentSettings(CodeStyleSettingsManager.java:75)
at com.intellij.psi.codeStyle.CodeStyleSettingsManager.getSettings(CodeStyleSettingsManager.java:66)
at com.intellij.openapi.editor.impl.SoftWrapModelImpl.a(SoftWrapModelImpl.java:204)
at com.intellij.openapi.editor.impl.SoftWrapModelImpl.reinitSettings(SoftWrapModelImpl.java:190)
at com.intellij.openapi.editor.impl.EditorImpl.reinitSettings(EditorImpl.java:646)
at com.intellij.openapi.editor.impl.SettingsImpl.b(SettingsImpl.java:521)
at com.intellij.openapi.editor.impl.SettingsImpl.setLineMarkerAreaShown(SettingsImpl.java:202)
at com.intellij.execution.impl.ConsoleViewUtil$1.run(ConsoleViewUtil.java:58)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:929)
at com.intellij.execution.impl.ConsoleViewUtil.setupConsoleEditor(ConsoleViewUtil.java:53)
at com.intellij.execution.impl.ConsoleViewUtil.setupConsoleEditor(ConsoleViewUtil.java:48)
at com.intellij.notification.EventLogConsole.a(EventLogConsole.java:81)
at com.intellij.notification.EventLogConsole.access$000(EventLogConsole.java:57)
at com.intellij.notification.EventLogConsole$1.compute(EventLogConsole.java:62)
at com.intellij.notification.EventLogConsole$1.compute(EventLogConsole.java:58)
at com.intellij.openapi.util.NotNullLazyValue.getValue(NotNullLazyValue.java:36)
at com.intellij.notification.EventLogConsole.doPrintNotification(EventLogConsole.java:114)
at com.intellij.notification.EventLog$ProjectTracker$2$1.run(EventLog.java:400)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:929)
at com.intellij.notification.EventLog$ProjectTracker$2.run(EventLog.java:398)
at com.intellij.ide.startup.impl.StartupManagerImpl$6.run(StartupManagerImpl.java:284)
at com.intellij.ide.startup.impl.StartupManagerImpl$8.run(StartupManagerImpl.java:302)
at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:1971)
at com.intellij.ide.startup.impl.StartupManagerImpl.runWhenProjectIsInitialized(StartupManagerImpl.java:299)
at com.intellij.notification.EventLog$ProjectTracker.a(EventLog.java:394)
at com.intellij.notification.EventLog$ProjectTracker.access$100(EventLog.java:329)
at com.intellij.notification.EventLog$1.notify(EventLog.java:71)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:120)
at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:228)
at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:219)
at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:209)
at com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusImpl.java:43)
at com.intellij.util.messages.impl.MessageBusImpl$1.invoke(MessageBusImpl.java:131)
at com.sun.proxy.$Proxy33.notify(Unknown Source)
at com.intellij.notification.Notifications$Bus.doNotify(Notifications.java:90)
at com.intellij.notification.Notifications$Bus.access$000(Notifications.java:41)
at com.intellij.notification.Notifications$Bus$2.run(Notifications.java:78)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:672)
at java.awt.EventQueue.access$400(EventQueue.java:81)
at java.awt.EventQueue$2.run(EventQueue.java:633)
at java.awt.EventQueue$2.run(EventQueue.java:631)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:642)
at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:700)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:525)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:348)
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)
Caused by: java.lang.UnsupportedClassVersionError: org/intellij/xquery/formatter/settings/XQueryCodeStyleSettingsProvider : 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:153)
at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:149)
at com.intellij.util.lang.UrlClassLoader._findClass(UrlClassLoader.java:125)
at com.intellij.ide.plugins.cl.PluginClassLoader.d(PluginClassLoader.java:102)
... 102 more

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.