-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
MSVC compile_commands.json - Intellisense not handling -external:I includes #6531
Comments
I see it described at https://devblogs.microsoft.com/cppblog/broken-warnings-theory/ , but not in the current docs (https://docs.microsoft.com/en-us/cpp/build/reference/compiler-options-listed-alphabetically?view=msvc-160). |
Yes, it does seem as though it has been stuck in |
cl /? Gives “/external:I - location of external headers”, so it looks like it got promoted out of experimental (i.e. /experimental:external doesn’t appear to be needed anymore). The missing docs might be a "bug", not sure yet. |
Oh yeah I see that it's in cl help. I just checked and it seems that it still can't be used without
|
Yeah, you're right (I was mistaken). |
This feature request is being closed due to insufficient upvotes. When enough upvotes are received, this issue will be eligible for our backlog. |
Thanks @sean-mcmanus! |
Issue Type: Bug
If our compile_commands.json contains
-experimental:external
and include paths such as-external:IC:/myincludepath
, Intellisense does not appear to handle these paths, resulting in a case of the dreaded squiggles with files#include
d from these locations.Extension version: 1.1.1
VS Code version: Code 1.51.1 (e5a624b788d92b8d34d1392e4c4d9789406efe8f, 2020-11-10T23:34:32.027Z)
OS version: Windows_NT x64 10.0.19041
The text was updated successfully, but these errors were encountered: