Access the list of all defined classes and members in the project without iterating through all files?
已回答
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.
请先登录再写评论。
Hi,
See com.intellij.psi.search.searches.AllClassesSearch class.