-
Notifications
You must be signed in to change notification settings - Fork 1.6k
includePath doesn't work but when I forceInclude all intelsense error are gone #13445
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
Comments
@0xMALVEE It doesn't repro for me. I'm not sure what could be causing the issue. The symptom can happen if the forced include cannot be found. We fixed a couple forced include bugs with 1.24.x, but it doesn't seem like you would be hitting one of those. You could set C_Cpp.loggingLevel to "Debug" and check the "C/C++" logging for any errors, but I'm not sure if you would see anything useful. For some unknown reason, the forced include is not being used by the IntelliSense configuration. |
@0xMALVEE Your C/C++: Log Diagnostics logging has the forced include commented out -- can you provide the logging with it not commented out? |
@0xMALVEE Okay, sorry, I misunderstood your post. It seems there is some problem without the forced include... |
As far as I can tell, |
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
this is the error
the errors goes away only if I use forceInclude
why I have to forceInclude there is a lot of projects & a lot of files it's not possible to force include each and every file.
Steps to reproduce:
install fedora 41 vs code & c++ extension
repo: https://github.com/cilium/tetragon
Expected behavior:
there should be 0 intelsense errors
Configuration and Logs
Other Extensions
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: