This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-26
Channels
- # aws (1)
- # aws-lambda (16)
- # beginners (8)
- # boot (2)
- # cider (4)
- # cljsrn (9)
- # clojure (137)
- # clojure-italy (3)
- # clojure-russia (39)
- # clojure-spec (34)
- # clojure-uk (33)
- # clojurescript (44)
- # core-logic (11)
- # cursive (27)
- # data-science (16)
- # datomic (52)
- # duct (1)
- # emacs (1)
- # figwheel (2)
- # fulcro (90)
- # graphql (3)
- # hoplon (7)
- # lambdaisland (2)
- # leiningen (23)
- # lumo (1)
- # off-topic (1)
- # om (40)
- # onyx (44)
- # re-frame (116)
- # reagent (3)
- # shadow-cljs (87)
Is there a way to browse one’s own project’s ClojureScript specs? I tried cider-browse-spec
/`cider-browse-spec-all` but I’m only able to see the core ones and not project specific?
Separate question, is there a way to get the output from cider-doc
to be displayed in a pos-tip
tooltip instead of a separate buffer?
Took the time to create my own fn for the tooltip docs, enjoy 😄 :
(defun my-cider-describe-function ()
"Display the full cider documentation of the function at point in tooltip."
(interactive)
(let ((err-msg "** Could not find function **")
(function (cider-symbol-at-point)))
(if (null function)
(pos-tip-show err-msg '("red"))
(let ((info (cider-var-info function)))
(if (null info)
(pos-tip-show err-msg '("red"))
(pos-tip-show
(with-temp-buffer
(cider-docview-render (current-buffer) function info)
(buffer-string))
nil nil nil 0))))))