Fork me on GitHub
#lsp
<
2021-12-01
>
ericdallo14:12:57

clojure-lsp Released clojure-lsp https://github.com/clojure-lsp/clojure-lsp/releases/tag/2021.12.01-12.28.16 with a bunch of new features! • General ◦ Add support for LSP method `textDocument/prepareRename` which it's the proper way to check if the rename will work correctly. https://github.com/clojure-lsp/clojure-lsp/issues/642 ◦ Expose new custom method `clojure/cursorInfo/raw` for custom hack on current cursor information code. https://github.com/clojure-lsp/clojure-lsp/pull/645 ◦ Support stub generation using `clj-easy/stub`, adding analysis and linting support for closed sources codes like Datomic. Check `:stubs` settings for more details. https://github.com/clojure-lsp/clojure-lsp/issues/637 ◦ Handle config deep merge differently for collections, concating instead of overwriting. ◦ Fix unnecessary exception thrown on graal images during startup. ◦ Support `deps.edn` `:local/root` source-paths discovery, improving support for monorepo projects like `polylith`. https://github.com/clojure-lsp/clojure-lsp/issues/652 ◦ New setting value for `:clean :sort :require`: `:lexicographic`. https://github.com/clojure-lsp/clojure-lsp/pull/654 ◦ Bump clj-kondo to `2021.10.20-20211126.151305-16`. • Editor ◦ Support completion on aliased keywords. https://github.com/clojure-lsp/clojure-lsp/issues/649 ◦ Add new `Sort map keys` refactoring code action. https://github.com/clojure-lsp/clojure-lsp/issues/651 ◦ Add new `Create function` code action, allowing to create a function on a existing namespace or creating a new namespace + the function. https://github.com/clojure-lsp/clojure-lsp/issues/646 ◦ Improve `Extract function` refactoring to consider comments above current function. ◦ Experimental: new `:linters :clj-kondo :async-custom-lint?` setting, when true, scan unused-public-vars async improving lint/analysis UI feedback for huge buffers (> ~1000 lines). Default `false`. This release was supported by https://www.clojuriststogether.org/ clojurists-together 💜 The main highlight is: Support for stubs! using the new https://github.com/clj-easy/stub library, with that clojure-lsp can understand closed source libraries like datomic.api 🚀 Check https://clojure-lsp.io/settings/#stub-generation for more details. Thank you @borkdude for the help! Also, check one of the new code actions: Sort map

🎉 12
clojure-lsp 6