Checking for unresolved references in project without compilation
Hello,
I would like to programmatically find out if there are unresolved references for symbols in my project (squiggly red lines in editor for any file in my project). I don't want to use the rebuild/compile action for this. Is there a programmatic way to find out what errors the editor sees, for all files in my project?
thanks
Siddharth
请先登录再写评论。
You can, and there are multiple ways to do that (see CodeSmellDetector for an easy-to-use facade API), but it will be far slower than compiling the project.