Meta Redux
Read post

Closing the Find-Usages Gap in CIDER

CIDER 2.0 closes the long-standing "find usages" gap that drove many Clojure developers to run clojure-lsp alongside it. The old runtime xref only saw loaded namespaces, reported callers not occurrences, and didn't support ClojureScript. The new source-based xref-find-references uses a three-stage search: REPL resolves the fully qualified name, ripgrep narrows candidate files, then a namespace-aware regexp filters results per file's ns form. A configurable cider-xref-references-mode lets users choose source, runtime, or both modes. Beyond find-usages, CIDER 2.0 adds a who-* family of commands (who-calls, who-implements, who-macroexpands, etc.) inspired by SLIME. The author notes clojure-lsp remains valuable for project-wide renames and unused-var linting, but CIDER now handles the most common use case out of the box.

    #clojure
Jul 27•8m read time•From metaredux.com
Post cover image
Table of contents
Why runtime xref wasn’t enoughThe fix: search the sourceBeyond find usages: the who-* familySo do you still need clojure-lsp?
147 Impressions
Meta Redux's image
Meta Redux

MetaRedux provides tutorials, guides, and resources for learning and mastering Redux, a state manage...

3 Followers

•

18 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard