Skip to content

How to resolve includePath conflict? #7095

Answered by sean-mcmanus
zejunli asked this question in Q&A
Discussion options

You must be logged in to vote

One potential solution is to add a non-recursive include path, such as /lab2/include which will force that path to always get priority, and potentially use 2 different configurations to switch which one gets priority. Another is to use to use a workspace with multiple workspace folders. Another solution is to add the folders you don't want getting used to the files.exclude setting. Another solution is to set the compileCommands or configurationProvider settings (CMake Tools, Makefile Tools, etc.).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@zejunli
Comment options

@sean-mcmanus
Comment options

Answer selected by zejunli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants