I\'m trying to figure out how can I share packages between two modules in a single IntelliJ project, and I can\'t seem to find the right way to do it. I know it can be done in E
You could move shared code into another module that has its own content root, say:
/ProjectA/Module3/src
and then add a module dependency on Module3 to both Module1 and Module2.