This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-04-12
Channels
- # announcements (4)
- # babashka (60)
- # beginners (3)
- # calva (15)
- # cherry (1)
- # clojars (9)
- # clojure (30)
- # clojure-denmark (5)
- # clojure-europe (23)
- # clojure-losangeles (1)
- # clojure-norway (8)
- # clojurescript (49)
- # core-async (3)
- # cursive (15)
- # datomic (4)
- # deps-new (1)
- # emacs (36)
- # figwheel-main (3)
- # fulcro (16)
- # girouette (2)
- # hyperfiddle (1)
- # introduce-yourself (3)
- # lambdaisland (6)
- # nrepl (23)
- # off-topic (7)
- # pedestal (10)
- # polylith (50)
- # practicalli (1)
- # releases (2)
- # sci (16)
- # shadow-cljs (27)
- # slack-help (3)
- # sql (17)
- # tools-deps (5)
Finally got a new work computer, yay! Setting up Cursive. My work project is a huge folder containing a lot of subprojects. Many of these have individual run configurations on my old work computer.
I want to recreate this on my new computer, but the subprojects (folders with their own project.clj
's) aren't appearing under the Module
option in the Run Configuration form. What should I do to make them available there?
I've tried "Add as sources root" on the subfolder containing the project.clj
, no difference.
I feel like IntelliJ/Cursive is interpreting the entire folder as one big module, where I would like it to consider the big folder the parent project and the subfolders the modules.
(I can only choose to build the big folder as a module, and only select the big folder as a Module
in the Run Configuration form)
So weird, I swear I was able to do this simply on my old computer. Just "Add project from existing resources" and pretty much click "next next next", and I'd end up with a big project with a module for each subfolder. Though perhaps I'm misremembering, and I originally added all of those submodules manually? 😕
Ah, I chose a wrong option in the beginning of the wizard. Here's the right one:
Followed by "Find projects recursively". My bad!
Thanks again @cfleming for a great product 🙂
BTW there’s some doc on the multi-module stuff here: https://cursive-ide.com/userguide/leiningen.html#working-with-multi-module-projects
I should have found that first
hahaha