This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-01
Channels
- # announcements (3)
- # aws (1)
- # babashka (56)
- # beginners (42)
- # calva (9)
- # cider (6)
- # circleci (5)
- # clj-kondo (17)
- # cljs-experience (1)
- # cljsjs (2)
- # clojure (106)
- # clojure-australia (1)
- # clojure-europe (36)
- # clojure-germany (5)
- # clojure-italy (13)
- # clojure-nl (14)
- # clojure-spec (19)
- # clojure-uk (27)
- # clojurescript (27)
- # cursive (20)
- # datomic (24)
- # events (2)
- # fulcro (11)
- # graalvm (1)
- # jobs (6)
- # lsp (6)
- # malli (5)
- # meander (36)
- # membrane (17)
- # nbb (4)
- # nextjournal (86)
- # off-topic (18)
- # pathom (3)
- # polylith (5)
- # portal (14)
- # rdf (5)
- # re-frame (5)
- # releases (6)
- # remote-jobs (3)
- # reveal (2)
- # ring (6)
- # shadow-cljs (171)
- # tools-deps (61)
- # vim (10)
- # xtdb (6)
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/722, https://github.com/clojure-lsp/clojure-lsp/issues/725, https://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!
Any issues, please let me know!
@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)