This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # aleph (1)
- # announcements (1)
- # babashka (4)
- # beginners (89)
- # calva (3)
- # chlorine-clover (18)
- # cider (33)
- # clj-kondo (33)
- # cljdoc (4)
- # cljsrn (2)
- # clojure (248)
- # clojure-europe (7)
- # clojure-italy (15)
- # clojure-nl (7)
- # clojure-norway (10)
- # clojure-poland (1)
- # clojure-spec (12)
- # clojure-sweden (5)
- # clojure-uk (57)
- # clojured (4)
- # clojuredesign-podcast (1)
- # clojurescript (55)
- # core-async (14)
- # core-logic (3)
- # crux (5)
- # cursive (10)
- # datomic (38)
- # figwheel-main (8)
- # fulcro (23)
- # graalvm (126)
- # hoplon (59)
- # jobs (1)
- # kaocha (3)
- # malli (30)
- # meander (17)
- # off-topic (32)
- # pathom (19)
- # pedestal (4)
- # re-frame (12)
- # reagent (2)
- # reitit (3)
- # shadow-cljs (81)
- # sql (9)
- # tools-deps (34)
- # vim (20)
- # vscode (7)
Hi, is there an easy way to paste the last result rather than inspect it? Main use case would be creation of test data… Thanks!
is eldoc broken for anyone else on current master? I'm getting
There is no ElDoc support in this buffer
eldoc-documentation-functions must be set for ElDoc to work properly now.
I see the first one is set to
cider-eldoc, but the other one is
nil. Although, I don't know exactly what has changed for ElDoc on Emacs master
Not sure, but on master I see:
Could this be the problem?
‘eldoc-documentation-function’ This variable holds the function which is used to retrieve documentation for the item at point from the functions in the hook ‘eldoc-documentation-functions’. By default, ‘eldoc-documentation-function’ returns the first documentation string produced by the ‘eldoc-documentation-functions’ hook.
For the sake of completeness,
eldoc-documentation-functions documentation says:
Hook for functions to call to return doc string. Each function should accept no arguments and return a one-line string for displaying doc about a function etc. appropriate to the context around point. It should return nil if there's no doc appropriate for the context. Typically doc is returned if point is on a function-like name or in its arg list. Major modes should modify this hook locally, for example: (add-hook 'eldoc-documentation-functions #'foo-mode-eldoc nil t) so that the global value (i.e. the default value of the hook) is taken into account if the major mode specific function does not return any documentation.
(add-hook 'eldoc-documentation-functions #'cider-eldoc nil t) should fix it. 🙂
@bozhidar do you think a similar solution could be added to
cider-eldoc-setup? I'm not sure that's the proper way to fix this problem, but I can confirm it is working for me.
Just confirmed this was added in Emacs 28.1 - https://github.com/emacs-mirror/emacs/blob/master/etc/NEWS#L131
Not sure why this broke the old behavior exactly, but at least we have a good idea what’s going on. Please, file a ticket so we can investigate this further.
created the issue: https://github.com/clojure-emacs/cider/issues/2816
GNU Emacs 28.0.50 (build 1, x86_64-debian-linux-gnu, GTK+ Version 3.22.30, cairo version 1.15.10) of 2020-03-02
same issue with
GNU Emacs 28.0.50 (build 1, x86_64-unknown-freebsd12.1, Motif Version 2.3.8, cairo version 1.16.0) of 2020-03-02
Emacs 28? 🙂 I’m guessing that’s some dev build and they changed something there. They still haven’t even released Emacs 27.
emacs-snapshot packages from Ubuntu Emacs PPA are all from the Emacs 28 branch now. So I assume that there will be a release of Emacs27 before long.
Hey, everyone! I’ve long been a happy CIDER user in Clojure, and suddenly find myself working in ClojureScript for a bit because I am building an integration for building diagrams in Asciidoctor/Antora, and can’t figure out how to get a shadow-cljs repl working. Can someone give me a hand? The project is here: https://github.com/Deep-Symmetry/bytefield-svg
When I jack in, I seem to get a clj repl, but no cljs repl. A compounding factor may be that this is a project which builds a node module, so there is no “server”?
lib.js you should just run
node lib.js and everything will wire up correctly
I can get a repl in the terminal via
npx shadow-cljs node-repl but CIDER doesn’t seem to be doing that.
But, ah ha! If I do that and leave the terminal repl running, CIDER does seem to be able to connect to it.
I just assumed that jack-in would take care of that the way it does for clojure projects.