This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-06-14
Channels
- # announcements (3)
- # asami (22)
- # babashka (9)
- # beginners (92)
- # calva (7)
- # clj-kondo (8)
- # clojure (60)
- # clojure-australia (3)
- # clojure-boston (1)
- # clojure-dev (3)
- # clojure-europe (24)
- # clojure-nl (3)
- # clojure-spec (4)
- # clojure-uk (14)
- # clojurescript (5)
- # conjure (12)
- # core-async (44)
- # cryogen (8)
- # crypto (2)
- # cursive (24)
- # data-science (5)
- # events (1)
- # fulcro (10)
- # garden (2)
- # graalvm (19)
- # helix (4)
- # instaparse (13)
- # lsp (13)
- # luminus (1)
- # malli (5)
- # meander (22)
- # off-topic (22)
- # polylith (8)
- # re-frame (69)
- # react (1)
- # reagent (2)
- # releases (2)
- # shadow-cljs (52)
- # sql (7)
- # test-check (3)
- # timbre (2)
- # tools-deps (9)
Released https://github.com/clojure-lsp/clojure-lsp/releases/tag/2021.06.14-17.00.47 with a huge improvement on source-paths discovery for
deps.edn
projects 🎉
• clojure-lsp now detects if your project is a deps.edn
project and scan for :paths
, :extra-paths
on deps.edn
root level and on :source-aliases
(configurable, default :dev
and :test
), building a source-path that should work for most (every?) deps.edn
projects, even mono-repos like polylith
😄 Thanks @seancorfield and @brandon.ringe for raising this issue. Fixes https://github.com/clojure-lsp/clojure-lsp/issues/416
For more information, check the https://clojure-lsp.github.io/clojure-lsp/settings/#source-paths-discovery.


you mean the source-paths? I think it's possible already, via the server-info command, which should bring the :source-paths
key with that info
hum, actually only the source-paths manually informed from users are available via the server-info command, the auto resolved source-paths from clojure-lsp are not exposed, but we could do that if you think it would help Calva
I'm not sure what @U0ETXRFEW has in mind, but if it will help with something, it could be a good idea.
The server-info
command prints to an output channel afaiui? Calva can’t use that. What I am after is a way to inform Calva about the project structure. @U01PG2LDYV8 is working with adding a command that will let the user jump between test
and implementation files, creating them if needed and requested by the user. It seems that if we have the source paths for the entire folder opened in VS Code we could use that for precision in guessing where files should go.
The server-info returns an edn with multiple information, Calva just print that to user, but it doesn't mean Calva can request that command and use the value when it wants