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

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -