Warnings in Javascript files that depend on Javascript libraries

I love Intellij's inspector, code completion, warnings and highlighting features.  But I get a thousand warnings in javascript files that depend on javascript libraries like jQuery.  Is there a way to tell IntelliJ about javascript code that a javascript file depends on?  Something like how IntelliJ can be informed of variables in JSP pages:

<%--@elvariable id="variableName" type="com.mycompany.Variable"--%>


Is there an equivalent for importing javascript code?


Please sign in to leave a comment.