https://clojuredocs.org/ seems to be down. giving a 502 gateway error at least. does anyone know who should be contacted about this?
from https://web.archive.org/web/20241224144300/https://clojuredocs.org/ i can see it's Zachary Kim has some contacts here: https://heyzk.com/about-me doesn't seem to be active on twitter since 2024 Feb...
yes, see https://clojurians.slack.com/archives/C03S1KBA2/p1735542785902529
Btw, the ClojureDocs lookup in CIDER will work just fine even without the site. We're not using it's API directly, but rather an export of its database.
The maintainer is aware: https://github.com/zk/clojuredocs/issues/258#issuecomment-2565736051
Who is planning to join the #visual-tools meetup tomorrow? @adham.rasoul:#emacs & #cider / @jatkin: #vscode #calva / @daslu: Zulip https://clojureverse.org/t/visual-tools-meeting-27-workflow-demos-1/
I hacked together a small subset of Cider functionality for Phel to get the year started with. Can it be unofficially called "Cider Light for Phel" or something without issues? Ssnapshot version separated from dotfiles https://gist.github.com/jasalt/1413087247743a3aaf85d44dea5af561.
Why dodn't you just add this as a supported runtime in CIDER?
I'm guessing what you'll need to do is pretty similar to https://docs.cider.mx/cider/platforms/basilisp.html
@bozhidar yes, intriguing idea. Might attempt it eventually. Thank's for links.
Hello folks! The latest rolling version of CIDER (installable from MELPA unstable) improves the discovery of local Java sources. The following now works without enrich-classpath enabled:
• Jump-to-definition and Javadoc parsing of JDK sources. If you have a full JDK that contains src.zip file (you most probably do if you downloaded your JDK from a reputable source), then you are able to jump to the Java source file by pressing M-. on the classname or method name (e.g., on Thread or Thread/currentThread). You can also bring up the parsed Javadoc for a JDK class or method by pressing C-c C-d C-d. Parsed javadocs also improve the output of eldoc (minibuffer hint).
• If you have downloaded Java source artifacts for some Maven dependencies, you will also be able to jump to Java source or read javadocs for that dependency. For example, I have once downloaded clojure-1.12.0-sources.jar alongside Clojure 1.12.0 dependency (by having org.clojure/clojure$sources {:mvn/version "1.12.0"} in my deps.edn), so now I can jump into clojure.lang.PersistentArrayMap or read its javadoc within Emacs.
• If there are Java sources on the classpath, jump-to-definition and docs parsing will still work for them, as always.
I'd greatly appreciate it if you could try it out sometime and report your experience!
So awesome!
That's amazing! I was just contemplating that I need to hook-up lambdaisland/launchpad to enrich-classpath somehow to get the Javadocs back... and now the solution was just: update cider, relaunch launchpad. Thanks!
That looks cool! It would be great if there was an action to download sources & javadocs "on demand". That is I try to navigate to source or javadoc of a 3rd party lib but realize it's not available => I trigger the download and then it's shown.
Already in progress 😉
I love the new 'per-project setting for cider-repl-history-file. Thanks to all involved!
Hi! On shadow-cljs projects, does cider (or clojure-mode?) support xref-find-definitions? If not, would it be difficult for me to add?
It works as expected.
M-. and M-, both work.
Ah, thanks! I didn't add cider/cider-nrepl (and incidentally refactor-nrepl/refactor-nrepl) properly to deps.edn. Now it works
IIRC you dont need to add it as a dependency explicitly in deps, cider adds it on the fly, which can be observed if you do C-u M-x cider-jack-in-cljs
I'll try it out! Currently I start it with
npx shadow-cljs -A :dev watch app
then connect with: M-x cider-connect <port>