This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-03-20
Channels
- # admin-announcements (1)
- # announcements (9)
- # aws (11)
- # babashka (33)
- # beginners (125)
- # calva (20)
- # cider (18)
- # clj-kondo (7)
- # cljs-dev (73)
- # clojure (72)
- # clojure-europe (18)
- # clojure-italy (13)
- # clojure-nl (13)
- # clojure-uk (9)
- # clojurescript (22)
- # core-async (7)
- # cursive (1)
- # data-science (25)
- # datomic (22)
- # duct (32)
- # emacs (13)
- # graalvm (5)
- # hoplon (16)
- # juxt (6)
- # kaocha (8)
- # leiningen (3)
- # malli (11)
- # meander (12)
- # off-topic (18)
- # pathom (109)
- # pedestal (5)
- # rdf (10)
- # reagent (1)
- # reitit (12)
- # shadow-cljs (27)
- # spacemacs (5)
- # sql (9)
- # tools-deps (7)
@plins create a .dir-locals.el
file in your project and paste this code inside
((clojure-mode . ((cider-preferred-build-tool . "clojure-cli"))))
This will set the Clojure CLI tool as the default and wont prompt you to choose for that project.
SPC p e
will also help you create your own .dir-locals.el
file and list the possible variables you can add.Default aliases can also be set using the .dir-locals.el
file, eg.
((clojure-mode . (cider-preferred-build-tool . "clojure-cli")
(cider-clojure-cli-global-options . "-A:cljs-jvm:dev:unit-test")))
You will need to reload a buffer from the project or restart Emacs for the .dir-locals.el
to be picked up. You should see a prompt to confirm you want to apply the contents of the file, as is elisp code.