The project that I am working on has a large number of external dependencies (library headers, for example) inside.
When I try to run code analysis, these files generate a huge number of warnings.
How can I configure the Code Analysis tool to ignore these directories when running its analysis?
In Eclipse Project Explorer, right click a folder you want to hide and select properties. For example 'vendor' or 'lib'.
Select Properties -> Resource -> Resource Filter
Click 'Add'
Filter Type: 'Exclude All'
Applies To: 'Files and Folders'
Filter Details: Name -> matches -> '*'
Make sure 'Regular expression' is checked.
Now rebuild your index. Right click your project -> Index -> Rebuild
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With