This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-06-30
Channels
- # aleph (33)
- # announcements (2)
- # architecture (1)
- # babashka (4)
- # beginners (26)
- # calva (43)
- # cider (2)
- # clerk (24)
- # clj-kondo (10)
- # clojure (75)
- # clojure-austin (1)
- # clojure-dev (4)
- # clojure-europe (31)
- # clojure-hungary (1)
- # clojure-norway (44)
- # clojurescript (4)
- # cursive (192)
- # datomic (23)
- # dev-tooling (4)
- # emacs (2)
- # fulcro (12)
- # hyperfiddle (3)
- # java (18)
- # jobs (1)
- # kaocha (3)
- # lsp (51)
- # malli (10)
- # off-topic (9)
- # pedestal (3)
- # polylith (14)
- # remote-jobs (1)
- # shadow-cljs (63)
- # vim (6)
Cursive https://groups.google.com/g/cursive/c/9dTn12AkHzA/m/R_dj2fzRBAAJ now has support for Polylith workspaces!
Full support I mean, including the :local/root
syntax in development.
I have now verified this and it works great! You need to use IDEA 2023.2 EAP + Cursive 1.13.0-eap for things to work, and remember to check the Preferences | Languages & Frameworks | Clojure | Project Specific Options | Resolve over whole project option in the settings. I verified it with these version: • IntelliJ IDEA 2023.2 EAP (Ultimate Edition) • Cursive 1.13.0-eap3-2023.2
If you are using Cursive 1.13.0, make sure to check "Resolve over whole project"
So yesterday I updated Cursive to:
And InteliJ to:
And my Polylith project stopped working
I get this error all the time
And deps view shows this:
You need to run it with IDEA 2023.2 EAP I think. Is that right @U0567Q30W ? At least that was what I had to do with the earlier Cursive EAP releases (e.g. cursive-1.13.0-eap8-2023.2
).
No, it should work with any IntelliJ release, it doesn’t rely on any platform functionality that might have changed (AFAIK, at least).
If you keep the old :extra-paths
in ./deps.edn
(instead of using the :local/root
syntax) do you still get this error (my guess is not)? If you only use valid deps.edn syntax, then this could be a bug in Cursive. Is it possible for you @U0266FD54DV to create a tiny public repo that reproduces the problem?
After some discussion with Damian, it seems this is an issue with local paths in :override-deps
. I think it’s related to https://github.com/cursive-ide/cursive/issues/2821.
If you are using Cursive 1.13.0, make sure to check "Resolve over whole project"