cursive
cursive copied to clipboard
Cursive not setting 'src' paths correctly in some :local/root modules
Hi, I'm running Intellij 2023.2.2 (Linux), Cursive 1.13.0-2023.2, deps.clj 1.11.1.1347
I have a project that's setup something like this:
projectdir
lib1
lib2
...
lib20
main
The deps.edn
in main
is then:
{ ...
:deps {lib1/lib {:local/root "../lib1"}
... }
}
I just noticed that, somewhat randomly in say module lib2. lib2/src
is not flagged as a source directory. I didn't notice right away as i had no problem running code as normal in the REPL. To investigate further, I made sure that no aliases were selected in the Deps Tool window, then ran clojure -Spath
at the command line in the main
directory. Sure enough, the projectdir/lib2/src
directory was listed as expected.
We've been working on this project w/ cursive for years w/o this problem so fairly certain it doesn't have anything to do with some peculiarity with the project. I was originally using the 1.13.1-eap5-2023.2 version, and thought that might have something to do with it. But after downgrading to the stable version, deleting .idea dir, the project.iml file, etc, then reimporting the project. I'm still seeing the same issue.