Skip to content
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

Closed
paul-reilly opened this issue Nov 17, 2020 · 8 comments
Closed
Labels
Feature: Configuration An issue related to configuring the extension or IntelliSense Feature Request fixed Check the Milestone for the release in which the fix is or will be available. Language Service
Milestone

Comments

@paul-reilly
Copy link

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 #included 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

@sean-mcmanus
Copy link
Collaborator

@paul-reilly
Copy link
Author

Yes, it does seem as though it has been stuck in experimental limbo for 3 years.

@sean-mcmanus
Copy link
Collaborator

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.

@paul-reilly
Copy link
Author

Oh yeah I see that it's in cl help. I just checked and it seems that it still can't be used without /experimental::

cl : Command line warning D9007 : '/external:I' requires '/experimental:external or /external:W'; option ignored

@sean-mcmanus
Copy link
Collaborator

Yeah, you're right (I was mistaken).

@sean-mcmanus sean-mcmanus added this to the Triage milestone Nov 17, 2020
@github-actions
Copy link

This feature request is being closed due to insufficient upvotes. When enough upvotes are received, this issue will be eligible for our backlog.

@github-actions github-actions bot added the more votes needed Issues that have been postponed until more community members upvote it label Jan 17, 2021
@sean-mcmanus sean-mcmanus modified the milestones: Triage, 1.3.0 Feb 9, 2021
@sean-mcmanus sean-mcmanus added Feature: Configuration An issue related to configuring the extension or IntelliSense and removed more votes needed Issues that have been postponed until more community members upvote it Feature: Compile Commands labels Feb 9, 2021
@sean-mcmanus sean-mcmanus self-assigned this Feb 9, 2021
@bobbrow bobbrow reopened this Feb 23, 2021
@sean-mcmanus sean-mcmanus modified the milestones: 1.3.0, 1.4.0 Apr 5, 2021
@sean-mcmanus sean-mcmanus added the fixed Check the Milestone for the release in which the fix is or will be available. label Apr 13, 2021
@sean-mcmanus
Copy link
Collaborator

Fixed with https://github.com/microsoft/vscode-cpptools/releases/tag/1.4.0-insiders

@sean-mcmanus sean-mcmanus removed their assignment May 11, 2021
@paul-reilly
Copy link
Author

Thanks @sean-mcmanus!

@github-actions github-actions bot locked and limited conversation to collaborators Jun 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Feature: Configuration An issue related to configuring the extension or IntelliSense Feature Request fixed Check the Milestone for the release in which the fix is or will be available. Language Service
Projects
None yet
Development

No branches or pull requests

3 participants