Fork me on GitHub
#cider
<
2020-05-26
>
bozhidar06:05:19

@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.

bozhidar06:05:39

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

zilti09:05:25

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".

bozhidar09:05:47

Can you share the entire backtrace here?

zilti10:05:30

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
             Compiler.java: 7177  clojure.lang.Compiler/eval
             Compiler.java: 7166  clojure.lang.Compiler/eval
             Compiler.java: 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
               RestFn.java: 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
                  AFn.java:   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
                  AFn.java:   22  clojure.lang.AFn/run
               Thread.java:  834  java.lang.Thread/run

zilti10:05:35

Yes, here:

bozhidar12:05:26

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

bozhidar12:05:04

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

zilti12:05:25

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?

bozhidar09:05:42

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! 🙂

papachan18:05:53

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)

papachan18:05:10

never seen this error before.

papachan20:05:15

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

papachan20:05:19

now running fine