This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-01
Channels
- # announcements (3)
- # aws (1)
- # babashka (56)
- # beginners (42)
- # calva (9)
- # cider (6)
- # circleci (5)
- # clj-kondo (17)
- # cljs-experience (1)
- # cljsjs (2)
- # clojure (106)
- # clojure-australia (1)
- # clojure-europe (36)
- # clojure-germany (5)
- # clojure-italy (13)
- # clojure-nl (14)
- # clojure-spec (19)
- # clojure-uk (27)
- # clojurescript (27)
- # cursive (20)
- # datomic (24)
- # events (2)
- # fulcro (11)
- # graalvm (1)
- # jobs (6)
- # lsp (6)
- # malli (5)
- # meander (36)
- # membrane (17)
- # nbb (4)
- # nextjournal (86)
- # off-topic (18)
- # pathom (3)
- # polylith (5)
- # portal (14)
- # rdf (5)
- # re-frame (5)
- # releases (6)
- # remote-jobs (3)
- # reveal (2)
- # ring (6)
- # shadow-cljs (139)
- # tools-deps (61)
- # vim (10)
- # xtdb (6)
Is there some way to start the REPL in a specific namespace with deps.edn? I'm asking here because I haven't been able to find anything for deps, so maybe CIDER can help here?
The REPL always starts in the user namespace. Leiningen would switch to a specified namespaces once the REPL was running.
For a Clojure CLI (deps.edn) project, I would add a user
namespace to the project and use an alias that added that namespace to the classpath.
I assume it is then a mater of using (in-ns 'desired.namespace)
in the user
namespace
Some examples here
https://practical.li/clojure/clojure-cli/projects/configure-repl-startup.html
@U07FCNURX I looked at this in the past and there was no alternative of :initial-ns
for tools.deps
.