Configure Intellij to edit Graph Data Science source code

Hello,

I cloned the Graph Data Science source code (GitHub - neo4j/graph-data-science: Source code for the Neo4j Graph Data Science library of graph algorithms.), checked out branch 1.2 (compatible with Neo4j 4.0.4), opened it within Intellij IDEA. It seems the IDE can't recognize the outer-most folder "graph-data-science" as a project folder. As showed in the picture below, Intellij can't "go to declaration":

I can build the library ("./gradlew packaging:shadowJar") successfully with Command Line. The JDK for Intellij is Oracle JDK 11.0.7 x64.

Any help is really appreciated. I'm more familiar with Python & PyCharm. But not very proficient at programming with Java.

Thank you.

1 Like

I just figured that out, thanks to link.

In short, in Intellij, File -> Open. Then point to the file "build.gradle" in the Source Code folder.