spacemacs

Black 2023-01-26T15:28:14.795529Z

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.

eggsyntax 2023-01-26T15:30:58.429489Z

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
              )

Black 2023-01-26T15:33:20.487769Z

I did that, yet no new commands are available

practicalli-johnny 2023-01-26T15:55:39.540529Z

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-johnny 2023-01-26T15:59:20.391249Z

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

Black 2023-01-26T16:30:54.680169Z

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

👍 1