This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-08-23
Channels
- # babashka (4)
- # beginners (46)
- # biff (64)
- # calva (34)
- # cider (29)
- # cljdoc (12)
- # cljs-dev (16)
- # clojure (42)
- # clojure-australia (2)
- # clojure-china (1)
- # clojure-europe (35)
- # clojure-filipino (1)
- # clojure-hk (1)
- # clojure-indonesia (1)
- # clojure-japan (1)
- # clojure-korea (1)
- # clojure-my (1)
- # clojure-nl (1)
- # clojure-norway (6)
- # clojure-sg (1)
- # clojure-taiwan (1)
- # clojure-uk (4)
- # clojurescript (3)
- # core-typed (3)
- # cursive (5)
- # datalevin (3)
- # datomic (23)
- # hyperfiddle (92)
- # joyride (8)
- # juxt (3)
- # malli (1)
- # nbb (44)
- # pathom (10)
- # portal (3)
- # rdf (1)
- # reitit (10)
- # shadow-cljs (60)
- # sql (12)
how can I simply bring back previous command in repl? equivalent to what up and down arrow would do in a terminal?
M-p and M-n are bounded to cider-repl-previous-input and cider-repl-next-input
Ah! Fantastic
and M-r
if you want to search through your previous input 🙂
any idea how to disable those documentation overlays when you hover over symbols with the mouse? also more general, is there any way on emacs to track down this kinds of gestures? like what code is executing when hovering over a piece of text?
Are you talking about eldoc? https://docs.cider.mx/cider/config/eldoc.html#displaying-eldoc-for-the-symbol-at-point
talking about this popups
Would love to control this myself
You could try following that instruction (`(setq cider-eldoc-display-for-symbol-at-point nil)`) to see if it gets disabled
still there
is also kind of buggy, doesn't always display
ok, please (setq nrepl-log-messages t)
, cause the popup to show up again, visit the *nrepl-messages [...]
buffer, see what request/response cycle is including all that info
requests are marked by -->
and have an id
and op
responses are marked by <--
and have an id
(matching the request) and the response data
then you'd have to grep in the cider package which defuns are calling that op
(Slightly excessive work if it's the first time doing it, but it's a super useful technique)
looks like something that is requesting a info
Yep, that's what I would have guessed :)
Info is obtained via cider-sync-request:info
, mainly
but not for every popup, just for the ones that shows a docstring
there's defcustom cider-use-tooltips t
, responsible for defun cider--help-echo
which uses info
hope that's it!
nice! cider-use-tooltips`` did the trick!
thanks!
it would be nice to have a way of tracking those down. I can track most things down in emacs but no idea about those
one way is as shown above, starting by the nrepl log and following that trace of ops and then code
another is M-x describe-key
. Sometimes it works with mouse stuff
btw, we recently added Cider Storm to the docs (soon to be online) https://github.com/clojure-emacs/cider/pull/3425 Kudos for your work!
ok I found a way of tracking those, you add a breakpoint to emacs tooltip-show and can edebug them
> btw, we recently added Cider Storm to the docs (soon to be online) nice!!
> ok I found a way of tracking those, you add a breakpoint to emacs tooltip-show and can edebug them meh, false alarm. Edebug activates and you can step, but running e (backtrace) doesn't provide any useful info
a timer ends up firing the tooltip-show