How do I get all callers of a method in a project
已回答
I'm trying to make a plug-in for goland, which is used to directly search for the corresponding API implementation through the url address.I want to know is there any way to get all callers of a method in a project? For example A.TestFunc(), I want to get all the places where this method is called in the whole project? Maybe use UAST? or PSI?
请先登录再写评论。
https://plugins.jetbrains.com/docs/intellij/psi-references.html#searching-for-references