Fork me on GitHub
#cursive
<
2018-10-21
>
joshkh14:10:47

what's the "right way" to import a project which uses deps.edn?

joshkh14:10:12

things seem okay if choose "create project from existing sources", but i can't start a repl configuration.

joshkh15:10:17

(Cursive Version: 1.7.0-2018.2)

joshkh15:10:04

ah, that did the trick! deps.edn is now an important option. 🙂

joshkh15:10:26

any clue why my run button is still disabled?

drowsy15:10:21

have you tried creating a new run configuration off this template using the plus top left?

joshkh15:10:45

that did it. thanks, @drowsy. apparently my brain is still stuck in the lein workflow.

drowsy15:10:00

Yeah, the create/run REPL options in the context menu where really convienent.

idiomancy19:10:50

Hey, you know what would be sick to add to that feature? The ability to associate repl command to a run configuration. I always have to wait for my cljs repl to load before I can run my (do (use 'figwheel-sidecar.repl-api) (start-figwheel!) (cljs-repl)) command

idiomancy19:10:08

if they were linked, I could launch my whole project with one click

joshkh19:10:12

cheers @cfleming, and thanks for making our lives easier 👍

dpsutton20:10:38

@idiomancy that's how cider works with cljs repls and it is quite nice

cfleming20:10:09

@idiomancy Can’t you do that using user.clj?

idiomancy20:10:37

well, the trick is, I'm running 2 repls to get clojurescript going. I run the local clojure repl and then I connect to it with a remote repl, at which point I run the figwheel script. So I want it to be run on the remote repl, but not the local repl

cfleming20:10:09

I see - yeah, profiles won’t work for that either.

cfleming20:10:30

@idiomancy Thanks for the use case, I can see how that would help with remote REPLs.

idiomancy20:10:55

thanks for the IDE!