clj-refactor.el
CIDER extension that provides powerful commands to refact Clojure code
...The more advanced refactorings require our nREPL middleware refactor-nrepl. From version 2.2.0 onwards if cider-jack-in is used it is injected automatically. profiles.clj or profile.boot don't need to be modified anymore for the above usecase! On the other hand if a standalone REPL or an embedded nREPL server is used you will need to manually add this dependency. The analyzer refactor-nrepl uses needs to eval the code too in order to be able to build the AST we can work with. If that causes side effects like writing files, opening connections to servers, modifying databases, etc. performing certain refactoring functions on your code will do that, too.