:clojure-lsp: Released clojure-lsp 2021.02.26-13.58.48 :clojure-lsp:
• Improve clojure-lsp config search checking always home dir considering XDG_CONFIG_HOME
and project root up to system root (`/`)
• Handle incremental text changes on textDocument/didChange
notifications following LSP protocol, improving performance for huge files.
• Add clj-kondo version to --version
and server-info
command.
• Add new create private function
code action 🎉
• We now have a auto updated clojure-lsp
tap for brew
🎉 thanks to @andre.peric
Oh, auto-updated tap? Tell me how!
Oh, incremental text!
@borkdude it's a github action 🙂 https://github.com/garden-io/update-homebrew-action
Maybe tell me how to install via brew? ;)
https://github.com/clojure-lsp/homebrew-brew#how-to-use-this-tap We should remove/deprecate the homebrew-core soon
@ericdallo Maybe add the to the main install docs?
Btw, you can do this with one single command:
$ brew install clojure-lsp/brew/clojure-lsp-native
No need to tap
nice! We can update the docs and add to the main now 🎉
@borkdude you mean brew install clojure-lsp/homebrew-brew/clojure-lsp-native
?
no
like I wrote it
So it seems this is my first contrib to clojure-lsp ;-) https://github.com/clojure-lsp/clojure-lsp/blob/1ac8d777f6ddeadae15f445840d4dfb50dd7ed5a/src/clojure_lsp/feature/file_management.clj#L76-L101
Oh yeah 😄
I should co-authored that commit 😛
Ah, the defn-
vs defn ^:private
debate. 😁
there is a flag for that 😛
use-metadata-for-privacy?
https://clojure-lsp.github.io/clojure-lsp/settings/
Updated 😄
Loving the clean-ns
code action. Wondering if there's an easy way to apply that to all namespaces at once
No, there is not 😕 Usually code actions change something in the buffer
for things like that you probably need nsorg or something
ah thanks Eric, that makes sense