Fork me on GitHub
#cursive
<
2015-09-17
>
Pablo Fernandez13:09:12

Is it possible to have a shortcut add #_ to the current form?

jeffh-fp17:09:54

Trying to set up Cursive on a different machine and I’m getting:

Starting nREPL server...
/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/bin/java -Didea.launcher.port=7536 "-Didea.launcher.bin.path=/Applications/IntelliJ IDEA 14.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath "/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/lib/ant-blah blah blahs/jdk1.8.0_60.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Users/jhoelter/Library/Application Support/IntelliJIdea14/clojure-plugin/lib/tools.nrepl-0.2.6.jar:/Applications/IntelliJ IDEA 14.app/Contents/lib/idea_rt.jar" com.intellij.rt.execution.application.AppMain clojure.main -i /Users/jhoelter/Library/Caches/IntelliJIdea14/tmp/form-init1195440279455688077.clj
Exception in thread "main" java.lang.ClassNotFoundException: clojure.main
Do I need to manually install the clojure JAR for Cursive to work?

jeffh-fp17:09:57

that error is happening when I start the REPL

jeffh-fp17:09:25

I try to tell it to use nREPL but it keeps going back to “Use clojure.main in normal JVM process"

jeffh-fp17:09:45

and I fixed it … when I opened the project.clj file is said “Leiningen project not registered” so I clicked that, recreated the local REPL, and now I’m good