microsoft / vscode-cpptools

Official repository for the Microsoft C/C++ extension for VS Code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect "Unable to process IntelliSense for file with same canonicalized path as existing file." message can appear when cpptools crashes

sean-mcmanus opened this issue · comments

Kill cpptools on Mac or maybe other Linux OS's. It don't think it repros on Windows.

Bug: An incorrect warning appears:

LSP: (invoked) textDocument/didOpen: file:///Users/user/test1/test4.h
Unable to process IntelliSense for file with same canonicalized path as existing file. uri: file:///Users/user/test1/test4.h, canonicalized path: /Users/user/test1/test4.h

image
Same problem when jump to the defination of a variable or function, and VScode will open a same file but with real path.
So i can see 2 same file in the editor finally...

@35mickey Your issue sounds different. @Colengms Did VS Code change their handling of files that canonicalize to the same location? Do we need to get rid of that check?