This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-03-27
Channels
- # aleph (5)
- # announcements (18)
- # beginners (200)
- # cider (25)
- # cljdoc (4)
- # cljsrn (3)
- # clojure (90)
- # clojure-europe (3)
- # clojure-finland (5)
- # clojure-france (1)
- # clojure-houston (1)
- # clojure-italy (8)
- # clojure-nl (15)
- # clojure-spec (24)
- # clojure-uk (20)
- # clojurescript (199)
- # core-async (2)
- # cursive (45)
- # data-science (14)
- # datomic (33)
- # duct (13)
- # fulcro (4)
- # graphql (3)
- # kaocha (9)
- # leiningen (24)
- # nrepl (16)
- # off-topic (105)
- # pathom (15)
- # pedestal (28)
- # re-frame (1)
- # reagent (14)
- # shadow-cljs (28)
- # spacemacs (8)
- # tools-deps (8)
- # vim (4)
When (or if) are stack traces clickable? I found an old issue saying it's solved, but mine aren't clickable. https://github.com/cursive-ide/cursive/issues/204
Simplest example
(/ 1 0)
gives me
Syntax error (ArithmeticException) compiling at (notification.clj:58:1).
Divide by zero
And it's not clickableIf you click the “Print last exception” button in the REPL toolwindow, do you get clickable links there?
You’re running Clojure 1.10, right? I guess I’ll need to add more patterns for the new error messages there to make those clickable too.
Right, the issue is that the new messages don’t look like stacktrace elements, so Cursive misses them.
Seems I can work around it by catching and using clojure.stacktrace to print the exceptions, then everything is clickable
All 1.10 messages should have a location in the first line of the form (source:line:col) although source may be REPL and col may be omitted. Although perhaps more usefully, in general any read/compile/macroexpand error is now an ex-data and carries those values as fields
@dnolen That is really weird - it’s in the guts of ShimDandy. Let me upgrade to 2019.1 final and try to reproduce that.
just as another data point, Cursive 1.8.1-2019.1 seems to be working just fine with a simple Deps project (pure Clojure, no ClojureScript) in IntelliJ IDEA 2019.1 (JBR 11) and Java 12. clojure.main REPL works as well.
@dnolen I can’t reproduce that, sorry, and I can’t imagine what might provoke that problem either. I’ll ask tcrawley (author of ShimDandy) if he’s ever seen that.