Intellisense in C++ broken with 0.45.6 update

I upgraded to 0.45.6 and it created some issues (was already, on 0.45.x, 95% sure it was 0.45.5).

The issue is that Intellisense in C++ stopped working.

I am getting these types of errors in the Problems tab:
#include errors detected. Consider updating your compile_commands.json or includePath. Squiggles are disabled for this translation unit (…).”

I didn’t change compile_commands.json and I double-checked its contents are correct. However, looking at “C_Cpp › Default: Include Path” in the Settings editor, it had changed and was now empty. This is very strange because .vscode/c_cpp_properties.json had not changed and had the right directories in there. Seems cursor is not picking that file up for some reason?

I tried adding the include directories again in the UI, and even though they persist they don’t affect .vscode/c_cpp_properties.json. And what is worse they don’t fix the intellisense issue.

Any suggestions? Is there a way to downgrade back to 0.45.5 - I couldn’t figure out how.

This is what About box says:

Version: 0.45.6
VSCode Version: 1.96.2
Commit: 2a665be30468694ca6fd7a317310ea33eef25430
Date: 2025-01-30T02:36:18.698Z (16 hrs ago)
Electron: 32.2.6
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin x64 22.6.0

After banging my head on the wall many times, I’ve figured it out. It’s not a Cursor issue at all, it is a big in the C/C++ VS Code extension. I wasn’t seeing it VS Code because I was using an older version of the extension.

This is the bug:

Downgrading the C/C++ extension to previous version fixed it!