Fork me on GitHub
#cursive
<
2019-01-09
>
henryw37414:01:42

@cfleming - I have a lein project depending on figwheel-main (currently 0.2.0 but same problem on earlier versions.) On importing the project, cursive gives an error No dispatch macro for: :: No dispatch macro for: : Cursive has been working with this library fine... I think the problem must have started on a cursive upgrade. I am on 1.8.0-2017.3 any info welcome. thanks

henryw37414:01:53

Going back to 1.7.0 fixes

cfleming20:01:46

@U051B9FU1 Do you get a stacktrace in your log for that?

henryw37411:01:31

Just submitted via cursive

wilkerlucio18:01:28

@cfleming sometimes I have an issue that I can't see the test error diff, when I try to click on the orange exclamation the editor keeps adding/removing break points on that line, but never opens the diff dialog

olfal20:01:27

I had this bug a couple years ago and it turned out to be caused by a conflicting dependency in my profiles.clj

olfal20:01:57

Not sure which one it was, though

timovanderkamp12:01:38

I run into this too

timovanderkamp12:01:56

Dont know how to fix it

pavlosmelissinos18:01:52

Not sure whether it's a bug or a feature but that only happens to me when there are runtime errors, not when tests fail. EDIT: doesn't seem to be the case here though 😕

dmarjenburgh18:01:32

I want to pretty format a large edn file that has everything on one line. If I do (Code->Reformat Code) it will put some spaces in, but it stays on one line. Is there a setting to make it reformat with newlines and indentations like IntelliJ does with JSON files? (My current workaround is to copy, paste and eval it in the REPL and then to copy it from the output into the edn file)

grav21:01:31

@dmarjenburgh Not a cursive-specific solution, but you could do it easier from the repl like this:

(spit "myfile.edn" (with-out-str (clojure.pprint/pprint (read-string (slurp "myfile.edn")))))

manutter5121:01:50

That looks like the sort of thing that would make a good planck/lumo script.

grav21:01:29

Yes! Couple it together with specter, and you’ve got jq for edn 🙂

cfleming21:01:39

@dmarjenburgh So there isn’t a solution for that yet, but it’s something a few people have asked for. Your workaround sounds like the best option in the meantime.

kenny21:01:27

Is there a way to stop the REPL from printing without killing the session?

cfleming22:01:39

@kenny No, sorry, although I do plan to add one.

kenny22:01:47

Ok. Is there a GH issue I can follow for this? A quick Google search didn't turn up anything.

cfleming22:01:13

I’m actually not sure, one sec