Fork me on GitHub
#cursive
<
2015-11-12
>
rauh07:11:29

When evaling a form, is there a way to pretty print it instead of having it all on one line?

cfleming08:11:58

@rauh: It should appear as it appears in the actual source, right?

cfleming08:11:32

Are you talking about evaling from an editor or from the REPL editor?

rauh08:11:49

@cfleming: I guess I shoul've clarified what I meant with "it": I mean the result of evaling an expression. It's nicely highlighted but the entire data structure is on one line and sometimes hard to read.

rauh08:11:13

I mean from the editor window. I actually never work straight on the repl prompt

cfleming09:11:11

@rauh: As of 0.1.69, the results should be pretty printed, see: https://twitter.com/CursiveClojure/status/662111643430588416

cfleming09:11:41

Is that what you’re after?

rauh09:11:57

Yes! Now I have to figure out why I have 0.1.67

rauh09:11:23

Do I have to upgrade IntelliJ to get the latest?

cfleming09:11:53

You can go to Settings-&gt;Plugins-&gt;Browse Repositories-&gt;Your Cursive repo and select the plugin there, there’ll be an update button.

rauh09:11:37

Ah ok, Thanks!

rauh09:11:26

@cfleming: Wow, looks fantastic. You're always a step ahead. simple_smile

cfleming09:11:44

@rauh: In this case, only just!

rauh09:11:51

Can't wait for the parinfer!

cfleming09:11:52

It’s my favourite change in a while though

cfleming09:11:33

Yeah, that too and some REPL usability coming down the pipeline, I really want to get to https://github.com/cursiveclojure/cursive/issues/85

cfleming09:11:59

And better CLJS REPLs