cider 2024-12-23

Hey everyone! I'd really appreciate it if you took a moment to fill in the State of CIDER survey (https://forms.gle/H24Z1Yk79mGAnAHn8) and shared it around on your social media. So far we've gotten quite a few response, so I guess I didn't market it well enough. Or perhaps everyone's in festive mood already. 😁

✅ 11

It’s the end of the year and I have a bit of time to revamp my Emacs configuration. Until now, I’ve been running a pretty vanilla CIDER+paredit+clojure-mode config. I’m wanting to upgrade to clojure-ts-mode and lsp-mode/clojure-lsp. One thing that has been a bit frustrating with my existing setup is that I don’t have completion when I’m not jacked in and for some of the last projects I’ve worked on, not being jacked in is more the norm. Previously, I had just been using company-mode with CIDER and that works great if I’m jacked in. If anybody has a state of the art setup working, I’d love to get hold of the appropriate sections of your .emacs/`init.el`. Thanks.

What do you use to get info about unused public functions across namespaces in a project?

Ah, I see, in Emacs - nothing, I can see unused defs only in the current buffer/namespace

This is why I use lsp. Very minimally.

👍 1

not related to lsp, but take a look at https://github.com/didibus/anakondo

Thanks. Does that have any relevance with Clojure LSP, which also uses clj-kondo under the hood?

In other words, doesn’t Clojure LSP obsolete anakondo?

I don't use lsp (anymore), so it doesn't for me. Probably @didibus can tell something about the difference.

Interesting. Why did you move away from lsp?

it didn't offer much advantage over Cider+anakondo, made things slower (some people say it's all because of the UI, but I didn't have time to investigate given I didn't notice advantages). Also I usually don't write in non-lispy languages.

👍 1

This has lsp and cider working together. https://github.com/magnars/emacsd-reboot Very minimal lsp, but clj-kondo and info about unused functions is great.

👍 2

> clj-kondo and info about unused functions is great. sure, but lsp is not needed for these two