reducecombine / fridge

Ideas for awesomer Clojure development
0 stars 0 forks source link

move-var / move-keyword #4

Open vemv opened 5 years ago

vemv commented 5 years ago

(Probably prior attempts exist)

Implement a refactoring function that moves var (or keyword) x from ns a to ns b, updating all consuming code within the current project.

Consumers' require aliases should also be renamed, e.g.:

- [net.vemv.foo :as foo]
+ [net.vemv.bar :as bar]

i.e. it would be counter-intuitive to emit [net.vemv.bar :as foo]

Considerations