Ok, I get now what you did with the include file.
Can you try these steps:
- Enable language server logging as describe here: How to enable logging in the Visual Studio Code C/C++ extension
- Close all editor views and quit Visual Studio Code
- Start Visual Studio Code and open
main.cpp
- In the OUTPUT view, select C/C++: Your Project Name
- Copy the log output and post it in this forum