clojure-lsp Released clojure-lsp https://github.com/clojure-lsp/clojure-lsp/releases/tag/2024.11.08-17.49.29 with fixes, important bumps and a new exciting lib completion feature!
• Fix client capability check that prevents test file creation.
• Fix move-form double edit problem in cljc files.
• Fix disabling :clojure-lsp/unused-public-var linter also disabling :clojure-lsp/different-aliases
• Bump clj-kondo to 2024.09.28-20240930.094425-2
• Bump lsp4clj to 1.10.0.
• Bump clojure to 1.12.0.
• Bump tools.cli to 1.0.230.
• Bump timbre to 6.6.0.
• Bump rewrite-clj to 1.1.48.
• Bump cljfmt to 1.13.0.
• Bump babashka/fs to 0.5.22.
• New feature: completion of lib versions on deps.edn, bb.edn and project.clj files. https://github.com/clojure-lsp/clojure-lsp/issues/1905
• New feature: completion of clojure lib names from clojars and mvn-central for deps.edn, bb.edn and project.clj files. https://github.com/clojure-lsp/clojure-lsp/issues/1909
The main highlight is the new completion of lib names and versions including the git libs with their respective shas!
Happy coding in your editor 🎉
The lib completion is beautiful 😍 . Thanks a lot.
I'm just wondering why it's suggesting some deps on my machine, but not some others. For example, it's autocompleting cheshire/cheshire , http-kit/http-kit and many others, but not seancorfield/next.jdbc . (it autocompletes nothing jdbc-related in fact)
Do I need to delete some directories here and there to flush some caches?
Ok, now it automagically started to work 🙂. Seems I have to start writing se, to get the seancorfield/next.jdbc autocomplete option, ie. the autocomplete behaves as "starts with".
Is there any way to autocomplete in a fulltext "contains" style? So that when I write jdbc , I get the mentioned autocomplete option.
it seems to behave somehow fuzzy already. If I press ctrl+space (`company-complete-common`), without being immedately behind a partial word. Then when the completion dialog kicks in and i enter jd, it offers ashikasoft/jdict and highlights the jd part of that match. But it still doesn't offer seancorfield/next.jdbc
I believe it's client side fuzzy sorting, the best would be to do that in clojure-lsp
Yeah, I'll try looking into it (current behavior) more in the evening + maybe create that ticket you mentioned. but even without the fuzzy search, it's still pretty awesome already
Is this still waiting to be built? clojure-lsp-native-linux-aarch64.zip?
yeah, I had issues with the linux arrch build and decided to fix it in a separated PR and upload to that release soon, will take a look today
np
amazing work
cool! small suggestion: would be nice if version numbers like "1.13" are not sorted way below "1.9" to easily find the newest (e.g. with ring.core)
Hum, weird, I thought I fixed that with a custom sort I did, will take a look, thanks for the feedback
lib completion is much, much appreciated
Lib completion is so cool. Can’t remember how many times I had to navigate clojars/github to copy lib version.
amazing release, thanks!
@dharrigan fixed the aarch build
Great! Thank you. Will update the arch package.