clojure-lsp Released https://clojure-lsp.io/ 2025.11.28-12.47.43 with lots of new features, fixes and important bumps!
• New keywords completion inside namespaced maps. https://github.com/clojure-lsp/clojure-lsp/issues/2113
• Pass current namespace aliases to cljfmt when range-formatting. https://github.com/clojure-lsp/clojure-lsp/issues/2129
• bump clj-kondo to 2025.10.24-20251120.193408-8 improving performance, fixing false-positives and supporting java inner classes.
• Bump cljfmt to 0.15.5 - adding support for vertical alignment.
• Support squint projects when having squint.edn. https://github.com/clojure-lsp/clojure-lsp/issues/2158
• Support find definition of java inner classes (Foo$Bar). https://github.com/clojure-lsp/clojure-lsp/issues/2157
• Bump babashka/fs to 0.5.28.
• Bump opentelemetry to 1.51.0.
~/dev/clojure-lsp (master) $ git pull upstream master
✅Hello, happy Friday to all, hope you're well... This message appears sometimes:
Watching all the files in /home/harold/[REDACTED] would require adding watches to 4212 directories, so watching the repo may slow Emacs down.
Do you want to watch all files in /home/harold/[REDACTED]? (yes or no)
So far I've just been typing 'no' and things seem okay...
Is this a real choice? When would someone want to type 'yes' or 'no'?
Is it possible to have this default to the one answer or another? What do I lose by choosing 'no' instead of 'yes'?I've just disabled them altogether https://github.com/borkdude/prelude/blob/7e89cbe5620a723e1b6adfe358e1fe23e163b124/personal/init.el#L385-L404
Maybe not the best but works for me
simple_smile
This bit...
lsp-enable-file-watchers nil
lsp-file-watch-threshold 10000
I wonder what the file watchers do. I am still definitely getting lsp action in the project after typing 'no'.File watchers is a LSP feature that watch file changes outside the editor, a good example of that is when you switch git branches
When you do, file watch notify server that files were changed and server re analyze the file
Disabling means there is no guarantee of updated file analysis of your project if you change files outside it, and for most people thats ok
Oh! Cool... That makes sense. Since I ham having emacs manage the lsp server processes, maybe it is okay to just disable them then.
Yeah, or increase the warning threshold, there is a var for that too
Thanks! Very cool, I am enjoying myself a lot still.