Quick question about clojure-lsp
and cider
.. I noticed that when I try the cider command M-.
-> cider-find-var
and the function definition is not in my working directory but say in core.cljs
(so presumably in a jar), everything hangs and I have to force kill emacs.. has anyone experienced that at all?
Instead of force killing Emacs, did you try Ctrl + g
?
yeah tried Ctrl + g
many times .. but thanks for suggesting that ๐
cider can be interrupted using C-c C-c
, or using the function cider-interrupt
- that may help, too
BTW if you are using cider command especifically, clojure-lsp is not being used there
When I run M-x cider-find-var
I get a LSP:: Connected to..
message and everything just hangs from there..
So the issue is not related with cider, but when lsp-mode connect to a new jar buffer, do you have an updated lsp-mode and clojure-lsp?
Is the jar buffer file content big?
updated and problem went away :face_palm: thanks ๐
btw the buffer was the core.cljc
namespace of ClojureScript
Nice, yeah, we fixed this performance issue recently on lsp-mode side some weeks ago