Refactor Clojure Code
Refactoring tools are included in the Spacemacs clojure layer
The refactor functions are available via the Spacemacs menu or Clojure major mode. The Emacs keybinding are also available but not covered in detail here.
|Spacemacs||Major Mode (Evil)||Major mode (holy)||Emacs|
The top level refactor menu is as follows:
Multiple refactoring with Hydra and clj-refactor
You can run multiple refactor functions using the Hydra menu for clj-refactor. The hydra menu stays open allowing you to use the two character nemonic for each refactor.
The hydra version of the clj-refactor menu is available via
C-c C-f h h.
Add Spacemacs keybindings for clj-refactor hydra
There does not seem to be a keybinding in the spacemacs menu, so it may require a pull request