You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be nice if we could use the same existing rename! function supporting the alias
Du you have a specific reason for this? The current rename! function expects symbols in :from and :to, while renaming an alias needs different types of arguments. Also there could be an alias with the same name as a var in a namespace. Then it would be not clear, which one is targeted.
My first guess is, that two simpler functions are easier to understand then one which complicates the two things.
Is your feature request related to a problem? Please describe.
In the Editor integration I can point to a namespace alias and then rename it. But this feature is not exposed to the public API.
Describe the solution you'd like
Option A:
Running this on the project, would unify the alias to
clojure.string
in all files.Option B:
This would only match an existing alias
clojure-string
and rename it, independent of the target namespace it points to.The text was updated successfully, but these errors were encountered: