Fork me on GitHub
#spacemacs
<
2023-01-26
>
Black15:01:14

Do I need to add extra configuration for clj-refactoring package to work? Only available commands after , r a are to print namespace, I cannot find commands like add a missing libspec etc.

eggsyntax15:01:58

IIRC you may need to set a variable when you add the clojure package. Instead of just adding (in dotspacemacs-configuration-layers)

clojure
you need
(clojure :variables
              clojure-enable-clj-refactor t
              )

Black15:01:20

I did that, yet no new commands are available

practicalli-johnny15:01:39

Restart Emacs or reload the Spacemacs config to download the clj-refactor package and load clj-refactor key bindings when opening a Clojure file

practicalli-johnny15:01:20

Or use Clojure LSP to provide these type of refactor commands https://practical.li/spacemacs/install-spacemacs/clojure-lsp/

Black16:01:54

Ok I did not load .spacemacs.d properly, everything is working now, thanks!! ❤️

👍 2