Fork me on GitHub
#lsp
<
2021-07-16
>
borkdude12:07:09

Clojure-LSP talk by @ericdallo at the Dutch Clojure Meetup finally available: https://youtu.be/DaVrEYIhRFA. Thanks @skuro for making it available.

🎉 10
clojure-lsp 10
❤️ 8
Drew Verlee21:07:47

given i'm using spacemacs, lsp version <tel:202107151320|20210715.1320> why would renaming be disabled in a clojure probject .clj file OR how would i enable it? E.g i put my cursor over foo in (def foo...) and select lsp-rename and it tells me my server doesn't support renaming. Lsp-server-info seems to do nothing Diagnosis outputs:

Checking for Native JSON support: OK
Check emacs supports `read-process-output-max': OK
Check `read-process-output-max' default has been changed from 4k: OK
Byte compiled against Native JSON (recompile lsp-mode if failing when Native JSON available): OK
`gc-cons-threshold' increased?: OK
Using gccemacs with emacs lisp native compilation (): NOT AVAILABLE (OPTIONAL)

ericdallo21:07:27

Seems your porject is not configured correctly

ericdallo21:07:41

Make sure your server is analyzing your classpath during startup

Drew Verlee21:07:57

looks like i had to tell it to add the project. via lsp-add-project. Or i should say, doing that let me rename things.

all-clear 4
ericdallo21:07:22

Yes, otherwise most features won't work properly

Drew Verlee21:07:01

ah fair enough, i probably was doing this earlier and forgot.

Drew Verlee21:07:32

thanks for all your help. I hope to support the effort a bit as soon as i can 🙂

ericdallo21:07:05

Thank you :)