How to resolve includePath conflict? #7095
-
I have a workspacefolder that contains multiple sub-dirs, To make this simpler, I have |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
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.). |
Beta Was this translation helpful? Give feedback.
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.).