Closed
Description
We lost this functionality with the kondo analysis, kondo will now support it (see commented out analysis/README.md: clj-kondo/clj-kondo#1129)
We should be able to bring back the old behavior
- go to def if a keyword has a
:def
on it - rename - only rename the keyword if the cursor is on a raw keyword (i.e. not also a local destructuring binding)
(let [{:keys [:f|oo]} stuff] foo)
should only rename the local, not the keyword.- rename the alias of an aliased keyword (
::alias/kw
) if you rename with the cursor on the alias in the require. Renaming with a cursor on an aliased keyword would just be changing the kwname
. (This should follow the behaviour when renaming vars)
- find usages, completion, hover, etc