This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-10-05
Channels
- # announcements (19)
- # babashka (28)
- # beginners (62)
- # biff (3)
- # calva (19)
- # cider (24)
- # clj-kondo (8)
- # cljdoc (15)
- # clojure (32)
- # clojure-europe (16)
- # clojure-nl (1)
- # clojure-norway (17)
- # clojure-uk (8)
- # clojuredesign-podcast (26)
- # cursive (64)
- # datomic (43)
- # deps-new (1)
- # fulcro (4)
- # honeysql (1)
- # hyperfiddle (46)
- # kaocha (16)
- # lsp (15)
- # missionary (51)
- # music (1)
- # nbb (4)
- # off-topic (55)
- # pedestal (11)
- # podcasts-discuss (1)
- # polylith (7)
- # practicalli (1)
- # releases (4)
- # shadow-cljs (120)
- # tools-build (34)
- # vscode (1)
- # xtdb (2)
I am new to clojure-lsp and lsp-mode, so brace for a newbie question š After bumping the version of a dependency which changed the signature of a function, I got lint-errors for the new parameter list. After clearing the .clj-kondo cache, it worked properly. The question is: Am I supposed to have to delete the cache-file myself regularly, or is there some system in place to keep it in sync that I missed?
When bumping deps you could restart the server to re-lint deps. Not sure if this should happen automatically, @UKFSJSM38 will probably respond here
Yes, there are LSP servers like java and dart that re-lint the project automatically, but clojure-lsp doesn't have that so you need to lsp-workspace-restart
Is there an LSP command line client? In other words, I'd love for there to be a way to get LSP results from the command line: ā¢ Make sure the LSP config is working correctly (while ruling out Emacs as a source of problems) ā¢ Find references for tools ā¢ Do renames or other refactors from the CLI
Ah yeah forgot about that!
Just explored clojure-lsp dump
- very cool that you can just look at the data like that
That data also seems like it could be useful for figuring out why jump-to-definition isn't working
> Find references for tools You can also use clj-kondo directly for this, a bit lighter weight
Hi, what is the reason why lsp (or clj-kondo) does not highlight the wrong number of arguments in the function in case of cljs?
@U04V15CAJ Your question made me check the configuration, I had it broken on my side. Everything works as it should š
@UBRV1HXPD You don't have to delete your original question, this makes it more confusing to read back later