-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recursive includes don't add paths used by forcedInclude files #2986
Comments
Fixed with our latest 0.21.0-insiders3. Setting |
Does this merge in the latest win32 release? I download it but this issue still exist as follow
and where // test.c
#include "inc/test.h"
// codes When NOT force include someheader.h, it works will. After add forced include to the config file, it can't found test.h |
@JJChasel Thanks a lot for reporting this -- your repro is different from this bug's, but it's a regression, seemingly caused by the fix for this bug -- we'll try to fix it for 0.21.0. |
@JJChasel Update -- the bug you reported has been fixed for our next release...expected "soon". |
@JJChasel The bug you found with 0.21.0-insiders3 should be fixed now with 0.21.0. |
Use a forcedInclude file that has a
#include
to a non-local file that is under a recursive include, e.g. if the includePath is "${workspaceFolder}/**", then the forcedInclude could use"#include <subfolder/file.h>"
.Bug: The subfolder is incorrectly not getting added to the includePath for IntelliSense.
This was initially reported in bug #2610 .
The text was updated successfully, but these errors were encountered: