This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-01-11
Channels
- # announcements (1)
- # babashka (70)
- # beginners (8)
- # calva (5)
- # cider (9)
- # clojure (48)
- # clojure-austin (68)
- # clojure-europe (29)
- # clojure-norway (30)
- # clojure-uk (5)
- # clojuredesign-podcast (2)
- # cursive (19)
- # datomic (10)
- # emacs (11)
- # events (2)
- # exercism (4)
- # fulcro (2)
- # hyperfiddle (29)
- # introduce-yourself (2)
- # jobs-discuss (4)
- # kaocha (1)
- # leiningen (8)
- # lsp (8)
- # malli (2)
- # matcher-combinators (20)
- # nrepl (15)
- # off-topic (33)
- # reagent (7)
- # releases (4)
- # shadow-cljs (42)
- # spacemacs (6)
- # sql (6)
- # squint (10)
- # vim (3)
when working in cljc namespaces is there a way for cider to detect you’re in a reader conditional and send evals to the right repl?
We recently introduced a defcustom allowing to choose a fixed option instead of sending it to both repls - may be handy
But no, I don't think we have reader-conditional level detection. We have reader-conditional-parsing code in clj-refactor.el (including for partially written stuff) we could reuse it
https://docs.cider.mx/cider/cljs/up_and_running.html#working-with-cljc-files cider-clojurec-eval-destination, good to set in .dir-locals.el For the other approach, feel free to create an issue, probably it deserves some discussion for edge cases