Access the list of all defined classes and members in the project without iterating through all files?
Answered
Hi JetBrains,
Our plugin needs to have a list of all classes defined in the project, but we have run into a problem that when the user's project becomes very large, iterating through all files takes quite some time.
So my question is that can we access the list of all defined classes and members in the project without iterating through all files?
Thanks.
Please sign in to leave a comment.
Hi,
See com.intellij.psi.search.searches.AllClassesSearch class.