vscode-cpptools
vscode-cpptools copied to clipboard
Add missing include should properly take into account the include path when putting together the correct path for the #include string
There's a bug in which it's not properly taking into account the include path when putting together the correct path for the #include string. The bug repros in VS too. The repro is when "dir/foo2.h" also exists in an earlier (high priority in the list) include path directory so it can't be used directly (or the wrong file gets referenced which doesn't have dirfoo2) and instead it needs to reference the commented out path "dir/../../test36/dir/foo2.h"