This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-06-09
Channels
- # beginners (47)
- # boot (5)
- # cider (25)
- # cljs-dev (2)
- # clojars (2)
- # clojure (33)
- # clojure-dev (25)
- # clojure-italy (2)
- # clojure-uk (35)
- # clojurescript (27)
- # core-async (2)
- # datomic (5)
- # graphql (2)
- # immutant (3)
- # off-topic (3)
- # onyx (2)
- # pedestal (4)
- # portkey (52)
- # reagent (2)
- # shadow-cljs (55)
- # spacemacs (21)
- # sql (8)
- # tools-deps (22)
You need the middleware, as internally it uses the cljs-tooling
where completing logic is.
@dpsutton @richiardiandrea The idea is that you might do something that changes the REPL type and it’d be nice for this to be detected and switch the type automatically. The detection is the track-state middleware and it just checks for the presence of some piggieback vars. Probably we can make it more robust.
Generally we wanted to not need a different cider-connect
function and be able to detect code that converts REPLs between clj and cljs.
I’m assuming that fixing the middleware is not going to be complex, but I haven’t paid this much attention as I’m stretched super thin and I use cljs only to test CIDER.
I was talking about this today. We need a real world complex cljs app as a reference for testing CIDER
So @bozhidar are you then saying that the track state middleware is most likely broken? Because according to the scenario I posted it always returns clj
I basically observed a :changed-namespace
message coming on repl "upgrade". And it was always containing clj
It might be coming from here: https://github.com/clojure-emacs/cider-nrepl/blob/master/src/cider/nrepl/middleware/track_state.clj
When I do cider-jack-in it gives Wrong type argument: stringp, package-desc
. I am on emacs 26.1 on Mac OS. It gives the same error for even cider-version
> I was talking about this today. We need a real world complex cljs app as a reference for testing CIDER
I don’t think we need it to be complex, but we certainly need a proper testing app in general. 🙂
> So @bozhidar are you then saying that the track state middleware is most likely broken? Because according to the scenario I posted it always returns clj
Yes, it’s likely broken. Shortly after we started work on this @malabarba and me both got sidetracked and this was left in a somewhat immature state.
When I want to interrupt cider in the repl I can use c-c c-b. How can I stop an evaluation I executed using c-x c-e in a clj buffer?
I tried to stop a slurp to a url where something seems to be wrong. Should this be stoppable that way?
On my machine (Thread/sleep 10000) can be interrupted. (slurp "http://joyofclojure.com/hello") can not.
lazy dev q. how to enable logging of nrepl messages again? 😄
awesome thanks a lot, I was reading 😄