Fork me on GitHub
#lsp
<
2021-09-17
>
Schpaa07:09:03

I am trying to use the rename function from the command line but the tool tells me to ‘fully qualify the namespaces’ and I have no idea what that means.

Schpaa07:09:43

clojure-lsp rename --from app.datasource.user-lookup --to app.datasource.users --dry

Schpaa07:09:46

I guess I cannot rename namespaces using this

borkdude08:09:54

@schpaencoder app.datasource/user-lookup

borkdude08:09:15

or did you want to rename namespaces?

Schpaa08:09:30

Yes, probably, but I tried to rename the namespaces, yes

borkdude08:09:01

interesting yeah, I don't know if lsp supports that already

Schpaa08:09:22

thanks for checking by

ericdallo12:09:13

it supports but not in the API yet, but we can improve it to check for namespaces before, please open an issue about it @schpaencoder!

Schpaa12:09:06

does that mean it doesn’t support it at-all or that it doesn’t support it via the cli?

ericdallo12:09:41

that doesn't support it via the CLI and API, but it works if using clojure-lsp in your Editor with LSP

Schpaa12:09:51

ok, thanks for the input!