How to disable inspections for specific file

Hi, does anyone know how to disable the inspections for a singular file?  I can't seem to figure this out.

Basically, jquery.js comes up with a number of inspection errors, and I want to disable the inspections for this file, but keep them on for everything else.

Best,
Adam
3 comments
Comment actions Permalink
Click on the "Hector the Inspector" icon in the status bar and change the inspection level to Syntax. This will be remembered on a per-file basis.
0
Comment actions Permalink
Awesome - thanks... I never noticed that little guy in the corner.
0
Comment actions Permalink

For what it’s worth, this method only disables the inspection-related highlighting that appears when the file in question is opened in the editor; it does not exclude the file from the analysis done by “Analyze: Inspect Code,” which is what I am trying to figure out how to do.

0

Please sign in to leave a comment.