This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-09-10
Channels
- # announcements (14)
- # bangalore-clj (1)
- # beginners (89)
- # calva (166)
- # cider (33)
- # clara (12)
- # clj-kondo (1)
- # cljdoc (8)
- # clojure (101)
- # clojure-austin (1)
- # clojure-colombia (7)
- # clojure-dev (14)
- # clojure-europe (5)
- # clojure-hamburg (10)
- # clojure-italy (9)
- # clojure-nl (31)
- # clojure-spec (4)
- # clojure-uk (39)
- # clojurescript (17)
- # clojutre (3)
- # code-reviews (16)
- # cursive (72)
- # data-science (1)
- # datomic (81)
- # duct (8)
- # emacs (4)
- # figwheel-main (1)
- # graalvm (2)
- # jobs (9)
- # kaocha (21)
- # lambdaisland (2)
- # luminus (4)
- # off-topic (35)
- # re-frame (1)
- # reagent (101)
- # reitit (4)
- # ring-swagger (5)
- # shadow-cljs (17)
- # sql (40)
- # tools-deps (4)
- # vim (28)
did the sesman-integration recently change? I just updated cider, and when I do C-c C-s s
to connect a sibling, I get a Select command:
prompt with nothing suggested.
Disregard that. For some other reason my completing-read
is not completing anything anymore.
No, that's not it. But I do use several ido-packages. Luckily I made a backup of my elpa-directory before upgrading, so I'll now dig in and find the culprit with some good old bisecting.

Turns out it was my fault all along, unsurprisingly, I just noticed it right after upgrading cider. I had a function that would temporarily disable ido-ubiquitous-mode
- and then sometimes fail to enable it again. Fixed with an unwind-protect
Hello there Is there a way to automagically inject figwheel main when lauching a cljs repl. I am getting this error
error in process filter: Figwheel-main is not available. Please check
With clojure-cli
This seems to be the relevant doc. https://docs.cider.mx/cider/basics/clojurescript.html#_using_figwheel_main
You can add [com.bhauman/figwheel-main"0.2.3"]
to your user deps.edn
, if no one here shows up and tells us that it can be configured to be inlcuded in jack-in.
It should be enough to do (cider-add-to-alist 'cider-jack-in-cljs-dependencies "com.bhauman/figwheel-main" "0.2.3")
I believe.
Unless the alist thing can be made so that it is “workspace” (using vscode terms…) local?
@dpsutton Why is it better to put it in an alias or a profile?
It’s a true dependency of your project. Nothing cider specific but your project depends on figwheel main
The development of the project depends on Figwheel Main. So it is not clear cut, I’d say. But, yeah, there are profiles for that, of course. Yet, it is also something CIDER could help with, when it sees that Figwheel Main is involved. Calva does, because I think it makes sense.
if you don't have that, how would anyone run your project. its not piggieback that a CIDER dep needs, its a dep required to compile your cljs
@dpsutton any idea how to add figwheel-main to dev profile for clojure-cli and let CIDER aware of it?
@viebel Add a .dir-locals.el
file to root of project, specifying it for cider. Here's mine:
((nil
(cider-clojure-cli-global-options . "-A:dev")
(cider-default-cljs-repl . figwheel-main)
(cider-figwheel-main-default-options . ":dev")))
just stick it in the dev profile. then you can use dir locals as posted above or you can use a prefix argument when jacking-in to edit the command
how do I pass aprefix arg to jack-in command? Sorry I am new to spacemacs?
i actually don't know for spacemacs. But for emacs, the normal cljs-jack in command is C-c M-J
and to send the prefix is C-u C-c M-J
Thanks a lot @dpsutton and @dpsutton. You helped me made another small but significant step towards the epiphany

thank @magnars for the helpful .dir-locals.el
syntax. i get that wrong three times every time