This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-16
Channels
- # announcements (3)
- # babashka (48)
- # beginners (35)
- # calva (3)
- # chlorine-clover (5)
- # clj-kondo (9)
- # cljdoc (20)
- # cljsrn (1)
- # clojure (55)
- # clojure-europe (33)
- # clojure-nl (3)
- # clojure-norway (6)
- # clojure-spec (7)
- # clojure-uk (27)
- # clojurescript (95)
- # closh (1)
- # conjure (1)
- # cursive (16)
- # datomic (30)
- # emacs (7)
- # honeysql (1)
- # hugsql (2)
- # introduce-yourself (2)
- # jobs (1)
- # lsp (30)
- # malli (22)
- # nbb (11)
- # news-and-articles (1)
- # off-topic (8)
- # pathom (21)
- # polylith (39)
- # portal (4)
- # practicalli (4)
- # protojure (1)
- # re-frame (14)
- # releases (1)
- # restql (1)
- # reveal (24)
- # sci (1)
- # sql (21)
- # vim (11)
- # xtdb (33)
I’m seeing the same @U050CT4HR looks like brew is trying to download from:
but if I look at https://github.com/clojure-lsp/clojure-lsp/releases, I see:
Maybe we should give @UKFSJSM38 a moment tho, he hasn’t even announced this release yet so probably still in progress.
Released clojure-lsp 2021.08.16-19.02.30 focused on fixing a lot of issues and adding support for the new lein plugin 🚀
• General
◦ Fix wrong parse of source-paths for
bb.edn
when :paths
contains symbols not only strings. https://github.com/clojure-lsp/clojure-lsp/issues/507
◦ Bump clj-kondo to fix a issue with clojure-lsp running in a lein process.
• Editor
◦ Fix find-definition in jars for cljc files where the var is available on both cljs and clj files. https://github.com/clojure-lsp/clojure-lsp/issues/509
◦ Add clojure.core.async
common vars to common-refers to be required via code action.
◦ Remove diagnostics when files are deleted, properly cleaning server. https://github.com/clojure-lsp/clojure-lsp/issues/513
◦ Don't add ns form to blank edn files. https://github.com/clojure-lsp/clojure-lsp/issues/515 (c/c @seancorfield)
◦ Fix initializationOptions
parsing for some clients. https://github.com/clojure-lsp/clojure-lsp/pull/516 (kudos @nbtheduke)
◦ Fix refactor 'add missing refer' when there is already that namespace with a alias but no refers.
◦ Improve `:notify-references-on-file-change` performance and use-cases, still disabled by default for some time as it's a critical feature.
• API
◦ Rollback printing only via CLI to work with API as well. (can be disabled via :raw?
option)
◦ Support for release of lein-clojure-lsp
Besides all these changes, it's now possible to use clojure-lsp API features easily via Leiningen with the new https://github.com/clojure-lsp/lein-clojure-lsp plugin 🚀 (for tools.deps the clojure-lsp.api
ns is already enough 😉)
For example, for cleaning the project namespaces, you just run:
$ lein clojure-lsp clean-ns


BTW, for those who want to give a try on that new feature of update the references when file change, just enable the :notify-references-on-file-change
and let me know if any issues 🙂
c/c @U9A1RLFNV
Oh, what's this feature about @UKFSJSM38?
@UR37CBF8D when you change for exmaple a function arity or name, clojure-lsp will lint/send updated diagnostics for the references of that function, making the project diagnostics updated helping find errors/arity warnings
the same if you change a function/var usage, updating the references lens of the function definition
Ah, as far as I know that already happens, right? Is it just going to be much faster this time?
Nope, this doesn't happen by default, you can try this, if you change a function foo to be bar, the references will not be linted warning to you that that function doesn't exists anymore
Oh yea, true. I guess I was talking about renaming/removing functions and seeing the references update BUT only within the same file
Sweet! I'll try it out shortly. Also, clojure-lsp/clj-kondo is more useful to me than ever bc I recently got a new job writing Clojure. So, thanks @UKFSJSM38/@U04V15CAJ 🙂
Damn! It seems to work well. I'll be on the lookout for any performance issues. Thanks 🙂