-
-
Notifications
You must be signed in to change notification settings - Fork 652
Closed
Description
I'm thankful for CIDER 1.8.0's improved use of Clojure 1.10+ error reporting features. One way I'd like to leverage this change is to get short/non-stacktrace error messages as an overlay, without changing the behavior of 1. stacktrace/*cider-error*-opening errors or 2. normal evaluation.
That is, my dream scenario is:
- successful/uneventful form evaluation, e.g.
(range 100)
--> no overlay, see result in minibuffer - early-phase error (reading, macroexpansion, compilation), e.g.
:::5
or(def 5)
--> error overlay - late-phase error, e.g.
(throw (ex-info "boom" {:a "a"}))
--> open *cider-error* with stacktrace, no overlay
Because cider-use-overlays
is coarse-grained, it seems 1 and 2 are currently incompatible. Would it be possible to get more fine-grained config here?
Cheers and thanks
(relevant clojurians thread)
Metadata
Metadata
Assignees
Labels
No labels