Fork me on GitHub
#cursive
<
2016-06-19
>
onetom03:06:40

Is it possible to use Cursive's nREPL in a Maven project? I see Project is <unknown> under the Use Leiningen REPL port option

onetom03:06:24

i think it was working for awhile but maybe the latest EAP versions broke it

onetom03:06:53

ah, i just noticed this message at the bottom:

Run Configuration Error: No Leiningen modules containing clojure.main found

cfleming03:06:04

@onetom: The Leiningen option has never worked with Maven, but the the nREPL in normal JVM process option should.

onetom04:06:33

REPL run configuration is incorrect - no module selected

onetom04:06:04

that's what i get if i choose Connect to server and provide localhost and 8300

onetom04:06:13

in the Remote REPL dialog

onetom04:06:10

ah, ok, you meant the local repl option

onetom04:06:46

well, that's not very helpful since i can't tell it the nREPL host and port

onetom04:06:56

(im running the repl server in a terminal via boot)

cfleming05:06:19

@onetom: Oh ok, if you’re running the REPL externally then you want the remote option, yes. I’ll try to reproduce that error tomorrow

vikeri11:06:05

Can the REPL output in Clojurescript be pretty printed and/or syntax highlighted by default? I have neither. (I can use cljs.pprint/pprint though, but that is a bit cumbersome to add at each evaluation.) I’m using figwheel.

cfleming22:06:49

@vikeri: It can’t right now, but it will be soon. I’m going to be fixing up the CLJS REPLs hopefully in the next couple of builds.