Error including files and declarations are not recognized

I am setting up a new JUCE project and I am getting the errors below (and also that “incomplete type is not allowed”. I have been able to get VSCode to recognize the proper source code but the variables and declarations are not being recognized. What is going wrong? I have also included my JSON includePath.

If the project compiles, it’s just Intellisense broken for JUCE cpp files in solutions. It’s been happening for a while. We’re all just waiting for JUCE to add the includes, as Microsoft doesn’t seem to care about it =)

The project is not compiling due to this error. I don’t know if other errors will occur if this is fixed.

The build command VS Code is executing is way too simple to work for a Juce project. The compiler is not going to find the needed include files and even if that is made to work, it’s not compiling/linking all the needed files etc. At the moment you are attempting to compile just the plugin editor code into an executable, which is not the correct way to build a plugin.

On Windows, things could work much more simply if you use Projucer and the actual full Visual Studio IDE with the Microsoft compiler. VS Code and mingw is not a very well supported combination to use for working with Juce. But might work if you do the build via Cmake, but I haven’t tried how that should be set up myself.