I'm currently using https://marketplace.visualstudio.com/items?itemName=mitaki28.vscode-clang which is great as a nice little tool for accessing member functions.
I am however having one issue with a project I am importing. While the above clang feature works, I am having particular problem with using include directories. My project structure is as follows:
Okay, this was foolish, but in the event someone uses
Visual Studio Code and does not have a trivial project. These instructions are assuming you're using clang compiler:
Configure the line below inside of the JSON object:
// Compiler options for C++ (e.g. ['-std=c++11']) "clang.cxxflags": [ "-I/path/to/my/include/directory" // header files ],