title: Convert directories with java files to java modules in intellij
body: <p>I recently switched to using IntelliJ. I manually imported some projects and I guess I didn't do it correctly. They are all supposed to be java modules but they are just regular directory folders. Is there a way to convert them to java modules so I can run the programs or will I have to manually recreate new modules?</p>
  
  <p><a href="https://i.stack.imgur.com/zD2Re.png" rel="noreferrer"><img src="https://i.stack.imgur.com/zD2Re.png" alt="enter image description here"></a></p>