Fork me on GitHub
#cursive
<
2018-03-20
>
val_waeselynck12:03:12

What is the pretty-printer library / strategy used by Cursive for displaying data at the REPL?

cfleming21:03:36

@claudiu How are you invoking the doc there?

claudiu06:03:34

@cfleming shit+k (vim mode), but even with vim disabled by pressing ctrl+q I get the same thing. On a different machine I have cursive 1.6.3-2017.3 and doc lookup works. No idea if it's a config issues or a bug in the snapshot, will try to downgrade tonight and see if the problem persists.

cfleming21:03:48

@val_waeselynck It uses a custom version of fipp internally.

kenny22:03:23

@cfleming My autocomplete seems to have completely broken down - when I type the dropdown does not appear. I have tried restarting the IDE and restarting my computer and I'm still getting the same issue. An error is thrown in Cursive: cursive.psi.impl.synthetic.SyntheticTypeField cannot be cast to cursive.psi.ClojurePsiElement. Is there a quick fix for this as this will be a major productivity hit.

cfleming22:03:03

@kenny Can you send me the whole stacktrace?

cfleming22:03:37

Ok, I’ll look at that as soon as I get in to the office.

kenny22:03:23

It appears to only be happening in a single namespace.

cfleming22:03:46

@kenny It’s related to having a deftype/defrecord somewhere.

cfleming22:03:03

One with a data field.

kenny22:03:04

Yes. Only happens inside a defrecord method.

cfleming22:03:21

That should make it easy to reproduce.