In c_cpp_properties.json should be the line:
"configurationProvider": "ms-vscode.cmake-tools"
to get a configuration based on projects CMake setup
Currently there is a bug somewhere which causes intellisense to break and throw the following error:
nostdlib requires at least one forced using
Currently the only solution is to not use configurationProvider at all.
VSCode version: 1.94.2
C_Cpp extension version: v1.22.10
CMake Tools extension version: v1.19.52
CMake bundled with MS Visual Studio 2022 used.