Fork me on GitHub
#cursive
<
2019-10-14
>
onetom05:10:12

Is there a way to limit the amount of pretty printed info to the cursive repl? I often forget limiting it myself and obviously it takes forever to print hundreds of thousands of hashmaps, so I regularly end up restarting my REPL session instead. I can't even stop the printing process with the Interrupt Current Evaluation button (understandably), though intuitively I was expecting that button to interrupt result printing too.

onetom05:10:26

i also have the feeling that the printing calculation continues in the background even after killing the repl process with the X icon.

souenzzo14:10:26

There is a solution for this?

java.lang.NoClassDefFoundError: java/sql/Timestamp
	at com.fasterxml.jackson.databind.ser.BasicSerializerFactory.<clinit>(BasicSerializerFactory.java:88)
	at com.fasterxml.jackson.databind.ObjectMapper.<init>(ObjectMapper.java:484)
	at com.fasterxml.jackson.databind.ObjectMapper.<init>(ObjectMapper.java:393)

Alex Miller (Clojure team)14:10:54

this has been discussed here before and Colin was looking at it, but I don't remember if there was a resolution

Erkin16:10:38

Hi, is there a way to specify which logback file to use with Cursive testing? It uses the default logback file which makes reading the actual test output nearly impossible.

p-himik17:10:35

Is it possible to make the code inside docstrings highlighted and/or formatted?

cfleming18:10:44

@souenzzo That’s fixed for the next EAP, hopefully out today

👍 4
cfleming18:10:18

@erkinun I don’t think so - AFAIK Cursive doesn’t do anything there, it’s not even aware when you’re using logback.

Erkin18:10:16

Is there a way to suppress logback logging then? I’m running it in a big project and logs really get in the way of the repl there

cfleming18:10:04

@p-himik I was sure there was an issue for that but I can’t find it right now. It’s definitely something that has been requested, along with various other enhancements (markdown rendering, better control over folding etc)

p-himik18:10:28

Found these, although none really fit the "highlight Clojure code within docstrings" description. Well, the markdown issue kinda does if there'll be support for triple backticks with the language name after them. https://github.com/cursive-ide/cursive/issues/2022 https://github.com/cursive-ide/cursive/issues/1226 Somewhat related: https://github.com/cursive-ide/cursive/issues/181

cfleming18:10:31

@erkinun Not at the Cursive level, no - that will depend on your logging config.

kenny23:10:30

I've been getting a lot of these error messages. It happens when clicking the refresh Deps button. It seems to be blocking deps refreshing because my REPL keeps complaining about a ns not existing after adding a dep. Restarting IntelliJ fixed it.

cfleming01:10:52

Ok, I’ll see if I can figure that out.