This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-11-28
Channels
- # announcements (1)
- # beginners (205)
- # calva (30)
- # cider (5)
- # cljdoc (25)
- # cljs-dev (2)
- # clojure (119)
- # clojure-brasil (5)
- # clojure-conj (7)
- # clojure-europe (2)
- # clojure-hamburg (7)
- # clojure-italy (14)
- # clojure-nl (2)
- # clojure-russia (13)
- # clojure-spec (79)
- # clojure-uk (58)
- # clojurescript (54)
- # core-logic (2)
- # core-matrix (2)
- # cursive (40)
- # datascript (2)
- # datomic (18)
- # duct (2)
- # emacs (14)
- # figwheel (3)
- # figwheel-main (7)
- # fulcro (30)
- # funcool (1)
- # graphql (10)
- # jobs (1)
- # juxt (13)
- # lumo (1)
- # mount (1)
- # off-topic (56)
- # other-languages (2)
- # pedestal (17)
- # powderkeg (2)
- # protorepl (2)
- # re-frame (10)
- # reagent (1)
- # reitit (7)
- # ring-swagger (10)
- # schema (2)
- # shadow-cljs (70)
- # spacemacs (13)
- # specter (4)
- # sql (9)
- # tools-deps (26)
How do I specify what alias to use in a deps.edn
when firing up a cider repl? For example, I'm trying to use this deps file https://github.com/pedestal/pedestal-ions-sample/blob/master/deps.edn and the logging deps are not being loading for my env. I think I would need to use the log
alias when starting nrepl.
Createa a .dir-locals.el and set cider-clojure-cli-global-options to your options e.g. “-A:log”
Or if you want more control, fire up the nrepl outside emacs, then cider-connect
to it. You have to copy the command that cider uses (to get the cider-nrepl
dependency).
I think there’s yet another way to do this: call cider-jack-in
with a prefix arg C-u
to get more prompts on the command to use.
You can also customize the clojure-cli command options to add your alias. I’ve done this to always add -Adev
because all my projects use this alias. If the alias isn’t found there is no error too.