cider

onetom 2025-01-02T09:34:22.814879Z

https://clojuredocs.org/ seems to be down. giving a 502 gateway error at least. does anyone know who should be contacted about this?

onetom 2025-01-02T09:38:29.474839Z

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...

Oleksii Koval 2025-01-02T09:38:44.015799Z

yes, see https://clojurians.slack.com/archives/C03S1KBA2/p1735542785902529

🙏 1
bozhidar 2025-01-02T12:58:01.793189Z

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.

👍 3
Harold 2025-01-02T16:48:50.792979Z

The maintainer is aware: https://github.com/zk/clojuredocs/issues/258#issuecomment-2565736051

Daniel Slutsky 2025-01-02T12:55:17.840909Z

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/

🙋 2
jasalt 2025-01-02T16:57:40.701069Z

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.

bozhidar 2025-01-03T09:08:41.110089Z

Why dodn't you just add this as a supported runtime in CIDER?

bozhidar 2025-01-03T09:09:20.761009Z

See https://docs.cider.mx/cider/platforms/overview.html

bozhidar 2025-01-03T09:10:25.835669Z

I'm guessing what you'll need to do is pretty similar to https://docs.cider.mx/cider/platforms/basilisp.html

jasalt 2025-01-03T09:17:23.869899Z

@bozhidar yes, intriguing idea. Might attempt it eventually. Thank's for links.

👍 1
oyakushev 2025-01-02T00:33:59.013839Z

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!

3
🎉 14
pez 2025-01-02T08:50:37.842469Z

So awesome!

🤩 1
Karl Xaver 2025-01-03T06:03:17.215829Z

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!

🔥 1
jumar 2025-01-02T05:14:55.439339Z

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.

oyakushev 2025-01-02T07:19:10.796769Z

Already in progress 😉

❤️ 4
😎 3
Derek 2025-01-02T00:35:09.098459Z

I love the new 'per-project setting for cider-repl-history-file. Thanks to all involved!

cal 2025-01-02T06:33:51.495889Z

Hi! On shadow-cljs projects, does cider (or clojure-mode?) support xref-find-definitions? If not, would it be difficult for me to add?

Ken Huang 2025-01-02T11:13:43.876789Z

It works as expected.

Ken Huang 2025-01-02T11:14:17.995599Z

M-. and M-, both work.

cal 2025-01-02T18:07:22.618759Z

Ah, thanks! I didn't add cider/cider-nrepl (and incidentally refactor-nrepl/refactor-nrepl) properly to deps.edn. Now it works

Ken Huang 2025-01-02T19:35:13.829529Z

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

cal 2025-01-02T20:31:47.005299Z

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>