This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-27
Channels
- # aleph (1)
- # announcements (5)
- # babashka (13)
- # beginners (68)
- # brompton (7)
- # calva (10)
- # cider (1)
- # clara (15)
- # cljsrn (2)
- # clojure (63)
- # clojure-austin (1)
- # clojure-europe (44)
- # clojure-france (2)
- # clojure-nl (5)
- # clojure-norway (1)
- # clojure-poland (1)
- # clojure-uk (8)
- # clojurescript (8)
- # clojureverse-ops (7)
- # conjure (13)
- # core-async (27)
- # cryogen (10)
- # cursive (17)
- # datomic (13)
- # deps-new (1)
- # events (1)
- # fulcro (3)
- # gratitude (4)
- # helix (6)
- # honeysql (6)
- # introduce-yourself (1)
- # jobs (2)
- # malli (13)
- # meander (9)
- # music (1)
- # news-and-articles (2)
- # off-topic (8)
- # pedestal (1)
- # reitit (4)
- # sci (25)
- # shadow-cljs (13)
- # spacemacs (2)
- # tools-build (5)
- # tools-deps (20)
- # vscode (50)
- # xtdb (2)
Hey People! I had a small question. Right now when I jack-in, calva uses the 0.8.3
version of nrepl
. Is there any way I can make it to use a different version?
Yes, you can specify the version in settings. See https://calva.io/customizing/#jack-in-dependency-versions May I ask why you need a different version?
Awesome! Let me give it a try! Thanks for the quick response as always @U0ETXRFEW!
@U0ETXRFEW I had to change nrepl
version to 0.7.0
as it wasn't able to find one of the classes in my project. The class was this - com.mchange.v2.c3p0.cfg.C3P0Config
. I found a similar issue here https://github.com/nrepl/nrepl/issues/206 and thought of downgrading nrepl
to 0.7.0
. To my surprise, it worked!
Hi! Is there anyway to make calva format the protocol implementations of defrecord with 2 indent? currently moves things to the start of the bindings:
protocols/InvokeOperation
(invoke* [this {:keys [ch op] :as args}]
(if ...))
Thanks for the answer, I am trying with this configuration, but doesn’t seem to do the trick
{:indents {defrecord [[:block 2]
[:inner 1]]}}
Any tip on the config for this? Or why by default it does this behaviour? is it the default format for protocol impl?Looking at the code, the block2 inner1 seems to be the default, so I think it shouldn’t format it below the bindings?