Fork me on GitHub
#cursive
<
2017-03-16
>
bherrmann00:03:00

boo. cursive in CE isnt opening my new vase project....

bherrmann00:03:48

I’m trying to open the project.clj from the splash dialog… I get the open as project, choose delete existing metadata.... then get a big nothing....

bherrmann00:03:19

IntelliJ IDEA 2016.3.5 Build #IC-163.13906.18, built on March 6, 2017 JRE: 1.8.0_112-release-408-b6 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

bherrmann00:03:54

Cursive: Version: 1.4.3-2016.3

cfleming01:03:26

@bherrmann Is there an example I can look at? Vase is Paul DeGrandis’ new thing, right? Is there a lein template or something I can create a project from?

cfleming01:03:44

@timgilbert @favila: I’ll take a look at this. This is built on the IntelliJ Maven functionality, so there might be better doc for that.

bherrmann01:03:56

It is possible that is has nothing to do with vase

bherrmann01:03:21

or cursive… I did get a message about the leinigen plugin having a problem

bherrmann01:03:00

$ lein new vase xjxj

bherrmann01:03:38

start Intellij, choose Open, choose xjxj/project.clj, Get “project.clj is a project file” - click “Open as Project"

bherrmann01:03:47

then I get a big box of silence.

bherrmann01:03:33

Ok, when I open an older project. I get an error in the event dialog....

bherrmann01:03:36

com.intellij.openapi.actionSystem.impl.ChameleonAction cannot be cast to com.intellij.openapi.actionSystem.DefaultActionGroup java.lang.ClassCastException: com.intellij.openapi.actionSystem.impl.ChameleonAction cannot be cast to com.intellij.openapi.actionSystem.Default\ ActionGroup at de.janthomae.leiningenplugin.navigator.LeiningenProjectNavigatorPanel.<init>(LeiningenProjectNavigatorPanel.java:30) at de.janthomae.leiningenplugin.navigator.LeiningenProjectNavigator.addPanel(LeiningenProjectNavigator.java:58) ...

bherrmann01:03:12

actually… this is 2017 so I can share a screenshot...

bherrmann01:03:31

(so this might be a red herring, it is for a project which appears to work ok.)

cfleming01:03:27

@bherrmann Do you have the old Leiningen plugin installed?

cfleming01:03:38

It looks like you do.

cfleming01:03:58

You need to remove that, since Cursive bundles its own and they will conflict.

bherrmann02:03:16

says Leiningen Version: 0.0.3

bherrmann02:03:37

I will remove it.

cfleming02:03:38

Yeah, uninstall that plugin, Cursive has lein support baked in.

cfleming02:03:48

You’ll probably need to re-import your project.

bherrmann02:03:54

super! it and I am in a happy place again.

bherrmann02:03:25

Would be nice if it smacked me around with a dialog or such when/if that incompatible plugin is isntalled

bherrmann02:03:40

although I vaguely now recall instructions to that effect....

bherrmann02:03:39

I guess you dont have easy access to that information… or you would have done that… to save yourself time talking to noobs

cfleming02:03:54

@bherrmann Yeah, I could actually do that for that plugin - the bigger problem is a couple of conflicting Clojure plugins, which I can’t detect as easily.

wildermuthn20:03:12

Hi there. What are the stubs that Cursive is generating? I see various things in the issue queue about it, but I can’t seem to find info about what they are and why they are used.

shaun-mahood20:03:58

@wildermuthn: Not sure if this covers what you need, here are the release notes from when it was added. https://groups.google.com/d/topic/cursive/ycMZAF29RZQ/discussion

wildermuthn20:03:13

I see, this is particular to certain libraries. Cool.