Fork me on GitHub
#lsp
<
2023-10-20
>
Bingen Galartza Iparragirre09:10:39

Hello! I have read that renaming folders is supported, but I can't make it work. I'm using Emacs and clojure-lsp 2023.08.06-00.28.06. When I run the lsp-rename command over the folder, I get the "The connected server(s) doesn't support renaming". I might be doing something wrong?

Bingen Galartza Iparragirre09:10:41

BTW, I'm running it from Dired. I don't know if that's the right approach.

borkdude09:10:12

I think lsp works on source files, dired buffer isn't a source file

👍 1
borkdude09:10:34

You could try renaming a Clojure namespace from a source file and this should rename the underlying directory

Bingen Galartza Iparragirre09:10:27

Renaming a single namespace does work, but it only affects to that specific namespace. And I want to rename a whole project 😅 So going by one one would be a bit tedious.

Bingen Galartza Iparragirre09:10:09

Reading https://clojurians.slack.com/archives/CPABC1H61/p1683291506227619 I thought it was possible, but maybe I understood it wrong

ericdallo12:10:06

thanks, I commented on that issue