This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-05-08
Channels
- # announcements (14)
- # babashka (16)
- # beginners (15)
- # biff (15)
- # calva (48)
- # clj-kondo (42)
- # cljdoc (25)
- # clojure (18)
- # clojure-europe (75)
- # clojure-nl (1)
- # clojure-norway (19)
- # clojure-romania (1)
- # clojure-uk (10)
- # conjure (18)
- # core-typed (4)
- # cursive (16)
- # emacs (8)
- # fulcro (27)
- # graalvm (17)
- # honeysql (14)
- # hyperfiddle (9)
- # lsp (24)
- # missionary (5)
- # music (1)
- # nrepl (20)
- # off-topic (14)
- # re-frame (9)
- # reagent (34)
- # reitit (2)
- # releases (1)
- # shadow-cljs (19)
- # sql (16)
- # squint (9)
- # testing (2)
- # tools-build (10)
I’ve got many deps projects in folders named common
. When I do the deps refresh it tries to create many duplicate modules called common
which intellij doesn’t allow, so the build fails. Also when I try to import modules manually I cannot pick module name. So even if I want to change module name on import to avoid collisions, I cannot.
Cursive should create unique names for those modules, I’ll double check that that is working and get back to you.
Also if I manually rename a module from common
to common-build
, every time I refresh deps projects page, it will rename it back to common
.
Hi, I have a problem with my cursive setup, polylith, and babashka. I have a polylith project, with a base (root) deps.edn
, which contains the various test
paths of the components in the project under :aliases{test{:extra-paths […]}}
. Within each deps.edn
for each component, I again have a :test
alias defined, with :extra-paths
defined simply as ["test"]
(this corresponds with the setup for example in https://github.com/furkan3ayraktar/clojure-polylith-realworld-example-app, which shows a simple polylith project with correct structure).
All well and good, and all works fine - except, I also have a babashka module in the project. When I go to File->Project Structure->Project Settings->Facets
, and go to add the babashka facet to the relevant module - and then click Apply
, I get an error saying Cannot Save Settings - Module '<my root module>' must not contain source root 'path/to/component/test'. The root already belongs to module <component module in question>
. Any ideas about what might be going on here?
Rubber ducking FTW. The problem was that I had the test
alias enabled in my Clojure Deps
settings, once i removed that (keeping just dev
and poly
), the error resolved.
Since the latest Intellij update, my code is formatted funny without colors. I checked the color scheme in the settings and it's all good there. but this is how it shows. Does anybody know what might be the issue?
I ended up downgrading to the older version and that fixed my issue. Couldn't figure out what setting was causing the code to be gray formatted.
Check your cursive license and make sure it's still current for the version you want to use? I had a similar experience once when I let my license lapse accidentally.
Your Cursive licence won’t affect this, licences are perpetual and just don’t get updates if they’re out of their update period. And either way, Cursive never disables features for licensing reasons, it just nags.
this might be related to an ongoing (but supposedly fixed) issue with IntelliJ IDEA itself: https://youtrack.jetbrains.com/issue/IJPL-28967