Fork me on GitHub
#cursive
<
2016-05-02
>
bojan.matic10:05:04

is this still the recommended way to use figwheel in cursive?

cfleming10:05:48

@bojan.matic: I believe so, but I haven’t tested it recently.

bojan.matic10:05:04

i tried it, and it works

bojan.matic10:05:34

however the part that worried me was the warning that "Use clojure.main in normal JVM process" was a more limited repl

bojan.matic10:05:37

is that ok to ignore?

bojan.matic10:05:59

i'm not so much worried as curious actually

cfleming10:05:07

Sure, I should put some examples there about what isn’t supported.

cfleming10:05:26

But it’s mostly things that aren’t supported yet in CLJS anyway (macroexpansion, test support)

cfleming10:05:40

I’m planning to update CLJS REPLs soon to support all that.

bojan.matic10:05:46

things that don't work in any other way of using figwheel repl, basically?

cfleming10:05:04

I think so, yeah.

cfleming10:05:21

I haven’t looked at Figwheel in enough detail to know how I’ll integrate with it, yet

bojan.matic10:05:05

so in the future, cursive will offer superior cljs repl compared to cider for example?

bojan.matic10:05:12

am i understanding that correctly?

cfleming10:05:16

I hope so, yes.

cfleming10:05:36

Although I’m not totally up to date with what CIDER offers these days.

tord14:05:02

@bojan.matic: I connect to the Figwheel REPL through nREPL instead, as described here: https://github.com/bhauman/lein-figwheel/wiki/Using-the-Figwheel-REPL-within-NRepl

tord14:05:53

The page does warn you that "you should still consider setting up a workflow that includes nREPL as an advanced undertaking as it requires a lot of contextual knowledge of the Clojure environment if something goes wrong", but in my experience, things don't usually go wrong.

bojan.matic14:05:30

so what are the pros of using figwheel through nrepl?

bojan.matic18:05:59

I can't have css syntax highlighting if I'm using community edition intellij?

bojan.matic19:05:24

I guess it's emacs time simple_smile

bojan.matic19:05:50

shame, i was gonna buy cursive since it seems so well done

bojan.matic19:05:12

but i'm not buying ultimate edition of intellij just to have css

cfleming22:05:27

@bojan.matic: Yeah, sadly I’m not associated with JetBrains so I can’t bundle that.