This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-02-15
Channels
- # announcements (5)
- # babashka (56)
- # beginners (24)
- # biff (15)
- # calva (7)
- # clj-kondo (12)
- # cljsrn (8)
- # clojure (68)
- # clojure-denmark (1)
- # clojure-europe (55)
- # clojure-norway (4)
- # clojure-spec (9)
- # clojure-uk (2)
- # clojurescript (8)
- # cursive (11)
- # data-science (7)
- # datahike (1)
- # datomic (66)
- # emacs (12)
- # etaoin (3)
- # fulcro (10)
- # graphql (3)
- # hyperfiddle (97)
- # jobs (1)
- # kaocha (8)
- # lsp (3)
- # malli (15)
- # meander (1)
- # off-topic (3)
- # overtone (4)
- # polylith (7)
- # rdf (25)
- # re-frame (4)
- # reagent (14)
- # remote-jobs (1)
- # shadow-cljs (126)
- # sql (30)
- # vscode (3)
- # xtdb (8)
what do you guys use to start your clojure + repl processes if you use a wrapper? I.e. if you use bb nrepl-server. I’ve been trying to run it in shell-mode
I run https://practical.li/clojure/clojure-cli/repl/, typically using rebel and a few other tools and then use cider connect.
For most projects I now use a Makefile so I can always do make repl
regardless of what tool and configuration the project is set up with.
I haven't considered babashka for running a repl as Clojure CLI (and previously Leiningen) has been simpler to work with, although would be interested to understand how to do this and what are the benefits & constraints
I’m also currently using various tools in a separate terminal, but I’m trying to ultimately run all commands from emacs
I now run make from projectile, it is quite convenient 🙂
hmmm I could try to add my custom project type to cider
The cider-jack-in command is relatively configurable using a .dir-locals.el
configuration,which can also include some elisp code, althoughI assume there are some limits
https://practical.li/spacemacs/clojure-development/project-configuration/
thanks, that looks like what I need!
cider-jack-in-clj works with Babashka projects that are using bb.edn
according to the cider docs, otherwise it seems babashka should be started with an nrepl server on the command line
https://docs.cider.mx/cider/platforms/babashka.html
I use a lot of repls running remotely over a tunnel
and I have bb wrappers that allow me to start those tunnels
so basically need to run a command + provide a host + port to cider-connect
I think I have fugured out how using nrepl-start-server-process + cider-nrepl-connect