Fork me on GitHub
#cursive
<
2018-10-29
>
vinai13:10:31

I've just started moving from Cider to Cursive. So far I'm happy, working on the .clj section of a (lein based) project. However, now I need to do some work on the .cljs and .cljc section of the project. I am wondering how I can start the cljs (figwheel based) repl. In Cider I was using cider-jack-in-clj&cljs or sometimes started each repl individually. How is it done in Cursive? Is it common to run both repls (clj and cljs) at the same time? Do I have to create a separate run config to start the cljs repl, as described in https://github.com/bhauman/lein-figwheel/wiki/Running-figwheel-in-a-Cursive-Clojure-REPL?

vinai13:10:45

Does Cursive identifies different cljs repls more or less automatically, or do I need to supply them as options in the run configuration somehow?

schpa15:10:39

Just curious, why would you move from Cider?

vinai15:10:03

I found it breaks every couple of months, and I spend a day yakshaving until I can get back to work. The last 6 months since the last major update I've been juggling a bunch of snapshot versions. I guess I'm looking for a more stable dev environment.

schpa15:10:00

Sad to hear that, same experience with Cursive

vinai15:10:29

I'll see how this works out. I want to give it a serious try.

schpa15:10:42

lein or deps?

vinai15:10:36

The main project is lein. But if that works out okay, I'll also try working on another, smaller, deps cljs project that targets node.

genRaiy16:10:30

I’m using the clojure.main repl and noticed that load-file does not seem to load deps by default … is that a known issue?

vinai18:10:46

For now I'm following https://groups.google.com/d/msg/cursive/F38vY9SQ1qI/VbAcGiX_AQAJ which works okay, even though it would be nice to encapsulate the startup somwhow.

cfleming18:10:38

@chris.schreiner I’m curious about regular Cursive breakages, I’m not aware of any and no-one has reported them. What are you seeing?

cfleming18:10:03

@vinai Yes, that sort of thing is the best you can do right now probably, Cursive doesn’t have integrated CLJS REPLs yet. That’s the next thing I’m going to add when deps support is done.

👍 4
cfleming18:10:30

@raymcdermott Hmm, I would have expected that to work.

genRaiy18:10:30

if I use deps with nREPL, same problem

genRaiy18:10:43

but if I use the IntelliJ classpath, it works

cfleming18:10:51

That’s definitely worth an issue so I don’t forget to investigate it.

genRaiy18:10:55

so I’m flummoxxed

genRaiy18:10:35

ok - where do I report it?

cfleming18:10:29

Link is in the room status line ^^^

genRaiy18:10:47

LOL who reads the screen 😉

vinai20:10:41

What is the current status regarding tools.deps support? Is it a good idea to try and use Cursive with a deps.edn based project already?

vinai20:10:17

Is there maybe a link to an issue or a post to follow progress?

cfleming22:10:46

@vinai If you’re on the current EAP build tools.deps support is pretty good now, people are using it on real projects.

👍 4
vinai04:10:05

Thanks. I will check it out in a little while, too.