Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97371

How to I limit the scope of "Find All References" searches in Visual Studio Code?

$
0
0

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?


Viewing all articles
Browse latest Browse all 97371

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>