This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-11-08
Channels
- # babashka (18)
- # beginners (35)
- # biff (15)
- # cider (24)
- # clj-commons (26)
- # clj-kondo (12)
- # clojure (18)
- # clojure-austin (1)
- # clojure-dev (2)
- # clojure-europe (15)
- # clojure-losangeles (1)
- # clojure-nl (1)
- # clojure-norway (88)
- # clojure-seattle (2)
- # clojure-spec (14)
- # clojure-uk (27)
- # clojuredesign-podcast (5)
- # clojurescript (25)
- # cursive (3)
- # datahike (26)
- # datalevin (13)
- # datomic (39)
- # etaoin (19)
- # events (1)
- # fulcro (12)
- # graphql (1)
- # hyperfiddle (40)
- # introduce-yourself (3)
- # joyride (8)
- # lsp (53)
- # missionary (7)
- # nyc (1)
- # off-topic (31)
- # overtone (10)
- # reitit (6)
- # shadow-cljs (9)
- # slack-help (9)
- # thejaloniki (1)
- # tools-deps (12)
is there a snippet integrating *remote-javadocs*
and http://javadoc.io (or CIDER/etc)
Are you familiar with the concept of enrich-classpath? It downloads sources CIDER then parses them and does a number of useful things with them See yesterday's video in #C0617A8PQ for instance
Enrich also downloads javadocs. Personally I've never used them in any way - given the mentioned parsing, I have everything I need without leaving
i've seen it in the docs a bunch of times but it just doesn't happen or doesn't get used and it is in the clj cmdline when jacking in
Do you see it available in misc places?
Code completion (if you're using CIDER for that), *cider-doc*
, the inspector as shown yesterday
I know that Javadocs are there / get passed at nREPL level, but I never got to try them in cider.
Maybe we don't know how to open a Javadoc that's inside a .jar :thinking_face:
ohhhh I now recall a bit better, as once upon a time I did investigate it a bit and it had to do with the docs being inside the jar
it does give me the type and what it extends, which is evidence it's not lost looking for something else
and this is the completions integration (parsing the java doc comments from .java sources)
M-x cider-javadoc
probably doesn't know how to dig into .jar javadocs. Feel free to follow https://github.com/clojure-emacs/cider/issues/3575
emacs (well, mine with 123141 doom modules at least) knows to open zips (and therefore jars) transparently, so if cider just lists and finds the file, some find-file magic should work
Is there a way for cider to close both the clj & cljs buffers upon quit? I’m on the latest prior to yesterday’s release. However, for a long time I’ve noticed that doing cider-quit
doesn’t remove both buffers. It only removes the one you are actively looking at and the nrepl server. So I always have to navigate to both buffers manually and quit each every time. Perhaps I’m missing something of how this works though. I use figwheel-main
target as well if that matters.
Interesting. Would you still need cider-quit
(or kill buffer) to remove the nrepl server in that case though?