This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-06-24
Channels
- # announcements (6)
- # beginners (89)
- # calva (75)
- # cider (37)
- # clj-kondo (1)
- # cljs-dev (19)
- # cljsjs (8)
- # clojars (1)
- # clojure (122)
- # clojure-europe (6)
- # clojure-italy (41)
- # clojure-nl (18)
- # clojure-uk (24)
- # clojurescript (26)
- # cursive (6)
- # data-science (5)
- # datomic (51)
- # emacs (28)
- # fulcro (8)
- # graalvm (13)
- # hoplon (1)
- # immutant (1)
- # jobs (3)
- # joker (1)
- # keechma (43)
- # lambdaisland (1)
- # leiningen (37)
- # midje (1)
- # nrepl (2)
- # off-topic (32)
- # re-frame (3)
- # reagent (24)
- # reitit (5)
- # remote-jobs (1)
- # shadow-cljs (33)
- # sql (7)
- # tools-deps (11)
Is there an easy way to get the full tools.deps command to use to start a similar as cider-jack-in nRepl manually?
It seems it uses cider-jack-in-dependencies and cider-jack-in-lein-plugins for the deps.edn content. And then it calls -m nrepl.cmdline with the options from cider-jack-in-nrepl-middlewares
Ya, I was confused by the ...
at the end, but it doesn't seem like it is truncated even though it shows ...
(defun cider-copy-jack-in-command ()
(interactive)
(let ((cider-jack-in-dependencies (append cider-jack-in-dependencies cider-jack-in-cljs-dependencies))
(cider-jack-in-lein-plugins (append cider-jack-in-lein-plugins cider-jack-in-cljs-lein-plugins))
;;(cider-jack-in-nrepl-middlewares (append cider-jack-in-nrepl-middlewares cider-jack-in-cljs-nrepl-middlewares))
(orig-buffer (current-buffer)))
(kill-new (plist-get (cider--update-jack-in-cmd (cider--update-project-dir '()))
:jack-in-cmd))))
i made this a while back. should copy your jack in command. I don't think its cljs aware yet thoughHad a look at https://www.youtube.com/watch?v=UFY2rd05W2g&feature=youtu.be and it made it seem like a tap receiving buffer would be awesome 🙂
Happy to look into how to do that, it's a bit unclear what belongs where (orchard/cider-nrepl/cider) to me right now. Naively a middleware that runs tap<
and produces messages over the repl that can be interpreted by a cider extension would sound like the approach
Looking at it, it seems the nrepl side of things is having a def-wrapper of the sort: https://github.com/clojure-emacs/cider-nrepl/blob/master/src/cider/nrepl.clj#L390-L398
(Apologies in advance, am sure this one's getting very old)
On: emacs 26.2.90
, cider 0.22.0snapshot
, getting this:
WARNING: clj-refactor and refactor-nrepl are out of sync.
Their versions are 2.5.0-SNAPSHOT (package: 20190618.716) and n/a, respectively.
You can mute this warning by changing cljr-suppress-middleware-warnings.
Tried following the suggestions in the docs, but can't get rid of it (I've put (setq-default cljr-inject-dependencies-at-jack-in nil)
in my emacs setup).
I'm guessing using cider 0.22.0 would fix, but can't convince package-el to install it. (pinning to stable gives me 0.21.0)
Anyone know what I should/could do?Got a bunch of PRs up. Was hoping we could 1) merge Orchard PR and create release 2) bump orchard version in cider-nrepl 3) merge cider-nrepl PRs and make a release 4) merge CIDER PR and bump the cider-nrepl version it requests
also http://conj.io is down 😞
I’ll try to find some time to review and merge those and I’ll issue the new alphas. There are also a couple of small tweaks by @richiardiandrea that I want to squeeze in the next build.
definitely! Want to improve documentation viewing after seeing Cursive. I pinged reid on twitter about http://conj.io but no response. I hope the site doesn't become more of a chore as his interest seems thin 😕
Will try to address the PR feedback this week
:thumbsup: Once we’re ready with this and we figure out the boot breakage I might even cut a new CIDER release.
@dpsutton For a while I wanted us to do more with overlays for inline docs and so on, but I never got to doing so.
the apropos viewer is nice! not sure who made it but i like it. it included all the inline deps so its way to chatty to be useful right now though
@dpsutton We just borrowed the interface from Emacs’s own apropos for Emacs Lisp. I definitely like the UI.
But I was referring to something like https://emacs.stackexchange.com/questions/30031/how-to-display-overlay-like-this-screencast/30038 for some things.
yeah i've accidentally done emacs-lisp apropos on a few things instead of cider apropos 🙂 and yeah i followed. Cursive does clojuredocs inline in a popup with syntax highlighted examples and it is quite useful (and quick!)