This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-18
Channels
- # announcements (2)
- # asami (20)
- # aws (4)
- # babashka (35)
- # beginners (47)
- # calva (65)
- # cider (19)
- # clj-kondo (63)
- # clojure (177)
- # clojure-austin (2)
- # clojure-europe (27)
- # clojure-nl (1)
- # clojure-uk (4)
- # clojurescript (13)
- # community-development (5)
- # conjure (5)
- # css (2)
- # data-oriented-programming (9)
- # datalevin (13)
- # datascript (15)
- # datomic (4)
- # devcards (6)
- # duct (4)
- # emacs (8)
- # funcool (1)
- # gratitude (2)
- # helix (3)
- # hyperfiddle (3)
- # introduce-yourself (1)
- # jobs (4)
- # jobs-discuss (26)
- # lambdaisland (2)
- # lsp (20)
- # malli (2)
- # meander (2)
- # mid-cities-meetup (5)
- # missionary (15)
- # music (4)
- # off-topic (37)
- # reagent (3)
- # reitit (2)
- # releases (2)
- # ring (18)
- # shadow-cljs (70)
- # specter (4)
- # sql (20)
- # timbre (3)
- # tools-build (43)
- # tools-deps (11)
- # vim (29)
- # xtdb (61)
Hey Emacs friends!
When I run M-x cider-javadoc
on a symbol, it opens up a URL to Java 11 docs. E.g.: https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/ServerSocket.html
I'm using Java 18 locally, and I'm hoping to make cider-javadoc
use URLs for Java 18. E.g.:
https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/net/ServerSocket.html
I'm having trouble figuring out how, though. Anybody know?
It looks like it defaults to Java 11 here: https://github.com/clojure-emacs/orchard/blob/master/src/orchard/java.clj#L384-L385
No, fixing the fallback (L385) is just a workaround. L384 should be working to begin with. Currently it doesn't, next CIDER release will
L385 most likely should be removed, I'll look into it as I work on related CIDER features asap
Awesome, thanks so much for the help! Adding an item for 18
in the map of javadoc-base-urls
does indeed make it work. I'll make a PR for that.
Please don't (as I've already expressed my opinion on the topic), however a comment in https://github.com/clojure-emacs/orchard/issues/160 is welcome Thank you both for bringing the item to attention though!