Can't exclude folders from code inspection Follow
I followed these instructions
to exclude a directory with source files from the code inspection.
When I select go to definition of function, the source files still appear on the list.
A file for example is fixed_volume.cpp.
Please sign in to leave a comment.
How do I edit my post?
It's somewhat confusing, but the setting you referenced only turns off code inspections in the excluded files. You probably want to add your folders to "Third-Party code" (https://www.jetbrains.com/help/resharper/Reference_Options_Code_Editing_Third_Party_Code.html). The code excluded using "Third-party" code does not get indexed and most R# features are turned off inside the excluded files.
Not sure why third-party (it's my code even though generated), and what's the difference.
Anyway, both methods work, and it's enough just to add the top dir (and it would apply to its sub-dirs):
However, the instructions miss a crucial step: clear cache