You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use an includePath of ${workspaceFolder} and ${workspaceFolder}/sub.
Use test1.cpp code
#include"sub/sub1.h"intmain()
{
returnsub1();
}
With sub1.h
#if0
int sub1();
#endif
Bug: It incorrectly suggests to add "sub1.h" when that already is included via #include "sub/sub1.h due to the includePath item ${workspaceFolder}/sub. This bug doesn't repro with VS.