Project "import" and "create" in existing directory are ... not good
I've seen this a few times. In the most recent case (using the 16.3 EAP on Windows today), I pointed the IDE to a directory in my Windows profile under Documents called "oracle" whose content was some directories and SQL files.
"Create project" or "Import project" both produced a project, but showed no directory structure. That is, I saw the one SQL file in "oracle" itself, then "External libraries." But no directories under "oracle" were shown. And the IDE showed a navigation pane (just below the IDE menu) starting at C: rather than "oracle."
I didn't see any way to tell the project its root.
I deleted the .idea directory, then used Open from the project list to open "oracle." That seems to have given me a project and view like I expect.
Thanks!
Please sign in to leave a comment.
Did you create any modules when importing the project? The project without modules will not have any content roots since they are defined per module.
In case IDE was not able to detect anything it knows about (like .java files to detect a Java module), it will create an empty project without modules, you will have to add the modules and define their content roots manually.