This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-09-16
Channels
- # announcements (2)
- # architecture (3)
- # beginners (72)
- # cider (15)
- # cljs-dev (27)
- # clojure (85)
- # clojure-berlin (3)
- # clojure-dev (4)
- # clojure-europe (7)
- # clojure-italy (7)
- # clojure-nl (6)
- # clojure-uk (17)
- # clojurescript (63)
- # clojutre (10)
- # core-async (10)
- # cursive (10)
- # datomic (34)
- # events (4)
- # fulcro (3)
- # funcool (8)
- # incanter (1)
- # jackdaw (1)
- # jobs-discuss (6)
- # joker (4)
- # kaocha (7)
- # leiningen (8)
- # nrepl (6)
- # off-topic (11)
- # reagent (8)
- # shadow-cljs (119)
- # spacemacs (11)
- # sql (11)
- # vim (30)
- # yada (2)
Hi all! Would like to know what’s the best way to start a cider repl with a tools.deps.alpha project (deps.edn), and have it load one of the project’s namespaces like a it does with a leiningen project?
@mjcurry This comes straight from Lein - it sets some ns as the default ns and that gets reflected in CIDER. If there’s a way to set a default ns in tools.deps I guess this will work automatically as well. CIDER just starts the REPL with whatever *ns*
is at the time. Technically we can have some configuration in CIDER about the default ns, but this wasn’t necessary so far.
ah so that’s what lein is doing. thanks.
Just tried it again, and it doesn’t appear that any of the project’s namespaces are loaded, or at least running cider-repl-handle-shortcut
’s ns command doesn’t have any of them.
hello, i use shadow-cljs with cider, but in the cljs file, i can not use C-x C-e to execute the last expression, is that i have no project.clj in the project root dir, so the refactor-nrepl doesn’t enabled?
I'm seeing this a lot in CIDER now: error in process filter: Sync nREPL request timed out (op eval code (require 'figwheel.main))
using CIDER to jack-in-cljs with figwheel-main. is there a known reason for this?
hmm, figured it out after trying to start the process from a shell. there was a compilation problem. where could I have seen this in CIDER?
yeah, I probably should've checked the *nrepl-server ..*
buffer. would be nice if what goes on there was more "in your face". I've been burned by seemingly silent failures that were reported there before
@haiyuan.vinurs what behavior do you observe if you prevent clj-refactor from being included?