Visual Studio Code C++ includes keep getting not found -
my project structure simple:
project/makefile project/src/
the c_cpp_properties.json file contains:
{ "name": "linux", "includepath": [ [...] "${workspaceroot}/src" ],
yet every single .h file lie next corresponding .cpp file, vscode keeps telling me "i can not find file!".
for example file:
src/foo/bar.cpp
contains
#include "foo/bar.h"
the makefile contains
iflags := -i./src
as additional parameters search includes , works fine.
why not work visual studio code?
adding simply
"./src"
to includepath
tag not work!
Comments
Post a Comment