Inspections runner: How the heck do I get 0 errors?

I want my own JavaScript code to be inspected.
I am using ExtJS framework.

If I include ExtJS sources in the inspections, I get thousands of errors there.
If I use -Didea.exclude.patterns to exclude ExtJS's own sources, I get thousands of "Annotator (Errors)" due to "Unresolved function or method" in my own code (everything that references classes/functions from ExtJS).

Why are unresolved JS symbols errors at all? In IDEA's editor those are only warnings. After all even with all JS sources included there will always be unresolved warnings due to JavaScript's dynamic nature?

Isn't there a way to exclude files from inspection only? (So that other code can still resolve its symbols.)

Please sign in to leave a comment.