emacs

diego.videco 2026-01-12T19:24:02.792509Z

Does anyone know if there’s a refactoring (clj-refactor o lsp) function that would modify referred vars so that they become namespaced,. For example if I have:

[clojure.set :as set :refer [intersection]]
Then calls to intersection will become set/intersection.

➕ 1
ericdallo 2026-01-12T20:43:41.354079Z

interesting, that sounds like a LSP code action refer -> as and as -> refer , I don't think there is any refactoring in any tool supporting that, but clojure-lsp seems to be the best place for it, feel free to open a issue there!

diego.videco 2026-01-13T17:00:03.052869Z

Cool, will do.