Fork me on GitHub
#emacs
<
2022-12-08
>
Lyn Headley15:12:32

Is there an LSP command to move a def into a different namespace?

ericdallo15:12:17

yes, lsp-clojure-move-form , but it has limitations

Lyn Headley15:12:39

Thank you, painlessly upgraded my LSP version and am now happily using the feature

ericdallo15:12:21

I would like to improve it and make it available as a code action, but needs to address those points mentioned in the issue first

ericdallo15:12:27

it's not a trivial feature

Lyn Headley15:12:28

Does it throw errors in the unimplemented cases or silently fail?

ericdallo15:12:37

probably silently fail, we could improve the command to show messages for each case too