Fork me on GitHub
#cursive
<
2023-04-12
>
reefersleep11:04:07

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.

reefersleep11:04:01

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?

reefersleep11:04:03

I've tried "Add as sources root" on the subfolder containing the project.clj, no difference.

reefersleep11:04:38

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.

reefersleep11:04:05

(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)

reefersleep11:04:22

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? 😕

reefersleep11:04:02

Ah, I chose a wrong option in the beginning of the wizard. Here's the right one:

reefersleep11:04:22

Followed by "Find projects recursively". My bad!

reefersleep11:04:45

Thanks again @cfleming for a great product 🙂

cfleming22:04:59

My pleasure, glad you got it all working!

🎉 2
reefersleep07:04:12

I should have found that first picard-facepalm

cfleming22:04:26

No problem, reading the doc is always the last resort 🙂