Checking for unresolved references in project without compilation


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?


1 comment
Comment actions Permalink

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.


Please sign in to leave a comment.