lsp

borkdude 2025-08-05T14:09:12.902429Z

What's the reason lsp doesn't let me rename an unqualified keyword (of which I'm 100% sure I want to do it?)

borkdude 2025-08-05T14:09:38.526689Z

It does let me find all the references, but now I have to do it all manually

ericdallo 2025-08-05T14:09:57.477659Z

IIRC discussing with @snoe we thought would be safer but I agree, multiple times I found myself wanting to do this rename, maybe we should support

borkdude 2025-08-05T14:11:38.420019Z

it's so awesome that it finds references in keywords destructuring too, but then it also needs to rename the corresponding local usages. But I guess that's also the case with destructuring qualified keywords. Example:

(defn foo [{:keys [my-special-key]}] (inc my-special-key))
Rename :my-special-key to :my-special-key2 =>
(defn foo [{:keys [my-special-key2]}] (inc my-special-key2))