Fork me on GitHub
#lsp
<
2022-02-01
>
ericdallo17:02:38

clojure-lsp Released clojure-lsp 2022.02.01-16.53.14 with some important changes, check it out: • General ◦ Migrate project from depstar -> tools.build. https://github.com/clojure-lsp/clojure-lsp/issues/711 ◦ Improve classpath hash to consider invaliding cache when local root deps was changed. ◦ Replace datalevin cache db with transit. https://github.com/clojure-lsp/clojure-lsp/issues/703 ◦ Bump Graalvm from 21.3.0 to 22.0.0.2 improving binary performance/size ◦ Update `XDG_CONFIG_HOME` to clojure-lsp directory in doc/settings.md @jr0cket • Editor ◦ Support going to namespace definition on an alias. https://github.com/clojure-lsp/clojure-lsp/issues/706 ◦ Add LSP `textDocument/declaration`, for now adding the making possible navigate to alias and namespaces declared on the namespace. https://github.com/clojure-lsp/clojure-lsp/issues/680 ◦ Fix removal of file analysis on didClose for external files like jars. https://github.com/clojure-lsp/clojure-lsp/issues/717 c/c @brandon.ringe ◦ Fix cursor not moving when using code actions that move the cursor automatically. ◦ Fix additional-snippets to work on top-level forms as well. ◦ Fix resolve completion item not returning insertText. https://github.com/clojure-lsp/clojure-lsp/issues/719 @domagala.lukas ◦ Remove support for LSP `codeAction/resolve`. It added complexity and was not used in a way that improved performance of the action menu. https://github.com/clojure-lsp/clojure-lsp/issues/722https://github.com/clojure-lsp/clojure-lsp/issues/725https://github.com/clojure-lsp/clojure-lsp/pull/726 @jacob.maine ◦ Fix create public function refactoring not working when function is not a function call. Most notable changes are: • The replacement of datalevin with transit, we found datalevin is really good but probably not the best choice for clojure-lsp as what we seek is just a simple persistent cache implementation, As mentioned on #703, transit is faster and smaller than datalevin and probably more "queryable" for other tools that want to use clojure-lsp db. Also this makes clojure-lsp jar smaller and make it possible to have clojure-lsp working with aarch64 in the future :) • We are using a new version of graalvm which should improve the native binary in multiple aspects. • We had a lot of help from @jacob.maine and @domagala.lukas on some fixes and improvements, thank you very much! gratitude Any issues, please let me know!

❤️ 10
🎉 8
clojure-lsp 5
mpenet19:02:54

Glad you didn't go with nippy. It has some rough edges.

mpenet19:02:44

Transit is at least specified and can be very fast if tuned a bit

👍 1
dharrigan19:02:05

The goto definition from require alias works great

dharrigan19:02:09

well done!

gratitude 1
ericdallo21:02:35

@domagala.lukas noticed a little bug with deps.edn that point to absolute zip/jars that crashes clojure-lsp, I released a new version with the fix (2022.02.01-20.02.32)