Fork me on GitHub

Any way to get vector destructuring to align in let bocks?


@caleb.macdonaldblack No, there isn’t unfortunately. Those blocks can often be very long, and there’s no way to say to the IntelliJ formatter “align as long as the key is not longer than 20 chars”.


@alexmiller Cursive now (or will soon) just print a single line from the exceptions leading up to the root cause, and then the full trace from the root cause.

👍 24

@alexmiller Looking at the new 1.10 error handling stuff, it looks like if I reuse the (-> ex Throwable->map clojure.main/ex-triage clojure.main/ex-str) then the actual stacktrace is never printed. Is that just designed for showing an error at the REPL, and then the user prints the stacktrace if required? i.e. should the print stacktrace action still do more or less like the above even on 1.10?

Alex Miller (Clojure team)13:12:16

It’s always been the case that the main repl doesn’t print the stack trace.

Alex Miller (Clojure team)13:12:49

So, this is the “normal” case from my perspective


Ok, thanks, just making sure I wasn’t missing something new.


After some testing, I’m going to go for yes, since the new errors are automatically already printed, presumably by the new exception printing machinery, on 1.10.


Has anyone got any tips on how to get Cursive to resolve Javascript dependencies from NPM? I use shadow-cljs and deps.edn as described in this blog post


@torbjornvatn Sadly no, but it’s something I’m planning to fix.