La Clojure plugin for IntelliJ IDEA X public preview is available

Hi Clojurers!

A new version of the La Clojure plugin is available now for IntelliJ IDEA X public preview via the plugin repository.
http://plugins.intellij.net/plugin/?idea&id=4050

Among small enhancements you can find optioanl rainbow parentheses and improved support for clojure compilation and error output.

With best regards,
Ilya

0
7 comments
Avatar
Patrik Fredriksson

Hi!

Could you please release a version of the plugin that is compatible with IDEA 10?

Oh, nevermind, I saw you just did that already :)

Thanks,
/Patrik

0

Hi Ilya,

Is it possible to configure the rainbow parentheses colors?

Thanks,
-tt

0

Hi Taras.

Actually, no, it's not possible to customize for now. At least, it is difficult for me to imagine what kind of customization would make sense. Any suggestions are welcome.

Cheers!
Ilya

0

Hi Ilya,

thanks for the updated plugin. I would like to be able to assist with some improvements but at the moment it is not so easy because:
* there are mismatches between the zipped source, the git source, the compiled plugin
* there are differences between IDEA 9 and IDEA 10

Updating the plugin page to give the location of an up to date git repository would be good. Tagging the git repo to reflect the version or build number would be "helpful".

For Version 0.3.66
- http://plugins.intellij.net/plugin/?action=download&id=8975 downloads org.intellij.clojure_8975.zip
this works fine with the released IntelliJ 10 and with the Ideal-CE-102.SNAPSHOT I built from source.

http://plugins.intellij.net/files/sourceCode/org.intellij.clojure_4050.zip is months older.

http://git.jetbrains.org/idea/clojure-plugin.git was last changed 3 months ago. This compiles with IntelliJ-IDEA-9.0.3-CE. It won't compile with 10 because there is no com.intellij.compiler.impl.javaCompiler.DependencyProcessor in 10.

Could you update the installation documentation? Some hints about installation and usage talks about unzipping to $IDEA_SETTINGS/config/plugins/ folder.

I just found all the file locations are documented for all OS's in http://devnet.jetbrains.net/docs/DOC-181

On Mac OS X Version 10.6.5 the plugin installs into
~/Library/Application Support/IntelliJIdea10CE/clojure-plugin
or
~/Library/Application Support/IntelliJIdeaCE10/clojure-plugin
or
~/Library/Application Support/IntelliJIdea90CE/clojure-plugin


Ross

0

Yes, please update the source. I would love to see a working example of a REPL using the new IntelliJ 10 features.

0

All recent changes have been merged into the `master' branch of the following repository.

git://git.jetbrains.org/idea/clojure-plugin.git

Please, check again.

Cheers!
Ilya

0

Hi,

Is the plugin not meant to work with the latest EAP  - IntelliJ IDEA 10.0.2 Release Candidate (build 103.59)? I tried to get the latest from git and changed the idea-version until-build to 103.9999 and got the following exception on startup.

java.lang.NullPointerException
    at com.intellij.lang.javascript.index.JSPackageIndex.<clinit>(JSPackageIndex.java:172)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.loadClass(ExtensionComponentAdapter.java:140)
    at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.getComponentImplementation(ExtensionComponentAdapter.java:61)
    at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.getComponentInstance(ExtensionComponentAdapter.java:67)
    at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.getExtension(ExtensionComponentAdapter.java:106)
    at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processAdapters(ExtensionPointImpl.java:221)
    at com.intellij.openapi.extensions.impl.ExtensionPointImpl.getExtensions(ExtensionPointImpl.java:165)
    at com.intellij.openapi.extensions.Extensions.getExtensions(Extensions.java:99)
    at com.intellij.openapi.extensions.Extensions.getExtensions(Extensions.java:87)
    at com.intellij.util.indexing.FileBasedIndex.<init>(FileBasedIndex.java:262)
    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 org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:58)
    at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:659)
    at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:610)
    at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:231)
    at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:218)
    at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:200)
    at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
    at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:146)
    at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:127)
    at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:383)
    at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:87)
    at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:461)
    at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:102)
    at com.intellij.idea.MainImpl$3.run(MainImpl.java:152)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:652)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:505)
    at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:404)
    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)

With until-build left at 99.9999, La Clojure is marked as incompatible with this EAP build. Any advice?

Cheers

0

Please sign in to leave a comment.