Exclude file from code Analysis

I added jquery-1.7.1.js to my project and got a whole bunch of Code Analysis warnings (plus a couple of entries in the TODO window, which came from the jQuery file) while committing changes to VCS.

1. How can i exclude the jQuery or any other file from Code Analysis?

2. How can i exclude the jQuery or any other file from being scanned for TODO entries?

Thank you,

-igor

2 comments
Comment actions Permalink

I am in a similar situation.

I have an HTML file for testing in my system which contains words like "TODO" and some intentional errors. Now the code analysis warns me every time I want to commit a change to those files.

Some many features in the IDE have a file filter, why we cannot have a file filter in the code analyzer and todo checker?

0
Comment actions Permalink

You can try excluding jquery source file(s) in the project structure settings. However you can only exclude directories there, so place your jquery sources in a directory and mark it as excluded.

0

Please sign in to leave a comment.