This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-24
Channels
- # announcements (11)
- # beginners (72)
- # calva (11)
- # cider (12)
- # clj-kondo (147)
- # clojure (6)
- # clojure-new-zealand (2)
- # clojuredesign-podcast (2)
- # clojurescript (36)
- # cursive (2)
- # datomic (5)
- # emacs (4)
- # fulcro (57)
- # graalvm (104)
- # graphql (2)
- # jobs (1)
- # joker (1)
- # kaocha (3)
- # malli (51)
- # off-topic (2)
- # portkey (1)
- # reagent (18)
- # shadow-cljs (26)
- # spacemacs (7)
- # tools-deps (5)
- # vim (4)
that worked, in the cljs repl, cool...
hmm, I'm used to using cider-eval-defun-at-point within the buffer... is that sending it to the clj repl instead, or?
I'd like to be able to evaluate cljs in the buffer, if possible.
but I likely am not understanding what's possible, or how things work.
well, sounds like a workaround! how do I 'use' a repl to get the cljs one to the front?
I tried evaluating (+ 1 1) in the cljs repl and then tried to eval something in the cljs buffer but it still threw the same error.
It has to be the last focused repl. Whichever repl your cursor was last in will be the repl it uses
hmmm... still seems to throw an error... the repl is called cider-repl scratch/app:localhost:62232(cljs:figwheel) and maybe that's not the right kind of repl.
if I make a test.clj file and import into that, it works fine, even if the last repl I visited was the cljs one.
@bozhidar I’ve created an issue for the thing I mentioned on Friday about evaluation only happening in a single REPL when in a .cljc file. See https://github.com/clojure-emacs/cider/issues/2756
I’ve hacked a proof-of-concept fix for things that go through cider-interactive-eval
— see the ticket.
I think recently cider-find-var
began opening a new buffer every time I navigate (CIDER 0.23.0). Is there a variable I can set to ensure that it always navigates in the current buffer?