Fork me on GitHub

@drewverlee You can also trigger ClojureDocs from a doc buffer using g/G. We should probably update those keybindings, as they are remnant from the time we used Grimoire instead.


Also - the “see alsos” you’re seeing in doc buffers are coming from ClojureDocs.


I can't do a cider-jack-in-clj&cljs. The clj REPL starts fine, but the cljs one gives me an Execution error with "missing instance".


Can you share the entire backtrace here?


1. Unhandled clojure.lang.ExceptionInfo
   missing instance
               runtime.clj:   11  shadow.cljs.devtools.server.runtime/get-instance!
               runtime.clj:    8  shadow.cljs.devtools.server.runtime/get-instance!
                   api.clj:  125  shadow.cljs.devtools.api/worker-running?
                   api.clj:  123  shadow.cljs.devtools.api/worker-running?
                   api.clj:  225  shadow.cljs.devtools.api/watch
                   api.clj:  219  shadow.cljs.devtools.api/watch
                   api.clj:  223  shadow.cljs.devtools.api/watch
                   api.clj:  219  shadow.cljs.devtools.api/watch
                      REPL:    1  user/eval27313
                      REPL:    1  user/eval27313
    7177  clojure.lang.Compiler/eval
    7166  clojure.lang.Compiler/eval
    7132  clojure.lang.Compiler/eval
                  core.clj: 3214  clojure.core/eval
                  core.clj: 3210  clojure.core/eval
    interruptible_eval.clj:   91  nrepl.middleware.interruptible-eval/evaluate/fn
                  main.clj:  437  clojure.main/repl/read-eval-print/fn
                  main.clj:  437  clojure.main/repl/read-eval-print
                  main.clj:  458  clojure.main/repl/fn
                  main.clj:  458  clojure.main/repl
                  main.clj:  368  clojure.main/repl
      1523  clojure.lang.RestFn/invoke
    interruptible_eval.clj:   84  nrepl.middleware.interruptible-eval/evaluate
    interruptible_eval.clj:   56  nrepl.middleware.interruptible-eval/evaluate
    interruptible_eval.clj:  155  nrepl.middleware.interruptible-eval/interruptible-eval/fn/fn
           22  clojure.lang.AFn/run
               session.clj:  190  nrepl.middleware.session/session-exec/main-loop/fn
               session.clj:  189  nrepl.middleware.session/session-exec/main-loop
           22  clojure.lang.AFn/run
       834  java.lang.Thread/run


Yes, here:


Seems like some issue in that particular version of shadow-cljs. Did you check with say the previous version or something like this?


I can’t think of any CIDER changes that could cause this.


Hmm, no, I didn't check with other versions. I only checked if it works in VSCodium using Calva, and that worked fine, so my conclusion was "must be a CIDER issue then"

Matheus Moreira09:05:14

hello. maybe i use cider-test-run-ns-tests to run my tests and i noticed a strange behaviour… it seems that the tests are somehow cached and if i delete some of the test code and write a new one, the old test code is executed too. has someone noticed it too?


Tests are just regular vars and they’ll be in scope until you explicitly remove them - e.g. using undef or cider-refresh.

Matheus Moreira14:05:17

ah, ok. thanks! 🙂


i've upgraded cider this morning. and now i see this when i open a shadow-cljs project with cider-jack-in-cljs

Error in 'cider-repl--state-handler': (scan-error Containing expression ends prematurely 5 6)


never seen this error before.


I finally found it. it was caused with a wrong expression within .dir-locals.el i think


now running fine