Fork me on GitHub
Pablo Fernandez13:09:12

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


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" -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" 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?


that error is happening when I start the REPL


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


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