I have a C++ project where the build tool creates a whole slew of .i files in a build folder. When I run "Find All References" to a symbol, Visual Studio Code (with the MS Cpp extension) insists on searching this build folder, which is a subfolder of workspaceFolder. It slows down the search and produces nonsense results in an "Other References" pane.
I've tried disabling this behavior by modifying includePath and browse.Path to not include that build folder, I've tried using files.Exclude, but nothing seems to work. Is there a correct way to get Find All References to behave properly in such a situation?