Javascript warnings

How do I turn off specific Javascript warnings.  Particularly the "unused function" warning.  Since I have many functions called within PHP, they are supposed to be unused.  With all of these warnings, I can't see the forest for the trees, and can't see the real warnings.


1 comment
Comment actions Permalink

Hi Marc,

You have few options:

  1. Alt+Enter while standing on the warning (in editor) and choose to disable/edit appropriate inspection (use Right Arrow key to see additional submenu)
  2. Disable (or change warnign level etc) appropriate inspection in "Settings | Inspections | JavaScript" (you can use quick search box to narrow the results)

Please sign in to leave a comment.