This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-08
Channels
- # announcements (14)
- # babashka (12)
- # beginners (140)
- # calva (2)
- # cider (22)
- # clj-commons (14)
- # clj-kondo (49)
- # cljdoc (34)
- # clojure (92)
- # clojure-europe (41)
- # clojure-france (2)
- # clojure-new-zealand (2)
- # clojure-nl (2)
- # clojure-norway (60)
- # clojure-uk (17)
- # clojured (2)
- # clojurescript (7)
- # community-development (3)
- # conjure (2)
- # cryogen (13)
- # cursive (4)
- # data-oriented-programming (2)
- # datahike (5)
- # datomic (12)
- # defnpodcast (10)
- # events (2)
- # fulcro (20)
- # gratitude (3)
- # honeysql (4)
- # introduce-yourself (3)
- # jobs (10)
- # lsp (58)
- # malli (12)
- # missionary (19)
- # off-topic (8)
- # pathom (18)
- # podcasts-discuss (1)
- # polylith (41)
- # releases (1)
- # remote-jobs (3)
- # shadow-cljs (52)
- # spacemacs (1)
- # sql (37)
- # xtdb (19)
ℹ️ clj-refactor.el 3.3.1, released today, honors .clj-kondo :unused-namespace
config. That way, you can declare in a single place the namespaces that should never be cleaned (e.g. side-effectful ones) and have a variety of tools respect that setting.
can someone remind me how to run the test my cursor is sitting inside of using cider? I’m looking at https://docs.cider.mx/cider/testing/running_tests.html and I don’t quite see it.
ahh, thanks. it does not seem to be mentioned on that doc page 8-)
I was thinking that when I’m writing tests, If I’ve just finished a (deftest …)
form and I prec C-c C-c to compile it, it would also be nice to run it. I.e., run the one test I just defined.
Guess it is C-c C-t C-t
my cat decided she either wants to type or block the screen
Does anybody know how to find the process id for the running clojure repl? I'm using jcmd to try to find the process I want to profile in VisualVM, but all of my repls have the same starting incantation, so I can't tell them apart
└─> jcmd
795369 clojure.main -m nrepl.cmdline --middleware [refactor-nrepl.middleware/wrap-refactor,cider.nrepl/cider-middleware]
786987 clojure.main -m nrepl.cmdline --middleware [refactor-nrepl.middleware/wrap-refactor,cider.nrepl/cider-middleware]
921526 clojure.main -m nrepl.cmdline --middleware [refactor-nrepl.middleware/wrap-refactor,cider.nrepl/cider-middleware]
930343 jdk.jcmd/sun.tools.jcmd.JCmd
jps
is the tool - I usually pass it some random set of args -m or -v or something, can never remember which is which
Hey folks, can someone please help me out with the right combination of vars?
I have a leiningen project (all Clojure); I have shadow-cljs.edn in the same repo. All dependencies gotta be separated.
That means I cannot initiate shadow-cljs watch/complile from Clojure REPL via shadow.cljs.devtools.api
& shadow.cljs.devtools.server
.
So I did this in .dir-locals.el:
(cider-default-cljs-repl . shadow)
(cider-shadow-default-options . "app")
Now, when I do cider-jack-in-clj&cljs
it still prompts me with: "Which command should be used... bla-bla". I don't want that prompt, right? So I set this up (cider-preferred-build-tool . "lein")
. But then, it doesn't make CLJs REPL right. Instead of doing it separately, it starts lein REPL (which doesn't have the dependencies I need)When I don't set cider-preferred-build-tool
, I can create two separate REPLs, but I have to do it manually for each. When it prompts and I selected lein
- it won't compile cljs. If I select shadow
- it creates Cljs REPL and compiles cljs, but Clj REPL is now all messed up.