Intellij is indexing from another project, which is extremely unnecessary
Answered

I have a project called 'endpointfr'. A weird thing happens in intellij cause intellij is indexing towards another project called 'gms-system' (as in the screenshot above), which is really wasting time and unnecessary. how do I deal with it?
Please sign in to leave a comment.
There is possibility that the project "gms-system" is defined as a dependency/library of "endpointfr". Please check it in Maven/Gradle as well as in project settings | Libraries and Project Settings | Modules > Dependencies tab.
If it is not a case, please send an example of a project where the issue could be reproduced.
You can use JetBrains FTP share to attach it privately: https://intellij-support.jetbrains.com/hc/en-us/articles/206869619-Uploading-Large-Files-for-JetBrains-Support-Team
thank you for your rapid response. deleting .idea seems to solve this problem though