IntelliJ does not index Java files
Answered
Hi,
I am trying to use IntelliJ on a newly created clone of a GitHub project (Apache Cassandra). I used "File -> Open ..." menu and selected the root directory of the cloned Git project. IntelliJ happily opens it and indexing seems to run for a few seconds. But then all actual Java files are not indexed for some reason.
The Java files are under relative path of `src/java/org/apache/cassandra/` . My question is: shouldn't IntelliJ automatically scan ALL Java files (i.e. `.java` files) under the project root directory? If not, what should I do to let IntelliJ to scan all Java files?
Thanks.
Please sign in to leave a comment.
Just wanted to clarify, IntelliJ IDEA did index the Java source files, but did not index its Class or any other symbols as regular Java files. As a result, searching by Class name does not work. Other symbol based navigations also not working. The attached screen shot shows a Java file was not be detected as a Java class. Any ideas?
Problem solved. Just need to run the following to generate files for IntelliJ IDEA:
please close this question. thanks.