This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-12-03
Channels
- # adventofcode (198)
- # aleph (10)
- # announcements (7)
- # aws (17)
- # beginners (353)
- # boot (1)
- # calva (13)
- # cider (18)
- # cljdoc (2)
- # cljs-dev (11)
- # cljsrn (1)
- # clojure (87)
- # clojure-austin (1)
- # clojure-brasil (2)
- # clojure-greece (13)
- # clojure-italy (18)
- # clojure-kc (2)
- # clojure-nl (9)
- # clojure-quebec (1)
- # clojure-russia (1)
- # clojure-spec (55)
- # clojure-uk (114)
- # clojurescript (18)
- # clojurex (14)
- # code-reviews (5)
- # core-async (17)
- # cursive (23)
- # data-science (1)
- # datomic (82)
- # docker (8)
- # duct (10)
- # emacs (8)
- # figwheel (3)
- # figwheel-main (5)
- # fulcro (13)
- # hyperfiddle (8)
- # jobs (1)
- # midje (1)
- # mount (1)
- # nrepl (2)
- # off-topic (72)
- # om (2)
- # pathom (10)
- # portkey (2)
- # re-frame (9)
- # reagent (3)
- # reitit (9)
- # ring-swagger (14)
- # schema (1)
- # shadow-cljs (91)
- # spacemacs (21)
- # sql (6)
- # tools-deps (19)
- # unrepl (9)
- # vim (41)
@phil You have to set them in whatever build tool you’re using, CIDER will simply shell out to it.
if anyone wants to easily cider-connect but add their own profiles, etc this function could help them easily modify the startup command that cider issues:
(defun cider-copy-jack-in-command ()
(interactive)
(kill-new (plist-get (cider--update-jack-in-cmd (cider--update-project-dir '()))
:jack-in-cmd)))
and it will copy /usr/local/bin/clojure -Sdeps '{:deps {nrepl {:mvn/version "0.5.0"} cider/cider-nrepl {:mvn/version "0.19.0-SNAPSHOT"}}}' -m nrepl.cmdline --middleware '["cider.nrepl/cider-middleware"]'
so you can add whatever profiles you would like and it will include the middleware for you
I'm seeing this issue occasionally
error in process filter: user-error: ‘nil’ requires the nREPL op "classpath" (provided by cider-nrepl)
error in process filter: ‘nil’ requires the nREPL op "classpath" (provided by cider-nrepl)
after cider-connect
usually this goes away after restarting Emacs
now I went away after I added cider-nrepl to ~/.lein/profiles.clj
though I swear that cider sometimes works without cider-nrepl present?!
cider-doc is producing Wrong type argument: stringp, nil ... ideas on why or how to debug?