Fork me on GitHub
#cursive
<
2019-08-15
>
Jakub Holý (HolyJak)08:08:44

Hello, is it possible somehow to run REBL with nREPL (and not as the "main" as described at at https://github.com/cognitect-labs/REBL-distro/wiki/REBL-in-IntelliJ-Cursive)? The thing is that if I run REPL as instructed at the link, I loose many Cursive-REPL integration goodies such as "run tests in the current NS" and display of test results in the editor. Or am I wrong? Is there any roadmap here? BTW, @cfleming, awesome work! Thanks a lot for Cursive! (Currently I experiment with running two REPL sessions, one with REBL and one for test & integration but it is suboptimal.)

thumbnail09:08:18

I have a working REBL + cursive/nrepl setup. i’ll try to find something

❤️ 4
🙏 4
Jakub Holý (HolyJak)09:08:12

I am thankful for any tips 🙂

thumbnail09:08:17

Basically https://github.com/DaveWM/nrepl-rebl#with-leiningen worked for me after switching to a javaFX-enabled JVM.

thumbnail09:08:46

my ~/.lein/profiles.clj is;

{:user {:plugins [[lein-localrepo "0.5.4"]]
        :repl-options {:nrepl-middleware [nrepl-rebl.core/wrap-rebl]}
        :dependencies [[org.clojure/core.async "0.4.490"]
                       [nrepl-rebl "0.1.1"]
                       [com.cognitect/rebl "0.9.218"]]}}
and rebl just starts after opening a cursive-repl. You can shoot values into it using tap> or cognitect.repl/inspect 🙂

Jakub Holý (HolyJak)10:08:23

awesome, thanks a lot!

4