This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-03-19
Channels
- # announcements (6)
- # aws (10)
- # beginners (73)
- # bristol-clojurians (2)
- # calva (9)
- # cider (25)
- # clj-kondo (7)
- # clojure (160)
- # clojure-dev (2)
- # clojure-europe (63)
- # clojure-italy (7)
- # clojure-nl (10)
- # clojure-uk (76)
- # clojuredesign-podcast (6)
- # clojurescript (63)
- # cursive (6)
- # data-science (3)
- # datomic (26)
- # duct (59)
- # emacs (1)
- # fulcro (12)
- # graalvm (17)
- # hoplon (23)
- # jobs-discuss (2)
- # kaocha (6)
- # meander (7)
- # off-topic (3)
- # pathom (2)
- # rdf (68)
- # re-frame (12)
- # reagent (20)
- # reitit (5)
- # ring (3)
- # ring-swagger (1)
- # shadow-cljs (14)
- # spacemacs (10)
- # sql (3)
- # tools-deps (30)
- # yada (9)
On occasion I'd like to use include alias that's not specified in the .dir-locals
file for a project that uses clojure's cli tools. Is the best way to do this to figure out the right version of nrepl, piggieback, etc., put all that stuff in my ~/.clojure/deps.edn
file (and update it whenever things get updated in spacemacs), then use cider-connect-clj&cljs
?
Got it: SPC-u SPC-SPC cider-jack-in
(or whatever your jack-in command is). Then, you'll have the option to edit the command it runs. Unfortunately, you can't append another -A
on the end to add your alias, you'll need to go back and modify the one that's already there.
If you are using cider-jack-in
rather than cider-connect
then CIDER will manage the nrepl depenencies on startup. Its only for cider-connect
you would need an alias.
clojure -A:you:can:use:multiple:aliases
in the clojure command
Yeah, adding nrepl dependencies is why I use cider-jack-in
. I'd really like to be able to include my custom sc
alias from ~/.clojure/deps.edn
for vvvvalvalval/scope-capture
. That's not in the .dir-locals.el
file for our project, but I'd like to add it sometimes when doing debugging. After re-reading my question, I see how it wasn't very clear now.
Is it just me or was there recently a change that bound [
to evil-cp-previous-opening
, thus clashing with evil-unimpaired
?
@zane the [
on my develop
branch is defined in the evil-cleverparens package, which has not changed since 2017. Looking at the spacemacs-evil and clojure layers, nothing in there sets a [
keybinding. Some other layer you use could be over-riding it. I havent used the [
keybinding much though.
on the development branch, if I do cider-jackin-clj
it prompts me to choose between lein
and clojure-cli
is there a variable I can set a default option?
I've asked this in the #cider channel, as the config I have tried does not seem to be picked up by Cider.