Skip to content

[c_cpp][intellisense] include issues #9792

Answered by bobbrow
stark-dev asked this question in Q&A
Discussion options

You must be logged in to vote

In case anyone else hits this issue, the root cause is a discrepancy between how symlinks are handled. Refer to this discussion. cpptools sends CMake Tools the resolved paths to files (realpath), but CMake Tools is matching them against the unresolved paths and fails.

The workaround for now is to launch VS Code from inside the linked path using code . Currently VS Code will report the workspace folder as the realpath in this case and CMake Tools won't get confused.

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
7 replies
@stark-dev
Comment options

@sean-mcmanus
Comment options

@bobbrow
Comment options

@stark-dev
Comment options

@stark-dev
Comment options

Comment options

You must be logged in to vote
1 reply
@stark-dev
Comment options

Answer selected by bobbrow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants