Fork me on GitHub
#cursive
<
2019-02-18
>
cfleming02:02:06

@hmaurer When configuring the indentation, there’s an “Only Indent” option.

cfleming03:02:04

@josh200 Are you using a clojure.main REPL for that? If so, colourisation and pretty printing unfortunately doesn’t work there, due to the way streaming REPLs work. I’m hoping to fix that soon as part of some REPL upgrades though.

Joshua Jolley03:02:26

@cfleming I am! Thank you for the info 🙂

cfleming03:02:42

@rdsr I can’t think of anything that should cause that to happen.

rs21:02:59

Hmm that's weird. I'm getting a connection refused exception. Is there a way I can see the log/stacktraces before the REPL is up?

cfleming03:02:38

@joshkh Any idea what the trace.cljc file might be? Is that one of yours?

joshkh16:02:15

hi @cfleming. trace.cljc is in re-frame, a dependency of the project. https://github.com/Day8/re-frame/blob/master/src/re_frame/trace.cljc#L5 sure enough it's requiring itself (i think to pull in cljs macros?).

cfleming19:02:19

@joshkh I’ll check that, but lots of people use re-frame, I’d be surprised if that didn’t work.

potetm03:02:15

@cfleming wait you’re supporting streaming repls soon? does that mean socket server support?

potetm03:02:55

*built-in socket server

cfleming07:02:27

@potetm Yes! The issue is how to make them a bit more full-featured - pure streaming REPLs are hard to do some useful things with, such as the pretty-printing and colorisation that Joshua wanted

cfleming07:02:42

So I’m planning to do a simple prepl/unrepl-type thing.

potetm14:02:22

Yeah, that makes sense.

p-himik17:02:00

I'm trying to create a "Clojure Application" run configuration but whenever I specify some alias under "Run with Deps", it gives me the "java.lang.Character cannot be cast to java.lang.String" error. Cursive v1.8.1-eap2-2018.3

scotts19:02:30

I get that same error when running a Clojure Application with Deps. Did you find any workaround?

p-himik19:02:36

Well, to some degree. I just use the Terminal tab and connect to the process using remote debugger.

scotts19:02:00

yeah figured that was the backup plan. thanks

p-himik17:02:07

Is there any way to circumvent this?