lsp

ericdallo 2025-11-28T13:37:34.819509Z

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.

1
❤️ 4
1
🎉 7
borkdude 2025-11-28T13:41:58.288389Z

~/dev/clojure-lsp (master) $ git pull upstream master

✨ 1
Harold 2025-11-28T21:02:33.317259Z

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'?

borkdude 2025-11-28T21:04:43.837729Z

Maybe not the best but works for me

Harold 2025-11-28T21:06:40.569989Z

simple_smile

Harold 2025-11-28T21:07:08.208669Z

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'.

ericdallo 2025-11-28T21:14:30.602249Z

File watchers is a LSP feature that watch file changes outside the editor, a good example of that is when you switch git branches

ericdallo 2025-11-28T21:14:55.437239Z

When you do, file watch notify server that files were changed and server re analyze the file

ericdallo 2025-11-28T21:15:19.071409Z

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

Harold 2025-11-28T21:15:20.213419Z

Oh! Cool... That makes sense. Since I ham having emacs manage the lsp server processes, maybe it is okay to just disable them then.

ericdallo 2025-11-28T21:15:57.353989Z

Yeah, or increase the warning threshold, there is a var for that too

Harold 2025-11-28T21:17:25.927379Z

Thanks! Very cool, I am enjoying myself a lot still.

🚀 1